diff options
author | Chris Oelmueller <chris.oelmueller@gmail.com> | 2014-02-12 19:32:20 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-03-06 08:00:41 +0000 |
commit | 49e238f2a21cc04e99c3c945041b9d7e274b07b4 (patch) | |
tree | fb9c8db4f2a8feab049df88e63cdc404d2a5cf61 /crawl-ref/source/acquire.cc | |
parent | 12b0153de6c791cdc964519012ee819591b7a6f8 (diff) | |
download | crawl-ref-49e238f2a21cc04e99c3c945041b9d7e274b07b4.tar.gz crawl-ref-49e238f2a21cc04e99c3c945041b9d7e274b07b4.zip |
Don't generate racial armour
[It had much the same problems as racial weapons, with only very slightly more
significant effects. Some of the old effects of racial armour could potentially
be rethought and made into a new armour ego. Beogh still gives a (slightly
smaller than before) bonus for armour use, without the orcish requirement.
-MarvinPA]
Diffstat (limited to 'crawl-ref/source/acquire.cc')
-rw-r--r-- | crawl-ref/source/acquire.cc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/crawl-ref/source/acquire.cc b/crawl-ref/source/acquire.cc index 8966ce835b..1fb5240bd5 100644 --- a/crawl-ref/source/acquire.cc +++ b/crawl-ref/source/acquire.cc @@ -1186,8 +1186,7 @@ int acquirement_create_item(object_class_type class_wanted, want_arts = false; thing_created = items(want_arts, class_wanted, type_wanted, true, - ITEM_LEVEL, MAKE_ITEM_RANDOM_RACE, - 0, 0, agent); + ITEM_LEVEL, 0, 0, 0, agent); if (thing_created == NON_ITEM) continue; @@ -1251,8 +1250,7 @@ int acquirement_create_item(object_class_type class_wanted, { destroy_item(thing_created, true); thing_created = items(true, OBJ_ARMOUR, at, true, - ITEM_LEVEL, MAKE_ITEM_RANDOM_RACE, - 0, 0, agent); + ITEM_LEVEL, 0, 0, 0, agent); } else if (agent != GOD_XOM && one_chance_in(3)) { @@ -1265,10 +1263,6 @@ int acquirement_create_item(object_class_type class_wanted, } } - // bias racial make towards the player - 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) || doodad.base_type == OBJ_ARMOUR |