diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-19 22:00:30 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-19 22:00:30 +0000 |
commit | 003c3dc779fbd0ba44bc4fafadafb45db537fda7 (patch) | |
tree | 657e2feff11f83c4972716c17a62087585f1d631 /crawl-ref/source/spells2.cc | |
parent | 02604af1abe748b59b886c61e0bec324ce3bc7c2 (diff) | |
download | crawl-ref-003c3dc779fbd0ba44bc4fafadafb45db537fda7.tar.gz crawl-ref-003c3dc779fbd0ba44bc4fafadafb45db537fda7.zip |
And adjust it again.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4389 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r-- | crawl-ref/source/spells2.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index aa81922bf8..3b52fc9428 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -1473,7 +1473,9 @@ void summon_scorpions(int pow) void summon_ugly_thing(int pow) { - monster_type ugly = (one_chance_in(6 - (pow / 15))) ? + int chance = std::max(6 - (pow / 14), 2); + + monster_type ugly = (one_chance_in(chance)) ? MONS_VERY_UGLY_THING : MONS_UGLY_THING; int numsc = std::min(2 + (random2(pow) / 4), 6); |