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