First: I need to make a state called INFIGHT. infight should set a variable to 1 when a unit is fighting and then set it back to 0 when it has stoped fighting(even if it didnt kill its target)
Second: Damage reducment,
considering im makeing a rpg and the units gain levels i need the armor reducment to be working correctly each level, i "NEED" to use this formula:
ive played around and cant find anyway to do either of these things, please help me!
Second: Damage reducment,
considering im makeing a rpg and the units gain levels i need the armor reducment to be working correctly each level, i "NEED" to use this formula:
JASS:
Reducment % = (Armor / (Armor + 400 + 85 x X)) x 100
X = Either Hero level or better yet the attacking units level!important!
ive played around and cant find anyway to do either of these things, please help me!
Last edited: