From 94c4ea8713f2337b462252fcc38bbe9f843c7913 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sat, 9 Feb 2008 10:45:04 +0000 Subject: Bug 1889975: Fix randart rings of teleportation not getting life protection. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3410 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/randart.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/randart.cc') diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc index 5c32515e91..a0477e5a60 100644 --- a/crawl-ref/source/randart.cc +++ b/crawl-ref/source/randart.cc @@ -1415,7 +1415,7 @@ void randart_wpn_properties( const item_def &item, /* prot_life - no necromantic brands on weapons allowed */ if (!done_powers && one_chance_in(4 + power_level) - && (aclass != OBJ_JEWELLERY || atype != RING_TELEPORTATION) + && (aclass != OBJ_JEWELLERY || atype != RING_LIFE_PROTECTION) && proprt[RAP_BRAND] != SPWPN_DRAINING && proprt[RAP_BRAND] != SPWPN_VAMPIRICISM && proprt[RAP_BRAND] != SPWPN_PAIN) -- cgit v1.2.3-54-g00ecf