Hero death:
- Unit - A unit owned by Player 1 (Red) dies.
- Set dyingunit1 = (Dying unit)
- Unit - Create 1 Grave for Player 1 (Red) at (Position of dyingunit1) facing Default building facing (270.0) degrees
- Unit - Make (Last created unit) Invulnerable
- Set deadunit1 = (Last created unit)
- Unit - A unit Start the effect of an ability
- (Ability being cast) Equal to Resurrection
- (Owner of deadunit1) Equal to Player 1 (Red)
- (Unit-type of deadunit1) Equal to Grave
- Hero - Instantly revive dyingunit1 at (Position of deadunit1), Show revival graphics
- Remove deadunit1 from the game