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

Method res_constrict

crawl-ref/source/player.cc:7062–7070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7060}
7061
7062bool player::res_constrict() const
7063{
7064 return is_insubstantial()
7065 || is_amorphous()
7066 || you.form == transformation::quill
7067 || get_mutation_level(MUT_SPINY)
7068 || you.unrand_equipped(UNRAND_SLICK_SLIPPERS)
7069 || you.duration[DUR_CONSTRICTION_IMMUNITY];
7070}
7071
7072int player::res_blind() const
7073{

Callers 4

_enter_formFunction · 0.45
LUAFNFunction · 0.45
can_constrictMethod · 0.45
_immune_to_brandFunction · 0.45

Calls 1

unrand_equippedMethod · 0.45

Tested by

no test coverage detected