Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

Actions
Unit - Set life of (Killing unit) to ((Life of (Killing unit)) + (((Max life of (Dying unit)) / 100.00) x 20.00))
Special Effect - Create a special effect attached to the head of (Killing unit) using Objects\Spawnmodels\Human\HumanBlood\HeroBloodElfBlood.mdl
Special Effect - Destroy (Last created special effect)
Trigger đây, event với action chắc khỏi nói
Không, cái effect đó thì biết rồi, cái cục xanh xanh có điện ở giữa ấy @@Mã:Actions Unit - Set life of (Killing unit) to ((Life of (Killing unit)) + (((Max life of (Dying unit)) / 100.00) x 20.00)) Special Effect - Create a special effect attached to the head of (Killing unit) using Objects\Spawnmodels\Human\HumanBlood\HeroBloodElfBlood.mdl Special Effect - Destroy (Last created special effect)
?
Event
A unit Dies
Condition
(Level ability xyz of (Killing unit)) Great to 0
Action
Unit - Set life to........
Special Effect - ..........
Ui bạn KuKulKan hay là bạn viết toàn bộ cái Trigger ra giùm mình lun đi bởi vì cái dòng này GetUnitAbilityLevel(KillingUnit(), spell) mình chưa học - chưa biết => ko bít => bạn giúp giùm lun đi![]()
nó viết tắt đấy, phải hiểu chứ
have fun 8-)Mã:Event A unit Dies Condition (Level ability xyz of (Killing unit)) Great to 0 Action Unit - Set life to........ Special Effect - ..........

hóa ra mình làm sai cái Event và Condition nên nó ko ra :P
quê quá nên nhờ bạn giúp vậy 


Creep Spawn
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Set TempInt = (Number of units in CreepGroup)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TempInt Less than 15
Then - Actions
Set TempPoint = (Center of CreepSpawnPlace <gen>)
Unit - Create (15 - TempInt) Footman for Neutral Hostile at TempPoint facing Default building facing degrees
Unit Group - Add all units of (Last created unit group) to CreepGroup
Custom script: call RemoveLocation( udg_TempPoint )
Else - Actions
Creep Spawn Die
Events
Unit - A unit Dies
Conditions
((Triggering unit) is in CreepGroup) Equal to True
Actions
Unit Group - Remove (Triggering unit) from CreepGroup

