hello there i got a problem with a revive thing
im making it similiar to the wow revive like ur a spirit find ur corpes and blabla
but you can alwso choose to revive with Spirit healer but if u do that then u get
-30 in armor
Unit dies , Corpes Created , Unit goes to spirit healer , Armor loss
But it wont spawn a unit that attacks the unit.
im making it similiar to the wow revive like ur a spirit find ur corpes and blabla
but you can alwso choose to revive with Spirit healer but if u do that then u get
-30 in armor
Unit dies , Corpes Created , Unit goes to spirit healer , Armor loss
But it wont spawn a unit that attacks the unit.
Code:
curse
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Spirit Healer ; Revive
Actions
Unit - Create 1 Cursed DUMMY for Neutral Hostile at (Position of cursed) facing Default building facing degrees
Unit - Order (Last created unit) to Attack Once (Casting unit)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)