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:
parent
60afc0ba8a
commit
02aa22db7d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue