diff --git a/Core/EventHandlers.lua b/Core/EventHandlers.lua index f8d6e8fd..395da1f7 100644 --- a/Core/EventHandlers.lua +++ b/Core/EventHandlers.lua @@ -2064,7 +2064,15 @@ function R:OnLootReady(event, ...) end end +local IsQuestFlaggedCompleted = C_QuestLog.IsQuestFlaggedCompleted + function Rarity:OnDisgustingVatFished() + local hasFishedEmmahThisWeek = IsQuestFlaggedCompleted(75488) + if hasFishedEmmahThisWeek then + self:Debug("Skipping this fishing attempt (loot lockout for Emmah is active)") + return + end + self:Debug("Detected fishing on Disgusting Vat (method = SPECIAL)") addAttemptForItem("Emmah", "pets") end