diff options
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index 9bd94d7473..c1da593dcd 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -1508,14 +1508,6 @@ spret_type your_spells( spell_type spell, int powc, bool allow_fail ) mon = MONS_ICE_BEAST; break; - case SPELL_SUMMON_UGLY_THING: - { - const int chance = std::max(6 - (powc / 12), 1); - mon = (one_chance_in(chance)) ? MONS_VERY_UGLY_THING - : MONS_UGLY_THING; - break; - } - case SPELL_SUMMON_GUARDIAN: mon = MONS_ANGEL; break; @@ -1524,6 +1516,16 @@ spret_type your_spells( spell_type spell, int powc, bool allow_fail ) mon = MONS_DAEVA; break; + // Starting here, there's a chance of monsters' being + // unfriendly. + case SPELL_SUMMON_UGLY_THING: + { + const int chance = std::max(6 - (powc / 12), 1); + mon = (one_chance_in(chance)) ? MONS_VERY_UGLY_THING + : MONS_UGLY_THING; + break; + } + default: break; } |