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

Function rescham

src/mon.c:4620–4624  ·  view source on GitHub ↗

force all chameleons and mimics to become themselves and werecreatures to revert to human form; called when Protection_from_shape_changers gets activated via wearing or eating ring or via #wizintrinsic */

Source from the content-addressed store, hash-verified

4618 to revert to human form; called when Protection_from_shape_changers gets
4619 activated via wearing or eating ring or via #wizintrinsic */
4620void
4621rescham(void)
4622{
4623 iter_mons(normal_shape);
4624}
4625
4626staticfn void
4627m_restartcham(struct monst *mtmp)

Callers 3

Ring_onFunction · 0.85
wiz_intrinsicFunction · 0.85
eataccessoryFunction · 0.85

Calls 1

iter_monsFunction · 0.85

Tested by

no test coverage detected