- Joined
- Dec 12, 2005
- Messages
- 37
Alright.. im having trouble with this other spell, where it turns 1/2/3/4 corpses into skeletons around the hero. I based it on howl of terror. heres what it looks like.
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Raise Dead
Actions
Unit Group - Pick every unit in (Units within (200.00 x (Real((Level of Raise Dead for (Triggering unit))))) of (Position of (Triggering unit)) matching (((Triggering unit) is alive) Equal to False)) and do (Actions)
Loop - Actions
Unit - Create 1 Dummy3 for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing 0.00 degrees
Unit - Add Skeletons-Raisedead to (Last created unit)
Unit - Set level of Skeletons-Raisedead for (Last created unit) to (Level of Raise Dead for (Triggering unit))
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Raise Dead
Actions
Unit Group - Pick every unit in (Units within (200.00 x (Real((Level of Raise Dead for (Triggering unit))))) of (Position of (Triggering unit)) matching (((Triggering unit) is alive) Equal to False)) and do (Actions)
Loop - Actions
Unit - Create 1 Dummy3 for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing 0.00 degrees
Unit - Add Skeletons-Raisedead to (Last created unit)
Unit - Set level of Skeletons-Raisedead for (Last created unit) to (Level of Raise Dead for (Triggering unit))
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)