Buff Grimtooth with poison
Grimtooth is now permanently poisoned, protects the wielder from poison, and can be invoked to throw poison. Permapoison code comes from xNetHack by copperwater <aosdict@gmail.com>.
This commit is contained in:
@@ -254,10 +254,11 @@ struct obj {
|
||||
(otmp->oclass == WEAPON_CLASS \
|
||||
&& objects[otmp->otyp].oc_skill >= -P_SHURIKEN \
|
||||
&& objects[otmp->otyp].oc_skill <= -P_BOW)
|
||||
#define is_poisonable(otmp) \
|
||||
(otmp->oclass == WEAPON_CLASS \
|
||||
&& objects[otmp->otyp].oc_skill >= -P_SHURIKEN \
|
||||
&& objects[otmp->otyp].oc_skill <= -P_BOW)
|
||||
#define is_poisonable(otmp) \
|
||||
((otmp->oclass == WEAPON_CLASS \
|
||||
&& objects[otmp->otyp].oc_skill >= -P_SHURIKEN \
|
||||
&& objects[otmp->otyp].oc_skill <= -P_BOW) \
|
||||
|| permapoisoned(otmp))
|
||||
#define uslinging() (uwep && objects[uwep->otyp].oc_skill == P_SLING)
|
||||
/* 'is_quest_artifact()' only applies to the current role's artifact */
|
||||
#define any_quest_artifact(o) ((o)->oartifact >= ART_ORB_OF_DETECTION)
|
||||
|
||||
Reference in New Issue
Block a user