summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/mstuff2.cc4
-rw-r--r--crawl-ref/source/spells2.cc4
2 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc
index 393f7089aa..b61c2a663a 100644
--- a/crawl-ref/source/mstuff2.cc
+++ b/crawl-ref/source/mstuff2.cc
@@ -624,7 +624,9 @@ void mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast)
mons = summon_any_demon(DEMON_COMMON);
else
{
- mons = (one_chance_in(6 - (monster->hit_dice / 7))) ?
+ int chance = std::max(6 - (monster->hit_dice / 6), 2);
+
+ 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 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);