PGRData/Script/matrix/xdlcfight/character/4001.lua

40 lines
1.1 KiB
Lua
Raw Permalink Normal View History

2024-09-01 20:49:41 +00:00
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