Hello!
I'm working on a map where I need one of my heroes to gain a small amount of mana points each time he kills someone. By this I do not mean that his maximum mana capacity should increase, but that he will recover mana that he has lost.
I found these two:
http://www.hiveworkshop.com/forums/triggers-scripts-269/i-need-triggers-heal-units-176435/
http://www.hiveworkshop.com/forums/world-editor-help-zone-98/trigger-healing-trigger-163593/
... and I thought I'd use that method - the only problem is that I really do not understand how to add a number/variable after the:
Set life of (Attacking unit) to ((Life of (Attacking unit) - part.
The trigger shown in both the links above display the following constellation:
Unit - Set life of (Attacking unit) to ((Life of (Attacking unit)) + 50.00)(or: + XXXvariable)
I really need someone to explain this to me, because I find myself completely lost.
Thank you!
I'm working on a map where I need one of my heroes to gain a small amount of mana points each time he kills someone. By this I do not mean that his maximum mana capacity should increase, but that he will recover mana that he has lost.
I found these two:
http://www.hiveworkshop.com/forums/triggers-scripts-269/i-need-triggers-heal-units-176435/
http://www.hiveworkshop.com/forums/world-editor-help-zone-98/trigger-healing-trigger-163593/
... and I thought I'd use that method - the only problem is that I really do not understand how to add a number/variable after the:
Set life of (Attacking unit) to ((Life of (Attacking unit) - part.
The trigger shown in both the links above display the following constellation:
Unit - Set life of (Attacking unit) to ((Life of (Attacking unit)) + 50.00)(or: + XXXvariable)
I really need someone to explain this to me, because I find myself completely lost.
Thank you!