Hi everyone,
I'm trying to create a spell wherein when a unit has certain buff it's MAX HP will be increased by 15%
Now the only thing I was able to find is to increase MAX HP by fixed amount using Item Life Bonus, but not through %
I found a Jass script but I'm not good w/ Jass and I don't know how to modify this script (http://www.thehelper.net/threads/bonus-unit-state-modification.99190/) to fit in my spell system
NOTE / More Details: This is how the system works
- After the custom spell (Pocket factory based) has been cast it will spawn a unit (50 sec duration) w/c has a (custom) aura w/c has 700 AOE. This spawned unit has invulnerable/locust -- so we don't have to worry about it dying/disappearing before the 50sec duration ends
- Units affected by this aura will have their Max HP increased by 15%
- When the spawned unit disappears (time over) OR the affected unit moves out from the 700 range, immediately the buff disappears & the MAX HP% disappears on the affected unit as well
I'm trying to create a spell wherein when a unit has certain buff it's MAX HP will be increased by 15%
Now the only thing I was able to find is to increase MAX HP by fixed amount using Item Life Bonus, but not through %
I found a Jass script but I'm not good w/ Jass and I don't know how to modify this script (http://www.thehelper.net/threads/bonus-unit-state-modification.99190/) to fit in my spell system
NOTE / More Details: This is how the system works
- After the custom spell (Pocket factory based) has been cast it will spawn a unit (50 sec duration) w/c has a (custom) aura w/c has 700 AOE. This spawned unit has invulnerable/locust -- so we don't have to worry about it dying/disappearing before the 50sec duration ends
- Units affected by this aura will have their Max HP increased by 15%
- When the spawned unit disappears (time over) OR the affected unit moves out from the 700 range, immediately the buff disappears & the MAX HP% disappears on the affected unit as well