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:
@@ -2595,9 +2595,10 @@ potion_dip(struct obj *obj, struct obj *potion)
|
||||
obj->opoisoned = TRUE;
|
||||
poof(potion);
|
||||
return ECMD_TIME;
|
||||
} else if (obj->opoisoned && (potion->otyp == POT_HEALING
|
||||
|| potion->otyp == POT_EXTRA_HEALING
|
||||
|| potion->otyp == POT_FULL_HEALING)) {
|
||||
} else if (obj->opoisoned && !permapoisoned(obj)
|
||||
&& (potion->otyp == POT_HEALING
|
||||
|| potion->otyp == POT_EXTRA_HEALING
|
||||
|| potion->otyp == POT_FULL_HEALING)) {
|
||||
pline("A coating wears off %s.", the(xname(obj)));
|
||||
obj->opoisoned = 0;
|
||||
poof(potion);
|
||||
|
||||
Reference in New Issue
Block a user