git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2388 c06c8d41-db1a-0410-9941-cceddc491573
M6J5C74JDM5ZYIDPN7QXUCP6L44S2Z5XTRJMZBBRYOHA62IGYXKAC if (monster->has_ench(ENCH_BATTLE_FRENZY)){const mon_enchant ench = monster->get_ench(ENCH_BATTLE_FRENZY);#ifdef DEBUG_DIAGNOSTICSconst dice_def orig_damage = pbolt.damage;#endifpbolt.damage.size = pbolt.damage.size * (115 + ench.degree * 15) / 100;#ifdef DEBUG_DIAGNOSTICSmprf(MSGCH_DIAGNOSTICS, "%s frenzy damage: %dd%d -> %dd%d",monster->name(DESC_PLAIN).c_str(),orig_damage.num, orig_damage.size,pbolt.damage.num, pbolt.damage.size);#endif}