Skip to content

Commit

Permalink
Fixed code error around Sigil of Doom
Browse files Browse the repository at this point in the history
  • Loading branch information
Vae2009 committed Nov 27, 2024
1 parent 696e318 commit 410baf6
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 11.0.1
## Version: 11.0.2
## Author: Vae
## Interface: 110005
## Dependencies: ConRO
Expand Down
13 changes: 7 additions & 6 deletions demonhunter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ local _ArcaneTorrent, _ArcaneTorrent_RDY = _, _;

local HeroSpec, Racial = ids.HeroSpec, ids.Racial;


function ConRO:Stats()
_Player_Level = UnitLevel("player");
_Player_Percent_Health = ConRO:PercentHealth('player');
Expand Down Expand Up @@ -234,12 +233,14 @@ function ConRO.DemonHunter.Havoc(_, timeShift, currentSpell, gcd, tChosen, pvpCh
ConRO:AbilityBurst(_TheHunt, _TheHunt_RDY and ConRO:BurstMode(_TheHunt));

--Rotations
if select(8, UnitChannelInfo("player")) == _EyeBeam then -- Do not break cast
tinsert(ConRO.SuggestedSpells, _EyeBeam);
end

repeat
while(true) do
if select(8, UnitChannelInfo("player")) == _EyeBeam then -- Do not break cast
tinsert(ConRO.SuggestedSpells, _EyeBeam);
_Queue = _Queue + 1;
break;
end

if not _in_combat then
if _ImmolationAura_RDY and not _ImmolationAura_BUFF then
tinsert(ConRO.SuggestedSpells, _ImmolationAura);
Expand Down Expand Up @@ -347,7 +348,7 @@ function ConRO.DemonHunter.Havoc(_, timeShift, currentSpell, gcd, tChosen, pvpCh
break;
end

if _SigilofDoom_RDY and ConRO:IsOverride(_SigilofFire) == _SigilofDoom then
if _SigilofDoom_RDY and ConRO:IsOverride(_SigilofFlame) == _SigilofDoom then
tinsert(ConRO.SuggestedSpells, _SigilofDoom);
_SigilofDoom_RDY = false;
_Queue = _Queue + 1;
Expand Down

0 comments on commit 410baf6

Please sign in to comment.