git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8052 c06c8d41-db1a-0410-9941-cceddc491573
EC76VUBNPZVDOVDX3KPSDF3KCNMOOGXZEALYVDATPE42BCA4GUVQC
if ((spectre != MONS_HYDRA || monster->number != 0)
&& create_monster(
mgen_data(MONS_SPECTRAL_THING, BEH_FRIENDLY,
0, monster->pos(), you.pet_target,
0, static_cast<god_type>(you.attribute[ATTR_DIVINE_DEATH_CHANNEL]),
spectre, monster->number)) != -1)
if (spectre_type != MONS_HYDRA || monster->number != 0)
if (death_message)
mpr("A glowing mist starts to gather...");
const int spectre =
create_monster(
mgen_data(MONS_SPECTRAL_THING, BEH_FRIENDLY,
0, monster->pos(), you.pet_target,
0, static_cast<god_type>(you.attribute[ATTR_DIVINE_DEATH_CHANNEL]),
spectre_type, monster->number)) != -1)
if (spectre != -1)
{
if (death_message)
mpr("A glowing mist starts to gather...");
if (mons_is_unique(type))
{
menv[spectre].mname = name_plain;
// Special case for Blork the orc: shorten
// his name to "Blork" to avoid mentions of
// "Blork the orc the spectral orc".
if (type == MONS_BLORK_THE_ORC)
menv[spectre].mname = "Blork";
}
}