mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-07-27 07:52:25 +01:00
Nonweapons use touch accuracy
Otherwise, thrown potions/eggs/corpses etc are too inaccurate to be helpful. Hitting their armor with the potion works just as well as hitting them on an unprotected thigh (or whatever).
This commit is contained in:
parent
391ef3de63
commit
96f44be73b
1 changed files with 3 additions and 1 deletions
|
@ -3326,7 +3326,9 @@ int flat_acc;
|
|||
(weapon && arti_shining(weapon)) ||
|
||||
(melee && attk->aatyp == AT_TUCH) ||
|
||||
(melee && attk->aatyp == AT_VINE) ||
|
||||
(melee && attk->aatyp == AT_SRPR)) {
|
||||
(melee && attk->aatyp == AT_SRPR) ||
|
||||
(weapon && !valid_weapon(weapon)) /* potions, cream pies, rubber chickens, eggs, etc. */
|
||||
) {
|
||||
if (youdef) {
|
||||
defn_acc += AC_VALUE(base_uac() + u.uspellprot) + 10 - u.uspellprot;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue