mirror of
https://gitlab.com/YuukiPS/GSServer-CBT.git
synced 2025-01-12 16:19:22 +03:00
34 lines
685 B
Lua
34 lines
685 B
Lua
require('Actor/ActorCommon')
|
|
local quest410 = require('Actor/Quest/SQ410')
|
|
local npcActorProxy = require('Actor/Npc/NpcActorProxy')
|
|
|
|
local Soldier = class("Soldier", npcActorProxy)
|
|
|
|
Soldier.defaultAlias = "Soldier"
|
|
|
|
-- local config begin
|
|
local q410Cfg = require('Actor/Quest/Q410/Q410Config')
|
|
local SoldierData = q410Cfg.SoldierData
|
|
|
|
function Soldier:PreGetAlias()
|
|
local Soldier = SoldierData.Soldier
|
|
return Soldier
|
|
end
|
|
-- local config end
|
|
|
|
-- local param begin
|
|
-- local param end
|
|
|
|
-- local method
|
|
|
|
-- local method end
|
|
|
|
function Soldier:Start()
|
|
print("start!Soldier")
|
|
end
|
|
|
|
function Soldier:OnDestroy()
|
|
print("Soldier " .. SoldierData.SoldierID .. " destroied")
|
|
end
|
|
|
|
return Soldier |