diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-22 05:13:53 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-22 05:13:53 +0000 |
commit | d6a092ee4b99bd2ca8f221e57d8049b36761e050 (patch) | |
tree | 5af8fc43a31623b354a409b82b5724ac7f60b0bb | |
parent | 6b495b07c82f49bb41a22dd59be00982b88bebfd (diff) | |
download | crawl-ref-d6a092ee4b99bd2ca8f221e57d8049b36761e050.tar.gz crawl-ref-d6a092ee4b99bd2ca8f221e57d8049b36761e050.zip |
Adjust the power of the "Summon Ugly Thing" spell again.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4465 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/mstuff2.cc | 3 | ||||
-rw-r--r-- | crawl-ref/source/spells2.cc | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc index b61c2a663a..e33cb73b7f 100644 --- a/crawl-ref/source/mstuff2.cc +++ b/crawl-ref/source/mstuff2.cc @@ -624,7 +624,8 @@ void mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast) mons = summon_any_demon(DEMON_COMMON); else { - int chance = std::max(6 - (monster->hit_dice / 6), 2); + int chance = + std::max(6 - (monster->hit_dice / 5) + random2(2), 1); mons = (one_chance_in(chance)) ? MONS_VERY_UGLY_THING : MONS_UGLY_THING; diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index ee976ad7e5..11f69b5836 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -1484,7 +1484,7 @@ void summon_scorpions(int pow) void summon_ugly_thing(int pow) { - int chance = std::max(6 - (pow / 14), 2); + int chance = std::max(6 - (pow / 11) + random2(2), 1); monster_type ugly = (one_chance_in(chance)) ? MONS_VERY_UGLY_THING : MONS_UGLY_THING; |