fix: hotfix to IgnoredActions
This commit is contained in:
@@ -66,7 +66,6 @@ local og_ISBaseTimedAction_adjustMaxTime = ISBaseTimedAction.adjustMaxTime
|
||||
---@diagnostic disable-next-line: duplicate-set-field
|
||||
function ISBaseTimedAction:adjustMaxTime(maxTime)
|
||||
local time = og_ISBaseTimedAction_adjustMaxTime(self, maxTime)
|
||||
|
||||
--TOC_DEBUG.print("Running override for adjustMaxTime")
|
||||
-- Exceptions handling, if we find that parameter then we just use the original time
|
||||
local actionsQueue = ISTimedActionQueue.getTimedActionQueue(getPlayer())
|
||||
|
||||
@@ -160,7 +160,6 @@ TestFramework.registerTestModule("Various", "Player", function()
|
||||
return Tests
|
||||
end)
|
||||
|
||||
|
||||
TestFramework.registerTestModule("Various", "Visuals", function()
|
||||
local Tests = {}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ local StaticData = require("TOC/StaticData")
|
||||
local function OverrideAction(action, maxTime)
|
||||
-- TODO Add forced debuff instead of just relying on the vanilla values?
|
||||
action.skipTOC = true
|
||||
action.maxTime = time
|
||||
action.maxTime = maxTime
|
||||
action.animSpeed = 1.0
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user