Losing armor while reviving

hasslarn

New Member
Reaction score
20
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.

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)
 

Leazy

You can change this now in User CP.
Reaction score
50
Make a dummy unit to cast a for example inner fire with -armor spell.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top