summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/makeitem.cc6
-rw-r--r--crawl-ref/source/randart.cc2
2 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 1f8b8db137..f36735c5ba 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -1998,9 +1998,9 @@ static special_armour_type determine_armour_ego(const item_def& item,
const int tmp = random2(600) + 200 * (item.sub_type != ARM_BOOTS);
rc = (tmp < 200) ? SPARM_RUNNING :
- (tmp < 400) ? SPARM_LEVITATION :
- (tmp < 600) ? SPARM_STEALTH :
- (tmp < 700) ? SPARM_COLD_RESISTANCE : SPARM_FIRE_RESISTANCE;
+ (tmp < 400) ? SPARM_LEVITATION :
+ (tmp < 600) ? SPARM_STEALTH :
+ (tmp < 700) ? SPARM_COLD_RESISTANCE : SPARM_FIRE_RESISTANCE;
break;
}
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)