From: PatR Date: Fri, 17 Jun 2016 23:30:50 +0000 (-0700) Subject: fix #H4404 - Orc wizard vs ring of poison resist X-Git-Tag: NetHack-3.6.1_RC01~667 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37c4655722ddcc9e979566d48d1b616b22d17c90;p=nethack fix #H4404 - Orc wizard vs ring of poison resist Orcs are innately poison resistant, so orcish wizard's random ring shouldn't be poison resistance. Presumeably an orc who is bright enough to become a wizard is not so dumb as to bring a useless ring with him/her into the dungeon.... --- diff --git a/doc/fixes36.1 b/doc/fixes36.1 index 6affc4c59..dc7db5c3b 100644 --- a/doc/fixes36.1 +++ b/doc/fixes36.1 @@ -298,7 +298,8 @@ if blind and no gloves, using 'm' to move and then 'e' could be used to it's cannabilism for a were to eat a corpse conduct: wishing for an artifact and not getting it because it already exists counts as wishing for an artifact, just like when not getting it - becuase of quest restrictions or too many artifacts in play does + because of quest restrictions or too many artifacts in play does +avoid ring of poison resistance as starting equipment for orcish wizard Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository diff --git a/src/u_init.c b/src/u_init.c index 34e3b4cc1..3dadf09d0 100644 --- a/src/u_init.c +++ b/src/u_init.c @@ -1013,6 +1013,8 @@ register struct trobj *trop; || otyp == RIN_AGGRAVATE_MONSTER || otyp == RIN_HUNGER || otyp == WAN_NOTHING + /* orcs start with poison resistance */ + || (otyp == RIN_POISON_RESISTANCE && Race_if(PM_ORC)) /* Monks don't use weapons */ || (otyp == SCR_ENCHANT_WEAPON && Role_if(PM_MONK)) /* wizard patch -- they already have one */