Wielded quarterstaff gives a small spellcasting bonus

From NetHack Fourk.
This commit is contained in:
Pasi Kallinen
2023-12-31 17:53:00 +02:00
parent 42a6a5df66
commit 780d30eca9
2 changed files with 4 additions and 0 deletions

View File

@@ -1339,6 +1339,7 @@ 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
wielded quarterstaff gives a small spellcasting bonus
Fixes to 3.7.0-x General Problems Exposed Via git Repository

View File

@@ -2082,6 +2082,9 @@ percent_success(int spell)
if (uarms)
splcaster += gu.urole.spelshld;
if (uwep && uwep->otyp == QUARTERSTAFF)
splcaster -= 3; /* Small bonus */
if (!paladin_bonus) {
if (uarmh && is_metallic(uarmh)) /* && otyp != HELM_OF_BRILLIANCE */
splcaster += uarmhbon;