1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-29 08:52:25 +01:00

Merge pull request #1368 from NeroOneTrueKing/patch-gnome-accuracy-buff

Gnomes get +2 to-hit
This commit is contained in:
Chris-plus-alphanumericgibberish 2020-12-31 17:09:58 -05:00 committed by GitHub
commit dd3fafb604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3253,6 +3253,10 @@ int flat_acc;
}
}
}
/* gnomes are especially accurate, with weapons or ranged or any other "proper" attacks... not a zombie's claw attack. */
if (magr && (youagr ? Race_if(PM_GNOME) : is_gnome(pa)))
wepn_acc += 2;
/* skill bonus (player-only; applies without a weapon as well) */
if (youagr) {
int wtype;