Skip to content

Commit

Permalink
Distance check erros fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vae2009 committed Dec 20, 2023
1 parent 7f438f0 commit 5d19a73
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ConRO_DemonHunter.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Title:-|cffFFFFFFConRO|r- |cffA330C9Demon Hunter|r
## Version: 10.2.0
## Version: 10.2.1
## Author: Vae
## Interface: 100200
## Dependencies: ConRO
Expand Down
12 changes: 6 additions & 6 deletions demonhunter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function ConRO.DemonHunter.Under10(_, timeShift, currentSpell, gcd, tChosen, pvp
--Conditions
local _is_moving = ConRO:PlayerSpeed();
local _enemies_in_melee, _target_in_melee = ConRO:Targets("Melee");
local _target_in_10yrds = CheckInteractDistance("target", 3);
local _enemies_in_10yrds, _target_in_10yrds = ConRO:Targets("10");

--Warnings

Expand Down Expand Up @@ -134,7 +134,7 @@ function ConRO.DemonHunter.Under10Def(_, timeShift, currentSpell, gcd, tChosen,
--Conditions
local _is_moving = ConRO:PlayerSpeed();
local _enemies_in_melee, _target_in_melee = ConRO:Targets("Melee");
local _target_in_10yrds = CheckInteractDistance("target", 3);
local _enemies_in_10yrds, _target_in_10yrds = ConRO:Targets("10");

--Warnings

Expand Down Expand Up @@ -205,7 +205,7 @@ function ConRO.DemonHunter.Havoc(_, timeShift, currentSpell, gcd, tChosen, pvpCh
--Conditions
local _is_moving = ConRO:PlayerSpeed();
local _enemies_in_melee, _target_in_melee = ConRO:Targets("Melee");
local _target_in_10yrds = CheckInteractDistance("target", 3);
local _enemies_in_10yrds, _target_in_10yrds = ConRO:Targets("10");

if _Metamorphosis_BUFF then
_ChaosStrike_RDY = _ChaosStrike_RDY and _Annihilation_CD <= 0;
Expand Down Expand Up @@ -405,7 +405,7 @@ function ConRO.DemonHunter.HavocDef(_, timeShift, currentSpell, gcd, tChosen, pv
--Conditions
local _is_moving = ConRO:PlayerSpeed();
local _enemies_in_melee, _target_in_melee = ConRO:Targets("Melee");
local _target_in_10yrds = CheckInteractDistance("target", 3);
local _enemies_in_10yrds, _target_in_10yrds = ConRO:Targets("10");

--Rotations
if _Netherwalk_RDY and _Player_Percent_Health <= 25 then
Expand Down Expand Up @@ -474,7 +474,7 @@ function ConRO.DemonHunter.Vengeance(_, timeShift, currentSpell, gcd, tChosen, p
--Conditions
local _is_moving = ConRO:PlayerSpeed();
local _enemies_in_melee, _target_in_melee = ConRO:Targets("Melee");
local _target_in_10yrds = CheckInteractDistance("target", 3);
local _enemies_in_10yrds, _target_in_10yrds = ConRO:Targets("10");

if tChosen[Ability.PreciseSigils.talentID] then
_SigilofFlame_RDY = _SigilofFlamePS_RDY;
Expand Down Expand Up @@ -602,7 +602,7 @@ function ConRO.DemonHunter.VengeanceDef(_, timeShift, currentSpell, gcd, tChosen
--Conditions
local _is_moving = ConRO:PlayerSpeed();
local _enemies_in_melee, _target_in_melee = ConRO:Targets("Melee");
local _target_in_10yrds = CheckInteractDistance("target", 3);
local _enemies_in_10yrds, _target_in_10yrds = ConRO:Targets("10");

--Rotations
if _DemonSpikes_RDY and _DemonSpikes_CHARGES == _DemonSpikes_MAX_CHARGES then
Expand Down

0 comments on commit 5d19a73

Please sign in to comment.