git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7538 c06c8d41-db1a-0410-9941-cceddc491573
RE735MKKI332QV2TPH4UYQN5TKQK23AZF6GOFNLCWQHJFC5QREYAC VTYE2N54HMSEF724PQI3TVE4LNFENEZYSTMQAJFU5DKFHXOWC3SAC BLN5LDH5NRRJPBY77A36Q4THEY75N42MVCJMZRUZ2D5YSXTDL4HQC 2UO6ZOW7UCP5XJ2TJ26PJNQABILK2BZ4J3BAKLOKMZPJDQHW24MAC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC DDU4A3JGN5IUIPP5IASOODKPR2WBHSDSV4FITZ6HNXNSXXQACWAQC PL4TZU6HM2KZA45CNHNHZZSBXB2VFWZWQULDSVS5G5GD5XVERFTAC UAJN2CFA2QHYDHW2UFAVPPHDQFCD54RKM6V2UC4AMEDJUBBLNWIQC UW4XQAAAV3S2ZVBLMSK6VQG6AMYR6DRKXFP64HHBC6Z3QIUWPVXQC OWERGKLVPNPGIIS23FZ7ZDOBWUIXCKYAFG3URXU75JAUDX3N5ENAC ZB6W7774FFHLI3AYC3ZTTTEFHR6MVMMMCX6GJDF27B5H442ZETHQC P5TRGRH7XMQSPCZKM5IEEO34TY6WMLGHHX7BU6Y453JFRXLUR2VQC 6GT5JAWOIIL4SQ5MWIID6ZVO3KKQFWDQDZNVFHZ6DNK5QCBXJ4UAC X5WLJCJVW55SXZVP7IKP7ADCJIGNKN4PKAXFECVR6TNK7XSMZR7QC FCZSQBKDNMJZRJS2LWQQWLUFGOXSKXDJZQIHC7L5S7HXCXQPOMMAC NVSFIV2ZKP44XHCSCXG6OZVGL67OIFINC34J2EMKTA4KULCERUEAC // Friendly monsters don't use polymorph, for fear of harming// the player.if (spell_cast == SPELL_POLYMORPH_OTHER&& mons_friendly(monster)){continue;}
return ((holiness == MH_UNDEAD// If the claimed undead is the player, it must be// a non-vampire, or a bloodless vampire.&& (foe != &you || you.is_undead != US_SEMI_UNDEAD ||you.hunger_state == HS_STARVING))// Demons, but not demonspawn - demonspawn will show// up as demonic for purposes of things like holy// wrath, but are still (usually) susceptible to// torment and draining.|| (holiness == MH_DEMONIC && foe != &you)|| holiness == MH_NONLIVING || holiness == MH_PLANT);
ret = ((holiness == MH_UNDEAD// If the claimed undead is the player, it must be// a non-vampire, or a bloodless vampire.&& (foe != &you || you.is_undead != US_SEMI_UNDEAD ||you.hunger_state == HS_STARVING))// Demons, but not demonspawn - demonspawn will show// up as demonic for purposes of things like holy// wrath, but are still (usually) susceptible to// torment and draining.|| (holiness == MH_DEMONIC && foe != &you)|| holiness == MH_NONLIVING || holiness == MH_PLANT);break;
power = 12 * mon->hit_dice * (monspell == SPELL_PAIN ? 2 : 1);power = stepdown_value( power, 30, 40, 100, 120 );
int power = 12 * mon->hit_dice * (monspell == SPELL_PAIN ? 2 : 1);power = stepdown_value(power, 30, 40, 100, 120);
diff = (monspell == SPELL_PAIN|| monspell == SPELL_SLOW|| monspell == SPELL_CONFUSE) ? 0 : 50;
int diff = (monspell == SPELL_PAIN|| monspell == SPELL_SLOW|| monspell == SPELL_CONFUSE) ? 0 : 50;