mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
457 lines
8.3 KiB
Lua
457 lines
8.3 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 220107001
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1001
|
|
L2_1.monster_id = 29040111
|
|
L3_1 = {}
|
|
L3_1.x = 518.625
|
|
L3_1.y = 74.167
|
|
L3_1.z = 461.735
|
|
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
|
|
L3_1 = {}
|
|
L4_1 = 1102
|
|
L3_1[1] = L4_1
|
|
L2_1.affix = L3_1
|
|
L2_1.mark_flag = 16
|
|
L1_1[1] = L2_1
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1003
|
|
L2_1.gadget_id = 70330048
|
|
L3_1 = {}
|
|
L3_1.x = 548.03
|
|
L3_1.y = 87.81
|
|
L3_1.z = 406.29
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 1.822
|
|
L3_1.y = 1.42
|
|
L3_1.z = 2.656
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.mark_flag = 1
|
|
L3_1 = {}
|
|
L3_1.config_id = 1004
|
|
L3_1.gadget_id = 70330049
|
|
L4_1 = {}
|
|
L4_1.x = 471.598
|
|
L4_1.y = 113.396
|
|
L4_1.z = 423.989
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 359.278
|
|
L4_1.y = 343.022
|
|
L4_1.z = 355.08
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.mark_flag = 1
|
|
L4_1 = {}
|
|
L4_1.config_id = 1005
|
|
L4_1.gadget_id = 70330050
|
|
L5_1 = {}
|
|
L5_1.x = 522.27
|
|
L5_1.y = 127.4
|
|
L5_1.z = 476.04
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 353.003
|
|
L5_1.y = 267.852
|
|
L5_1.z = 3.454
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.mark_flag = 1
|
|
L5_1 = {}
|
|
L5_1.config_id = 1006
|
|
L5_1.gadget_id = 70330050
|
|
L6_1 = {}
|
|
L6_1.x = 556.08
|
|
L6_1.y = 124.65
|
|
L6_1.z = 449.19
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 356.715
|
|
L6_1.y = 358.599
|
|
L6_1.z = 23.112
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.mark_flag = 1
|
|
L6_1 = {}
|
|
L6_1.config_id = 1007
|
|
L6_1.gadget_id = 70330050
|
|
L7_1 = {}
|
|
L7_1.x = 483.74
|
|
L7_1.y = 125.7
|
|
L7_1.z = 382.92
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 325.734
|
|
L7_1.y = 83.626
|
|
L7_1.z = 9.938
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.mark_flag = 1
|
|
L7_1 = {}
|
|
L7_1.config_id = 1008
|
|
L7_1.gadget_id = 70330051
|
|
L8_1 = {}
|
|
L8_1.x = 539.02
|
|
L8_1.y = 77.2
|
|
L8_1.z = 516.34
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 352.808
|
|
L8_1.y = 268.267
|
|
L8_1.z = 73.931
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.mark_flag = 1
|
|
L8_1 = {}
|
|
L8_1.config_id = 1009
|
|
L8_1.gadget_id = 70330052
|
|
L9_1 = {}
|
|
L9_1.x = 559.13
|
|
L9_1.y = 81.45
|
|
L9_1.z = 498.94
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 336.852
|
|
L9_1.y = 46.765
|
|
L9_1.z = 353.78
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.mark_flag = 1
|
|
L9_1 = {}
|
|
L9_1.config_id = 1010
|
|
L9_1.gadget_id = 70330052
|
|
L10_1 = {}
|
|
L10_1.x = 497.72
|
|
L10_1.y = 80.98
|
|
L10_1.z = 514.08
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 345.542
|
|
L10_1.y = 351.833
|
|
L10_1.z = 328.828
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L9_1.mark_flag = 1
|
|
L10_1 = {}
|
|
L10_1.config_id = 1011
|
|
L10_1.gadget_id = 70330052
|
|
L11_1 = {}
|
|
L11_1.x = 468.86
|
|
L11_1.y = 79.21
|
|
L11_1.z = 434.53
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 351.879
|
|
L11_1.y = 270.528
|
|
L11_1.z = 344.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L10_1.mark_flag = 1
|
|
L11_1 = {}
|
|
L11_1.config_id = 1012
|
|
L11_1.gadget_id = 70330053
|
|
L12_1 = {}
|
|
L12_1.x = 456.24
|
|
L12_1.y = 82.88
|
|
L12_1.z = 472.39
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 36.307
|
|
L12_1.y = 13.571
|
|
L12_1.z = 307.568
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L11_1.mark_flag = 1
|
|
L12_1 = {}
|
|
L12_1.config_id = 1013
|
|
L12_1.gadget_id = 70211121
|
|
L13_1 = {}
|
|
L13_1.x = 519.569
|
|
L13_1.y = 74.192
|
|
L13_1.z = 488.466
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 183.398
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 11
|
|
L12_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\231\146\131\230\156\136"
|
|
L12_1.isOneoff = true
|
|
L12_1.persistent = true
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1001002
|
|
L2_1.name = "ANY_MONSTER_DIE_1002"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1002"
|
|
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_1002"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1001014
|
|
L3_1.name = "DUNGEON_SETTLE_1014"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_DUNGEON_SETTLE
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_DUNGEON_SETTLE_1014"
|
|
L3_1.action = "action_EVENT_DUNGEON_SETTLE_1014"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1001015
|
|
L4_1.name = "DUNGEON_SETTLE_1015"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_DUNGEON_SETTLE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_DUNGEON_SETTLE_1015"
|
|
L4_1.action = "action_EVENT_DUNGEON_SETTLE_1015"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1001016
|
|
L5_1.name = "TIMER_EVENT_1016"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_TIMER_EVENT
|
|
L5_1.event = L6_1
|
|
L5_1.source = "MonsterDie"
|
|
L5_1.condition = "condition_EVENT_TIMER_EVENT_1016"
|
|
L5_1.action = "action_EVENT_TIMER_EVENT_1016"
|
|
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 = {}
|
|
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 = 1001
|
|
L3_1[1] = L4_1
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 1003
|
|
L5_1 = 1004
|
|
L6_1 = 1005
|
|
L7_1 = 1006
|
|
L8_1 = 1007
|
|
L9_1 = 1008
|
|
L10_1 = 1009
|
|
L11_1 = 1010
|
|
L12_1 = 1011
|
|
L13_1 = 1012
|
|
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
|
|
L3_1[6] = L9_1
|
|
L3_1[7] = L10_1
|
|
L3_1[8] = L11_1
|
|
L3_1[9] = L12_1
|
|
L3_1[10] = L13_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ANY_MONSTER_DIE_1002"
|
|
L5_1 = "DUNGEON_SETTLE_1014"
|
|
L6_1 = "DUNGEON_SETTLE_1015"
|
|
L7_1 = "TIMER_EVENT_1016"
|
|
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
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 1013
|
|
L4_1[1] = L5_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
suites = L1_1
|
|
function L1_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_1002 = 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.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 220107001
|
|
L5_2 = "MonsterDie"
|
|
L6_2 = 5
|
|
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 : create_timerevent_by_group"
|
|
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_1002 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 1 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_DUNGEON_SETTLE_1014 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 220107001
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_DUNGEON_SETTLE_1014 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 0 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_DUNGEON_SETTLE_1015 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 220107001
|
|
L4_2.suite = 3
|
|
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 : refresh_group_to_suite"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_DUNGEON_SETTLE_1015 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetSceneUidList
|
|
L3_2 = A0_2
|
|
L2_2 = L2_2(L3_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.IsPlayerAllAvatarDie
|
|
L4_2 = A0_2
|
|
L5_2 = L2_2[1]
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if L3_2 then
|
|
L3_2 = false
|
|
return L3_2
|
|
end
|
|
L3_2 = true
|
|
return L3_2
|
|
end
|
|
condition_EVENT_TIMER_EVENT_1016 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "220107001"
|
|
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 : add_quest_progress"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_1016 = L1_1
|