Skip to content

Commit

Permalink
Disable ScenarioDone (useless)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neogeekmo committed Jul 28, 2024
1 parent 58ff5b3 commit 282533d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Event.lua
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ function AprRC.event.functions.scenario(event, ...)
local criteria = C_ScenarioInfo.GetCriteriaInfoByStep(stepInfo.stepID, i)
if criteria.criteriaID == criteriaID and criteria.completed then
if not scenarioCriteriaLogged[criteriaID] then -- to avoid duplication of step
local step = { Scenario = { scenarioID = scenarioID, criteriaID = criteriaID } }
local step = { Scenario = { scenarioID = scenarioID, stepID = stepInfo.stepID, criteriaID = criteriaID, criteriaIndex = i } }
if AprRC:IsInInstanceQuest() then
step.InstanceQuest = true
end
Expand All @@ -571,16 +571,16 @@ function AprRC.event.functions.scenario(event, ...)
break
end
end
elseif event == "SCENARIO_COMPLETED" then
local scenarioInfo = C_ScenarioInfo.GetScenarioInfo()
if not scenarioInfo then return end
local step = { ScenarioDone = scenarioInfo.scenarioID }
-- elseif event == "SCENARIO_COMPLETED" then
-- local scenarioInfo = C_ScenarioInfo.GetScenarioInfo()
-- if not scenarioInfo then return end
-- local step = { ScenarioDone = scenarioInfo.scenarioID }

step.InstanceQuest = true
-- step.InstanceQuest = true

AprRC:SetStepCoord(step)
AprRC:NewStep(step)
scenarioCriteriaLogged = {}
-- AprRC:SetStepCoord(step)
-- AprRC:NewStep(step)
-- scenarioCriteriaLogged = {}
end
end
end
Expand Down

0 comments on commit 282533d

Please sign in to comment.