GSServer-CBT/soggy_resources/lua/Actor/Quest/Q410/Soldier.lua

34 lines
685 B
Lua
Raw Permalink Normal View History

2022-11-21 11:30:31 +03:00
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