@@ -101,7 +101,7 @@ function ConRO.DemonHunter.Under10(_, timeShift, currentSpell, gcd, tChosen, pvp
101
101
-- Conditions
102
102
local _is_moving = ConRO :PlayerSpeed ();
103
103
local _enemies_in_melee , _target_in_melee = ConRO :Targets (" Melee" );
104
- local _target_in_10yrds = CheckInteractDistance ( " target " , 3 );
104
+ local _enemies_in_10yrds , _target_in_10yrds = ConRO : Targets ( " 10 " );
105
105
106
106
-- Warnings
107
107
@@ -134,7 +134,7 @@ function ConRO.DemonHunter.Under10Def(_, timeShift, currentSpell, gcd, tChosen,
134
134
-- Conditions
135
135
local _is_moving = ConRO :PlayerSpeed ();
136
136
local _enemies_in_melee , _target_in_melee = ConRO :Targets (" Melee" );
137
- local _target_in_10yrds = CheckInteractDistance ( " target " , 3 );
137
+ local _enemies_in_10yrds , _target_in_10yrds = ConRO : Targets ( " 10 " );
138
138
139
139
-- Warnings
140
140
@@ -205,7 +205,7 @@ function ConRO.DemonHunter.Havoc(_, timeShift, currentSpell, gcd, tChosen, pvpCh
205
205
-- Conditions
206
206
local _is_moving = ConRO :PlayerSpeed ();
207
207
local _enemies_in_melee , _target_in_melee = ConRO :Targets (" Melee" );
208
- local _target_in_10yrds = CheckInteractDistance ( " target " , 3 );
208
+ local _enemies_in_10yrds , _target_in_10yrds = ConRO : Targets ( " 10 " );
209
209
210
210
if _Metamorphosis_BUFF then
211
211
_ChaosStrike_RDY = _ChaosStrike_RDY and _Annihilation_CD <= 0 ;
@@ -405,7 +405,7 @@ function ConRO.DemonHunter.HavocDef(_, timeShift, currentSpell, gcd, tChosen, pv
405
405
-- Conditions
406
406
local _is_moving = ConRO :PlayerSpeed ();
407
407
local _enemies_in_melee , _target_in_melee = ConRO :Targets (" Melee" );
408
- local _target_in_10yrds = CheckInteractDistance ( " target " , 3 );
408
+ local _enemies_in_10yrds , _target_in_10yrds = ConRO : Targets ( " 10 " );
409
409
410
410
-- Rotations
411
411
if _Netherwalk_RDY and _Player_Percent_Health <= 25 then
@@ -474,7 +474,7 @@ function ConRO.DemonHunter.Vengeance(_, timeShift, currentSpell, gcd, tChosen, p
474
474
-- Conditions
475
475
local _is_moving = ConRO :PlayerSpeed ();
476
476
local _enemies_in_melee , _target_in_melee = ConRO :Targets (" Melee" );
477
- local _target_in_10yrds = CheckInteractDistance ( " target " , 3 );
477
+ local _enemies_in_10yrds , _target_in_10yrds = ConRO : Targets ( " 10 " );
478
478
479
479
if tChosen [Ability .PreciseSigils .talentID ] then
480
480
_SigilofFlame_RDY = _SigilofFlamePS_RDY ;
@@ -602,7 +602,7 @@ function ConRO.DemonHunter.VengeanceDef(_, timeShift, currentSpell, gcd, tChosen
602
602
-- Conditions
603
603
local _is_moving = ConRO :PlayerSpeed ();
604
604
local _enemies_in_melee , _target_in_melee = ConRO :Targets (" Melee" );
605
- local _target_in_10yrds = CheckInteractDistance ( " target " , 3 );
605
+ local _enemies_in_10yrds , _target_in_10yrds = ConRO : Targets ( " 10 " );
606
606
607
607
-- Rotations
608
608
if _DemonSpikes_RDY and _DemonSpikes_CHARGES == _DemonSpikes_MAX_CHARGES then
0 commit comments