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

726 lines
13 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, L17_1, L18_1
L0_1 = {}
L0_1.group_id = 133108197
L1_1 = {}
L2_1 = {}
L2_1.config_id = 197001
L2_1.monster_id = 25010201
L3_1 = {}
L3_1.x = -320.036
L3_1.y = 200.089
L3_1.z = -640.929
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 120.237
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 33
L2_1.drop_id = 1000100
L2_1.disableWander = true
L2_1.area_id = 7
L3_1 = {}
L3_1.config_id = 197014
L3_1.monster_id = 25010201
L4_1 = {}
L4_1.x = -319.313
L4_1.y = 200.106
L4_1.z = -647.173
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 = 33
L3_1.drop_id = 1000100
L3_1.disableWander = true
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 197015
L4_1.monster_id = 25010201
L5_1 = {}
L5_1.x = -312.318
L5_1.y = 200.106
L5_1.z = -641.576
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 264.306
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 33
L4_1.drop_id = 1000100
L4_1.disableWander = true
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 197016
L5_1.monster_id = 25010105
L6_1 = {}
L6_1.x = -321.313
L6_1.y = 200.075
L6_1.z = -640.045
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 120.237
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 33
L5_1.drop_id = 1000100
L5_1.disableWander = true
L5_1.isElite = true
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 197018
L6_1.monster_id = 25030201
L7_1 = {}
L7_1.x = -301.646
L7_1.y = 200.096
L7_1.z = -650.642
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 284.253
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 33
L6_1.drop_id = 1000100
L6_1.disableWander = true
L6_1.area_id = 7
L7_1 = {}
L7_1.config_id = 197019
L7_1.monster_id = 25030201
L8_1 = {}
L8_1.x = -301.46
L8_1.y = 200.016
L8_1.z = -655.339
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 299.623
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 33
L7_1.drop_id = 1000100
L7_1.disableWander = true
L7_1.area_id = 7
L8_1 = {}
L8_1.config_id = 197020
L8_1.monster_id = 25010501
L9_1 = {}
L9_1.x = -307.763
L9_1.y = 200.133
L9_1.z = -652.01
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 286.04
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 33
L8_1.drop_id = 1000100
L8_1.disableWander = true
L8_1.area_id = 7
L9_1 = {}
L9_1.config_id = 197031
L9_1.monster_id = 25010201
L10_1 = {}
L10_1.x = -297.958
L10_1.y = 200.019
L10_1.z = -650.513
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 305.998
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 33
L9_1.drop_id = 1000100
L9_1.disableWander = true
L9_1.area_id = 7
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 = 197003
L2_1.gadget_id = 70220062
L3_1 = {}
L3_1.x = -323.307
L3_1.y = 200.106
L3_1.z = -646.958
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.166
L3_1.y = 96.465
L3_1.z = 358.75
L2_1.rot = L3_1
L2_1.level = 1
L2_1.isOneoff = true
L2_1.area_id = 7
L3_1 = {}
L3_1.config_id = 197004
L3_1.gadget_id = 70310001
L4_1 = {}
L4_1.x = -332.245
L4_1.y = 200.188
L4_1.z = -641.634
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
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 197005
L4_1.gadget_id = 70300105
L5_1 = {}
L5_1.x = -323.83
L5_1.y = 200.21
L5_1.z = -640.199
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 29.083
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 197006
L5_1.gadget_id = 70300105
L6_1 = {}
L6_1.x = -317.144
L6_1.y = 200.139
L6_1.z = -635.532
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 262.231
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 197007
L6_1.gadget_id = 70310001
L7_1 = {}
L7_1.x = -318.093
L7_1.y = 200.257
L7_1.z = -625.611
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L6_1.area_id = 7
L7_1 = {}
L7_1.config_id = 197008
L7_1.gadget_id = 70310001
L8_1 = {}
L8_1.x = -304.99
L8_1.y = 200.146
L8_1.z = -642.682
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = GadgetState
L8_1 = L8_1.GearStart
L7_1.state = L8_1
L7_1.area_id = 7
L8_1 = {}
L8_1.config_id = 197009
L8_1.gadget_id = 71700226
L9_1 = {}
L9_1.x = -324.728
L9_1.y = 200.075
L9_1.z = -642.184
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.044
L9_1.y = 294.008
L9_1.z = 359.788
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 7
L9_1 = {}
L9_1.config_id = 197011
L9_1.gadget_id = 70220062
L10_1 = {}
L10_1.x = -315.974
L10_1.y = 200.135
L10_1.z = -635.024
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 251.69
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.area_id = 7
L10_1 = {}
L10_1.config_id = 197012
L10_1.gadget_id = 70220017
L11_1 = {}
L11_1.x = -310.862
L11_1.y = 200.106
L11_1.z = -641.492
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 8.064
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.area_id = 7
L11_1 = {}
L11_1.config_id = 197013
L11_1.gadget_id = 70310006
L12_1 = {}
L12_1.x = -312.683
L12_1.y = 200.106
L12_1.z = -639.364
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.area_id = 7
L12_1 = {}
L12_1.config_id = 197023
L12_1.gadget_id = 71700226
L13_1 = {}
L13_1.x = -318.855
L13_1.y = 200.117
L13_1.z = -635.497
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 280.613
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.area_id = 7
L13_1 = {}
L13_1.config_id = 197024
L13_1.gadget_id = 70800056
L14_1 = {}
L14_1.x = -321.407
L14_1.y = 200.106
L14_1.z = -647.401
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.166
L14_1.y = 15.264
L14_1.z = 358.75
L13_1.rot = L14_1
L13_1.level = 1
L13_1.isOneoff = true
L13_1.area_id = 7
L14_1 = {}
L14_1.config_id = 197025
L14_1.gadget_id = 70220063
L15_1 = {}
L15_1.x = -314.457
L15_1.y = 200.294
L15_1.z = -634.987
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 26.704
L15_1.y = 143.328
L15_1.z = 276.221
L14_1.rot = L15_1
L14_1.level = 1
L14_1.area_id = 7
L15_1 = {}
L15_1.config_id = 197026
L15_1.gadget_id = 70220063
L16_1 = {}
L16_1.x = -323.728
L16_1.y = 200.106
L16_1.z = -646.016
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 0.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L15_1.area_id = 7
L16_1 = {}
L16_1.config_id = 197027
L16_1.gadget_id = 70220064
L17_1 = {}
L17_1.x = -322.874
L17_1.y = 200.106
L17_1.z = -646.024
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L16_1.area_id = 7
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
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 197010
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 20
L3_1 = {}
L3_1.x = -320.58
L3_1.y = 200.094
L3_1.z = -639.931
L2_1.pos = L3_1
L2_1.area_id = 7
L3_1 = {}
L4_1 = "Firecracker_Play"
L3_1[1] = L4_1
L2_1.team_ability_group_list = L3_1
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1197002
L2_1.name = "ANY_MONSTER_DIE_197002"
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_197002"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_197002"
L3_1 = {}
L3_1.config_id = 1197017
L3_1.name = "QUEST_START_197017"
L4_1 = EventType
L4_1 = L4_1.EVENT_QUEST_START
L3_1.event = L4_1
L3_1.source = "4003913"
L3_1.condition = ""
L3_1.action = "action_EVENT_QUEST_START_197017"
L4_1 = {}
L4_1.config_id = 1197021
L4_1.name = "SPECIFIC_MONSTER_HP_CHANGE_197021"
L5_1 = EventType
L5_1 = L5_1.EVENT_SPECIFIC_MONSTER_HP_CHANGE
L4_1.event = L5_1
L4_1.source = "197016"
L4_1.condition = "condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_197021"
L4_1.action = "action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_197021"
L5_1 = {}
L5_1.config_id = 1197022
L5_1.name = "QUEST_FINISH_197022"
L6_1 = EventType
L6_1 = L6_1.EVENT_QUEST_FINISH
L5_1.event = L6_1
L5_1.source = "4003925"
L5_1.condition = ""
L5_1.action = "action_EVENT_QUEST_FINISH_197022"
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 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 197003
L5_1 = 197004
L6_1 = 197005
L7_1 = 197006
L8_1 = 197007
L9_1 = 197008
L10_1 = 197009
L11_1 = 197011
L12_1 = 197012
L13_1 = 197013
L14_1 = 197023
L15_1 = 197024
L16_1 = 197025
L17_1 = 197026
L18_1 = 197027
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
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 197010
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "QUEST_START_197017"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 197001
L6_1 = 197014
L7_1 = 197015
L8_1 = 197016
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "SPECIFIC_MONSTER_HP_CHANGE_197021"
L6_1 = "QUEST_FINISH_197022"
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 197018
L7_1 = 197019
L8_1 = 197020
L9_1 = 197031
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ANY_MONSTER_DIE_197002"
L5_1[1] = L6_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_197002 = 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.AddQuestProgress
L3_2 = A0_2
L4_2 = "133108197"
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 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "Variable_EndGame"
L5_2 = 1
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_groupVariable"
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_197002 = 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 = 133108197
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "Variable_StartWatcherCountDown"
L5_2 = 1
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_groupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_START_197017 = 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_MONSTER_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 = true
return L2_2
end
condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_197021 = 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 = 133108197
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 400004
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 : active_reminder_ui"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "13310819701"
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_SPECIFIC_MONSTER_HP_CHANGE_197021 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133108197
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_MONSTER
L4_2.kill_policy = L5_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 : kill_monster_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_FINISH_197022 = L1_1
L1_1 = require
L2_1 = "V2_4/Firecracker"
L1_1(L2_1)