have you read this thread?
Warcraft 3 Armor System
don't know if the suggestions mentioned in the replies still work.
Helral's Lair
Meow meoow meeow. I'm ze evil SC2MapsterKitten.
current projects:
- UI support for other projects
- Helrals Random Dungeon Map (progressing very slowly)
- monitoring wiki and UI development forum
Gwypaas Regular ShmoeHow to create a Wc3 style armor system? It should be quite easy through triggers using the Unit Takes Damage event but that feels like it would be ineffective, is there any other way to do it?
I have the formula, now I just need somewhere to put it.
private constant real ARMOR_REDUCTION_MULTIPLIER = 0.06
This equals amount of damage reduced
Above 0 armor baseDamage*(1.-((armor*ARMOR_REDUCTION_MULTIPLIER)/(1.+ARMOR_REDUCTION_MULTIPLIER*armor)))
Less than 0 armor baseDamage*(2.-Pow(0.94,-armor))