- Joined
- May 29, 2011
- Messages
- 237
Hello friends. I want make a spell, which make a target unit invulnerable for short time. I try it with triggers, but then the target unit is invulnerable for ever. Please help me.
I know that waitactions are not good. But tell me then, what is better.
-
Holy Shield
-
Ereignisse
- Unit - A unit starts the effect of a ability
-
Bedingungen
- (Ability being cast) equal Holy Shield
-
Aktionen
- Wait until (((Target unit of ability being cast) has buff Holy Shield ) Gleich True), checking every 0.10 seconds
- Unit - Add Invulnerable (Neutral) to (Target unit of ability being cast)
- Wait until (((Target unit of ability being cast) has buff Holy Shield ) Gleich False), checking every 1.00 seconds
- Unit - Remove Invulnerable (Neutral) from (Target unit of ability being cast)
-
Ereignisse
I know that waitactions are not good. But tell me then, what is better.
[Highlight]Thank you for view this thread[/code]