- Joined
- Jan 6, 2010
- Messages
- 118
Why does this behave strangely? Is it because of the wait-function?
(Divine Prayer is just an healing aura-like ability).
Is there a more clever way of detecting when the effect of "divine shield" vanishes? I could of course make a periodic check every second through the game to see of the effect is running, but it seems a bit heavy?
(Divine Prayer is just an healing aura-like ability).
-
Divine Shield
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Divine Shield
-
-
Actions
-
Unit - Add Divine Prayer to (Casting unit)
-
Wait (5.00 + (5.00 x (Real(LVLofAbility)))) seconds
-
Unit - Remove Divine Prayer from (Casting unit)
-
-
Is there a more clever way of detecting when the effect of "divine shield" vanishes? I could of course make a periodic check every second through the game to see of the effect is running, but it seems a bit heavy?