reversing armor reduction

Status
Not open for further replies.
Level 9
Joined
Aug 21, 2008
Messages
533
Need Formula for armor- but in other direction

I need a formula to revers the reduction of damage to get not the value how much damage would be done with no armor.
So if the original damage was 100 and the enemy took 94 damage i need something which give me the 100.
(its for a mislle system which converts every ranged attack to missles.if the missle hits something different then the tageted unit the new unit may have a different value.)
 
Last edited:
Level 4
Joined
Mar 23, 2008
Messages
87
As far as i know then there is no way to access armor information from a unit using triggers, so to do this you would need to make an array with armor values, armor type and attack type for every unit in play. The rest you can figure out for yourself ;)

What do you need it for anyway?
 
Last edited:
Status
Not open for further replies.
Top