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

@@ -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)).