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:
Pasi Kallinen
2025-04-12 19:23:20 +03:00
parent 48d1b8617e
commit 8f7258dc35
10 changed files with 96 additions and 27 deletions

View File

@@ -1160,6 +1160,8 @@ mksobj_init(struct obj **obj, boolean artif)
}
mkobj_erosions(otmp);
if (permapoisoned(otmp))
otmp->opoisoned = 1;
}
/* mksobj(): create a specific type of object; result is always non-Null */