Skip to content

Commit

Permalink
Core: Added tracking for Scalebane Keep event completion
Browse files Browse the repository at this point in the history
  • Loading branch information
cyriun authored and rdw-software committed Aug 12, 2023
1 parent 0464126 commit e5923ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Core/EventHandlers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -428,17 +428,17 @@ function R:OnCombat()
end
end

-- Handle quest turnins: Only used to detect world quests used for outdoor world bosses. It's not ideal, but probably more reliable than the loot lockout quest (which may or may not already be completed when the UNIT_DIED event is fired)
local worldBossQuests = {
local worldEventQuests = {
[52196] = "Slightly Damp Pile of Fur", -- Dunegorger Kraulok
[70867] = "Everlasting Horn of Lavaswimming", -- Scalebane Keep (scenario completion)
}

function R:OnQuestTurnedIn(event, questID, experience, money)
self:Debug(
"OnQuestTurnedIn triggered with ID = " .. questID .. ", experience = " .. experience .. ", money = " .. money
)

local relevantItem = worldBossQuests[questID]
local relevantItem = worldEventQuests[questID]
if not relevantItem then
return
end
Expand Down

0 comments on commit e5923ff

Please sign in to comment.