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

616 lines
12 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
L0_1 = {}
L0_1.group_id = 133001310
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1349
L2_1.monster_id = 21010101
L3_1 = {}
L3_1.x = 1865.328
L3_1.y = 223.85
L3_1.z = -1101.455
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 225.333
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 1351
L3_1.monster_id = 21010101
L4_1 = {}
L4_1.x = 1845.813
L4_1.y = 225.188
L4_1.z = -1099.072
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 204.608
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L3_1.area_id = 3
L4_1 = {}
L4_1.config_id = 1352
L4_1.monster_id = 21020201
L5_1 = {}
L5_1.x = 1861.032
L5_1.y = 224.347
L5_1.z = -1097.686
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 181.441
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
L4_1.disableWander = true
L4_1.area_id = 3
L5_1 = {}
L5_1.config_id = 1353
L5_1.monster_id = 21010501
L6_1 = {}
L6_1.x = 1864.883
L6_1.y = 232.498
L6_1.z = -1088.474
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 85.317
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L5_1.disableWander = true
L5_1.pose_id = 9003
L5_1.area_id = 3
L6_1 = {}
L6_1.config_id = 1354
L6_1.monster_id = 21011001
L7_1 = {}
L7_1.x = 1826.245
L7_1.y = 226.701
L7_1.z = -1096.939
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 97.341
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L6_1.area_id = 3
L7_1 = {}
L7_1.config_id = 1355
L7_1.monster_id = 21011001
L8_1 = {}
L8_1.x = 1823.1
L8_1.y = 227.082
L8_1.z = -1096.067
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 97.341
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L7_1.area_id = 3
L8_1 = {}
L8_1.config_id = 1356
L8_1.monster_id = 21011001
L9_1 = {}
L9_1.x = 1823.698
L9_1.y = 227.359
L9_1.z = -1101.695
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 63.463
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L8_1.area_id = 3
L9_1 = {}
L9_1.config_id = 1357
L9_1.monster_id = 21030101
L10_1 = {}
L10_1.x = 1892.238
L10_1.y = 222.648
L10_1.z = -1101.827
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 281.92
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L9_1.area_id = 3
L10_1 = {}
L10_1.config_id = 1358
L10_1.monster_id = 21030101
L11_1 = {}
L11_1.x = 1897.624
L11_1.y = 222.185
L11_1.z = -1101.226
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 256.355
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L10_1.area_id = 3
L11_1 = {}
L11_1.config_id = 1359
L11_1.monster_id = 21020101
L12_1 = {}
L12_1.x = 1889.299
L12_1.y = 223.044
L12_1.z = -1098.69
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 291.304
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
L11_1.area_id = 3
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 3264
L2_1.gadget_id = 70300090
L3_1 = {}
L3_1.x = 1864.006
L3_1.y = 226.927
L3_1.z = -1087.9
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
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 3265
L3_1.gadget_id = 70300101
L4_1 = {}
L4_1.x = 1863.399
L4_1.y = 223.601
L4_1.z = -1103.336
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 3
L4_1 = {}
L4_1.config_id = 3266
L4_1.gadget_id = 70300101
L5_1 = {}
L5_1.x = 1844.271
L5_1.y = 224.97
L5_1.z = -1101.164
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 3
L5_1 = {}
L5_1.config_id = 3267
L5_1.gadget_id = 70300086
L6_1 = {}
L6_1.x = 1860.264
L6_1.y = 224.671
L6_1.z = -1104.339
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 84.092
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 3
L6_1 = {}
L6_1.config_id = 3268
L6_1.gadget_id = 70300086
L7_1 = {}
L7_1.x = 1844.331
L7_1.y = 225.74
L7_1.z = -1103.798
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 82.87
L7_1.y = 282.353
L7_1.z = 286.915
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 3
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000479
L2_1.name = "GADGET_CREATE_479"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_CREATE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_CREATE_479"
L2_1.action = "action_EVENT_GADGET_CREATE_479"
L3_1 = {}
L3_1.config_id = 1000480
L3_1.name = "SPECIFIC_GADGET_HP_CHANGE_480"
L4_1 = EventType
L4_1 = L4_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L3_1.event = L4_1
L3_1.source = "3266"
L3_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_480"
L3_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_480"
L4_1 = {}
L4_1.config_id = 1000481
L4_1.name = "SPECIFIC_GADGET_HP_CHANGE_481"
L5_1 = EventType
L5_1 = L5_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
L4_1.event = L5_1
L4_1.source = "3265"
L4_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_481"
L4_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_481"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
triggers = L1_1
L1_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 = {}
L4_1 = 1349
L5_1 = 1351
L6_1 = 1352
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 3264
L5_1 = 3265
L6_1 = 3266
L7_1 = 3267
L8_1 = 3268
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_CREATE_479"
L5_1 = "SPECIFIC_GADGET_HP_CHANGE_480"
L6_1 = "SPECIFIC_GADGET_HP_CHANGE_481"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_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
L2_2 = A1_2.param1
if 3264 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_479 = 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 = 1353
L4_2.delay_time = 2
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_GADGET_CREATE_479 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.type
L3_2 = EventType
L3_2 = L3_2.EVENT_SPECIFIC_GADGET_HP_CHANGE
if L2_2 == L3_2 then
L2_2 = A1_2.param3
if not (50 < L2_2) then
goto lbl_11
end
end
L2_2 = false
do return L2_2 end
::lbl_11::
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if 2 < L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_480 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = {}
L2_2.x = 1843
L2_2.y = 226
L2_2.z = -1099
L3_2 = ScriptLib
L3_2 = L3_2.ScenePlaySound
L4_2 = A0_2
L5_2 = {}
L5_2.play_pos = L2_2
L5_2.sound_name = "LevelHornSound001"
L5_2.play_type = 1
L5_2.is_broadcast = false
L3_2 = L3_2(L4_2, L5_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_soundplay"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = {}
L3_2.x = 1843
L3_2.y = 226
L3_2.z = -1099
L4_2 = ScriptLib
L4_2 = L4_2.ShowReminderRadius
L5_2 = A0_2
L6_2 = 400004
L7_2 = L3_2
L8_2 = 50
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateMonster
L5_2 = A0_2
L6_2 = {}
L6_2.config_id = 1354
L6_2.delay_time = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_monster"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateMonster
L5_2 = A0_2
L6_2 = {}
L6_2.config_id = 1355
L6_2.delay_time = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_monster"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateMonster
L5_2 = A0_2
L6_2 = {}
L6_2.config_id = 1356
L6_2.delay_time = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_monster"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_SPECIFIC_GADGET_HP_CHANGE_480 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.type
L3_2 = EventType
L3_2 = L3_2.EVENT_SPECIFIC_GADGET_HP_CHANGE
if L2_2 == L3_2 then
L2_2 = A1_2.param3
if not (50 < L2_2) then
goto lbl_11
end
end
L2_2 = false
do return L2_2 end
::lbl_11::
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if 2 < L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_481 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = {}
L2_2.x = 1843
L2_2.y = 226
L2_2.z = -1099
L3_2 = ScriptLib
L3_2 = L3_2.ScenePlaySound
L4_2 = A0_2
L5_2 = {}
L5_2.play_pos = L2_2
L5_2.sound_name = "LevelHornSound001"
L5_2.play_type = 1
L5_2.is_broadcast = false
L3_2 = L3_2(L4_2, L5_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_soundplay"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = {}
L3_2.x = 1843
L3_2.y = 226
L3_2.z = -1099
L4_2 = ScriptLib
L4_2 = L4_2.ShowReminderRadius
L5_2 = A0_2
L6_2 = 400004
L7_2 = L3_2
L8_2 = 50
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateMonster
L5_2 = A0_2
L6_2 = {}
L6_2.config_id = 1359
L6_2.delay_time = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_monster"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateMonster
L5_2 = A0_2
L6_2 = {}
L6_2.config_id = 1357
L6_2.delay_time = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_monster"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.CreateMonster
L5_2 = A0_2
L6_2 = {}
L6_2.config_id = 1358
L6_2.delay_time = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : create_monster"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_SPECIFIC_GADGET_HP_CHANGE_481 = L1_1