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

Function sliparm

src/mondata.c:631–636  ·  view source on GitHub ↗

creature will slide out of armor */

Source from the content-addressed store, hash-verified

629
630/* creature will slide out of armor */
631boolean
632sliparm(struct permonst *ptr)
633{
634 return (boolean) (is_whirly(ptr) || ptr->msize <= MZ_SMALL
635 || noncorporeal(ptr));
636}
637
638/* creature will break out of armor */
639boolean

Callers 3

breakarmFunction · 0.85
mon_break_armorFunction · 0.85
break_armorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected