MCPcopy Index your code
hub / github.com/NetHack/NetHack / peffect_healing

Function peffect_healing

src/potion.c:1118–1125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1116}
1117
1118staticfn void
1119peffect_healing(struct obj *otmp)
1120{
1121 You_feel("better.");
1122 healup(8 + d(4 + 2 * bcsign(otmp), 4), !otmp->cursed ? 1 : 0,
1123 !!otmp->blessed, !otmp->cursed);
1124 exercise(A_CON, TRUE);
1125}
1126
1127staticfn void
1128peffect_extra_healing(struct obj *otmp)

Callers 1

peffectsFunction · 0.85

Calls 5

You_feelFunction · 0.85
healupFunction · 0.85
dFunction · 0.85
bcsignFunction · 0.85
exerciseFunction · 0.85

Tested by

no test coverage detected