Skip to content

Commit

Permalink
Legion/DarkheartThicket/Trash: Throttle Vile Mushroom
Browse files Browse the repository at this point in the history
  • Loading branch information
ntowle committed Oct 28, 2023
1 parent 5c3965d commit af762fd
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 @@ -260,9 +260,16 @@ end

-- Rotheart Keeper

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

-- Nightmare Dweller
Expand Down

0 comments on commit af762fd

Please sign in to comment.