Skip to content

Commit

Permalink
BfA/SiegeOfBoralus/Trash: Azerite Charge timer update
Browse files Browse the repository at this point in the history
  • Loading branch information
ntowle committed Oct 2, 2024
1 parent b1d71ee commit 3c90960
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions BfA/SiegeOfBoralus/Trash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ function mod:OnBossEnable()
self:Death("KulTiranVanguardDeath", 138019)

-- Ashvane Commander
self:Log("SPELL_AURA_APPLIED", "AzeriteCharge", 454437)
self:Log("SPELL_CAST_SUCCESS", "AzeriteCharge", 454437)
self:Log("SPELL_AURA_APPLIED", "AzeriteChargeApplied", 454437)
self:Log("SPELL_CAST_START", "BolsteringShout", 275826)
self:Log("SPELL_INTERRUPT", "BolsteringShoutInterrupt", 275826)
self:Log("SPELL_CAST_SUCCESS", "BolsteringShoutSuccess", 275826)
Expand Down Expand Up @@ -266,13 +267,16 @@ end
-- Ashvane Commander

function mod:AzeriteCharge(args)
self:Nameplate(args.spellId, 15.8, args.sourceGUID)
end

function mod:AzeriteChargeApplied(args)
if self:Player(args.destFlags) then -- can be cast on friendly NPCs during RP fighting
self:TargetMessage(args.spellId, "orange", args.destName)
self:PlaySound(args.spellId, "alarm", nil, args.destName)
if self:Me(args.destGUID) then
self:Say(args.spellId, nil, nil, "Azerite Charge")
end
self:Nameplate(args.spellId, 15.0, args.sourceGUID)
end
end

Expand Down

0 comments on commit 3c90960

Please sign in to comment.