git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1174 c06c8d41-db1a-0410-9941-cceddc491573
PFMHSDAXQN4VDSDA6QBDIK2DPJKGYX5HYLTSZNTKMRJYXYLIKGOQC
QDTVLBRGHDTRUVT7I3O72K6TMOYAUSAJBZUHGOEFU2RKJNUPWZSQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
return (player_res_electricity());
return (player_res_electricity() * 2);
{ {AT_HIT, AF_ELEC, 12}, {AT_HIT, AF_ELEC, 12}, {AT_HIT, AF_ELEC, 12}, {AT_HIT, AF_PLAIN, 12} },
{ {AT_HIT, AF_ELEC, 15}, {AT_HIT, AF_ELEC, 15}, {AT_HIT, AF_PLAIN, 18}, {AT_HIT, AF_PLAIN, 18} },
resist_adjust_damage(defender->res_elec(), atk->hit_dice + random2( 2 * atk->hit_dice ));
resist_adjust_damage(defender->res_elec(),
atk->hit_dice + random2( 2 * atk->hit_dice ));
resist_adjust_damage( defender->res_elec(), atk->hit_dice + random2( atk->hit_dice / 2 ));
resist_adjust_damage(
defender->res_elec(),
atk->hit_dice + random2( atk->hit_dice / 2 ));
#ifdef DEBUG_DIAGNOSTICS mprf(MSGCH_DIAGNOSTICS, "Shock damage: %d", special_damage);#endif
#ifdef DEBUG_DIAGNOSTICS
mprf(MSGCH_DIAGNOSTICS, "Shock damage: %d", special_damage);
#endif