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

823 lines
16 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 = 133108204
L1_1 = {}
L1_1.group_id = 133108204
L1_1.num_monster = 5
L1_1.id_boss = 204004
L2_1 = {}
L3_1 = {}
L3_1.config_id = 204001
L3_1.monster_id = 25010201
L4_1 = {}
L4_1.x = -454.275
L4_1.y = 202.351
L4_1.z = -714.126
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 338.015
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.disableWander = true
L3_1.pose_id = 9005
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 204002
L4_1.monster_id = 25010301
L5_1 = {}
L5_1.x = -454.17
L5_1.y = 200.833
L5_1.z = -706.057
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 197.06
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L4_1.disableWander = true
L4_1.pose_id = 4
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 204003
L5_1.monster_id = 25010501
L6_1 = {}
L6_1.x = -455.452
L6_1.y = 200.882
L6_1.z = -708.548
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 10.385
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_id = 1000100
L5_1.disableWander = true
L5_1.pose_id = 4
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 204004
L6_1.monster_id = 25010105
L7_1 = {}
L7_1.x = -452.589
L7_1.y = 201.681
L7_1.z = -707.972
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 279.015
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_id = 1000100
L6_1.disableWander = true
L6_1.area_id = 7
L7_1 = {}
L7_1.config_id = 204005
L7_1.monster_id = 25030301
L8_1 = {}
L8_1.x = -456.045
L8_1.y = 201.932
L8_1.z = -714.979
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 92.446
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1000100
L7_1.disableWander = true
L7_1.pose_id = 9009
L7_1.area_id = 7
L8_1 = {}
L8_1.config_id = 204016
L8_1.monster_id = 25010201
L9_1 = {}
L9_1.x = -451.689
L9_1.y = 202.578
L9_1.z = -712.17
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 269.115
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_id = 1000100
L8_1.area_id = 7
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 204006
L3_1.gadget_id = 70800056
L4_1 = {}
L4_1.x = -453.352
L4_1.y = 202.662
L4_1.z = -714.195
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 14.079
L4_1.y = 337.031
L4_1.z = 10.009
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 204007
L4_1.gadget_id = 70800056
L5_1 = {}
L5_1.x = -451.625
L5_1.y = 201.471
L5_1.z = -706.412
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.294
L5_1.y = 253.551
L5_1.z = 351.573
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 204008
L5_1.gadget_id = 70300104
L6_1 = {}
L6_1.x = -453.3
L6_1.y = 203.086
L6_1.z = -714.32
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 347.639
L6_1.y = 153.421
L6_1.z = 359.54
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 204009
L6_1.gadget_id = 70800060
L7_1 = {}
L7_1.x = -451.362
L7_1.y = 202.076
L7_1.z = -709.669
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 16.087
L7_1.y = 297.895
L7_1.z = 355.759
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 7
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 204010
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 30
L4_1 = {}
L4_1.x = -453.693
L4_1.y = 200.15
L4_1.z = -711.27
L3_1.pos = L4_1
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 204011
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 30
L5_1 = {}
L5_1.x = -453.651
L5_1.y = 201.454
L5_1.z = -711.339
L4_1.pos = L5_1
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 204013
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 30
L6_1 = {}
L6_1.x = -453.539
L6_1.y = 202.248
L6_1.z = -711.362
L5_1.pos = L6_1
L5_1.area_id = 7
L6_1 = {}
L7_1 = "Firecracker_Play"
L6_1[1] = L7_1
L5_1.team_ability_group_list = L6_1
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1204010
L3_1.name = "ENTER_REGION_204010"
L4_1 = EventType
L4_1 = L4_1.EVENT_ENTER_REGION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ENTER_REGION_204010"
L3_1.action = "action_EVENT_ENTER_REGION_204010"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1204011
L4_1.name = "LEAVE_REGION_204011"
L5_1 = EventType
L5_1 = L5_1.EVENT_LEAVE_REGION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_LEAVE_REGION_204011"
L4_1.action = "action_EVENT_LEAVE_REGION_204011"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1204014
L5_1.name = "SELECT_OPTION_204014"
L6_1 = EventType
L6_1 = L6_1.EVENT_SELECT_OPTION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_SELECT_OPTION_204014"
L5_1.action = "action_EVENT_SELECT_OPTION_204014"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1204015
L6_1.name = "VARIABLE_CHANGE_204015"
L7_1 = EventType
L7_1 = L7_1.EVENT_VARIABLE_CHANGE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_VARIABLE_CHANGE_204015"
L6_1.action = "action_EVENT_VARIABLE_CHANGE_204015"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1204017
L7_1.name = "CHALLENGE_SUCCESS_204017"
L8_1 = EventType
L8_1 = L8_1.EVENT_CHALLENGE_SUCCESS
L7_1.event = L8_1
L7_1.source = "2040"
L7_1.condition = ""
L7_1.action = "action_EVENT_CHALLENGE_SUCCESS_204017"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1204018
L8_1.name = "CHALLENGE_FAIL_204018"
L9_1 = EventType
L9_1 = L9_1.EVENT_CHALLENGE_FAIL
L8_1.event = L9_1
L8_1.source = "2040"
L8_1.condition = ""
L8_1.action = "action_EVENT_CHALLENGE_FAIL_204018"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1204019
L9_1.name = "ANY_MONSTER_DIE_204019"
L10_1 = EventType
L10_1 = L10_1.EVENT_ANY_MONSTER_DIE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_ANY_MONSTER_DIE_204019"
L9_1.action = ""
L9_1.trigger_count = 0
L9_1.tag = "20492"
L10_1 = {}
L10_1.config_id = 1204020
L10_1.name = "ANY_MONSTER_DIE_204020"
L11_1 = EventType
L11_1 = L11_1.EVENT_ANY_MONSTER_DIE
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_ANY_MONSTER_DIE_204020"
L10_1.action = ""
L10_1.trigger_count = 0
L10_1.tag = "20491"
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "challengeStart"
L3_1.value = 0
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 2
L4_1.name = "challengeSuccess"
L4_1.value = 0
L4_1.no_refresh = false
L5_1 = {}
L5_1.configId = 3
L5_1.name = "hasReward"
L5_1.value = 0
L5_1.no_refresh = true
L6_1 = {}
L6_1.configId = 4
L6_1.name = "giveReward"
L6_1.value = 0
L6_1.no_refresh = false
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 2
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L5_1 = 204001
L6_1 = 204002
L7_1 = 204003
L8_1 = 204004
L9_1 = 204005
L10_1 = 204016
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 204006
L6_1 = 204007
L7_1 = 204008
L8_1 = 204009
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 204010
L6_1 = 204011
L7_1 = 204013
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_204010"
L6_1 = "LEAVE_REGION_204011"
L7_1 = "SELECT_OPTION_204014"
L8_1 = "VARIABLE_CHANGE_204015"
L9_1 = "CHALLENGE_SUCCESS_204017"
L10_1 = "CHALLENGE_FAIL_204018"
L11_1 = "ANY_MONSTER_DIE_204019"
L12_1 = "ANY_MONSTER_DIE_204020"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L4_1[8] = L12_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
L2_1[1] = L3_1
L2_1[2] = L4_1
suites = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 204010 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 < 1 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "challengeStart"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "challengeSuccess"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ENTER_REGION_204010 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "challengeStart"
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 = ScriptLib
L2_2 = L2_2.CreateFatherChallenge
L3_2 = A0_2
L4_2 = 2040
L5_2 = 2004001
L6_2 = 99999999
L7_2 = {}
L7_2.success = 2
L7_2.fail = 100
L7_2.fail_on_wipe = true
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2)
L2_2 = ScriptLib
L2_2 = L2_2.StartFatherChallenge
L3_2 = A0_2
L4_2 = 2040
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.AttachChildChallenge
L3_2 = A0_2
L4_2 = 2040
L5_2 = 2041
L6_2 = 2004002
L7_2 = {}
L8_2 = 1
L9_2 = 20491
L10_2 = 1
L7_2[1] = L8_2
L7_2[2] = L9_2
L7_2[3] = L10_2
L8_2 = {}
L9_2 = A0_2.uid
L8_2[1] = L9_2
L9_2 = {}
L9_2.success = 1
L9_2.fail = 100
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
L2_2 = ScriptLib
L2_2 = L2_2.AttachChildChallenge
L3_2 = A0_2
L4_2 = 2040
L5_2 = 2042
L6_2 = 2004003
L7_2 = {}
L8_2 = 1
L9_2 = 20492
L10_2 = L1_1.num_monster
L7_2[1] = L8_2
L7_2[2] = L9_2
L7_2[3] = L10_2
L8_2 = {}
L9_2 = A0_2.uid
L8_2[1] = L9_2
L9_2 = {}
L9_2.success = 1
L9_2.fail = 100
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_204010 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "challengeStart"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "challengeSuccess"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_LEAVE_REGION_204011 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.StopChallenge
L3_2 = A0_2
L4_2 = 2040
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_LEAVE_REGION_204011 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 204009 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 189 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_204014 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133108204
L5_2 = 204009
L6_2 = 189
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 : del_work_options_by_group_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 133108204
L5_2 = 204009
L6_2 = GadgetState
L6_2 = L6_2.GearStart
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 : set_gadget_state_by_GroupId_ConfigId"
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 = "giveReward"
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_SELECT_OPTION_204014 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "giveReward"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "hasReward"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_204015 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "hasReward"
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 = ScriptLib
L2_2 = L2_2.FinishGroupLinkBundle
L3_2 = A0_2
L4_2 = L1_1.group_id
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.GoToGroupSuite
L3_2 = A0_2
L4_2 = 133108204
L5_2 = 2
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 : goto_groupSuite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_204015 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 133108204
L5_2 = 204009
L6_2 = {}
L7_2 = 189
L6_2[1] = L7_2
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 : set_wok_options_by_configid"
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 = "challengeSuccess"
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_CHALLENGE_SUCCESS_204017 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "challengeStart"
L5_2 = 0
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 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133108204
L4_2.suite = 1
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_CHALLENGE_FAIL_204018 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param1
L3_2 = L1_1.id_boss
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_204019 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param1
L3_2 = L1_1.id_boss
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_204020 = L2_1
L2_1 = require
L3_1 = "V2_4/Firecracker"
L2_1(L3_1)