PGRData/Script/matrix/xdlcfight/character/4001.lua
2024-09-01 22:49:41 +02:00

40 lines
No EOL
1.1 KiB
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

local XCharLuciaQ4 = XDlcScriptManager.RegCharScript(4001, "XCharLuciaQ4") --Q版四阶露西亚
--local XNpcInteraction = require("XDLCFight/Level/Common/XNpcInteraction")
local FuncSet = CS.StatusSyncFight.XFightScriptFuncs
local _skillIdMap = {
Interaction = 100219,
}
---@param proxy StatusSyncFight.XScriptLuaProxy
function XCharLuciaQ4:Ctor(proxy)
self._proxy = proxy
end
function XCharLuciaQ4:Init()
self._npc = self._proxy:GetSelfNpcId() ---@type number
--self._interaction = XNpcInteraction.New(self._proxy, self._npc, _skillIdMap.Interaction) ---@type XNpcInteraction
end
---@param dt number @ delta time
function XCharLuciaQ4:Update(dt)
--self._interaction:Update(dt)
end
---@param eventType number
---@param eventArgs userdata
function XCharLuciaQ4:HandleEvent(eventType, eventArgs)
--XLog.Debug(string.format("------XCharLuciaQ4 Npc:%d HandleEvent eventType:%d", self._npc, eventType))
--self._interaction:HandleEvent(eventType, eventArgs)
end
function XCharLuciaQ4:Terminate()
end
function XCharLuciaQ4:OnResLoadComplete()
end
return XCharLuciaQ4