Skip to content

Commit

Permalink
Legion/BlackRookHold/IllysannaRavencrest: Improve Dark Rush message, …
Browse files Browse the repository at this point in the history
…fix timer
  • Loading branch information
ntowle committed Oct 16, 2023
1 parent 4902df3 commit 649f5f5
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions Legion/BlackRookHold/IllysannaRavencrest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function mod:OnBossEnable()

-- Stage One: Vengeance
self:Log("SPELL_CAST_START", "VengefulShear", 197418)
self:Log("SPELL_CAST_SUCCESS", "DarkRush", 197478)
self:Log("SPELL_AURA_APPLIED", "DarkRushApplied", 197478)
self:Log("SPELL_AURA_REMOVED", "DarkRushRemoved", 197478)
self:Log("SPELL_CAST_START", "BrutalGlaive", 197546)
Expand Down Expand Up @@ -124,18 +125,27 @@ function mod:VengefulShear(args)
end
end

function mod:DarkRushApplied(args)
self:TargetMessage(args.spellId, "red", args.destName)
self:PlaySound(args.spellId, "alarm", nil, args.destName)
if self:Me(args.destGUID) then
self:Say(args.spellId)
self:SayCountdown(args.spellId, 6)
do
local playerList = {}

function mod:DarkRush(args)
playerList = {}
darkRushRemaining = darkRushRemaining - 1
if darkRushRemaining > 0 then
self:CDBar(args.spellId, 31.0)
else
self:StopBar(args.spellId)
end
end
darkRushRemaining = darkRushRemaining - 1
if darkRushRemaining > 0 then
self:CDBar(args.spellId, 31.0)
else
self:StopBar(args.spellId)

function mod:DarkRushApplied(args)
playerList[#playerList + 1] = args.destName
self:PlaySound(args.spellId, "alarm", nil, playerList)
self:TargetsMessage(args.spellId, "red", playerList, 3)
if self:Me(args.destGUID) then
self:Say(args.spellId)
self:SayCountdown(args.spellId, 6)
end
end
end

Expand Down

0 comments on commit 649f5f5

Please sign in to comment.