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

Function isspecmon

src/mon.c:4982–4987  ·  view source on GitHub ↗

nonshapechangers who warrant special polymorph handling */

Source from the content-addressed store, hash-verified

4980
4981/* nonshapechangers who warrant special polymorph handling */
4982staticfn boolean
4983isspecmon(struct monst *mon)
4984{
4985 return (mon->isshk || mon->ispriest || mon->isgd
4986 || mon->m_id == svq.quest_status.leader_m_id);
4987}
4988
4989/* restrict certain special monsters (shopkeepers, aligned priests,
4990 vault guards) to forms that allow them to behave sensibly (catching

Callers 1

validspecmonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected