From 1661545d1b70fd6fdd7bb9261d9cc01a36aa909d Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 25 Apr 2008 10:49:19 +0000 Subject: FR 1951252: Modify shafts to usually (50%) drop you two levels, and sometimes (25% each) one or three. FR 1951309: Disallow SeeInv + rPois properties for randart naga bardings since naga already have those two as innate mutations, and there's no one else capable of wearing them. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4615 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/randart.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/randart.cc') diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc index c17cf49a02..5f58edab16 100644 --- a/crawl-ref/source/randart.cc +++ b/crawl-ref/source/randart.cc @@ -877,7 +877,8 @@ void static _get_randart_properties(const item_def &item, && (aclass != OBJ_JEWELLERY || atype != RING_POISON_RESISTANCE) && (aclass != OBJ_ARMOUR || atype != ARM_GOLD_DRAGON_ARMOUR - || atype != ARM_SWAMP_DRAGON_ARMOUR)) + && atype != ARM_SWAMP_DRAGON_ARMOUR + && atype != ARM_NAGA_BARDING)) { proprt[RAP_POISON] = 1; power_level++; @@ -907,7 +908,8 @@ void static _get_randart_properties(const item_def &item, // see_invis if (!done_powers && one_chance_in(4 + power_level) - && (aclass != OBJ_JEWELLERY || atype != RING_INVISIBILITY)) + && (aclass != OBJ_JEWELLERY || atype != RING_INVISIBILITY) + && (aclass != OBJ_ARMOUR || atype != ARM_NAGA_BARDING)) { proprt[RAP_EYESIGHT] = 1; power_level++; -- cgit v1.2.3-54-g00ecf