tommerbob
Minecraft. :D
- Reaction score
- 110
Math is not my forte, so here I am requesting some (probably) very simple math help. I'm looking to reference the percentage of a unit's life. For each X percentage of life missing, the unit gains attack speed. For those who play Dota, its like Huskar's Berserker's Blood ability.
How do I calculate when the unit loses 5% of his life? (i.e. unit's life 95% = gains 10% attack speed, 90% life = 20% attack seed, 85% life = 30% attack speed, etc.)
FYI, I'm using GUI.
How do I calculate when the unit loses 5% of his life? (i.e. unit's life 95% = gains 10% attack speed, 90% life = 20% attack seed, 85% life = 30% attack speed, etc.)
FYI, I'm using GUI.