Skip to content

Commit

Permalink
Legion/DarkheartThicket/ShadeOfXavius: Festering Rip scoping
Browse files Browse the repository at this point in the history
  • Loading branch information
ntowle committed Nov 22, 2023
1 parent b0871e4 commit db391c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Legion/DarkheartThicket/Options/Colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ BigWigs:AddColors("Dresaron", {

BigWigs:AddColors("Shade of Xavius", {
[200050] = "cyan",
[200182] = {"blue","purple"},
[200182] = {"blue","yellow"},
[200185] = {"blue","yellow"},
[200238] = {"blue","red"},
[200243] = "blue",
Expand Down
8 changes: 5 additions & 3 deletions Legion/DarkheartThicket/ShadeOfXavius.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ mod:SetRespawnTime(15)

function mod:GetOptions()
return {
{200182, "TANK_HEALER"}, -- Festering Rip
{200182, "DISPEL"}, -- Festering Rip
200238, -- Feed on the Weak
200185, -- Nightmare Bolt
{200243, "ICON", "SAY"}, -- Waking Nightmare
Expand Down Expand Up @@ -55,8 +55,10 @@ function mod:FesteringRip(args)
end

function mod:FesteringRipApplied(args)
self:TargetMessage(args.spellId, "purple", args.destName)
self:PlaySound(args.spellId, "alert", nil, args.destName)
if self:Me(args.destGUID) or self:Dispeller("magic", nil, args.spellId) then
self:TargetMessage(args.spellId, "yellow", args.destName)
self:PlaySound(args.spellId, "alert", nil, args.destName)
end
end

do
Expand Down

0 comments on commit db391c2

Please sign in to comment.