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

Function mon_hates_blessings

src/mondata.c:532–536  ·  view source on GitHub ↗

True if specific monster is especially affected by blessed objects */

Source from the content-addressed store, hash-verified

530
531/* True if specific monster is especially affected by blessed objects */
532boolean
533mon_hates_blessings(struct monst *mon)
534{
535 return (boolean) (is_vampshifter(mon) || hates_blessings(mon->data));
536}
537
538/* True if monster-type is especially affected by blessed objects */
539boolean

Callers 8

peffect_waterFunction · 0.85
potionhitFunction · 0.85
hmon_hitmon_misc_objFunction · 0.85
hitvalFunction · 0.85
dmgvalFunction · 0.85
special_dmgvalFunction · 0.85
toss_upFunction · 0.85
hitmuFunction · 0.85

Calls 1

hates_blessingsFunction · 0.85

Tested by

no test coverage detected