mirror of
https://gitlab.com/YuukiPS/GSServer-CBT.git
synced 2025-01-30 17:09:24 +03:00
35 lines
652 B
Lua
35 lines
652 B
Lua
|
require('Actor/ActorCommon')
|
||
|
local npcActorProxy = require('Actor/Npc/NpcActorProxy')
|
||
|
|
||
|
local Soldier = class("Soldier", npcActorProxy)
|
||
|
|
||
|
Soldier.defaultAlias = "Soldier"
|
||
|
|
||
|
-- local config begin
|
||
|
local q413Cfg = require('Actor/Quest/Q413/Q413Config')
|
||
|
local soldierData = q413Cfg.SoldierData
|
||
|
|
||
|
-- function Soldier:PreGetAlias()
|
||
|
-- -- local extraAlias = soldierData.Soldier .. tostring(self.dataIndex)
|
||
|
-- -- return extraAlias
|
||
|
-- end
|
||
|
|
||
|
-- local config end
|
||
|
|
||
|
|
||
|
|
||
|
-- local method begin
|
||
|
|
||
|
-- local method end
|
||
|
|
||
|
function Soldier:OnPostDataPrepare()
|
||
|
self.soldierIndex = self.dataIndex
|
||
|
end
|
||
|
|
||
|
function Soldier:Start()
|
||
|
end
|
||
|
|
||
|
function Soldier:OnDestroy()
|
||
|
end
|
||
|
|
||
|
return Soldier
|