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

Function mon_hates_light

src/mondata.c:546–550  ·  view source on GitHub ↗

True if specific monster is especially affected by light-emitting weapons */

Source from the content-addressed store, hash-verified

544
545/* True if specific monster is especially affected by light-emitting weapons */
546boolean
547mon_hates_light(struct monst *mon)
548{
549 return (boolean) hates_light(mon->data);
550}
551
552/* True iff the type of monster pass through iron bars */
553boolean

Callers 1

hmon_hitmon_weapon_meleeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected