not-fully-petrified monsters to be exploded as well (taking the same amount of damage as an ice statue, as opposed to that of a stone golem, which is taken by fully petrified monsters).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7113 c06c8d41-db1a-0410-9941-cceddc491573
XHA6B4P5FAI5OTUQOA6J4VS2SBBR2MAFL2KMEBGD54O55WNSOGTQC PMODADA7C3BWOFCPU37626DKMWENG6FAR5I6TOIQU5OBJBUJTSAQC K7J2IGELTIQL5KAMBV62MFVIVMEZEWCOLZ7GHFXHYPANYIF7BRZAC M4H3RQME2IMRCMXFGYPCJS2DMW7HAGPUHCJ7X3524TGYHOBZWQZQC SIDH2P7NBIG5KEOE27XHD3ZT2NQ2OJZFN6VZXWNWYFFY5YVXSSVQC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC S5CIJLSFFXV445G6CH2AQ3YDU3P7RLSIHWV7GBJ4MZ4C26BWCY6AC YCL3W2PFE6ILTGBFODCSXNPDIA46KVSZP2TI7HDMYAOEJT65RIEAC RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC UH3CJQMQ3NPICXD34NTCTUZJWOCEF4P5XEGXFLLNDDFLZK7QPUBQC 7YUGK5Q64KG5O7GJGTUBRRLHAHBCJ5YOE23YUPT6UBKUSB67CYAQC explode = true;beam.ex_size = 2;beam.name = "blast of petrified fragments";beam.colour = menv[mon].colour;beam.damage.num = 3;if (player_hurt_monster(mon, roll_dice(beam.damage)))beam.damage.num++;break;
const bool petrifying = mons_is_petrifying(mon);const bool petrified = mons_is_petrified(mon);// Petrifying or petrified monsters can be exploded.if (petrifying || petrified){explode = true;beam.ex_size = petrifying ? 1 : 2;beam.name = "blast of petrified fragments";beam.colour = mon->colour;beam.damage.num = petrifying ? 2 : 3;if (player_hurt_monster(midx, roll_dice(beam.damage)))beam.damage.num++;break;}
// Yes, this spell does lousy damage if the monster// isn't susceptible. -- bwrplayer_hurt_monster(mon, roll_dice(1, 5 + pow / 25));goto do_terrain;}
// Mark that a monster was targetted.beam.damage.num = 1;// Yes, this spell does lousy damage if the monster// isn't susceptible. -- bwrplayer_hurt_monster(midx, roll_dice(1, 5 + pow / 25));goto do_terrain;