- Joined
- Jun 10, 2008
- Messages
- 1,043
Hello, Hive. I havn't had time/enough testers online to test this trigger and I need to know if it will work/leak. Basically, you can revive your ally's hero for 250 gold by buying the "Revive" item. So I need you're help. Will this work/leak?
-
Deathflag
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
And - All (Conditions) are true
-
Conditions
-
-
((Dying unit) is A Hero) Equal to True
-
(Owner of (Dying unit)) Not equal to Player 10 (Light Blue)
-
(Owner of (Dying unit)) Not equal to Player 11 (Dark Green)
-
(Owner of (Dying unit)) Not equal to Player 12 (Brown)
-
-
Actions
-
Set Dieing_Unit = (Unit-type of (Dying unit))
-
Set Dieing_Player = (Owner of (Dying unit))
-
Unit - Replace (Dying unit) with a Soul using The new unit's max life and mana
-
-
Ressurection
-
Events
-
Unit - A unit Sells an item (from shop)
-
Conditions
-
(Item-type of (Sold Item)) Equal to Revive
-
-
Actions
-
Unit - Replace (Selling unit) with a Dieing_Unit using The old unit's relative life and mana
-
-