Armour class calculation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Quantum
    Rookie
    • Jan 2021
    • 4

    Armour class calculation

    How do i calculate armour class & how much less damage i recieve?
  • Thraalbee
    Knight
    • Sep 2010
    • 707

    #2
    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.

    Comment

    • wobbly
      Prophet
      • May 2012
      • 2629

      #3
      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);
      % Damage reduction is something like AC / 400 against physical attacks, maxing out at 240 AC. However a lot of damage is non-physical.

      It's not that simple to calculate out unfortunately.

      Comment

      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎