Skip to content

Commit

Permalink
Added interrupt warning for Shadow Shift
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed Jan 24, 2020
1 parent 139827b commit 480770e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions DBM-Challenges/BfA/NzothVisionStormwind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mod:RegisterEvents(
"ZONE_CHANGED_NEW_AREA"
)
mod:RegisterEventsInCombat(
"SPELL_CAST_START 308278 309819 309648 298691 308669 308366 308406 311456 296911 296537 308481",
"SPELL_CAST_START 308278 309819 309648 298691 308669 308366 308406 311456 296911 296537 308481 308575",
"SPELL_AURA_APPLIED 311390 315385 316481 311641 308380 308366 308265",
"SPELL_AURA_APPLIED_DOSE 311390",
"SPELL_CAST_SUCCESS 309035",
Expand Down Expand Up @@ -58,12 +58,13 @@ local specWarnChainsofServitude = mod:NewSpecialWarningRun(298691, nil, nil, nil
local specWarnDarkGaze = mod:NewSpecialWarningLookAway(308669, nil, nil, nil, 2, 2)
--Other notable abilities by mini bosses/trash
local specWarnAgonizingTorment = mod:NewSpecialWarningInterrupt(308366, "HasInterrupt", nil, nil, 1, 2)
local specWarnEntropicMissiles = mod:NewSpecialWarningInterrupt(309035, "HasInterrupt", nil, nil, 1, 2)
local specWarnMentalAssault = mod:NewSpecialWarningInterrupt(296537, "HasInterrupt", nil, nil, 1, 2)
local specWarnShadowShift = mod:NewSpecialWarningInterrupt(308575, "HasInterrupt", nil, nil, 1, 2)
local specWarnAgonizingTormentD = mod:NewSpecialWarningDispel(308366, "RemoveCurse", nil, nil, 1, 2)
local specWarnRoaringBlast = mod:NewSpecialWarningDodge(311456, nil, nil, nil, 2, 2)
local specWarnCorruptedBlight = mod:NewSpecialWarningDispel(308265, nil, nil, nil, 1, 2)
local yellCorruptedBlight = mod:NewYell(308265)
local specWarnEntropicMissiles = mod:NewSpecialWarningInterrupt(309035, "HasInterrupt", nil, nil, 1, 2)
local specWarnMentalAssault = mod:NewSpecialWarningInterrupt(296537, "HasInterrupt", nil, nil, 1, 2)
local specWarnRiftStrike = mod:NewSpecialWarningDodge(308481, nil, nil, nil, 2, 2)

--Alleria Windrunner
Expand Down Expand Up @@ -128,6 +129,9 @@ function mod:SPELL_CAST_START(args)
elseif spellId == 296537 and self:CheckInterruptFilter(args.sourceGUID, false, true) then
specWarnMentalAssault:Show(args.sourceName)
specWarnMentalAssault:Play("kickcast")
elseif spellId == 308575 and self:CheckInterruptFilter(args.sourceGUID, false, true) then
specWarnShadowShift:Show(args.sourceName)
specWarnShadowShift:Play("kickcast")
elseif spellId == 308406 then
warnEntropicLeap:Show()
elseif spellId == 311456 then
Expand Down

0 comments on commit 480770e

Please sign in to comment.