yo 
need help for this trigger please : need to soustract 2% of current life from the trigering unit in the region every seconds
need help for this trigger please : need to soustract 2% of current life from the trigering unit in the region every seconds
-
damage on vampires
-
Event
-
Temps - Every 0.03 seconds of game time
-
-
Conditions
-
Actions
-
Custom script: set bj_wantDestroyGroup = true
-
Custom script: call RemoveLocation(udg_SlayerPool)
-
Set SlayerPool = slayer pool <gen>
-
Groupe unit - Pick every unit in (Units in slayer pool <gen> matching ((Unit-type of (Matching unit)) Equal to* Vampire)) and do (Actions)
-
Loop - Actions
-
Unit - Set life of (Picked unit) to ((Max life of (Picked unit)) - ((Life of (Picked unit)) x 0.02))
-
-
-
-
Last edited: