Grasscutter_Resources/Resources/Scripts/Scene/30402/scene30402_group230402006.lua
2022-04-29 16:40:51 +02:00

475 lines
8.7 KiB
Lua

local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1
L0_1 = {}
L0_1.group_id = 230402006
L1_1 = {}
L2_1 = {}
L2_1.config_id = 6001
L2_1.monster_id = 25010201
L3_1 = {}
L3_1.x = -9.356
L3_1.y = 0.034
L3_1.z = -3.179
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 66.687
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 6002
L3_1.monster_id = 25010301
L4_1 = {}
L4_1.x = -7.234
L4_1.y = 0.034
L4_1.z = -9.692
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 21.465
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 6003
L4_1.monster_id = 25010401
L5_1 = {}
L5_1.x = 9.627
L5_1.y = 0.034
L5_1.z = -9.594
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 335.771
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 6004
L5_1.monster_id = 25010201
L6_1 = {}
L6_1.x = 10.952
L6_1.y = 0.034
L6_1.z = -3.436
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 304.01
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 6005
L6_1.monster_id = 25060101
L7_1 = {}
L7_1.x = 2.501
L7_1.y = 0.034
L7_1.z = -12.186
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 6006
L7_1.monster_id = 25060101
L8_1 = {}
L8_1.x = -2.308
L8_1.y = 0.034
L8_1.z = -12.264
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 6007
L8_1.monster_id = 25020201
L9_1 = {}
L9_1.x = 11.115
L9_1.y = 0.034
L9_1.z = 6.017
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 218.054
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 6008
L9_1.monster_id = 25020201
L10_1 = {}
L10_1.x = -10.99
L10_1.y = 0.034
L10_1.z = 6.176
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 136.824
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 6009
L10_1.monster_id = 25070101
L11_1 = {}
L11_1.x = -11.865
L11_1.y = 0.034
L11_1.z = 2.297
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 90.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L11_1.config_id = 6010
L11_1.monster_id = 25070101
L12_1 = {}
L12_1.x = 11.961
L12_1.y = 1.078
L12_1.z = 2.499
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 270.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L12_1.config_id = 6020
L12_1.monster_id = 25010701
L13_1 = {}
L13_1.x = 0.207
L13_1.y = 0.034
L13_1.z = -8.003
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L13_1.config_id = 6021
L13_1.monster_id = 25030201
L14_1 = {}
L14_1.x = -7.695
L14_1.y = 0.034
L14_1.z = -6.703
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 43.8
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L14_1.config_id = 6022
L14_1.monster_id = 25030301
L15_1 = {}
L15_1.x = 7.267
L15_1.y = 0.034
L15_1.z = -6.078
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 320.9
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 6024
L2_1.gadget_id = 70900205
L3_1 = {}
L3_1.x = 6.316
L3_1.y = -1.425
L3_1.z = 3.164
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L1_1[1] = L2_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1006025
L2_1.name = "MONSTER_TIDE_OVER_6025"
L3_1 = EventType
L3_1 = L3_1.EVENT_MONSTER_TIDE_OVER
L2_1.event = L3_1
L2_1.source = "1"
L2_1.condition = ""
L2_1.action = "action_EVENT_MONSTER_TIDE_OVER_6025"
L3_1 = {}
L3_1.config_id = 1006026
L3_1.name = "ANY_MONSTER_LIVE_6026"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_LIVE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_6026"
L3_1.action = "action_EVENT_ANY_MONSTER_LIVE_6026"
L4_1 = {}
L4_1.config_id = 1006027
L4_1.name = "CHALLENGE_SUCCESS_6027"
L5_1 = EventType
L5_1 = L5_1.EVENT_CHALLENGE_SUCCESS
L4_1.event = L5_1
L4_1.source = "1"
L4_1.condition = ""
L4_1.action = "action_EVENT_CHALLENGE_SUCCESS_6027"
L5_1 = {}
L5_1.config_id = 1006028
L5_1.name = "CHALLENGE_FAIL_6028"
L6_1 = EventType
L6_1 = L6_1.EVENT_CHALLENGE_FAIL
L5_1.event = L6_1
L5_1.source = "1"
L5_1.condition = ""
L5_1.action = "action_EVENT_CHALLENGE_FAIL_6028"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "monster_wave"
L2_1.value = 0
L2_1.no_refresh = false
L1_1[1] = L2_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 6024
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "MONSTER_TIDE_OVER_6025"
L5_1 = "ANY_MONSTER_LIVE_6026"
L6_1 = "CHALLENGE_SUCCESS_6027"
L7_1 = "CHALLENGE_FAIL_6028"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 6020
L4_2.delay_time = 0
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : create_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 6021
L4_2.delay_time = 0
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : create_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 6022
L4_2.delay_time = 0
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : create_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_MONSTER_TIDE_OVER_6025 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 6001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_6026 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
L2_2 = ScriptLib
L2_2 = L2_2.ActiveChallenge
L3_2 = A0_2
L4_2 = 1
L5_2 = 1032
L6_2 = 300
L7_2 = 230402006
L8_2 = 13
L9_2 = 0
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : active_challenge"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "monster_wave"
L5_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.TowerCountTimeStatus
L3_2 = A0_2
L4_2 = 0
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : tower_time_status"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_LIVE_6026 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 230402004
L5_2 = 4002
L6_2 = GadgetState
L6_2 = L6_2.GearStart
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.TowerCountTimeStatus
L3_2 = A0_2
L4_2 = 1
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : tower_time_status"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_6027 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CauseDungeonFail
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : cause_dungeonfail"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_6028 = L1_1