Forums-->Queries and help-->
Author | How to calculate attack damage? |
how dose the attack and defense impact the damage received? | Attack and defense parameters influence damage dealt (and taken). The exact formula for physical damage is:
-IF Attacker's attack>= Defenders' defense:
D=Rnd(min,max)*N*(1-0.03*M)*[1+0.05(Attack-Defense)]
-IF attack<defense:
D=Rnd(min,max)*N*(1-0.03M)/[1+0.05(Defense-Attack)]
D-damage
Rnd(min,max)-random integer of the min-max damage interval
N-number of creatures in stack
M-mutual faction skill (i.e.: What level of the enemy faction's racial skill does the defender possess. |
This topic is long since last update and considered obsolete for further discussions. Back to topics list
|