diff options
-rw-r--r-- | crawl-ref/source/mon-util.cc | 6 | ||||
-rw-r--r-- | crawl-ref/source/monster.cc | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 800a1956df..550643fc51 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -1070,7 +1070,7 @@ mon_attack_def mons_attack_spec(const monsters *mon, int attk_number) } // Slime creature attacks are multiplied by the number merged. - if (mon->type == MONS_SLIME_CREATURE && mon->number) + if (mon->type == MONS_SLIME_CREATURE && mon->number > 1) attk.damage *= mon->number; return (zombified ? downscale_zombie_attack(mon, attk) : attk); @@ -1218,7 +1218,7 @@ int exper_value(const monsters *monster) // Hacks to make merged slime creatures not worth so much exp. We // will calculate the experience we would get for 1 blob, and then // just multiply it so that exp is linear with blobs merged. -cao - if (monster->type == MONS_SLIME_CREATURE && monster->number) + if (monster->type == MONS_SLIME_CREATURE && monster->number > 1) maxhp /= monster->number; // These are some values we care about. @@ -1336,7 +1336,7 @@ int exper_value(const monsters *monster) // Slime creature exp hack part 2: Scale exp back up by the number // of blobs merged. -cao - if (monster->type == MONS_SLIME_CREATURE && monster->number) + if (monster->type == MONS_SLIME_CREATURE && monster->number > 1) x_val *= monster->number; // Reductions for big values. - bwr diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc index 85306480ab..511951499c 100644 --- a/crawl-ref/source/monster.cc +++ b/crawl-ref/source/monster.cc @@ -407,7 +407,7 @@ int monsters::body_weight() const weight /= 2; // Slime creature weight is multiplied by the number merged. - if (type == MONS_SLIME_CREATURE) + if (type == MONS_SLIME_CREATURE && number > 1) weight *= number; return (weight); |