What I want to do is when a unit has a buff/behavior it only increases their max health/energy and adds the same amount to their "base" health/energy. But the problem with this that i've been having is when you switch the buff on and off it actually keeps adding to your "base" health/energy and can be abused to keep adding more. I have this buff applied to an "item" when equiped. Tried many ways but nothing seems to work. For more info, I want it to be like how items in Aeon of Storms work. How you can't just abuse them to heal/replenish energy over and over. That'd be all. Thanks.
What I want to do is when a unit has a buff/behavior it only increases their max health/energy and adds the same amount to their "base" health/energy. But the problem with this that i've been having is when you switch the buff on and off it actually keeps adding to your "base" health/energy and can be abused to keep adding more. I have this buff applied to an "item" when equiped. Tried many ways but nothing seems to work. For more info, I want it to be like how items in Aeon of Storms work. How you can't just abuse them to heal/replenish energy over and over. That'd be all. Thanks.
Use triggers, i did it works for me in my map. Sorry no time to post example here, i hope you can do it yourself.
http://www.youtube.com/user/RussianMapster
Ahh. I found out another way that works fine. But thanks for the suggestion.