FORUM ARCHIVED

Negative stats

Discussion in 'Modding' started by Nacho, Jan 23, 2013.

  1. Nacho

    Nacho Member

    How do negative stats work? If I gave a guy -20:dmg_crushing: at lv0, and he equipped a mace with 10:dmg_crushing:, would he do any :dmg_crushing: melee damage? What if he had Maces lv0, which gives +2:dmg_crushing:? Would my -20:dmg_crushing: cancel that out? Or an imaginary buff which gives +5:dmg_crushing:?

    I know resistances can go into negative numbers, but can anything else?
     
  2. Essence

    Essence Will Mod for Digglebucks

    Negative damage is weird for a couple of reasons. Like you might expect, damage can't go below zero, but the game does keep track of how negative your damage goes, so if you give someone -20 and then later give him +3, he still ends up with zero net damage.

    BUT! Basic damage types (Crushing, Blasting, and Slashing) all interact not only with themselves but with Melee Power as well. So if you have a dude with 3:dmg_crushing: 12:melee_power: and you give him -20:dmg_slashing: , he will only deal 3:dmg_crushing: with his attacks. HOWEVER! If you hit a dude that happens to have, for example, 3 iterations of Hack on (-18:resist_slashing:), that same 3:dmg_crushing:12:melee_power:-20:dmg_slashing: will deal -- and don't blame me if I have this wrong 'cause this is really fucked up -- 8:dmg_crushing:5:dmg_slashing:. Because the Melee Power is effectively only reduced by 2 (to 10), and there's Slashing involved in the equation now, so the Melee Power gets split evenly between all basic damage types involved in the attack (5:dmg_crushing:5:dmg_slashing:) and then the 3:dmg_crushing: from the weapon is added back on. :)

    Non-basic damage types act basically exactly like you'd predict.
     
    Kazeto likes this.