Skip to content

Commit

Permalink
UBRS-PyroguardEmberseer: prevent pull timer from increasing with mult…
Browse files Browse the repository at this point in the history
…iple altar clicks
  • Loading branch information
Zidras committed Aug 24, 2023
1 parent 56c5886 commit 93ce5d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DBM-Party-Classic/UpperBlackrockSpire/PyroguardEmberseer.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local mod = DBM:NewMod("PyroguardEmberseer", "DBM-Party-Classic", 4)
local L = mod:GetLocalizedStrings()

mod:SetRevision("20220518110528")
mod:SetRevision("20230824104734")
mod:SetCreatureID(9816)

mod:RegisterCombat("combat")
Expand All @@ -13,7 +13,7 @@ mod:RegisterEvents(
local timerCombatStart = mod:NewCombatTimer(64)

function mod:CHAT_MSG_MONSTER_EMOTE(msg)
if msg == L.Pull or msg:find(L.Pull) then
if msg == L.Pull or msg:find(L.Pull) and not timerCombatStart:IsStarted() then
timerCombatStart:Start()
end
end

0 comments on commit 93ce5d6

Please sign in to comment.