Page 1 of 1

Do Armour had any effects at all on physical spells?

Posted: Sat Jul 06, 2013 7:26 am
by srulz
Several basic questions:
  • 1. It's common knowledge that Armour will affect melee and ranged (archery-type) physical attacks. Does Armor affects physical spells?
    2. If the answer to 1 is "No", does Stone Warden skill (Stone Fortress) work on spells? The description:
    When you use your Resilience of the Dwarves racial power your skin becomes so thick that it even absorbs damage from non physical attacks. Non physical damages are reduced by %d%% of your total armour value (ignoring hardiness).
    3. Where can I find the formula for Armour in-code?
Thanks!

Re: Do Armour had any effects at all on physical spells?

Posted: Sat Jul 06, 2013 5:18 pm
by greycat
1. Do you mean things like Earthen Missiles? I could be mistaken, but I believe the answer is "no".

2. Stone Fortress... err, I'm not entirely sure how that works. I thought it applied to all non-physical damage you received (mind, fire, cold, slime, acid, darkness) from any source. But I'm not sure.

3. ./modules/tome/class/interface/Combat.lua (specifically the _M:attackTargetWith function):

Code: Select all

                local pres = util.bound(target:combatArmorHardiness() / 100, 0, 1)
[...]
                print("[ATTACK] raw dam", dam, "versus", armor, pres, "with APR", apr)
                armor = math.max(0, armor - apr)
                dam = math.max(dam * pres - armor, 0) + (dam * (1 - pres))
                print("[ATTACK] after armor", dam)

Re: Do Armour had any effects at all on physical spells?

Posted: Sat Jul 06, 2013 5:58 pm
by jilladilla
Armor does not apply to physical spells, it only applies to melee and ranged(archery) attacks.

Armor DOES apply to non-physical melee/ranged damage though, so you cant cheese your way past armor with a mindstar or a staff or an artifact sword that deals non-physical damage (although mindstars do have very good armor penetration).

As for Stone Warden stuff... I don't know...

Re: Do Armour had any effects at all on physical spells?

Posted: Sat Jul 06, 2013 7:15 pm
by Mewtarthio
I believe that Stone Fortress protects against everything. It's quite handy against DoT effects.