1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-26 15:22:23 +01:00

Prevent atlatls from having points.

This commit is contained in:
demogorgon22 2021-09-30 22:00:54 -04:00
parent 60afc0ba8a
commit 02aa22db7d

View file

@ -486,7 +486,7 @@ struct obj {
objects[otmp->otyp].oc_skill == P_SPEAR)
#define is_tipped_spear(otmp) (otmp->oclass == WEAPON_CLASS && \
objects[otmp->otyp].oc_skill == P_SPEAR && \
otmp->otyp != JAVELIN)
otmp->otyp != JAVELIN && otmp->otyp != ATLATL)
#define has_spear_point(otmp,typ) ((otmp) && is_tipped_spear(otmp) && (otmp)->cobj && (otmp)->cobj->otyp == typ)
#define is_farm(otmp) (otmp->oclass == WEAPON_CLASS && \
objects[otmp->otyp].oc_skill == P_HARVEST)