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

Function anger_quest_guardians

src/mon.c:3071–3076  ·  view source on GitHub ↗

anger all the quest guards on the level */

Source from the content-addressed store, hash-verified

3069
3070/* anger all the quest guards on the level */
3071staticfn void
3072anger_quest_guardians(struct monst *mtmp)
3073{
3074 if (mtmp->data == &mons[gu.urole.guardnum])
3075 setmangry(mtmp, TRUE);
3076}
3077
3078/* monster 'mtmp' has died; maybe life-save, otherwise unshapeshift and
3079 update vanquished stats and update map */

Callers

nothing calls this directly

Calls 1

setmangryFunction · 0.85

Tested by

no test coverage detected