summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/artefact.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2014-02-12 19:32:20 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-03-06 08:00:41 +0000
commit49e238f2a21cc04e99c3c945041b9d7e274b07b4 (patch)
treefb9c8db4f2a8feab049df88e63cdc404d2a5cf61 /crawl-ref/source/artefact.cc
parent12b0153de6c791cdc964519012ee819591b7a6f8 (diff)
downloadcrawl-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/artefact.cc')
-rw-r--r--crawl-ref/source/artefact.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc
index e539a9459b..63d354085b 100644
--- a/crawl-ref/source/artefact.cc
+++ b/crawl-ref/source/artefact.cc
@@ -1076,12 +1076,8 @@ static void _get_randart_properties(const item_def &item,
}
if (one_chance_in(10)
- && (aclass != OBJ_ARMOUR
- || atype != ARM_CLOAK
- || get_equip_race(item) != ISFLAG_ELVEN)
- && (aclass != OBJ_ARMOUR
- || atype != ARM_BOOTS
- || get_equip_race(item) != ISFLAG_ELVEN)
+ && (aclass != OBJ_ARMOUR || atype != ARM_CLOAK)
+ && (aclass != OBJ_ARMOUR || atype != ARM_BOOTS)
&& get_armour_ego_type(item) != SPARM_STEALTH)
{
power_level++;