mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-08-05 12:15:26 +01:00
The wish parser should be able to handle tenuous drow armor
This commit is contained in:
parent
301c01ce81
commit
1da1a318aa
1 changed files with 2 additions and 1 deletions
|
@ -3989,6 +3989,7 @@ int wishflags;
|
|||
} else if (!strncmpi(bp, "rusty ", l=6) ||
|
||||
!strncmpi(bp, "rusted ", l=7) ||
|
||||
!strncmpi(bp, "burnt ", l=6) ||
|
||||
!strncmpi(bp, "tenuous ", l=8) ||
|
||||
!strncmpi(bp, "burned ", l=7)) {
|
||||
eroded = 1 + very;
|
||||
very = 0;
|
||||
|
@ -5557,7 +5558,7 @@ typfnd:
|
|||
|
||||
/* set eroded */
|
||||
if (is_damageable(otmp) || otmp->otyp == MASK || otmp->otyp == CRYSKNIFE) {
|
||||
if (eroded && (is_flammable(otmp) || is_rustprone(otmp)))
|
||||
if (eroded && (is_flammable(otmp) || is_rustprone(otmp) || is_evaporable(otmp)))
|
||||
otmp->oeroded = eroded;
|
||||
if (eroded2 && (is_corrodeable(otmp) || is_rottable(otmp)))
|
||||
otmp->oeroded2 = eroded2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue