TPOX
New Member
- Reaction score
- 10
This is pretty much a corpse explosion kinda spell but a bit more to it then that but anyway, for some reason at one time i could get ALL the corpses to explode but ever since then only one blows up now. Heres the trigger.... and the PEASANT has the spell that damages the people so he is spawned then casts the explosion and dies.
Code:
Corpse Compulsion
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Corpse Compulsion
Actions
Unit Group - Pick every unit in (Units within 200.00 of (Position of (Casting unit)) matching (((Matching unit) is dead) Equal to True)) and do (Actions)
Loop - Actions
Unit - Create 1 Peasant for (Owner of (Casting unit)) at (Position of (Picked unit)) facing (Position of (Picked unit))
Unit - Set Level of Corpse Explosion (Dummy) for (Last created unit) to (1 x (Level of Corpse Explosion for (Casting unit)))
Unit - Add a 0.01 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Night Elf Warden - Fan Of Knives


