- Joined
- Feb 14, 2012
- Messages
- 2
Hi again. I need to make this spell to mui because my map have a same heroes version for that, all players must use this spell.
-
Start Channel
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Curse of Wrath Demon Hunter
-
-

Actions
-


Set Curse_Caster = (Triggering unit)
-


Set Curse_Loc = (Target point of ability being cast)
-


Trigger - Turn on Effect <gen>
-
-
-
Effect
-

Events
-


Time - Every 0.50 seconds of game time
-
-

Conditions
-

Actions
-


Unit Group - Pick every unit in (Units within 750.00 of Curse_Loc matching ((((Matching unit) belongs to an enemy of (Owner of Curse_Caster)) Equal to True) and (((Matching unit) is alive) Equal to True))) and do (Actions)
-



Loop - Actions
-




Unit - Create 1 Dummy Unit JFA for (Owner of Curse_Caster) at Curse_Loc facing Default building facing degrees
-




Unit - Add Curse of Wrath / dummy to (Last created unit)
-




Unit - Set level of Curse of Wrath / dummy for (Last created unit) to (Level of Curse of Wrath Demon Hunter for Curse_Caster)
-




Set Curse_Dum = (Last created unit)
-




Unit - Order Curse_Dum to Undead Banshee - Curse (Picked unit)
-




Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
-
-
-
-
-
End Channel
-

Events
-


Unit - A unit Stops casting an ability
-
-

Conditions
-


(Ability being cast) Equal to Curse of Wrath Demon Hunter
-
-

Actions
-


Custom script: call RemoveLocation(udg_Curse_Loc)
-


Trigger - Turn off Effect <gen>
-
-
-
Destroy Dummy
-

Events
-


Unit - A unit Finishes casting an ability
-
-

Conditions
-


(Ability being cast) Equal to Curse of Wrath / dummy
-
-

Actions
-


Unit - Remove (Casting unit) from the game
-
-
