mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
504 lines
9.7 KiB
Lua
504 lines
9.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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133004250
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 712
|
|
L2_1.monster_id = 21010101
|
|
L3_1 = {}
|
|
L3_1.x = 2209.663
|
|
L3_1.y = 210.555
|
|
L3_1.z = -511.718
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 160.822
|
|
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 = 714
|
|
L3_1.monster_id = 21010601
|
|
L4_1 = {}
|
|
L4_1.x = 2224.89
|
|
L4_1.y = 203.501
|
|
L4_1.z = -499.89
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 13.428
|
|
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 = 715
|
|
L4_1.monster_id = 22010201
|
|
L5_1 = {}
|
|
L5_1.x = 2205.944
|
|
L5_1.y = 210.157
|
|
L5_1.z = -509.314
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 110.837
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_tag = "\230\183\177\230\184\138\230\179\149\229\184\136"
|
|
L4_1.pose_id = 9013
|
|
L4_1.area_id = 3
|
|
L5_1 = {}
|
|
L5_1.config_id = 716
|
|
L5_1.monster_id = 21010501
|
|
L6_1 = {}
|
|
L6_1.x = 2194.199
|
|
L6_1.y = 215.192
|
|
L6_1.z = -516.211
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 65.795
|
|
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.area_id = 3
|
|
L6_1 = {}
|
|
L6_1.config_id = 717
|
|
L6_1.monster_id = 21010501
|
|
L7_1 = {}
|
|
L7_1.x = 2196.631
|
|
L7_1.y = 215.613
|
|
L7_1.z = -520.715
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 49.09
|
|
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.disableWander = true
|
|
L6_1.area_id = 3
|
|
L7_1 = {}
|
|
L7_1.config_id = 718
|
|
L7_1.monster_id = 21010501
|
|
L8_1 = {}
|
|
L8_1.x = 2195.212
|
|
L8_1.y = 215.258
|
|
L8_1.z = -518.317
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 65.795
|
|
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.disableWander = true
|
|
L7_1.area_id = 3
|
|
L8_1 = {}
|
|
L8_1.config_id = 719
|
|
L8_1.monster_id = 21020101
|
|
L9_1 = {}
|
|
L9_1.x = 2239.607
|
|
L9_1.y = 203.177
|
|
L9_1.z = -510.033
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 298.102
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
|
|
L8_1.area_id = 3
|
|
L9_1 = {}
|
|
L9_1.config_id = 720
|
|
L9_1.monster_id = 21030101
|
|
L10_1 = {}
|
|
L10_1.x = 2241.067
|
|
L10_1.y = 202.973
|
|
L10_1.z = -513.363
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 309.379
|
|
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
|
|
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
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1446
|
|
L2_1.gadget_id = 70300101
|
|
L3_1 = {}
|
|
L3_1.x = 2209.375
|
|
L3_1.y = 210.377
|
|
L3_1.z = -514.29
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 331.273
|
|
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 = 1447
|
|
L3_1.gadget_id = 70300101
|
|
L4_1 = {}
|
|
L4_1.x = 2225.46
|
|
L4_1.y = 203.029
|
|
L4_1.z = -497.316
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 331.273
|
|
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 = 1448
|
|
L4_1.gadget_id = 70300084
|
|
L5_1 = {}
|
|
L5_1.x = 2213.126
|
|
L5_1.y = 210.481
|
|
L5_1.z = -514.161
|
|
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 = 1449
|
|
L5_1.gadget_id = 70300084
|
|
L6_1 = {}
|
|
L6_1.x = 2208.423
|
|
L6_1.y = 210.919
|
|
L6_1.z = -520.323
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 77.836
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.area_id = 3
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1000309
|
|
L2_1.name = "SPECIFIC_GADGET_HP_CHANGE_309"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
|
|
L2_1.event = L3_1
|
|
L2_1.source = "1447"
|
|
L2_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_309"
|
|
L2_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_309"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1000310
|
|
L3_1.name = "SPECIFIC_GADGET_HP_CHANGE_310"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
|
|
L3_1.event = L4_1
|
|
L3_1.source = "1446"
|
|
L3_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_310"
|
|
L3_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_310"
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_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 = 712
|
|
L5_1 = 714
|
|
L6_1 = 715
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 1446
|
|
L5_1 = 1447
|
|
L6_1 = 1448
|
|
L7_1 = 1449
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "SPECIFIC_GADGET_HP_CHANGE_309"
|
|
L5_1 = "SPECIFIC_GADGET_HP_CHANGE_310"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_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_309 = 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 = 2226
|
|
L2_2.y = 205
|
|
L2_2.z = -498
|
|
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 = 2226
|
|
L3_2.y = 205
|
|
L3_2.z = -498
|
|
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 = 719
|
|
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 = 720
|
|
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_309 = 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_310 = 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 = 2208
|
|
L2_2.y = 211
|
|
L2_2.z = -515
|
|
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 = 2208
|
|
L3_2.y = 211
|
|
L3_2.z = -515
|
|
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 = 716
|
|
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 = 717
|
|
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 = 718
|
|
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_310 = L1_1
|