From 302c451890468d0b0b9cafd83094fe38669be0d4 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 8 Nov 2009 13:04:46 -0600 Subject: Make monsters::body_weight() take merged slime creatures into account. --- crawl-ref/source/monster.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref/source/monster.cc') diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc index 5016684fb2..85306480ab 100644 --- a/crawl-ref/source/monster.cc +++ b/crawl-ref/source/monster.cc @@ -406,6 +406,10 @@ int monsters::body_weight() const if (type == MONS_SKELETON_SMALL || type == MONS_SKELETON_LARGE) weight /= 2; + // Slime creature weight is multiplied by the number merged. + if (type == MONS_SLIME_CREATURE) + weight *= number; + return (weight); } -- cgit v1.2.3-54-g00ecf