Pandemonium-type demons into the defender mix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1773 c06c8d41-db1a-0410-9941-cceddc491573
6GSPAIEMWJXYSCR5EC2WBOGYDEDR6ESIZC6TKN2FVE2CVPSHUHXAC mon_type = (coinflip() ? MONS_ABOMINATION_SMALL : MONS_ABOMINATION_LARGE);
mon_type = (coinflip() ? MONS_ABOMINATION_SMALL: MONS_ABOMINATION_LARGE);break;case BAND_PANDEMONIUM_DEMON:if (one_chance_in(7))mon_type = random_choose_weighted(50, MONS_LICH,10, MONS_ANCIENT_LICH,0);else if (one_chance_in(6))mon_type = random_choose_weighted(50, MONS_ABOMINATION_SMALL,40, MONS_ABOMINATION_LARGE,10, MONS_TENTACLED_MONSTROSITY,0);elsemon_type =summon_any_demon(static_cast<demon_class_type>(random_choose_weighted(50, DEMON_COMMON,20, DEMON_GREATER,10, DEMON_RANDOM,0)));
static int pick_zot_exit_defender(){if (one_chance_in(9))return (MONS_PANDEMONIUM_DEMON);const int temp_rand = random2(276);const int mon_type =((temp_rand > 184) ? MONS_WHITE_IMP + random2(15) : // 33.33%(temp_rand > 104) ? MONS_HELLION + random2(10) : // 28.99%(temp_rand > 78) ? MONS_HELL_HOUND : // 9.06%(temp_rand > 54) ? MONS_ABOMINATION_LARGE : // 8.70%(temp_rand > 33) ? MONS_ABOMINATION_SMALL : // 7.61%(temp_rand > 13) ? MONS_RED_DEVIL // 7.25%: MONS_PIT_FIEND); // 5.07%return (mon_type);}
temp_rand = random2(276);mon_type = ((temp_rand > 184) ? MONS_WHITE_IMP + random2(15) : // 33.33%(temp_rand > 104) ? MONS_HELLION + random2(10) : // 28.99%(temp_rand > 78) ? MONS_HELL_HOUND : // 9.06%(temp_rand > 54) ? MONS_ABOMINATION_LARGE : // 8.70%(temp_rand > 33) ? MONS_ABOMINATION_SMALL : // 7.61%(temp_rand > 13) ? MONS_RED_DEVIL // 7.25%: MONS_PIT_FIEND); // 5.07%
mon_type = pick_zot_exit_defender();permit_bands = true;