MCPcopy Create free account
hub / github.com/NetHack/NetHack / poison_strdmg

Function poison_strdmg

src/attrib.c:273–278  ·  view source on GitHub ↗

combined strength loss and damage from some poisons */

Source from the content-addressed store, hash-verified

271
272/* combined strength loss and damage from some poisons */
273void
274poison_strdmg(int strloss, int dmg, const char *knam, schar k_format)
275{
276 losestr(strloss, knam, k_format);
277 losehp(dmg, knam, k_format);
278}
279
280static const struct poison_effect_message {
281 void (*delivery_func)(const char *, ...);

Callers 4

eatcorpseFunction · 0.85
doeat_nonfoodFunction · 0.85
cursed_bookFunction · 0.85
drinkfountainFunction · 0.85

Calls 2

losestrFunction · 0.85
losehpFunction · 0.85

Tested by

no test coverage detected