How do i calculate armour class & how much less damage i recieve?
Armour class calculation
Collapse
X
-
This is not as straightforward as you'd think. Melee damage is reduced and mobs hits less often if your AC is high. But there are so many types of damage. Acid damage for instance is reduced by armour if the hit is scored where you have armour not totally worn down already. A mana storm totally ignores AC.
My simplified rule of thumb is 100 ac in the early game is worth sacrifices. 200 in mid game and 250+ late game. For a brawler. If your thing is shoot and phase probably not. -
Here's the to-hit part of it with power generally = 40 for physical/elemental melee and = 0 for status effects melee.
Code:/* Calculate the "attack quality" */ chance = (power + (level * 3)); /* Power competes against armor */ return randint0(chance) >= (ac * 2 / 3);
It's not that simple to calculate out unfortunately.Comment
Comment