mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
473 lines
8.8 KiB
Lua
473 lines
8.8 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, L16_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 133210237
|
|
L1_1 = {}
|
|
L1_1.inner_region = 237003
|
|
L1_1.outer_region = 237003
|
|
L1_1.related_region = 237003
|
|
L1_1.group_id = 133210237
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 237001
|
|
L3_1.monster_id = 20040401
|
|
L4_1 = {}
|
|
L4_1.x = -3550.104
|
|
L4_1.y = 116.858
|
|
L4_1.z = -965.675
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 339.169
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 36
|
|
L3_1.drop_id = 1000100
|
|
L3_1.area_id = 17
|
|
L2_1[1] = L3_1
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 237005
|
|
L3_1.gadget_id = 70210106
|
|
L4_1 = {}
|
|
L4_1.x = -3550.104
|
|
L4_1.y = 116.858
|
|
L4_1.z = -965.675
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 302.759
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 26
|
|
L3_1.drop_tag = "\230\151\160\231\155\184\228\185\139\230\176\180"
|
|
L3_1.persistent = true
|
|
L4_1 = {}
|
|
L4_1.monster_config_id = 237001
|
|
L4_1.resin = 40
|
|
L4_1.life_time = 600
|
|
L4_1.take_num = 100
|
|
L3_1.boss_chest = L4_1
|
|
L3_1.area_id = 17
|
|
L4_1 = {}
|
|
L4_1.config_id = 237006
|
|
L4_1.gadget_id = 70360172
|
|
L5_1 = {}
|
|
L5_1.x = -3550.185
|
|
L5_1.y = 116.855
|
|
L5_1.z = -965.428
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 23.141
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 30
|
|
L4_1.mark_flag = 1
|
|
L4_1.area_id = 17
|
|
L5_1 = {}
|
|
L5_1.config_id = 237007
|
|
L5_1.gadget_id = 70360171
|
|
L6_1 = {}
|
|
L6_1.x = -3571.1
|
|
L6_1.y = 116.91
|
|
L6_1.z = -944.508
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 133.941
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 30
|
|
L5_1.mark_flag = 1
|
|
L5_1.area_id = 17
|
|
L6_1 = {}
|
|
L6_1.config_id = 237008
|
|
L6_1.gadget_id = 70360171
|
|
L7_1 = {}
|
|
L7_1.x = -3543.359
|
|
L7_1.y = 116.76
|
|
L7_1.z = -936.899
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 188.967
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 30
|
|
L6_1.mark_flag = 1
|
|
L6_1.area_id = 17
|
|
L7_1 = {}
|
|
L7_1.config_id = 237009
|
|
L7_1.gadget_id = 70360171
|
|
L8_1 = {}
|
|
L8_1.x = -3579.347
|
|
L8_1.y = 116.882
|
|
L8_1.z = -970.784
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 79.86
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 30
|
|
L7_1.mark_flag = 1
|
|
L7_1.area_id = 17
|
|
L8_1 = {}
|
|
L8_1.config_id = 237010
|
|
L8_1.gadget_id = 70360171
|
|
L9_1 = {}
|
|
L9_1.x = -3558.138
|
|
L9_1.y = 116.882
|
|
L9_1.z = -994.011
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 18.157
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 30
|
|
L8_1.mark_flag = 1
|
|
L8_1.area_id = 17
|
|
L9_1 = {}
|
|
L9_1.config_id = 237011
|
|
L9_1.gadget_id = 70360171
|
|
L10_1 = {}
|
|
L10_1.x = -3528.65
|
|
L10_1.y = 116.754
|
|
L10_1.z = -986.02
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 314.071
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 30
|
|
L9_1.mark_flag = 1
|
|
L9_1.area_id = 17
|
|
L10_1 = {}
|
|
L10_1.config_id = 237012
|
|
L10_1.gadget_id = 70360171
|
|
L11_1 = {}
|
|
L11_1.x = -3521.33
|
|
L11_1.y = 116.784
|
|
L11_1.z = -959.05
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 260.578
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 30
|
|
L10_1.mark_flag = 1
|
|
L10_1.area_id = 17
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L2_1[5] = L7_1
|
|
L2_1[6] = L8_1
|
|
L2_1[7] = L9_1
|
|
L2_1[8] = L10_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 237003
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.POLYGON
|
|
L3_1.shape = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = -3562.144
|
|
L4_1.y = 137.655
|
|
L4_1.z = -966.453
|
|
L3_1.pos = L4_1
|
|
L3_1.height = 84.69
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L5_1.x = -3586.472
|
|
L5_1.y = -944.425
|
|
L6_1 = {}
|
|
L6_1.x = -3602.124
|
|
L6_1.y = -952.835
|
|
L7_1 = {}
|
|
L7_1.x = -3608.338
|
|
L7_1.y = -967.221
|
|
L8_1 = {}
|
|
L8_1.x = -3600.491
|
|
L8_1.y = -981.505
|
|
L9_1 = {}
|
|
L9_1.x = -3561.319
|
|
L9_1.y = -1000.151
|
|
L10_1 = {}
|
|
L10_1.x = -3539.484
|
|
L10_1.y = -997.351
|
|
L11_1 = {}
|
|
L11_1.x = -3526.973
|
|
L11_1.y = -986.637
|
|
L12_1 = {}
|
|
L12_1.x = -3518.147
|
|
L12_1.y = -972.489
|
|
L13_1 = {}
|
|
L13_1.x = -3515.949
|
|
L13_1.y = -957.276
|
|
L14_1 = {}
|
|
L14_1.x = -3529.774
|
|
L14_1.y = -941.291
|
|
L15_1 = {}
|
|
L15_1.x = -3542.688
|
|
L15_1.y = -935.327
|
|
L16_1 = {}
|
|
L16_1.x = -3561.959
|
|
L16_1.y = -932.755
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L4_1[5] = L9_1
|
|
L4_1[6] = L10_1
|
|
L4_1[7] = L11_1
|
|
L4_1[8] = L12_1
|
|
L4_1[9] = L13_1
|
|
L4_1[10] = L14_1
|
|
L4_1[11] = L15_1
|
|
L4_1[12] = L16_1
|
|
L3_1.point_array = L4_1
|
|
L3_1.area_id = 17
|
|
L2_1[1] = L3_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1237002
|
|
L3_1.name = "ANY_MONSTER_DIE_237002"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_237002"
|
|
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_237002"
|
|
L2_1[1] = L3_1
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 237004
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 45
|
|
L5_1 = {}
|
|
L5_1.x = -3550.104
|
|
L5_1.y = 116.858
|
|
L5_1.z = -965.675
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 17
|
|
L3_1[1] = L4_1
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L4_1.config_id = 1237004
|
|
L4_1.name = "LEAVE_REGION_237004"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_LEAVE_REGION
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_LEAVE_REGION_237004"
|
|
L4_1.action = "action_EVENT_LEAVE_REGION_237004"
|
|
L4_1.trigger_count = 0
|
|
L4_1.forbid_guest = false
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
garbages = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 1
|
|
L2_1.end_suite = 0
|
|
L2_1.rand_suite = false
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 237001
|
|
L4_1[1] = L5_1
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 237006
|
|
L6_1 = 237007
|
|
L7_1 = 237008
|
|
L8_1 = 237009
|
|
L9_1 = 237010
|
|
L10_1 = 237011
|
|
L11_1 = 237012
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L4_1[5] = L9_1
|
|
L4_1[6] = L10_1
|
|
L4_1[7] = L11_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 237003
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ANY_MONSTER_DIE_237002"
|
|
L4_1[1] = L5_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L2_1[1] = L3_1
|
|
suites = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupMonsterCount
|
|
L3_2 = A0_2
|
|
L2_2 = L2_2(L3_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_237002 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 237005
|
|
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_gadget"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 237006
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Default
|
|
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 : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 237007
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Default
|
|
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 : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 237008
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Default
|
|
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 : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 237009
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Default
|
|
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 : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 237010
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Default
|
|
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 : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 237011
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Default
|
|
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 : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 237012
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.Default
|
|
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 : set_gadget_state_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_237002 = L2_1
|
|
L2_1 = require
|
|
L3_1 = "V2_0/SetPerformanceOptimizationWithRegion_V2.0"
|
|
L2_1(L3_1)
|