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....
This commit is contained in:
PatR
2016-06-17 16:30:50 -07:00
parent 1af081edc5
commit 37c4655722
2 changed files with 4 additions and 1 deletions

View File

@@ -298,7 +298,8 @@ if blind and no gloves, using 'm<dir>' to move and then 'e' could be used to
it's cannabilism for a were<foo> to eat a <foo> 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

View File

@@ -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 */