- Joined
- Mar 1, 2013
- Messages
- 555
Hi everyone, I used critical strike as base ability for 'time lock' like in DOTA. I gave the critical strike, a duration and a custom buff (Time lock). Then I went to the triggers:
So I made a new custom ability for a ward based on phoenix fire. Where phoenix fire deals damage over time, the new phoenix fire should lock units in time. I gave it also the time lock buff and the target get the buff but it doesn't pause. Please help
-
TimeLock
-
Events
- Time - Every 0.05 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in LockedUnits and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) has buff Time lock ) Equal to False
-
Then - Actions
- Animation - Change (Picked unit)'s animation speed to 100.00% of its original speed
- Unit Group - Remove (Picked unit) from LockedUnits
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) has buff Time lock ) Equal to True)) and do (Actions)
-
Loop - Actions
- Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Undead\AbsorbMana\AbsorbManaBirthMissile.mdl
- Special Effect - Destroy (Last created special effect)
- Animation - Change (Picked unit)'s animation speed to 0.00% of its original speed
- Unit Group - Add (Picked unit) to LockedUnits
-
Loop - Actions
- Custom script: call DestroyGroup(GetLastCreatedGroup())
-
Unit Group - Pick every unit in LockedUnits and do (Actions)
-
Events
So I made a new custom ability for a ward based on phoenix fire. Where phoenix fire deals damage over time, the new phoenix fire should lock units in time. I gave it also the time lock buff and the target get the buff but it doesn't pause. Please help