mirror of
https://gitlab.com/YuukiPS/GSServer-CBT.git
synced 2025-08-03 18:30:11 +03:00
melon
This commit is contained in:
34
soggy_resources/lua/Actor/Quest/Q409/BallJudge.lua
Normal file
34
soggy_resources/lua/Actor/Quest/Q409/BallJudge.lua
Normal file
@@ -0,0 +1,34 @@
|
||||
require('Actor/ActorCommon')
|
||||
local quest409 = require('Actor/Quest/SQ409')
|
||||
local npcActorProxy = require('Actor/Npc/NpcActorProxy')
|
||||
|
||||
local BallJudge = class("BallJudge", npcActorProxy)
|
||||
|
||||
BallJudge.defaultAlias = "BallJudge"
|
||||
|
||||
-- local config begin
|
||||
local q409Cfg = require('Actor/Quest/Q409/Q409Config')
|
||||
local BallJudgeData = q409Cfg.JudgeData
|
||||
|
||||
function BallJudge:PreGetAlias()
|
||||
local BallJudge = BallJudgeData.Judge
|
||||
return BallJudge
|
||||
end
|
||||
-- local config end
|
||||
|
||||
-- local param begin
|
||||
-- local param end
|
||||
|
||||
-- local method
|
||||
|
||||
-- local method end
|
||||
|
||||
function BallJudge:Start()
|
||||
print("start!BallJudge")
|
||||
end
|
||||
|
||||
function BallJudge:OnDestroy()
|
||||
print("BallJudge " .. BallJudgeData.JudgeID .. " destroied")
|
||||
end
|
||||
|
||||
return BallJudge
|
44
soggy_resources/lua/Actor/Quest/Q409/Q409Config.lua
Normal file
44
soggy_resources/lua/Actor/Quest/Q409/Q409Config.lua
Normal file
@@ -0,0 +1,44 @@
|
||||
require('Actor/ActorCommon')
|
||||
|
||||
local Q409Config = {}
|
||||
|
||||
Q409Config.MainID = 409
|
||||
Q409Config.ActorAlias = "409"
|
||||
|
||||
Q409Config.SubIDs =
|
||||
{
|
||||
q40901 = 40901,
|
||||
q40902 = 40902,
|
||||
q40903 = 40903,
|
||||
q40904 = 40904,
|
||||
q40905 = 40905,
|
||||
q40906 = 40906,
|
||||
q40907 = 40907,
|
||||
q40908 = 40908,
|
||||
q40909 = 40909,
|
||||
q40910 = 40910,
|
||||
}
|
||||
|
||||
Q409Config.KeyPos = sceneData:GetDummyPoint(3,"Q409KeyPos").pos
|
||||
Q409Config.KeyDir = { x = 0, y = 90, z = 0 }
|
||||
Q409Config.MatchTime = 90
|
||||
Q409Config.Score = 0
|
||||
Q409Config.RequireScore = 10
|
||||
|
||||
Q409Config.BallMonsterID = 20011002
|
||||
Q409Config.BallPos1 = sceneData:GetDummyPoint(3,"Q409BallPos1").pos
|
||||
Q409Config.BallPos2 = sceneData:GetDummyPoint(3,"Q409BallPos2").pos
|
||||
Q409Config.BallPos3 = sceneData:GetDummyPoint(3,"Q409BallPos3").pos
|
||||
Q409Config.BoardDir = { x = 0, y = 50, z = 0 }
|
||||
|
||||
Q409Config.JudgeData =
|
||||
{
|
||||
Judge = "BallJudge",
|
||||
JudgeScript = "Actor/Quest/Q409/BallJudge",
|
||||
JudgeID = 1117,
|
||||
|
||||
JudgePos = sceneData:GetDummyPoint(3,"Q409Judge").pos,
|
||||
JudgeDir = sceneData:GetDummyPoint(3,"Q409Judge").rot,
|
||||
}
|
||||
|
||||
return Q409Config
|
Reference in New Issue
Block a user