Cursed welded quarterstaff doesn't prevent spellcasting

This commit is contained in:
Pasi Kallinen
2023-12-31 17:41:00 +02:00
parent cd91d0630b
commit 42a6a5df66
2 changed files with 2 additions and 1 deletions

View File

@@ -1338,6 +1338,7 @@ amulet of unchanging cannot be polymorphed
wishing for a "lit candle" provided one, but the feedback as it was added into
invent was "partly used candle (lit)" because of how 'lit' timer works
don't fall off steed because of Fumbling if saddle is cursed
cursed welded quarterstaff doesn't prevent spellcasting
Fixes to 3.7.0-x General Problems Exposed Via git Repository

View File

@@ -673,7 +673,7 @@ rejectcasting(void)
} else if (!can_chant(&gy.youmonst)) {
You("are unable to chant the incantation.");
return TRUE;
} else if (!freehand()) {
} else if (!freehand() && !(uwep && uwep->otyp == QUARTERSTAFF)) {
/* Note: !freehand() occurs when weapon and shield (or two-handed
* weapon) are welded to hands, so "arms" probably doesn't need
* to be makeplural(bodypart(ARM)).