Talk:Spiny

From CrawlWiki
Jump to: navigation, search

I have to think this is no longer correct, I have a character with AC 12 and spiny 1 that deals damage with spines. If the formula is correct how can 2d5-12 deal any damage? Could this be bonus AC from armour instead?--Alphachief (talk) 07:24, 16 June 2015 (CEST)

I remember seeing a thread on the forums where people were discussing how bad the spiny mechanics were; I'm pretty sure the damage formula got changed as a result of that. Not sure what the new formula is, but at least it sounds like Spiny isn't totally nerfed by armor anymore.
Minor digression -- do porcupines not have Spiny anymore? I can't recall taking any damage from their spines recently. --spudwalt (talk) 19:27, 16 June 2015 (CEST)
Never mind -- I can confirm that porcupines are still spiny. --spudwalt (talk) 08:49, 18 June 2015 (CEST)


Updated. The new mechanics seem a bit odd, so I'll post the relevant code (from melee.cc):

       const int mut = (you.form == TRAN_PORCUPINE) ? 3
                       : player_mutation_level(MUT_SPINY);
       if (mut && attacker->alive() && coinflip())
       {
           int dmg = random_range(mut, you.experience_level + mut);
           int hurt = attacker->apply_ac(dmg);

LunaeLumen (talk) 19:05, 14 September 2017 (CEST)