Home
last modified time | relevance | path

Searched refs:monspell (Results 1 – 4 of 4) sorted by relevance

/dports/games/dungeoncrawl/dc400b26-src/source/
H A Dmon-util.h415 bool ms_direct_nasty(int monspell);
423 bool ms_useful_fleeing_out_of_sight( struct monsters *mon, int monspell );
424 bool ms_waste_of_time( struct monsters *mon, int monspell );
425 bool ms_low_hitpoint_cast( struct monsters *mon, int monspell );
H A Dmon-util.cc1558 bool ms_requires_tracer(int monspell) in ms_requires_tracer() argument
1562 switch(monspell) in ms_requires_tracer()
1636 bool ms_direct_nasty(int monspell) in ms_direct_nasty() argument
1640 switch(monspell) in ms_direct_nasty()
1683 if (ms_waste_of_time( mon, monspell )) in ms_useful_fleeing_out_of_sight()
1686 switch (monspell) in ms_useful_fleeing_out_of_sight()
1730 switch (monspell) in ms_low_hitpoint_cast()
1765 switch (monspell) in ms_waste_of_time()
1844 diff = (monspell == MS_PAIN in ms_waste_of_time()
1845 || monspell == MS_SLOW in ms_waste_of_time()
[all …]
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dmon-cast.cc1817 static bool _ms_direct_nasty(spell_type monspell) in _ms_direct_nasty() argument
1819 return !(get_spell_flags(monspell) & spflag::utility in _ms_direct_nasty()
1820 || spell_typematch(monspell, spschool::summoning)); in _ms_direct_nasty()
2722 static bool _ms_quick_get_away(spell_type monspell) in _ms_quick_get_away() argument
2724 switch (monspell) in _ms_quick_get_away()
7286 spell_type monspell = slot.spell; in _monster_spell_goodness() local
7290 if (!foe && (get_spell_flags(monspell) & spflag::targeting_mask)) in _monster_spell_goodness()
7308 if (spell_harms_area(monspell) && env.sanctuary_time > 0) in _monster_spell_goodness()
7319 if (summons_are_capped(monspell) in _monster_spell_goodness()
7320 && count_summons(mon, monspell) >= summons_limit(monspell)) in _monster_spell_goodness()
[all …]
H A Dmon-util.cc3752 static bool _ms_ranged_spell(spell_type monspell, bool attack_only = false, in _ms_ranged_spell() argument
3756 if (spell_typematch(monspell, spschool::summoning) in _ms_ranged_spell()
3757 || monspell == SPELL_CONJURE_BALL_LIGHTNING) in _ms_ranged_spell()
3762 const spell_flags flags = get_spell_flags(monspell); in _ms_ranged_spell()
3767 || monspell == SPELL_BLINK_OTHER_CLOSE) in _ms_ranged_spell()
3773 if (spell_typematch(monspell, spschool::conjuration)) in _ms_ranged_spell()
3777 if (spell_typematch(monspell, spschool::hexes)) in _ms_ranged_spell()
3780 switch (monspell) in _ms_ranged_spell()