Forums-->Queries and help-->
Author | attack and defence bonuses |
what is the max attack and def bonus.
i.e can damage be reduces to zero if def is +20. | I believe that code-wise, the max is 255.
But, no, the minimum is 1 point of damage. you can't reduce to 0 | Not to mention that defense higher than attack don't scale as a linear -5% damage per point.
with def 20 higher than attack the damage is just halved, for istance
Not considering the "faction" decrease in damage taken the formula is
Damage = N * RND(min, max) * / [1 + 0,05*(D-A)]
having [1 + 0,05*(D-A)] below the / make it so that for having the damage close to zero D-A must go toward plus infinite |
This topic is long since last update and considered obsolete for further discussions. Back to topics list
|