Grasscutter_Resources/Resources/Scripts/Activity/2001/activity2001_group302001019.lua
2022-04-29 16:40:51 +02:00

828 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 = 302001019
L1_1 = {}
L1_1.radius = 10
L1_1.group_id = 302001019
L1_1.gadget_id = 19011
L1_1.battle_time = 600
L1_1.auto_decline = 30
L1_1.max_energy = 300
L2_1 = {}
L3_1 = {}
L3_1.config_id = 19001
L3_1.monster_id = 20010501
L4_1 = {}
L4_1.x = 1776.37
L4_1.y = 216.746
L4_1.z = 708.374
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 322.246
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L4_1 = {}
L5_1 = 4109
L6_1 = 4108
L7_1 = 4107
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.affix = L4_1
L3_1.kill_score = 20
L3_1.area_id = 5
L4_1 = {}
L4_1.config_id = 19002
L4_1.monster_id = 20010501
L5_1 = {}
L5_1.x = 1771.183
L5_1.y = 216.746
L5_1.z = 711.098
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 92.816
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L5_1 = {}
L6_1 = 4109
L7_1 = 4108
L8_1 = 4107
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L4_1.affix = L5_1
L4_1.kill_score = 20
L4_1.area_id = 5
L5_1 = {}
L5_1.config_id = 19003
L5_1.monster_id = 20010501
L6_1 = {}
L6_1.x = 1773.912
L6_1.y = 216.746
L6_1.z = 713.639
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 162.369
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_id = 1000100
L6_1 = {}
L7_1 = 4109
L8_1 = 4108
L9_1 = 4107
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L5_1.affix = L6_1
L5_1.kill_score = 20
L5_1.area_id = 5
L6_1 = {}
L6_1.config_id = 19004
L6_1.monster_id = 20010501
L7_1 = {}
L7_1.x = 1777.042
L7_1.y = 216.746
L7_1.z = 708.764
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 309.397
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_id = 1000100
L7_1 = {}
L8_1 = 4109
L9_1 = 4108
L10_1 = 4107
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_1
L6_1.affix = L7_1
L6_1.kill_score = 20
L6_1.area_id = 5
L7_1 = {}
L7_1.config_id = 19006
L7_1.monster_id = 20010601
L8_1 = {}
L8_1.x = 1778.732
L8_1.y = 216.746
L8_1.z = 709.262
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 274.644
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1000100
L8_1 = {}
L9_1 = 4109
L10_1 = 4108
L11_1 = 4107
L8_1[1] = L9_1
L8_1[2] = L10_1
L8_1[3] = L11_1
L7_1.affix = L8_1
L7_1.kill_score = 50
L7_1.area_id = 5
L8_1 = {}
L8_1.config_id = 19007
L8_1.monster_id = 20010701
L9_1 = {}
L9_1.x = 1777.994
L9_1.y = 216.746
L9_1.z = 713.961
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 244.198
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_id = 1000100
L9_1 = {}
L10_1 = 4109
L11_1 = 4108
L12_1 = 4107
L9_1[1] = L10_1
L9_1[2] = L11_1
L9_1[3] = L12_1
L8_1.affix = L9_1
L8_1.kill_score = 50
L8_1.area_id = 5
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 = 19011
L3_1.gadget_id = 70710208
L4_1 = {}
L4_1.x = 1774.749
L4_1.y = 216.691
L4_1.z = 710.904
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 = 15
L3_1.persistent = true
L3_1.area_id = 5
L2_1[1] = L3_1
gadgets = L2_1
L2_1 = {}
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1019005
L3_1.name = "TIMER_EVENT_19005"
L4_1 = EventType
L4_1 = L4_1.EVENT_TIMER_EVENT
L3_1.event = L4_1
L3_1.source = "timer1"
L3_1.condition = ""
L3_1.action = "action_EVENT_TIMER_EVENT_19005"
L4_1 = {}
L4_1.config_id = 1019012
L4_1.name = "GADGET_CREATE_19012"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_CREATE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_CREATE_19012"
L4_1.action = "action_EVENT_GADGET_CREATE_19012"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1019013
L5_1.name = "SELECT_OPTION_19013"
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_19013"
L5_1.action = "action_EVENT_SELECT_OPTION_19013"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1019014
L6_1.name = "ANY_MONSTER_LIVE_19014"
L7_1 = EventType
L7_1 = L7_1.EVENT_ANY_MONSTER_LIVE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_19014"
L6_1.action = "action_EVENT_ANY_MONSTER_LIVE_19014"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1019015
L7_1.name = "MONSTER_TIDE_DIE_19015"
L8_1 = EventType
L8_1 = L8_1.EVENT_MONSTER_TIDE_DIE
L7_1.event = L8_1
L7_1.source = "1"
L7_1.condition = "condition_EVENT_MONSTER_TIDE_DIE_19015"
L7_1.action = "action_EVENT_MONSTER_TIDE_DIE_19015"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1019016
L8_1.name = "MONSTER_TIDE_DIE_19016"
L9_1 = EventType
L9_1 = L9_1.EVENT_MONSTER_TIDE_DIE
L8_1.event = L9_1
L8_1.source = "2"
L8_1.condition = "condition_EVENT_MONSTER_TIDE_DIE_19016"
L8_1.action = "action_EVENT_MONSTER_TIDE_DIE_19016"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1019021
L9_1.name = "SEAL_BATTLE_END_19021"
L10_1 = EventType
L10_1 = L10_1.EVENT_SEAL_BATTLE_END
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_SEAL_BATTLE_END_19021"
L9_1.action = "action_EVENT_SEAL_BATTLE_END_19021"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1019022
L10_1.name = "SELECT_OPTION_19022"
L11_1 = EventType
L11_1 = L11_1.EVENT_SELECT_OPTION
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_SELECT_OPTION_19022"
L10_1.action = "action_EVENT_SELECT_OPTION_19022"
L10_1.trigger_count = 0
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 = "isDone"
L3_1.value = 0
L3_1.no_refresh = false
L2_1[1] = L3_1
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 19011
L4_1[1] = L5_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "TIMER_EVENT_19005"
L6_1 = "GADGET_CREATE_19012"
L7_1 = "SELECT_OPTION_19013"
L8_1 = "SEAL_BATTLE_END_19021"
L9_1 = "SELECT_OPTION_19022"
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
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 19001
L5_1[1] = L6_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_LIVE_19014"
L7_1 = "MONSTER_TIDE_DIE_19015"
L8_1 = "MONSTER_TIDE_DIE_19016"
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L7_1 = 19002
L8_1 = 19003
L9_1 = 19004
L10_1 = 19006
L11_1 = 19007
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L6_1[5] = L11_1
L5_1.monsters = L6_1
L6_1 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
suites = 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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.group_id
L4_2.group_id = L5_2
L5_2 = L1_1.gadget_id
L4_2.config_id = L5_2
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.CancelGroupTimerEvent
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = "timer1"
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_19005 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 19011 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_19012 = 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 = 302001019
L5_2 = 19011
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 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_19012 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 19011 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param1
if 19011 ~= 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 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "isDone"
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_SELECT_OPTION_19013 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = L1_1.gadget_id
L5_2 = GadgetState
L5_2 = L5_2.GearStart
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = L1_1.gadget_id
L6_2 = 189
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.StartSealBattle
L3_2 = A0_2
L4_2 = L1_1.gadget_id
L5_2 = {}
L6_2 = L1_1.radius
L5_2.radius = L6_2
L6_2 = L1_1.battle_time
L5_2.battle_time = L6_2
L6_2 = L1_1.group_id
L5_2.monster_group_id = L6_2
L5_2.default_kill_charge = 0
L5_2.auto_charge = 0
L6_2 = L1_1.auto_decline
L5_2.auto_decline = L6_2
L6_2 = L1_1.max_energy
L5_2.max_energy = L6_2
L6_2 = SealBattleType
L6_2 = L6_2.ENERGY_CHARGE
L5_2.battle_type = L6_2
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = 0
return L3_2
end
action_EVENT_SELECT_OPTION_19013 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 19001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "isDone"
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_ANY_MONSTER_LIVE_19014 = 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
L2_2 = ScriptLib
L2_2 = L2_2.AutoMonsterTide
L3_2 = A0_2
L4_2 = 1
L5_2 = 302001019
L6_2 = {}
L7_2 = 19002
L8_2 = 19003
L6_2[1] = L7_2
L6_2[2] = L8_2
L7_2 = 3
L8_2 = 2
L9_2 = 2
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_LIVE_19014 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 3 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "isDone"
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_MONSTER_TIDE_DIE_19015 = 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
L2_2 = ScriptLib
L2_2 = L2_2.AutoMonsterTide
L3_2 = A0_2
L4_2 = 2
L5_2 = 302001019
L6_2 = {}
L7_2 = 19006
L8_2 = 19007
L6_2[1] = L7_2
L6_2[2] = L8_2
L7_2 = 2
L8_2 = 1
L9_2 = 2
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_MONSTER_TIDE_DIE_19015 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 2 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "isDone"
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_MONSTER_TIDE_DIE_19016 = 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
L2_2 = ScriptLib
L2_2 = L2_2.AutoMonsterTide
L3_2 = A0_2
L4_2 = 1
L5_2 = 302001019
L6_2 = {}
L7_2 = 19002
L8_2 = 19003
L9_2 = 19004
L6_2[1] = L7_2
L6_2[2] = L8_2
L6_2[3] = L9_2
L7_2 = 3
L8_2 = 1
L9_2 = 3
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_MONSTER_TIDE_DIE_19016 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 19011 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SEAL_BATTLE_END_19021 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L2_2 = A1_2.param2
if L2_2 == 0 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "isDone"
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillMonsterTide
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillMonsterTide
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = L1_1.gadget_id
L5_2 = GadgetState
L5_2 = L5_2.Default
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = L1_1.gadget_id
L6_2 = {}
L7_2 = 189
L6_2[1] = L7_2
L2_2(L3_2, L4_2, L5_2, L6_2)
else
L2_2 = A1_2.param2
if L2_2 == 1 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "isDone"
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillMonsterTide
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillMonsterTide
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = L1_1.gadget_id
L5_2 = GadgetState
L5_2 = L5_2.GearStop
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "302001019"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = "timer1"
L6_2 = 3
L2_2(L3_2, L4_2, L5_2, L6_2)
end
end
L2_2 = 0
return L2_2
end
action_EVENT_SEAL_BATTLE_END_19021 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
if 19011 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param1
if 19011 ~= 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 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "isDone"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_19022 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "isDone"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = L1_1.gadget_id
L5_2 = GadgetState
L5_2 = L5_2.GearStart
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = L1_1.gadget_id
L6_2 = 189
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.StartSealBattle
L3_2 = A0_2
L4_2 = L1_1.gadget_id
L5_2 = {}
L6_2 = L1_1.radius
L5_2.radius = L6_2
L6_2 = L1_1.battle_time
L5_2.battle_time = L6_2
L6_2 = L1_1.group_id
L5_2.monster_group_id = L6_2
L5_2.default_kill_charge = 0
L5_2.auto_charge = 0
L6_2 = L1_1.auto_decline
L5_2.auto_decline = L6_2
L6_2 = L1_1.max_energy
L5_2.max_energy = L6_2
L6_2 = SealBattleType
L6_2 = L6_2.ENERGY_CHARGE
L5_2.battle_type = L6_2
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_2 = 0
return L3_2
end
action_EVENT_SELECT_OPTION_19022 = L2_1