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

Method cannot_act

crawl-ref/source/player.cc:6032–6037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6030}
6031
6032bool player::cannot_act() const
6033{
6034 return asleep() || paralysed() || petrified()
6035 || you.duration[DUR_VEXED]
6036 || you.duration[DUR_DAZED];
6037}
6038
6039bool player::helpless() const
6040{

Callers 15

_inputFunction · 0.45
world_reactsFunction · 0.45
is_useless_itemFunction · 0.45
_xom_pseudo_miscastFunction · 0.45
_valid_speaker_of_recallFunction · 0.45
handle_monster_moveFunction · 0.45
handle_phase_dodgedMethod · 0.45
get_tensionFunction · 0.45
mons_speaksFunction · 0.45
_battle_cryFunction · 0.45
_cast_dirgeFunction · 0.45
_decrement_durationsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected