summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/item_use.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index faf6f9c0d2..c2e874ec8f 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -3324,7 +3324,6 @@ void jewellery_wear_effects(item_def &item)
case RING_SUSTENANCE:
case RING_SLAYING:
case RING_WIZARDRY:
- case RING_REGENERATION:
case RING_TELEPORT_CONTROL:
break;
@@ -3483,6 +3482,13 @@ void jewellery_wear_effects(item_def &item)
}
break;
+ case RING_REGENERATION:
+ // To be exact, bloodless vampires should get the id only after they
+ // drink anything. Not worth complicating the code, IMHO. [1KB]
+ if (player_mutation_level(MUT_SLOW_HEALING) < 3)
+ ident = ID_KNOWN_TYPE;
+ break;
+
}
// Artefacts have completely different appearance than base types