From 9da41545ed14af61ce48d2ac8bed762162ee09ec Mon Sep 17 00:00:00 2001 From: Erik Lunna Date: Sun, 24 Sep 2023 16:40:10 +0200 Subject: [PATCH] Vampirics never start with an amulet of drain resistance or a ring of regeneration (they have them from XP 1). --- src/u_init.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/u_init.c b/src/u_init.c index 8726a1dd6..7666d5900 100644 --- a/src/u_init.c +++ b/src/u_init.c @@ -2030,8 +2030,11 @@ register struct trobj *origtrop; && (otyp == RIN_FIRE_RESISTANCE || otyp == RIN_COLD_RESISTANCE)) - /* Necromancers start with drain res */ - || (otyp == AMULET_OF_DRAIN_RESISTANCE && Role_if(PM_NECROMANCER)) + /* Necromancers/vampirics start with drain res */ + || (otyp == AMULET_OF_DRAIN_RESISTANCE + && (Role_if(PM_NECROMANCER) || Race_if(PM_VAMPIRIC))) + /* vampirics start with regeneration */ + || (otyp == RIN_REGENERATION && Race_if(PM_VAMPIRIC)) /* orcs start with poison resistance */ || (otyp == RIN_POISON_RESISTANCE && Race_if(PM_ORC)) /* Monks don't use weapons */