/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/dat/clua/ |
H A D | autofight.lua | 89 return wp and wp.reach_range >= 2 and not wp.is_melded 92 local function reach_range() function 95 return wp.reach_range 206 local range = reach_range() 237 local range = reach_range()
|
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | l-moninf.cc | 602 lua_pushnumber(ls, mi->reach_range()); in LUAFN() 732 MIREG(reach_range),
|
H A D | quiver.cc | 508 const reach_type reach_range = !weapon ? REACH_NONE in trigger() local 514 args.range = reach_range; in trigger() 522 if (attack_cleaves(you, -1) && reach_range < REACH_TWO) in trigger() 525 hitfunc = make_unique<targeter_reach>(&you, reach_range); in trigger() 553 if (x_distance > reach_range || y_distance > reach_range) in trigger() 590 if (reach_range < REACH_THREE && (x_distance > 1 || y_distance > 1)) in trigger()
|
H A D | fineff.cc | 732 const reach_type sw_range = sw->reach_range(); in fire() 744 const reach_type atk_range = atkr->reach_range(); in fire()
|
H A D | mon-info.h | 372 reach_type reach_range() const;
|
H A D | actor.h | 176 virtual reach_type reach_range() const = 0;
|
H A D | monster.h | 414 reach_type reach_range() const override;
|
H A D | mon-info.cc | 1551 reach_type monster_info::reach_range() const in reach_range() function in monster_info 1727 return mi.type == MONS_DANCING_WEAPON && mi.reach_range() == REACH_TWO; in _has_polearm()
|
H A D | fight.cc | 367 && attacker->reach_range() == REACH_TWO in fight_melee()
|
H A D | l-item.cc | 579 IDEF(reach_range) in IDEF() argument
|
H A D | player.h | 522 reach_type reach_range() const override;
|
H A D | god-passive.cc | 1182 return dist <= you.reach_range(); in _in_melee_range()
|
H A D | mon-act.cc | 351 if (ally->is_stationary() || ally->reach_range() > REACH_NONE) in _allied_monster_at() 931 const reach_type range = mons.reach_range(); in _handle_reaching()
|
H A D | mon-util.cc | 3886 || mon.reach_range() != REACH_NONE in mons_has_ranged_attack()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | npcmove.cpp | 765 recoil_total() ) : weapon.reach_range( *this ) ); in move() 1429 int reach_range = weapon.reach_range( *this ); in method_of_attack() local 1431 if( reach_range > 1 && reach_range >= dist && clear_shot_reach( pos(), tar ) ) { in method_of_attack() 1436 if( reach_range > 1 && reach_range >= std::round( trig_dist( pos(), tar ) ) && in method_of_attack()
|
H A D | avatar_action.cpp | 591 int reach = you.weapon.reach_range( you ); in autoattack()
|
H A D | melee.cpp | 637 if( cur_weapon->reach_range( *this ) > 1 && !reach_attacking && in melee_attack_abstract() 2458 float reach = weap.reach_range( *this ); in melee_value()
|
H A D | item.h | 667 int reach_range( const Character &guy ) const;
|
H A D | npc.cpp | 1227 confident_range_cache = weapon.reach_range( *this ); in invalidate_range_cache()
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | npcmove.cpp | 765 recoil_total() ) : weapon.reach_range( *this ) ); in move() 1429 int reach_range = weapon.reach_range( *this ); in method_of_attack() local 1431 if( reach_range > 1 && reach_range >= dist && clear_shot_reach( pos(), tar ) ) { in method_of_attack() 1436 if( reach_range > 1 && reach_range >= std::round( trig_dist( pos(), tar ) ) && in method_of_attack()
|
H A D | avatar_action.cpp | 591 int reach = you.weapon.reach_range( you ); in autoattack()
|
H A D | melee.cpp | 637 if( cur_weapon->reach_range( *this ) > 1 && !reach_attacking && in melee_attack_abstract() 2458 float reach = weap.reach_range( *this ); in melee_value()
|
H A D | item.h | 667 int reach_range( const Character &guy ) const;
|
H A D | npc.cpp | 1227 confident_range_cache = weapon.reach_range( *this ); in invalidate_range_cache()
|
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/test/stress/ |
H A D | qw.rc | 2436 elseif supdist(e.x,e.y) <= 3 and e.m:reach_range() >= 2 then 2820 or (is_ranged(e.m) or dist == 2 and e.m:reach_range() >= 2) 2934 and not is_ranged(m) and m:reach_range() < 2 then 3085 return wp and wp.reach_range == 2 and not wp.is_melded 4464 if e.m:reach_range() >= 2 and supdist(e.x,e.y) <= 2 then
|