summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-07 22:39:30 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-07 22:39:30 +0000
commit5fc42c09027a4f29b5e7ff14eeb386aa57b882e4 (patch)
treeb45cf3637c33bca06fe92683e58d6aaae99ba904 /crawl-ref/source/mon-util.cc
parenta51cc596c69f2f6a46d79c8b9d499fe528390451 (diff)
downloadcrawl-ref-5fc42c09027a4f29b5e7ff14eeb386aa57b882e4.tar.gz
crawl-ref-5fc42c09027a4f29b5e7ff14eeb386aa57b882e4.zip
Simplify.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10632 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index c94c7d204d..9c728d72f3 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -1723,11 +1723,8 @@ int exper_value(const monsters *monster)
// Monsters who can use equipment (even if only the equipment
// they are given) can be considerably enhanced because of
// the way weapons work for monsters. -- bwr
- if (item_usage == MONUSE_STARTING_EQUIPMENT
- || item_usage == MONUSE_WEAPONS_ARMOUR)
- {
+ if (item_usage >= MONUSE_STARTING_EQUIPMENT)
diff += 30;
- }
// Set a reasonable range on the difficulty modifier...
// Currently 70% - 200%. -- bwr