Skip to content

Commit

Permalink
Legion/DarkheartThicket/Trash: Throttle Propelling Charge
Browse files Browse the repository at this point in the history
  • Loading branch information
ntowle committed Dec 15, 2023
1 parent 58517dc commit 2c6e2e2
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Legion/DarkheartThicket/Trash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,16 @@ end

-- Crazed Razorbeak

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

-- Festerhide Grizzly
Expand Down

0 comments on commit 2c6e2e2

Please sign in to comment.