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

2106 lines
44 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, L19_1, L20_1, L21_1
L0_1 = {}
L0_1.group_id = 244006002
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2001
L2_1.gadget_id = 70360010
L3_1 = {}
L3_1.x = -0.021
L3_1.y = 0.047
L3_1.z = -0.085
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 = {}
L3_1.config_id = 2006
L3_1.gadget_id = 44000006
L4_1 = {}
L4_1.x = -0.271
L4_1.y = 0.046
L4_1.z = 13.765
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
L1_1[1] = L2_1
L1_1[2] = L3_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1002002
L2_1.name = "GADGET_CREATE_2002"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_CREATE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_CREATE_2002"
L2_1.action = "action_EVENT_GADGET_CREATE_2002"
L3_1 = {}
L3_1.config_id = 1002003
L3_1.name = "SELECT_OPTION_2003"
L4_1 = EventType
L4_1 = L4_1.EVENT_SELECT_OPTION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_SELECT_OPTION_2003"
L3_1.action = "action_EVENT_SELECT_OPTION_2003"
L4_1 = {}
L4_1.config_id = 1002012
L4_1.name = "VARIABLE_CHANGE_2012"
L5_1 = EventType
L5_1 = L5_1.EVENT_VARIABLE_CHANGE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_VARIABLE_CHANGE_2012"
L4_1.action = "action_EVENT_VARIABLE_CHANGE_2012"
L5_1 = {}
L5_1.config_id = 1002013
L5_1.name = "VARIABLE_CHANGE_2013"
L6_1 = EventType
L6_1 = L6_1.EVENT_VARIABLE_CHANGE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_VARIABLE_CHANGE_2013"
L5_1.action = "action_EVENT_VARIABLE_CHANGE_2013"
L6_1 = {}
L6_1.config_id = 1002014
L6_1.name = "POOL_MONSTER_TIDE_DIE_2014"
L7_1 = EventType
L7_1 = L7_1.EVENT_POOL_MONSTER_TIDE_DIE
L6_1.event = L7_1
L6_1.source = "1"
L6_1.condition = "condition_EVENT_POOL_MONSTER_TIDE_DIE_2014"
L6_1.action = "action_EVENT_POOL_MONSTER_TIDE_DIE_2014"
L7_1 = {}
L7_1.config_id = 1002015
L7_1.name = "POOL_MONSTER_TIDE_DIE_2015"
L8_1 = EventType
L8_1 = L8_1.EVENT_POOL_MONSTER_TIDE_DIE
L7_1.event = L8_1
L7_1.source = "2"
L7_1.condition = "condition_EVENT_POOL_MONSTER_TIDE_DIE_2015"
L7_1.action = "action_EVENT_POOL_MONSTER_TIDE_DIE_2015"
L8_1 = {}
L8_1.config_id = 1002016
L8_1.name = "POOL_MONSTER_TIDE_DIE_2016"
L9_1 = EventType
L9_1 = L9_1.EVENT_POOL_MONSTER_TIDE_DIE
L8_1.event = L9_1
L8_1.source = "3"
L8_1.condition = "condition_EVENT_POOL_MONSTER_TIDE_DIE_2016"
L8_1.action = "action_EVENT_POOL_MONSTER_TIDE_DIE_2016"
L9_1 = {}
L9_1.config_id = 1002017
L9_1.name = "POOL_MONSTER_TIDE_DIE_2017"
L10_1 = EventType
L10_1 = L10_1.EVENT_POOL_MONSTER_TIDE_DIE
L9_1.event = L10_1
L9_1.source = "4"
L9_1.condition = "condition_EVENT_POOL_MONSTER_TIDE_DIE_2017"
L9_1.action = "action_EVENT_POOL_MONSTER_TIDE_DIE_2017"
L10_1 = {}
L10_1.config_id = 1002018
L10_1.name = "CHALLENGE_SUCCESS_2018"
L11_1 = EventType
L11_1 = L11_1.EVENT_CHALLENGE_SUCCESS
L10_1.event = L11_1
L10_1.source = "201"
L10_1.condition = ""
L10_1.action = "action_EVENT_CHALLENGE_SUCCESS_2018"
L11_1 = {}
L11_1.config_id = 1002019
L11_1.name = "VARIABLE_CHANGE_2019"
L12_1 = EventType
L12_1 = L12_1.EVENT_VARIABLE_CHANGE
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_VARIABLE_CHANGE_2019"
L11_1.action = "action_EVENT_VARIABLE_CHANGE_2019"
L12_1 = {}
L12_1.config_id = 1002020
L12_1.name = "VARIABLE_CHANGE_2020"
L13_1 = EventType
L13_1 = L13_1.EVENT_VARIABLE_CHANGE
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_VARIABLE_CHANGE_2020"
L12_1.action = "action_EVENT_VARIABLE_CHANGE_2020"
L13_1 = {}
L13_1.config_id = 1002021
L13_1.name = "CHALLENGE_FAIL_2021"
L14_1 = EventType
L14_1 = L14_1.EVENT_CHALLENGE_FAIL
L13_1.event = L14_1
L13_1.source = "202"
L13_1.condition = ""
L13_1.action = "action_EVENT_CHALLENGE_FAIL_2021"
L14_1 = {}
L14_1.config_id = 1002022
L14_1.name = "CHALLENGE_SUCCESS_2022"
L15_1 = EventType
L15_1 = L15_1.EVENT_CHALLENGE_SUCCESS
L14_1.event = L15_1
L14_1.source = "202"
L14_1.condition = ""
L14_1.action = "action_EVENT_CHALLENGE_SUCCESS_2022"
L15_1 = {}
L15_1.config_id = 1002023
L15_1.name = "DUNGEON_ALL_AVATAR_DIE_2023"
L16_1 = EventType
L16_1 = L16_1.EVENT_DUNGEON_ALL_AVATAR_DIE
L15_1.event = L16_1
L15_1.source = ""
L15_1.condition = "condition_EVENT_DUNGEON_ALL_AVATAR_DIE_2023"
L15_1.action = "action_EVENT_DUNGEON_ALL_AVATAR_DIE_2023"
L15_1.trigger_count = 0
L16_1 = {}
L16_1.config_id = 1002024
L16_1.name = "CHALLENGE_FAIL_2024"
L17_1 = EventType
L17_1 = L17_1.EVENT_CHALLENGE_FAIL
L16_1.event = L17_1
L16_1.source = "101"
L16_1.condition = ""
L16_1.action = "action_EVENT_CHALLENGE_FAIL_2024"
L17_1 = {}
L17_1.config_id = 1002025
L17_1.name = "CHALLENGE_FAIL_2025"
L18_1 = EventType
L18_1 = L18_1.EVENT_CHALLENGE_FAIL
L17_1.event = L18_1
L17_1.source = "201"
L17_1.condition = ""
L17_1.action = "action_EVENT_CHALLENGE_FAIL_2025"
L18_1 = {}
L18_1.config_id = 1002026
L18_1.name = "CHALLENGE_FAIL_2026"
L19_1 = EventType
L19_1 = L19_1.EVENT_CHALLENGE_FAIL
L18_1.event = L19_1
L18_1.source = "201"
L18_1.condition = ""
L18_1.action = "action_EVENT_CHALLENGE_FAIL_2026"
L19_1 = {}
L19_1.config_id = 1002027
L19_1.name = "CHALLENGE_FAIL_2027"
L20_1 = EventType
L20_1 = L20_1.EVENT_CHALLENGE_FAIL
L19_1.event = L20_1
L19_1.source = "201"
L19_1.condition = ""
L19_1.action = "action_EVENT_CHALLENGE_FAIL_2027"
L20_1 = {}
L20_1.config_id = 1002028
L20_1.name = "CHALLENGE_FAIL_2028"
L21_1 = EventType
L21_1 = L21_1.EVENT_CHALLENGE_FAIL
L20_1.event = L21_1
L20_1.source = "201"
L20_1.condition = ""
L20_1.action = "action_EVENT_CHALLENGE_FAIL_2028"
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
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2004
L3_1 = {}
L3_1.x = -9.574
L3_1.y = 0.046
L3_1.z = -14.344
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.tag = 2
L3_1 = {}
L3_1.config_id = 2005
L4_1 = {}
L4_1.x = 0.061
L4_1.y = 0.046
L4_1.z = -16.714
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.tag = 2
L4_1 = {}
L4_1.config_id = 2007
L5_1 = {}
L5_1.x = 9.847
L5_1.y = 0.046
L5_1.z = -14.713
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.tag = 2
L5_1 = {}
L5_1.config_id = 2008
L6_1 = {}
L6_1.x = -4.148
L6_1.y = 0.047
L6_1.z = -6.747
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.tag = 4
L6_1 = {}
L6_1.config_id = 2009
L7_1 = {}
L7_1.x = -7.136
L7_1.y = 0.047
L7_1.z = -2.358
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.tag = 4
L7_1 = {}
L7_1.config_id = 2010
L8_1 = {}
L8_1.x = 4.451
L8_1.y = 0.047
L8_1.z = -6.898
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.tag = 4
L8_1 = {}
L8_1.config_id = 2011
L9_1 = {}
L9_1.x = 6.908
L9_1.y = 0.047
L9_1.z = -2.431
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.tag = 4
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
points = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "ROUND"
L2_1.value = 0
L2_1.no_refresh = false
L3_1 = {}
L3_1.configId = 2
L3_1.name = "IS_IN_LIMIT_TIME"
L3_1.value = 0
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 3
L4_1.name = "FIRST_WAVE_MONSTER_AFFIX"
L4_1.value = 0
L4_1.no_refresh = false
L5_1 = {}
L5_1.configId = 4
L5_1.name = "SECOND_WAVE_MONSTER_AFFIX"
L5_1.value = 0
L5_1.no_refresh = false
L6_1 = {}
L6_1.configId = 5
L6_1.name = "THIRD_WAVE_MONSTER_AFFIX"
L6_1.value = 0
L6_1.no_refresh = false
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
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 = 2001
L5_1 = 2006
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_CREATE_2002"
L5_1 = "SELECT_OPTION_2003"
L6_1 = "VARIABLE_CHANGE_2012"
L7_1 = "VARIABLE_CHANGE_2013"
L8_1 = "POOL_MONSTER_TIDE_DIE_2014"
L9_1 = "POOL_MONSTER_TIDE_DIE_2015"
L10_1 = "POOL_MONSTER_TIDE_DIE_2016"
L11_1 = "POOL_MONSTER_TIDE_DIE_2017"
L12_1 = "VARIABLE_CHANGE_2019"
L13_1 = "VARIABLE_CHANGE_2020"
L14_1 = "CHALLENGE_FAIL_2021"
L15_1 = "CHALLENGE_SUCCESS_2022"
L16_1 = "DUNGEON_ALL_AVATAR_DIE_2023"
L17_1 = "CHALLENGE_FAIL_2024"
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
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "CHALLENGE_SUCCESS_2018"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_2002 = L1_1
function L1_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 = 244006002
L5_2 = 2001
L6_2 = {}
L7_2 = 175
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 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_2002 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 175 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_2003 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2
L2_2 = 0
L3_2 = 0
L4_2 = 0
L5_2 = 0
L6_2 = 0
L7_2 = 0
L8_2 = 0
if not L8_2 then
L8_2 = -1
end
L9_2 = ScriptLib
L9_2 = L9_2.GetChannellerSlabLoopDungeonLimitTime
L10_2 = A0_2
L9_2 = L9_2(L10_2)
if L8_2 ~= L9_2 then
L8_2 = ScriptLib
L8_2 = L8_2.GetChannellerSlabLoopDungeonLimitTime
L9_2 = A0_2
L8_2 = L8_2(L9_2)
L2_2 = L8_2
end
L8_2 = ScriptLib
L8_2 = L8_2.IsChannellerSlabLoopDungeonConditionSelected
L9_2 = A0_2
L10_2 = 101
L8_2 = L8_2(L9_2, L10_2)
if false ~= L8_2 then
L3_2 = 1
end
L8_2 = ScriptLib
L8_2 = L8_2.IsChannellerSlabLoopDungeonConditionSelected
L9_2 = A0_2
L10_2 = 102
L8_2 = L8_2(L9_2, L10_2)
if false ~= L8_2 then
L4_2 = 1
end
L8_2 = ScriptLib
L8_2 = L8_2.IsChannellerSlabLoopDungeonConditionSelected
L9_2 = A0_2
L10_2 = 103
L8_2 = L8_2(L9_2, L10_2)
if false ~= L8_2 then
L5_2 = 1
end
L8_2 = ScriptLib
L8_2 = L8_2.IsChannellerSlabLoopDungeonConditionSelected
L9_2 = A0_2
L10_2 = 104
L8_2 = L8_2(L9_2, L10_2)
if false ~= L8_2 then
L6_2 = 1
end
L8_2 = ScriptLib
L8_2 = L8_2.IsChannellerSlabLoopDungeonConditionSelected
L9_2 = A0_2
L10_2 = 105
L8_2 = L8_2(L9_2, L10_2)
if false ~= L8_2 then
L7_2 = 1
end
L8_2 = ScriptLib
L8_2 = L8_2.AutoPoolMonsterTide
L9_2 = A0_2
L10_2 = 1
L11_2 = 244006002
L12_2 = {}
L13_2 = 13021
L12_2[1] = L13_2
L13_2 = 0
L14_2 = {}
L15_2 = {}
L16_2 = {}
L16_2.total_count = 2
L16_2.min_count = 2
L16_2.max_count = 2
L16_2.tag = 2
L16_2.fill_time = 0
L16_2.fill_count = 0
L8_2 = L8_2(L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2)
if 0 ~= L8_2 then
L8_2 = -1
return L8_2
end
if 0 ~= L5_2 then
L8_2 = ScriptLib
L8_2 = L8_2.AutoPoolMonsterTide
L9_2 = A0_2
L10_2 = 2
L11_2 = 244006002
L12_2 = {}
L13_2 = 13027
L12_2[1] = L13_2
L13_2 = 0
L14_2 = {}
L15_2 = {}
L16_2 = {}
L16_2.total_count = 4
L16_2.min_count = 4
L16_2.max_count = 4
L16_2.tag = 4
L16_2.fill_time = 0
L16_2.fill_count = 0
L8_2(L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2)
else
L8_2 = ScriptLib
L8_2 = L8_2.AutoPoolMonsterTide
L9_2 = A0_2
L10_2 = 2
L11_2 = 244006002
L12_2 = {}
L13_2 = 13022
L12_2[1] = L13_2
L13_2 = 0
L14_2 = {}
L15_2 = {}
L16_2 = {}
L16_2.total_count = 4
L16_2.min_count = 4
L16_2.max_count = 4
L16_2.tag = 4
L16_2.fill_time = 0
L16_2.fill_count = 0
L8_2(L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2)
end
L8_2 = ScriptLib
L8_2 = L8_2.SetGadgetStateByConfigId
L9_2 = A0_2
L10_2 = 2001
L11_2 = GadgetState
L11_2 = L11_2.GearStop
L8_2 = L8_2(L9_2, L10_2, L11_2)
if 0 ~= L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = ScriptLib
L8_2 = L8_2.DelWorktopOptionByGroupId
L9_2 = A0_2
L10_2 = 244006002
L11_2 = 2001
L12_2 = 175
L8_2 = L8_2(L9_2, L10_2, L11_2, L12_2)
if 0 ~= L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupVariableValue
L9_2 = A0_2
L10_2 = "ROUND"
L11_2 = 0
L8_2 = L8_2(L9_2, L10_2, L11_2)
if 0 ~= L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : set_groupVariable"
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = ScriptLib
L8_2 = L8_2.CreateFatherChallenge
L9_2 = A0_2
L10_2 = 101
L11_2 = 110180
L12_2 = 999999
L13_2 = {}
L13_2.success = 1
L13_2.fail = 1
L13_2.fail_on_wipe = false
L8_2 = L8_2(L9_2, L10_2, L11_2, L12_2, L13_2)
if 0 ~= L8_2 then
L8_2 = -1
return L8_2
end
L8_2 = ScriptLib
L8_2 = L8_2.AttachChildChallenge
L9_2 = A0_2
L10_2 = 101
L11_2 = 201
L12_2 = 110181
L13_2 = {}
L14_2 = 244006002
L15_2 = 16
L13_2[1] = L14_2
L13_2[2] = L15_2
L14_2 = {}
L15_2 = {}
L15_2.success = 0
L15_2.fail = 0
L8_2 = L8_2(L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2)
if 0 ~= L8_2 then
L8_2 = -1
return L8_2
end
if 0 ~= L2_2 then
L8_2 = ScriptLib
L8_2 = L8_2.AttachChildChallenge
L9_2 = A0_2
L10_2 = 101
L11_2 = 202
L12_2 = 110182
L13_2 = {}
L14_2 = L2_2
L15_2 = 244006002
L16_2 = 16
L13_2[1] = L14_2
L13_2[2] = L15_2
L13_2[3] = L16_2
L14_2 = {}
L15_2 = {}
L15_2.success = 0
L15_2.fail = 0
L8_2(L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2)
else
L8_2 = ScriptLib
L8_2 = L8_2.AddExtraGroupSuite
L9_2 = A0_2
L10_2 = 244006002
L11_2 = 2
L8_2(L9_2, L10_2, L11_2)
end
L8_2 = ScriptLib
L8_2 = L8_2.StartFatherChallenge
L9_2 = A0_2
L10_2 = 101
L8_2 = L8_2(L9_2, L10_2)
if 0 ~= L8_2 then
L8_2 = -1
return L8_2
end
if 0 ~= L6_2 then
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupVariableValue
L9_2 = A0_2
L10_2 = "SECOND_WAVE_MONSTER_AFFIX"
L11_2 = 1
L8_2(L9_2, L10_2, L11_2)
end
if 0 ~= L7_2 then
L8_2 = ScriptLib
L8_2 = L8_2.SetGroupVariableValue
L9_2 = A0_2
L10_2 = "THIRD_WAVE_MONSTER_AFFIX"
L11_2 = 1
L8_2(L9_2, L10_2, L11_2)
end
if 0 ~= L4_2 then
if 0 ~= L3_2 then
L8_2 = ScriptLib
L8_2 = L8_2.AddExtraGroupSuite
L9_2 = A0_2
L10_2 = 244006007
L11_2 = 2
L8_2(L9_2, L10_2, L11_2)
else
L8_2 = ScriptLib
L8_2 = L8_2.AddExtraGroupSuite
L9_2 = A0_2
L10_2 = 244006006
L11_2 = 2
L8_2(L9_2, L10_2, L11_2)
end
elseif 0 ~= L3_2 then
L8_2 = ScriptLib
L8_2 = L8_2.AddExtraGroupSuite
L9_2 = A0_2
L10_2 = 244006005
L11_2 = 2
L8_2(L9_2, L10_2, L11_2)
else
L8_2 = ScriptLib
L8_2 = L8_2.AddExtraGroupSuite
L9_2 = A0_2
L10_2 = 244006004
L11_2 = 2
L8_2(L9_2, L10_2, L11_2)
end
L8_2 = ScriptLib
L8_2 = L8_2.RemoveEntityByConfigId
L9_2 = A0_2
L10_2 = 244006002
L11_2 = EntityType
L11_2 = L11_2.GADGET
L12_2 = 2006
L8_2 = L8_2(L9_2, L10_2, L11_2, L12_2)
if 0 ~= L8_2 then
L8_2 = ScriptLib
L8_2 = L8_2.PrintContextLog
L9_2 = A0_2
L10_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
L8_2(L9_2, L10_2)
L8_2 = -1
return L8_2
end
L8_2 = 0
return L8_2
end
action_EVENT_SELECT_OPTION_2003 = L1_1
function L1_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 = "ROUND"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "SECOND_WAVE_MONSTER_AFFIX"
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_2012 = L1_1
function L1_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.AutoPoolMonsterTide
L3_2 = A0_2
L4_2 = 3
L5_2 = 244006002
L6_2 = {}
L7_2 = 13023
L6_2[1] = L7_2
L7_2 = 0
L8_2 = {}
L9_2 = {}
L10_2 = {}
L10_2.total_count = 3
L10_2.min_count = 3
L10_2.max_count = 3
L10_2.tag = 2
L10_2.fill_time = 0
L10_2.fill_count = 0
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AutoPoolMonsterTide
L3_2 = A0_2
L4_2 = 4
L5_2 = 244006002
L6_2 = {}
L7_2 = 13024
L6_2[1] = L7_2
L7_2 = 0
L8_2 = {}
L9_2 = {}
L10_2 = {}
L10_2.total_count = 4
L10_2.min_count = 4
L10_2.max_count = 4
L10_2.tag = 4
L10_2.fill_time = 0
L10_2.fill_count = 0
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 2
L6_2 = 244006004
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 2
L6_2 = 244006005
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_2012 = L1_1
function L1_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 = "ROUND"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 4 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "THIRD_WAVE_MONSTER_AFFIX"
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_2013 = L1_1
function L1_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.AutoPoolMonsterTide
L3_2 = A0_2
L4_2 = 5
L5_2 = 244006002
L6_2 = {}
L7_2 = 13025
L6_2[1] = L7_2
L7_2 = 0
L8_2 = {}
L9_2 = {}
L10_2 = {}
L10_2.total_count = 2
L10_2.min_count = 2
L10_2.max_count = 2
L10_2.tag = 2
L10_2.fill_time = 0
L10_2.fill_count = 0
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AutoPoolMonsterTide
L3_2 = A0_2
L4_2 = 6
L5_2 = 244006002
L6_2 = {}
L7_2 = 13026
L6_2[1] = L7_2
L7_2 = 0
L8_2 = {}
L9_2 = {}
L10_2 = {}
L10_2.total_count = 1
L10_2.min_count = 1
L10_2.max_count = 1
L10_2.tag = 4
L10_2.fill_time = 0
L10_2.fill_count = 0
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 4
L6_2 = 244006004
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 4
L6_2 = 244006005
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 4
L6_2 = 244006006
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 4
L6_2 = 244006007
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_2013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_POOL_MONSTER_TIDE_DIE_2014 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "ROUND"
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_POOL_MONSTER_TIDE_DIE_2014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 4 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_POOL_MONSTER_TIDE_DIE_2015 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "ROUND"
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_POOL_MONSTER_TIDE_DIE_2015 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 3 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_POOL_MONSTER_TIDE_DIE_2016 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "ROUND"
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_POOL_MONSTER_TIDE_DIE_2016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 4 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_POOL_MONSTER_TIDE_DIE_2017 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "ROUND"
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_POOL_MONSTER_TIDE_DIE_2017 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 6
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.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 6
L6_2 = 244006004
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 6
L6_2 = 244006005
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 6
L6_2 = 244006006
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 6
L6_2 = 244006007
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.StopChallenge
L3_2 = A0_2
L4_2 = 101
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_2018 = L1_1
function L1_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 = "ROUND"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "SECOND_WAVE_MONSTER_AFFIX"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_2019 = L1_1
function L1_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.AutoPoolMonsterTide
L3_2 = A0_2
L4_2 = 3
L5_2 = 244006002
L6_2 = {}
L7_2 = 13023
L6_2[1] = L7_2
L7_2 = 0
L8_2 = {}
L9_2 = {}
L10_2 = {}
L10_2.total_count = 3
L10_2.min_count = 3
L10_2.max_count = 3
L10_2.tag = 2
L10_2.fill_time = 0
L10_2.fill_count = 0
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AutoPoolMonsterTide
L3_2 = A0_2
L4_2 = 4
L5_2 = 244006002
L6_2 = {}
L7_2 = 13028
L6_2[1] = L7_2
L7_2 = 0
L8_2 = {}
L9_2 = {}
L10_2 = {}
L10_2.total_count = 4
L10_2.min_count = 4
L10_2.max_count = 4
L10_2.tag = 4
L10_2.fill_time = 0
L10_2.fill_count = 0
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 2
L6_2 = 244006004
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 2
L6_2 = 244006005
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_2019 = L1_1
function L1_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 = "ROUND"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 4 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "THIRD_WAVE_MONSTER_AFFIX"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_2020 = L1_1
function L1_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.AutoPoolMonsterTide
L3_2 = A0_2
L4_2 = 5
L5_2 = 244006002
L6_2 = {}
L7_2 = 13025
L6_2[1] = L7_2
L7_2 = 0
L8_2 = {}
L9_2 = {}
L10_2 = {}
L10_2.total_count = 2
L10_2.min_count = 2
L10_2.max_count = 2
L10_2.tag = 2
L10_2.fill_time = 0
L10_2.fill_count = 0
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AutoPoolMonsterTide
L3_2 = A0_2
L4_2 = 6
L5_2 = 244006002
L6_2 = {}
L7_2 = 13029
L6_2[1] = L7_2
L7_2 = 0
L8_2 = {}
L9_2 = {}
L10_2 = {}
L10_2.total_count = 1
L10_2.min_count = 1
L10_2.max_count = 1
L10_2.tag = 4
L10_2.fill_time = 0
L10_2.fill_count = 0
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 4
L6_2 = 244006004
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 4
L6_2 = 244006005
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 4
L6_2 = 244006006
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 4
L6_2 = 244006007
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_2020 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "IS_IN_LIMIT_TIME"
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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 244006002
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_2021 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "IS_IN_LIMIT_TIME"
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.StopChallenge
L3_2 = A0_2
L4_2 = 101
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 6
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.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 6
L6_2 = 244006004
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 6
L6_2 = 244006005
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 6
L6_2 = 244006006
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "ROUND"
L5_2 = 6
L6_2 = 244006007
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_2022 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2
L2_2 = ScriptLib
L2_2 = L2_2.GetSceneUidList
L3_2 = A0_2
L2_2 = L2_2(L3_2)
L3_2 = 0
L4_2 = ipairs
L5_2 = L2_2
L4_2, L5_2, L6_2 = L4_2(L5_2)
for L7_2, L8_2 in L4_2, L5_2, L6_2 do
L9_2 = ScriptLib
L9_2 = L9_2.IsPlayerAllAvatarDie
L10_2 = A0_2
L11_2 = L8_2
L9_2 = L9_2(L10_2, L11_2)
if true ~= L9_2 then
L3_2 = -1
break
end
end
if L3_2 ~= 0 then
L4_2 = false
return L4_2
end
L4_2 = true
return L4_2
end
condition_EVENT_DUNGEON_ALL_AVATAR_DIE_2023 = 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.StopChallenge
L3_2 = A0_2
L4_2 = 101
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.CauseDungeonFail
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : cause_dungeonfail"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_DUNGEON_ALL_AVATAR_DIE_2023 = 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 = 244006004
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_ALL
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_entity_by_group"
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 = 244006004
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 = ScriptLib
L2_2 = L2_2.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 244006005
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_ALL
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_entity_by_group"
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 = 244006005
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 = ScriptLib
L2_2 = L2_2.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 244006006
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_ALL
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_entity_by_group"
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 = 244006006
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 = ScriptLib
L2_2 = L2_2.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 244006007
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_ALL
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_entity_by_group"
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 = 244006007
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 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 244006002
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_2024 = 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.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 244006004
L5_2 = 4001
L6_2 = GadgetState
L6_2 = L6_2.Default
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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 244006004
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_ALL
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_entity_by_group"
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 = 244006004
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_2025 = 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.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 244006005
L5_2 = 5001
L6_2 = GadgetState
L6_2 = L6_2.Default
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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 244006005
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_ALL
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_entity_by_group"
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 = 244006005
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_2026 = 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.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 244006006
L5_2 = 6001
L6_2 = GadgetState
L6_2 = L6_2.Default
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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 244006006
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_ALL
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_entity_by_group"
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 = 244006006
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_2027 = 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.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 244006007
L5_2 = 7001
L6_2 = GadgetState
L6_2 = L6_2.Default
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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 244006007
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_ALL
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_entity_by_group"
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 = 244006007
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_2028 = L1_1