Skip to content

Commit

Permalink
Dragonflight/BrackenhideHollow/Trash: Throttle Necrotic Breath
Browse files Browse the repository at this point in the history
  • Loading branch information
ntowle committed May 1, 2024
1 parent b040c6b commit 176bbaf
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Dragonflight/BrackenhideHollow/Trash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,16 @@ function mod:Stomp(args)
self:PlaySound(args.spellId, "alarm")
end

function mod:NecroticBreath(args)
self:Message(args.spellId, "red")
self:PlaySound(args.spellId, "alarm")
do
local prev = 0
function mod:NecroticBreath(args)
local t = args.time
if t - prev > 1.5 then
prev = t
self:Message(args.spellId, "red")
self:PlaySound(args.spellId, "alarm")
end
end
end

-- Fetid Rotsinger
Expand Down

0 comments on commit 176bbaf

Please sign in to comment.