MCPcopy Create free account
hub / github.com/crawl/crawl / evil

Method evil

crawl-ref/source/actor.cc:1142–1145  ·  view source on GitHub ↗

Is this creature despised by the so-called 'good gods'?

Source from the content-addressed store, hash-verified

1140
1141/// Is this creature despised by the so-called 'good gods'?
1142bool actor::evil() const
1143{
1144 return bool(holiness() & (MH_UNDEAD | MH_DEMONIC));
1145}
1146
1147// Triggers post-movement effects for this actor as if they had just moved into
1148// their current location by some means.

Callers 6

god-conduct.ccFile · 0.45
_god_will_bless_followerFunction · 0.45
_fire_kill_conductsFunction · 0.45
_player_on_kill_effectsFunction · 0.45
god_hates_monsterFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected