summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acquire.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-02-24 15:53:33 +0000
committerChris Campbell <chriscampbell89@gmail.com>2014-02-24 16:03:34 +0000
commitc3c125f5b38131e0d79b4ed228bf6e3d9bfd55ec (patch)
tree6e6ab669db37194a0d4affaa7d37657a38714337 /crawl-ref/source/acquire.cc
parentcd953f784cd3eb197096fcb9b7864d1386f85fa4 (diff)
downloadcrawl-ref-c3c125f5b38131e0d79b4ed228bf6e3d9bfd55ec.tar.gz
crawl-ref-c3c125f5b38131e0d79b4ed228bf6e3d9bfd55ec.zip
Don't generate racial weapons or launchers
The effects of racial weapons were very minimal and unlikely to be noticed. Even if they were made significant, they would only apply to a very small subset of races. The only somewhat notable effect was Beogh's slight slaying bonus (and even that was very minor), this could be compensated for in some other way if necessary. Racial armour has slightly more noticeable effects and currently still remains, but could probably be removed too (potentially replacing the racial effects with armour egos instead).
Diffstat (limited to 'crawl-ref/source/acquire.cc')
-rw-r--r--crawl-ref/source/acquire.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/acquire.cc b/crawl-ref/source/acquire.cc
index 2113a79073..582e896bc6 100644
--- a/crawl-ref/source/acquire.cc
+++ b/crawl-ref/source/acquire.cc
@@ -1266,8 +1266,8 @@ int acquirement_create_item(object_class_type class_wanted,
}
// bias racial make towards the player
- if (!is_artefact(doodad))
- maybe_set_item_race(doodad, get_species_race(you.species), 3);
+ if (doodad.base_type == OBJ_ARMOUR && !is_artefact(doodad))
+ maybe_set_armour_race(doodad, get_species_race(you.species), 3);
if (doodad.base_type == OBJ_WEAPONS
&& !can_wield(&doodad, false, true)