KILLJAW
New Member
- Reaction score
- 0
I just wanted to know, mostly for future reference, whether or not this trigger leaked:
I am just worried that using (dying unit), (Killing unit) or (Owner of..) might cause a leak.
Code:
Unit Change Owner
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to False
((Dying unit) is Summoned) Equal to False
Actions
Unit - Replace (Dying unit) with a (Unit-type of (Dying unit)) using The new unit's default life and mana
Unit - Change ownership of (Dying unit) to (Owner of (Killing unit)) and Change color
I am just worried that using (dying unit), (Killing unit) or (Owner of..) might cause a leak.