mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
105 lines
2.1 KiB
Lua
105 lines
2.1 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1
|
|
L0_1 = require
|
|
L1_1 = "Actor/ActorCommon"
|
|
L0_1(L1_1)
|
|
L0_1 = require
|
|
L1_1 = "Actor/Gadget/GadgetActorProxy"
|
|
L0_1 = L0_1(L1_1)
|
|
L1_1 = class
|
|
L2_1 = "GoalMarker409"
|
|
L3_1 = L0_1
|
|
L1_1 = L1_1(L2_1, L3_1)
|
|
L1_1.defaultAlias = "GoalMarker409"
|
|
L2_1 = {}
|
|
L2_1.shapeName = "CircleR2"
|
|
L3_1 = {}
|
|
L3_1.x = 0
|
|
L3_1.y = 0
|
|
L3_1.z = 0
|
|
L2_1.shapePosOffset = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0
|
|
L3_1.y = 0
|
|
L3_1.z = 0
|
|
L2_1.shapeEulerOffset = L3_1
|
|
L2_1.shapeHeight = 0.0
|
|
L3_1 = campHelper
|
|
L3_1 = L3_1.CAMP_PLAYER
|
|
L2_1.campID = L3_1
|
|
L3_1 = TargetType
|
|
L3_1 = L3_1.AllExceptSelf
|
|
L2_1.targetType = L3_1
|
|
L3_1 = TimerLimitType
|
|
L3_1 = L3_1.Infinite
|
|
L2_1.liftType = L3_1
|
|
L2_1.liftTime = 0.0
|
|
L3_1 = TimerLimitType
|
|
L3_1 = L3_1.Infinite
|
|
L2_1.triggerType = L3_1
|
|
L2_1.checkCD = 0.15
|
|
L1_1.shapeData = L2_1
|
|
L2_1 = 0
|
|
L3_1 = 0
|
|
L4_1 = require
|
|
L5_1 = "Actor/Quest/Q409/Q409Config"
|
|
L4_1 = L4_1(L5_1)
|
|
function L5_1(A0_2)
|
|
local L1_2
|
|
L1_2 = 0
|
|
L2_1 = L1_2
|
|
L1_2 = 0
|
|
L3_1 = L1_2
|
|
end
|
|
L1_1.OnPostDataPrepare = L5_1
|
|
function L5_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.AddCommonTrigger
|
|
L3_2 = A0_2.shapeData
|
|
L4_2 = A0_2.TriggerIn
|
|
L5_2 = A0_2.TriggerOut
|
|
L6_2 = A0_2.TriggerTick
|
|
L1_2(L2_2, L3_2, L4_2, L5_2, L6_2)
|
|
end
|
|
L1_1.OnPostComponentPrepare = L5_1
|
|
function L5_1(A0_2, A1_2, A2_2)
|
|
local L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L3_2 = print
|
|
L4_2 = "**************GoalMarker409:TriggerIn"
|
|
L3_2(L4_2)
|
|
L3_2 = L4_1.BallMonsterID
|
|
if A1_2 == L3_2 then
|
|
L3_2 = L4_1.Score
|
|
L3_2 = L3_2 + 1
|
|
L4_1.Score = L3_2
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.CountNumUIUpdate
|
|
L5_2 = L4_1.Score
|
|
L3_2(L4_2, L5_2)
|
|
L4_2 = A0_2
|
|
L3_2 = A0_2.GetPos
|
|
L3_2 = L3_2(L4_2)
|
|
L5_2 = A0_2
|
|
L4_2 = A0_2.PlayEffect
|
|
L6_2 = "Eff_FlyRace_Goal_Marker_AS"
|
|
L7_2 = L3_2
|
|
L4_2(L5_2, L6_2, L7_2)
|
|
end
|
|
end
|
|
L1_1.TriggerIn = L5_1
|
|
function L5_1(A0_2, A1_2, A2_2)
|
|
local L3_2, L4_2
|
|
L3_2 = print
|
|
L4_2 = "TriggerOut"
|
|
L3_2(L4_2)
|
|
end
|
|
L1_1.TriggerOut = L5_1
|
|
function L5_1(A0_2, A1_2, A2_2)
|
|
local L3_2, L4_2
|
|
L3_2 = print
|
|
L4_2 = "TriggerTick"
|
|
L3_2(L4_2)
|
|
end
|
|
L1_1.TriggerTick = L5_1
|
|
return L1_1
|