- Joined
- Sep 26, 2009
- Messages
- 2,594
Hello, I created a trigger for Mind Controling, based on "Unholy Frenzy" (here renamed to curse). The problem is that sometimes it works, sometimes it works not.
Here's the trigger
Does anybody know how to make it work everytime it's used?
Here's the trigger
-
Mind Control
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Curse
-
-
Actions
-
Set CurseCaster = (Casting unit)
-
Wait 0.20 seconds
-
Set CurseTarget = (Target unit of ability being cast)
-
Wait 0.50 seconds
-
Set CurseOwner = (Owner of CurseTarget)
-
Wait 12.50 seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(CurseTarget has buff Curse ) Equal to True
-
-
Then - Actions
-
Special Effect - Create a special effect attached to the overhead of CurseTarget using Abilities\Spells\Other\Charm\CharmTarget.mdl
-
Unit - Change ownership of CurseTarget to (Owner of CurseCaster) and Change color
-
Unit - Add classification of Undead to CurseTarget
-
Unit - Add Eat Soul to CurseCaster
-
Wait 10.00 seconds
-
Unit - Change ownership of CurseTarget to CurseOwner and Change color
-
Special Effect - Create a special effect attached to the overhead of CurseTarget using Abilities\Spells\Other\Charm\CharmTarget.mdl
-
Unit - Remove Eat Soul from CurseCaster
-
Unit - Remove classification of Undead from CurseTarget
-
Wait 1.00 seconds
-
-
Else - Actions
-
Do nothing
-
-
-
-
Does anybody know how to make it work everytime it's used?