diff options
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 589a3da109..b698997be7 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -1003,13 +1003,15 @@ void monster_die(monsters *monster, killer_type killer, int i, bool silent) && mons_weight(mons_species(monster->type))) { const monster_type spectre = mons_species(monster->type); + const bool god_gift = you.attribute[ATTR_DIVINE_DEATH_CHANNEL]; + // Don't allow 0-headed hydras to become spectral hydras. if ((spectre != MONS_HYDRA || monster->number) && create_monster( mgen_data( MONS_SPECTRAL_THING, BEH_FRIENDLY, 0, monster->pos(), you.pet_target, - 0, spectre, - monster->number )) != -1) + god_gift ? MF_GOD_GIFT : 0, + spectre, monster->number )) != -1) { if (death_message) mpr("A glowing mist starts to gather..."); |