Skip to content

Commit 7f438f0

Browse files
committed
Updated TOC for v10.2
Adjusted spells and talents for patch changes
1 parent 5d66b51 commit 7f438f0

File tree

3 files changed

+111
-151
lines changed

3 files changed

+111
-151
lines changed

ConRO_DemonHunter.toc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Title:-|cffFFFFFFConRO|r- |cffA330C9Demon Hunter|r
2-
## Version: 10.0.7
2+
## Version: 10.2.0
33
## Author: Vae
4-
## Interface: 100005
4+
## Interface: 100200
55
## Dependencies: ConRO
66
## LoadOnDemand: 1
77

demonhunter.lua

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ end
145145

146146
function ConRO.DemonHunter.Havoc(_, timeShift, currentSpell, gcd, tChosen, pvpChosen)
147147
wipe(ConRO.SuggestedSpells)
148-
local Racial, Ability, Passive, Form, Buff, Debuff, PetAbility, PvPTalent, Glyph = ids.Racial, ids.Havoc_Ability, ids.Havoc_Passive, ids.Havoc_Form, ids.Havoc_Buff, ids.Havoc_Debuff, ids.Havoc_PetAbility, ids.Havoc_PvPTalent, ids.Glyph;
148+
local Racial, Ability, Form, Buff, Debuff, PetAbility, PvPTalent, Glyph = ids.Racial, ids.Havoc_Ability, ids.Havoc_Form, ids.Havoc_Buff, ids.Havoc_Debuff, ids.Havoc_PetAbility, ids.Havoc_PvPTalent, ids.Glyph;
149149
--Info
150150
local _Player_Level = UnitLevel("player");
151151
local _Player_Percent_Health = ConRO:PercentHealth('player');
@@ -174,7 +174,6 @@ function ConRO.DemonHunter.Havoc(_, timeShift, currentSpell, gcd, tChosen, pvpCh
174174
local _Disrupt, _Disrupt_RDY = ConRO:AbilityReady(Ability.Disrupt, timeShift);
175175
local _, _Disrupt_RANGE = ConRO:Targets(Ability.Disrupt);
176176
local _ElysianDecree, _ElysianDecree_RDY = ConRO:AbilityReady(Ability.ElysianDecree, timeShift);
177-
local _ElysianDecreeCS, _ElysianDecreeCS_RDY = ConRO:AbilityReady(Ability.ElysianDecreeCS, timeShift);
178177
local _ElysianDecreePS, _ElysianDecreePS_RDY = ConRO:AbilityReady(Ability.ElysianDecreePS, timeShift);
179178
local _EssenceBreak, _EssenceBreak_RDY, _EssenceBreak_CD = ConRO:AbilityReady(Ability.EssenceBreak, timeShift);
180179
local _EssenceBreak_DEBUFF = ConRO:TargetAura(Debuff.EssenceBreak, timeShift);
@@ -192,7 +191,6 @@ function ConRO.DemonHunter.Havoc(_, timeShift, currentSpell, gcd, tChosen, pvpCh
192191
local _Metamorphosis, _Metamorphosis_RDY, _Metamorphosis_CD = ConRO:AbilityReady(Ability.Metamorphosis, timeShift);
193192
local _Metamorphosis_BUFF, _, _Metamorphosis_DUR = ConRO:Aura(Buff.Metamorphosis, timeShift);
194193
local _SigilofFlame, _SigilofFlame_RDY = ConRO:AbilityReady(Ability.SigilofFlame, timeShift);
195-
local _SigilofFlameCS, _SigilofFlameCS_RDY = ConRO:AbilityReady(Ability.SigilofFlameCS, timeShift);
196194
local _SigilofFlamePS, _SigilofFlamePS_RDY = ConRO:AbilityReady(Ability.SigilofFlamePS, timeShift);
197195
local _ThrowGlaive, _ThrowGlaive_RDY = ConRO:AbilityReady(Ability.ThrowGlaive, timeShift);
198196
local _ThrowGlaive_CHARGES = ConRO:SpellCharges(_ThrowGlaive);
@@ -216,14 +214,7 @@ function ConRO.DemonHunter.Havoc(_, timeShift, currentSpell, gcd, tChosen, pvpCh
216214
_BladeDance = _DeathSweep;
217215
end
218216

219-
if tChosen[Passive.ConcentratedSigils.talentID] then
220-
_SigilofFlame_RDY = _SigilofFlameCS_RDY;
221-
_SigilofFlame = _SigilofFlameCS;
222-
_ElysianDecree_RDY = _ElysianDecreeCS_RDY;
223-
_ElysianDecree = _ElysianDecreeCS;
224-
end
225-
226-
if tChosen[Passive.PreciseSigils.talentID] then
217+
if tChosen[Ability.PreciseSigils.talentID] then
227218
_SigilofFlame_RDY = _SigilofFlamePS_RDY;
228219
_SigilofFlame = _SigilofFlamePS;
229220
_ElysianDecree_RDY = _ElysianDecreePS_RDY;
@@ -237,7 +228,7 @@ function ConRO.DemonHunter.Havoc(_, timeShift, currentSpell, gcd, tChosen, pvpCh
237228
ConRO:AbilityMovement(_FelRush, _FelRush_RDY and not _target_in_melee);
238229
ConRO:AbilityMovement(_Felblade, _Felblade_RDY and _Felblade_RANGE and not _target_in_melee);
239230

240-
ConRO:AbilityBurst(_VengefulRetreat, _VengefulRetreat_RDY and tChosen[Passive.Initiative.talentID] and not _Initiative_BUFF and ConRO:BurstMode(_VengefulRetreat, 120));
231+
ConRO:AbilityBurst(_VengefulRetreat, _VengefulRetreat_RDY and tChosen[Ability.Initiative.talentID] and not _Initiative_BUFF and ConRO:BurstMode(_VengefulRetreat, 120));
241232
ConRO:AbilityBurst(_Metamorphosis, _Metamorphosis_RDY and not _Metamorphosis_BUFF and not _EyeBeam_RDY and _Fury >= 100 and ConRO:BurstMode(_Metamorphosis));
242233
ConRO:AbilityBurst(_FelBarrage, _FelBarrage_RDY and _Disrupt_RANGE and ConRO:BurstMode(_FelBarrage));
243234

@@ -300,7 +291,7 @@ function ConRO.DemonHunter.Havoc(_, timeShift, currentSpell, gcd, tChosen, pvpCh
300291
_EyeBeam_RDY = false;
301292
end
302293

303-
if _VengefulRetreat_RDY and tChosen[Passive.Initiative.talentID] and not _Initiative_BUFF and (not tChosen[Ability.EssenceBreak.talentID] or (tChosen[Ability.EssenceBreak.talentID] and (_EssenceBreak_RDY or _EssenceBreak_CD > 10))) and ConRO:FullMode(_VengefulRetreat, 120) then
294+
if _VengefulRetreat_RDY and tChosen[Ability.Initiative.talentID] and not _Initiative_BUFF and (not tChosen[Ability.EssenceBreak.talentID] or (tChosen[Ability.EssenceBreak.talentID] and (_EssenceBreak_RDY or _EssenceBreak_CD > 10))) and ConRO:FullMode(_VengefulRetreat, 120) then
304295
tinsert(ConRO.SuggestedSpells, _VengefulRetreat);
305296
_VengefulRetreat_RDY = false;
306297
end
@@ -330,7 +321,7 @@ function ConRO.DemonHunter.Havoc(_, timeShift, currentSpell, gcd, tChosen, pvpCh
330321
_Fury = _Fury - 40;
331322
end
332323

333-
if _ThrowGlaive_RDY and _ThrowGlaive_RANGE and _ThrowGlaive_CHARGES == 2 and tChosen[Passive.FuriousThrows.talentID] then
324+
if _ThrowGlaive_RDY and _ThrowGlaive_RANGE and _ThrowGlaive_CHARGES == 2 and tChosen[Ability.FuriousThrows.talentID] then
334325
tinsert(ConRO.SuggestedSpells, _ThrowGlaive);
335326
_ThrowGlaive_CHARGES = _ThrowGlaive_CHARGES - 1;
336327
end
@@ -345,7 +336,7 @@ function ConRO.DemonHunter.Havoc(_, timeShift, currentSpell, gcd, tChosen, pvpCh
345336
_UnboundChaos_BUFF = false;
346337
end
347338

348-
if _ThrowGlaive_RDY and _ThrowGlaive_RANGE and tChosen[Passive.FuriousThrows.talentID] then
339+
if _ThrowGlaive_RDY and _ThrowGlaive_RANGE and tChosen[Ability.FuriousThrows.talentID] then
349340
tinsert(ConRO.SuggestedSpells, _ThrowGlaive);
350341
_ThrowGlaive_CHARGES = _ThrowGlaive_CHARGES - 1;
351342
end
@@ -359,7 +350,7 @@ function ConRO.DemonHunter.Havoc(_, timeShift, currentSpell, gcd, tChosen, pvpCh
359350
_Fury = _Fury - 40;
360351
end
361352

362-
if _FelRush_RDY and tChosen[Passive.Momentum.talentID] and not _Momentum_BUFF then
353+
if _FelRush_RDY and tChosen[Ability.Momentum.talentID] and not _Momentum_BUFF then
363354
tinsert(ConRO.SuggestedSpells, _FelRush);
364355
_FelRush_RDY = false;
365356
end
@@ -369,7 +360,7 @@ function ConRO.DemonHunter.Havoc(_, timeShift, currentSpell, gcd, tChosen, pvpCh
369360
_SigilofFlame_RDY = false;
370361
end
371362

372-
if _DemonsBite_RDY and not tChosen[Passive.DemonBlades.talentID] then
363+
if _DemonsBite_RDY and not tChosen[Ability.DemonBlades.talentID] then
373364
tinsert(ConRO.SuggestedSpells, _DemonsBite);
374365
end
375366

@@ -391,7 +382,7 @@ end
391382

392383
function ConRO.DemonHunter.HavocDef(_, timeShift, currentSpell, gcd, tChosen, pvpChosen)
393384
wipe(ConRO.SuggestedDefSpells)
394-
local Racial, Ability, Passive, Form, Buff, Debuff, PetAbility, PvPTalent, Glyph = ids.Racial, ids.Havoc_Ability, ids.Havoc_Passive, ids.Havoc_Form, ids.Havoc_Buff, ids.Havoc_Debuff, ids.Havoc_PetAbility, ids.Havoc_PvPTalent, ids.Glyph;
385+
local Racial, Ability, Form, Buff, Debuff, PetAbility, PvPTalent, Glyph = ids.Racial, ids.Havoc_Ability, ids.Havoc_Form, ids.Havoc_Buff, ids.Havoc_Debuff, ids.Havoc_PetAbility, ids.Havoc_PvPTalent, ids.Glyph;
395386
--Info
396387
local _Player_Level = UnitLevel("player");
397388
local _Player_Percent_Health = ConRO:PercentHealth('player');
@@ -429,7 +420,7 @@ end
429420

430421
function ConRO.DemonHunter.Vengeance(_, timeShift, currentSpell, gcd, tChosen, pvpChosen)
431422
wipe(ConRO.SuggestedSpells)
432-
local Racial, Ability, Passive, Form, Buff, Debuff, PetAbility, PvPTalent, Glyph = ids.Racial, ids.Ven_Ability, ids.Ven_Passive, ids.Ven_Form, ids.Ven_Buff, ids.Ven_Debuff, ids.Ven_PetAbility, ids.Ven_PvPTalent, ids.Glyph;
423+
local Racial, Ability, Form, Buff, Debuff, PetAbility, PvPTalent, Glyph = ids.Racial, ids.Ven_Ability, ids.Ven_Form, ids.Ven_Buff, ids.Ven_Debuff, ids.Ven_PetAbility, ids.Ven_PvPTalent, ids.Glyph;
433424
--Info
434425
local _Player_Level = UnitLevel("player");
435426
local _Player_Percent_Health = ConRO:PercentHealth('player');
@@ -453,7 +444,6 @@ function ConRO.DemonHunter.Vengeance(_, timeShift, currentSpell, gcd, tChosen, p
453444
local _ConsumeMagic, _ConsumeMagic_RDY = ConRO:AbilityReady(Ability.ConsumeMagic, timeShift);
454445
local _Disrupt, _Disrupt_RDY = ConRO:AbilityReady(Ability.Disrupt, timeShift);
455446
local _ElysianDecree, _ElysianDecree_RDY = ConRO:AbilityReady(Ability.ElysianDecree, timeShift);
456-
local _ElysianDecreeCS, _ElysianDecreeCS_RDY = ConRO:AbilityReady(Ability.ElysianDecreeCS, timeShift);
457447
local _ElysianDecreePS, _ElysianDecreePS_RDY = ConRO:AbilityReady(Ability.ElysianDecreePS, timeShift);
458448
local _FelDevastation, _FelDevastation_RDY = ConRO:AbilityReady(Ability.FelDevastation, timeShift);
459449
local _Felblade, _Felblade_RDY = ConRO:AbilityReady(Ability.Felblade, timeShift);
@@ -469,7 +459,6 @@ function ConRO.DemonHunter.Vengeance(_, timeShift, currentSpell, gcd, tChosen, p
469459
local _Metamorphosis_BUFF = ConRO:Aura(Buff.Metamorphosis, timeShift);
470460
local _Shear, _Shear_RDY = ConRO:AbilityReady(Ability.Shear, timeShift);
471461
local _SigilofFlame, _SigilofFlame_RDY = ConRO:AbilityReady(Ability.SigilofFlame, timeShift);
472-
local _SigilofFlameCS, _SigilofFlameCS_RDY = ConRO:AbilityReady(Ability.SigilofFlameCS, timeShift);
473462
local _SigilofFlamePS, _SigilofFlamePS_RDY = ConRO:AbilityReady(Ability.SigilofFlamePS, timeShift);
474463
local _SigilofFlame_DEBUFF = ConRO:TargetAura(Debuff.SigilofFlame, timeShift);
475464
local _SigilofSilence, _SigilofSilence_RDY = ConRO:AbilityReady(Ability.SigilofSilence, timeShift);
@@ -487,14 +476,7 @@ function ConRO.DemonHunter.Vengeance(_, timeShift, currentSpell, gcd, tChosen, p
487476
local _enemies_in_melee, _target_in_melee = ConRO:Targets("Melee");
488477
local _target_in_10yrds = CheckInteractDistance("target", 3);
489478

490-
if tChosen[Passive.ConcentratedSigils.talentID] then
491-
_SigilofFlame_RDY = _SigilofFlameCS_RDY;
492-
_SigilofFlame = _SigilofFlameCS;
493-
_ElysianDecree_RDY = _ElysianDecreeCS_RDY;
494-
_ElysianDecree = _ElysianDecreeCS;
495-
end
496-
497-
if tChosen[Passive.PreciseSigils.talentID] then
479+
if tChosen[Ability.PreciseSigils.talentID] then
498480
_SigilofFlame_RDY = _SigilofFlamePS_RDY;
499481
_SigilofFlame = _SigilofFlamePS;
500482
_ElysianDecree_RDY = _ElysianDecreePS_RDY;
@@ -588,7 +570,7 @@ end
588570

589571
function ConRO.DemonHunter.VengeanceDef(_, timeShift, currentSpell, gcd, tChosen, pvpChosen)
590572
wipe(ConRO.SuggestedDefSpells)
591-
local Racial, Ability, Passive, Form, Buff, Debuff, PetAbility, PvPTalent, Glyph = ids.Racial, ids.Ven_Ability, ids.Ven_Passive, ids.Ven_Form, ids.Ven_Buff, ids.Ven_Debuff, ids.Ven_PetAbility, ids.Ven_PvPTalent, ids.Glyph;
573+
local Racial, Ability, Form, Buff, Debuff, PetAbility, PvPTalent, Glyph = ids.Racial, ids.Ven_Ability, ids.Ven_Form, ids.Ven_Buff, ids.Ven_Debuff, ids.Ven_PetAbility, ids.Ven_PvPTalent, ids.Glyph;
592574
--Info
593575
local _Player_Level = UnitLevel("player");
594576
local _Player_Percent_Health = ConRO:PercentHealth('player');

0 commit comments

Comments
 (0)