mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
582 lines
11 KiB
Lua
582 lines
11 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133001311
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1360
|
|
L2_1.monster_id = 21020201
|
|
L3_1 = {}
|
|
L3_1.x = 1611.838
|
|
L3_1.y = 251.64
|
|
L3_1.z = -1342.985
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 105.206
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
|
|
L2_1.pose_id = 401
|
|
L2_1.area_id = 2
|
|
L3_1 = {}
|
|
L3_1.config_id = 1362
|
|
L3_1.monster_id = 21010601
|
|
L4_1 = {}
|
|
L4_1.x = 1622.241
|
|
L4_1.y = 251.521
|
|
L4_1.z = -1358.966
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 287.553
|
|
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 = 2
|
|
L4_1 = {}
|
|
L4_1.config_id = 1363
|
|
L4_1.monster_id = 21010601
|
|
L5_1 = {}
|
|
L5_1.x = 1625.335
|
|
L5_1.y = 248.04
|
|
L5_1.z = -1329.642
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 344.657
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L4_1.area_id = 2
|
|
L5_1 = {}
|
|
L5_1.config_id = 1365
|
|
L5_1.monster_id = 21010501
|
|
L6_1 = {}
|
|
L6_1.x = 1632.439
|
|
L6_1.y = 258.96
|
|
L6_1.z = -1344.535
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 183.412
|
|
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.pose_id = 9003
|
|
L5_1.area_id = 2
|
|
L6_1 = {}
|
|
L6_1.config_id = 1366
|
|
L6_1.monster_id = 21010301
|
|
L7_1 = {}
|
|
L7_1.x = 1632.888
|
|
L7_1.y = 252.805
|
|
L7_1.z = -1370.416
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 329.03
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L6_1.area_id = 2
|
|
L7_1 = {}
|
|
L7_1.config_id = 1367
|
|
L7_1.monster_id = 21010301
|
|
L8_1 = {}
|
|
L8_1.x = 1637.591
|
|
L8_1.y = 252.992
|
|
L8_1.z = -1369.859
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 329.03
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L7_1.area_id = 2
|
|
L8_1 = {}
|
|
L8_1.config_id = 1368
|
|
L8_1.monster_id = 21030101
|
|
L9_1 = {}
|
|
L9_1.x = 1633.415
|
|
L9_1.y = 252.984
|
|
L9_1.z = -1374.471
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 329.03
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
|
|
L8_1.area_id = 2
|
|
L9_1 = {}
|
|
L9_1.config_id = 1369
|
|
L9_1.monster_id = 21020101
|
|
L10_1 = {}
|
|
L10_1.x = 1642.353
|
|
L10_1.y = 245.704
|
|
L10_1.z = -1313.508
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 210.271
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L9_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
|
|
L9_1.area_id = 2
|
|
L10_1 = {}
|
|
L10_1.config_id = 1370
|
|
L10_1.monster_id = 21010901
|
|
L11_1 = {}
|
|
L11_1.x = 1642.427
|
|
L11_1.y = 245.858
|
|
L11_1.z = -1308.891
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 186.782
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L10_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
|
|
L10_1.area_id = 2
|
|
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
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 3269
|
|
L2_1.gadget_id = 70300090
|
|
L3_1 = {}
|
|
L3_1.x = 1633.549
|
|
L3_1.y = 253.466
|
|
L3_1.z = -1343.569
|
|
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 = 2
|
|
L3_1 = {}
|
|
L3_1.config_id = 3270
|
|
L3_1.gadget_id = 70300101
|
|
L4_1 = {}
|
|
L4_1.x = 1619.679
|
|
L4_1.y = 250.979
|
|
L4_1.z = -1357.647
|
|
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 = 2
|
|
L4_1 = {}
|
|
L4_1.config_id = 3271
|
|
L4_1.gadget_id = 70300101
|
|
L5_1 = {}
|
|
L5_1.x = 1623.762
|
|
L5_1.y = 247.778
|
|
L5_1.z = -1327.612
|
|
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 = 2
|
|
L5_1 = {}
|
|
L5_1.config_id = 3273
|
|
L5_1.gadget_id = 70300086
|
|
L6_1 = {}
|
|
L6_1.x = 1623.698
|
|
L6_1.y = 248.265
|
|
L6_1.z = -1325.655
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 69.497
|
|
L6_1.y = 0.0
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.area_id = 2
|
|
L6_1 = {}
|
|
L6_1.config_id = 3274
|
|
L6_1.gadget_id = 70300086
|
|
L7_1 = {}
|
|
L7_1.x = 1625.597
|
|
L7_1.y = 251.585
|
|
L7_1.z = -1359.064
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 343.942
|
|
L7_1.y = 331.988
|
|
L7_1.z = 67.925
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.area_id = 2
|
|
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 = 1000482
|
|
L2_1.name = "SPECIFIC_GADGET_HP_CHANGE_482"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
|
|
L2_1.event = L3_1
|
|
L2_1.source = "3270"
|
|
L2_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_482"
|
|
L2_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_482"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1000483
|
|
L3_1.name = "SPECIFIC_GADGET_HP_CHANGE_483"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
|
|
L3_1.event = L4_1
|
|
L3_1.source = "3271"
|
|
L3_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_483"
|
|
L3_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_483"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1000484
|
|
L4_1.name = "GADGET_CREATE_484"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GADGET_CREATE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_GADGET_CREATE_484"
|
|
L4_1.action = "action_EVENT_GADGET_CREATE_484"
|
|
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 = 1360
|
|
L5_1 = 1362
|
|
L6_1 = 1363
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 3269
|
|
L5_1 = 3270
|
|
L6_1 = 3271
|
|
L7_1 = 3273
|
|
L8_1 = 3274
|
|
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 = "SPECIFIC_GADGET_HP_CHANGE_482"
|
|
L5_1 = "SPECIFIC_GADGET_HP_CHANGE_483"
|
|
L6_1 = "GADGET_CREATE_484"
|
|
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, 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_482 = 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 = 1619
|
|
L2_2.y = 251
|
|
L2_2.z = -1356
|
|
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 = 1619
|
|
L3_2.y = 251
|
|
L3_2.z = -1356
|
|
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 = 1366
|
|
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 = 1367
|
|
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 = 1368
|
|
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_482 = 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_483 = 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 = 1619
|
|
L2_2.y = 251
|
|
L2_2.z = -1356
|
|
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 = 1619
|
|
L3_2.y = 251
|
|
L3_2.z = -1356
|
|
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 = 1369
|
|
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 = 1370
|
|
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_483 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 3269 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_484 = 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 = 1365
|
|
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_484 = L1_1
|