Skip to content

Commit

Permalink
v9.0.2.4 - Vengeance concentrated sigils fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaminariss committed Dec 26, 2020
1 parent ab3da05 commit b87dcb3
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 30 deletions.
2 changes: 1 addition & 1 deletion MaxDps_DemonHunter.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Title: MaxDps_DemonHunter
## Version: 9.0.2.3
## Version: 9.0.2.4
## Author: Kaminaris
## Interface: 90002
## Dependencies: MaxDps
Expand Down
64 changes: 35 additions & 29 deletions Specialization/Vengeance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,36 @@ local NightFae = Enum.CovenantType.NightFae;
local Kyrian = Enum.CovenantType.Kyrian;

local VG = {
AgonizingFlames = 207548,
BurningAlive = 207739,
CharredFlesh = 264002,
Disrupt = 183752,
ConsumeMagic = 278326,
ThrowGlaive = 204157,
ImmolationAura = 258920,
Metamorphosis = 187827,
FieryBrand = 204021,
SinfulBrand = 317009,
TheHunt = 323639,
FodderToTheFlame = 329554,
ElysianDecree = 306830,
DemonSpikes = 203720,
DemonSpikesAura = 203819,
InfernalStrike = 189110,
BulkExtraction = 320341,
SpiritBomb = 247454,
Fracture = 263642,
FelDevastation = 212084,
SoulCleave = 228477,
Felblade = 232893,
SigilOfFlame = 204596,
Shear = 203782,
AgonizingFlames = 207548,
BurningAlive = 207739,
CharredFlesh = 264002,
Disrupt = 183752,
ConsumeMagic = 278326,
ThrowGlaive = 204157,
ImmolationAura = 258920,
Metamorphosis = 187827,
FieryBrand = 204021,
SinfulBrand = 317009,
TheHunt = 323639,
FodderToTheFlame = 329554,
ElysianDecree = 306830,
ElysianDecreeConc = 327839,
DemonSpikes = 203720,
DemonSpikesAura = 203819,
InfernalStrike = 189110,
BulkExtraction = 320341,
SpiritBomb = 247454,
Fracture = 263642,
FelDevastation = 212084,
SoulCleave = 228477,
Felblade = 232893,
SigilOfFlame = 204596,
SigilOfFlameConc = 204513,
Shear = 203782,
ConcentratedSigils = 207666,

-- Leggo buffs
FelBombardment = 337849,
FelBombardment = 337849,

-- Leggo bonus Id
RazelikhsDefilementBonusId = 7046
Expand Down Expand Up @@ -120,6 +123,7 @@ function DemonHunter:VengeanceCooldowns()
local cooldown = fd.cooldown;
local debuff = fd.debuff;
local currentSpell = fd.currentSpell;
local talents = fd.talents;
local covenantId = fd.covenant.covenantId;

-- sinful_brand,if=!dot.sinful_brand.ticking;
Expand All @@ -138,8 +142,9 @@ function DemonHunter:VengeanceCooldowns()
end

-- elysian_decree;
if covenantId == Kyrian and cooldown[VG.ElysianDecree].ready then
return VG.ElysianDecree;
local ElysianDecree = talents[VG.ConcentratedSigils] and VG.ElysianDecreeConc or VG.ElysianDecree;
if covenantId == Kyrian and cooldown[ElysianDecree].ready then
return ElysianDecree;
end
end

Expand Down Expand Up @@ -243,10 +248,11 @@ function DemonHunter:VengeanceNormal()
end

-- sigil_of_flame,if=!(covenant.kyrian.enabled&runeforge.razelikhs_defilement);
if cooldown[VG.SigilOfFlame].ready and
local SigilOfFlame = talents[VG.ConcentratedSigils] and VG.SigilOfFlameConc or VG.SigilOfFlame;
if cooldown[SigilOfFlame].ready and
not (covenantId == Kyrian and runeforge[VG.RazelikhsDefilementBonusId])
then
return VG.SigilOfFlame;
return SigilOfFlame;
end

-- shear;
Expand Down

0 comments on commit b87dcb3

Please sign in to comment.