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

855 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, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1
L0_1 = {}
L0_1.group_id = 133210334
L1_1 = {}
L1_1.duration = 240
L1_1.kill_sum = 15
L1_1.group_id = 133210334
L1_1.gadget_controller_id = 334007
L2_1 = {}
L3_1 = {}
L3_1.config_id = 334001
L3_1.monster_id = 20011301
L4_1 = {}
L4_1.x = -3570.127
L4_1.y = 200.788
L4_1.z = -524.584
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 342.386
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.area_id = 17
L4_1 = {}
L4_1.config_id = 334002
L4_1.monster_id = 20011301
L5_1 = {}
L5_1.x = -3561.655
L5_1.y = 200.72
L5_1.z = -521.446
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 321.476
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.area_id = 17
L5_1 = {}
L5_1.config_id = 334003
L5_1.monster_id = 20060301
L6_1 = {}
L6_1.x = -3565.0
L6_1.y = 201.112
L6_1.z = -525.231
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 340.832
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 = 101
L5_1.area_id = 17
L6_1 = {}
L6_1.config_id = 334004
L6_1.monster_id = 20011501
L7_1 = {}
L7_1.x = -3569.707
L7_1.y = 200.201
L7_1.z = -501.192
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 178.669
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 = 17
L7_1 = {}
L7_1.config_id = 334014
L7_1.monster_id = 20010901
L8_1 = {}
L8_1.x = -3575.59
L8_1.y = 200.0
L8_1.z = -518.867
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 53.802
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.area_id = 17
L8_1 = {}
L8_1.config_id = 334015
L8_1.monster_id = 20010901
L9_1 = {}
L9_1.x = -3561.234
L9_1.y = 200.003
L9_1.z = -511.811
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 246.335
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_id = 1000100
L8_1.disableWander = true
L8_1.area_id = 17
L9_1 = {}
L9_1.config_id = 334016
L9_1.monster_id = 20011501
L10_1 = {}
L10_1.x = -3578.851
L10_1.y = 200.226
L10_1.z = -506.532
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 132.718
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.drop_id = 1000100
L9_1.disableWander = true
L9_1.area_id = 17
L10_1 = {}
L10_1.config_id = 334017
L10_1.monster_id = 20060101
L11_1 = {}
L11_1.x = -3574.052
L11_1.y = 200.653
L11_1.z = -503.592
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 161.985
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.drop_id = 1000100
L10_1.disableWander = true
L10_1.pose_id = 101
L10_1.area_id = 17
L11_1 = {}
L11_1.config_id = 334018
L11_1.monster_id = 20010401
L12_1 = {}
L12_1.x = -3574.843
L12_1.y = 200.096
L12_1.z = -523.785
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 9.389
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.drop_id = 1000100
L11_1.disableWander = true
L11_1.area_id = 17
L12_1 = {}
L12_1.config_id = 334019
L12_1.monster_id = 20010401
L13_1 = {}
L13_1.x = -3557.705
L13_1.y = 200.0
L13_1.z = -515.578
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 279.949
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.drop_id = 1000100
L12_1.disableWander = true
L12_1.area_id = 17
L13_1 = {}
L13_1.config_id = 334021
L13_1.monster_id = 20011101
L14_1 = {}
L14_1.x = -3558.292
L14_1.y = 200.296
L14_1.z = -519.343
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 297.092
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.drop_id = 1000100
L13_1.disableWander = true
L13_1.area_id = 17
L14_1 = {}
L14_1.config_id = 334022
L14_1.monster_id = 20011101
L15_1 = {}
L15_1.x = -3573.033
L15_1.y = 200.394
L15_1.z = -524.774
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 20.325
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.drop_id = 1000100
L14_1.disableWander = true
L14_1.area_id = 17
L15_1 = {}
L15_1.config_id = 334023
L15_1.monster_id = 20011101
L16_1 = {}
L16_1.x = -3566.266
L16_1.y = 200.911
L16_1.z = -522.867
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 340.053
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L15_1.drop_id = 1000100
L15_1.disableWander = true
L15_1.area_id = 17
L16_1 = {}
L16_1.config_id = 334024
L16_1.monster_id = 20060201
L17_1 = {}
L17_1.x = -3577.524
L17_1.y = 200.117
L17_1.z = -510.031
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 129.364
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L16_1.drop_id = 1000100
L16_1.disableWander = true
L16_1.pose_id = 101
L16_1.area_id = 17
L17_1 = {}
L17_1.config_id = 334025
L17_1.monster_id = 20060201
L18_1 = {}
L18_1.x = -3566.316
L18_1.y = 200.019
L18_1.z = -504.263
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 188.057
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L17_1.drop_id = 1000100
L17_1.disableWander = true
L17_1.pose_id = 101
L17_1.area_id = 17
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
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
L2_1[12] = L14_1
L2_1[13] = L15_1
L2_1[14] = L16_1
L2_1[15] = L17_1
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 334005
L3_1.gadget_id = 70350082
L4_1 = {}
L4_1.x = -3569.179
L4_1.y = 200.578
L4_1.z = -514.152
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 = 30
L3_1.persistent = true
L3_1.area_id = 17
L4_1 = {}
L4_1.config_id = 334006
L4_1.gadget_id = 70330082
L5_1 = {}
L5_1.x = -3569.084
L5_1.y = 201.572
L5_1.z = -514.032
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.level = 30
L4_1.area_id = 17
L5_1 = {}
L5_1.config_id = 334007
L5_1.gadget_id = 70360001
L6_1 = {}
L6_1.x = -3569.179
L6_1.y = 201.561
L6_1.z = -514.152
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.level = 30
L5_1.persistent = true
L5_1.area_id = 17
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
gadgets = L2_1
L2_1 = {}
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1334008
L3_1.name = "ANY_MONSTER_DIE_334008"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_334008"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_334008"
L4_1 = {}
L4_1.config_id = 1334009
L4_1.name = "SELECT_OPTION_334009"
L5_1 = EventType
L5_1 = L5_1.EVENT_SELECT_OPTION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_SELECT_OPTION_334009"
L4_1.action = "action_EVENT_SELECT_OPTION_334009"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1334010
L5_1.name = "CHALLENGE_SUCCESS_334010"
L6_1 = EventType
L6_1 = L6_1.EVENT_CHALLENGE_SUCCESS
L5_1.event = L6_1
L5_1.source = "180"
L5_1.condition = ""
L5_1.action = "action_EVENT_CHALLENGE_SUCCESS_334010"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1334011
L6_1.name = "CHALLENGE_FAIL_334011"
L7_1 = EventType
L7_1 = L7_1.EVENT_CHALLENGE_FAIL
L6_1.event = L7_1
L6_1.source = "180"
L6_1.condition = ""
L6_1.action = "action_EVENT_CHALLENGE_FAIL_334011"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1334012
L7_1.name = "GADGET_STATE_CHANGE_334012"
L8_1 = EventType
L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_334012"
L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_334012"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1334013
L8_1.name = "GADGET_CREATE_334013"
L9_1 = EventType
L9_1 = L9_1.EVENT_GADGET_CREATE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_GADGET_CREATE_334013"
L8_1.action = "action_EVENT_GADGET_CREATE_334013"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1334020
L9_1.name = "ANY_MONSTER_DIE_334020"
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_334020"
L9_1.action = "action_EVENT_ANY_MONSTER_DIE_334020"
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
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "hasFinished"
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 = 334005
L6_1 = 334006
L7_1 = 334007
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "SELECT_OPTION_334009"
L6_1 = "CHALLENGE_SUCCESS_334010"
L7_1 = "CHALLENGE_FAIL_334011"
L8_1 = "GADGET_STATE_CHANGE_334012"
L9_1 = "GADGET_CREATE_334013"
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 = 334001
L7_1 = 334002
L8_1 = 334003
L9_1 = 334014
L10_1 = 334015
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_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_334008"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L7_1 = 334004
L8_1 = 334016
L9_1 = 334017
L10_1 = 334018
L11_1 = 334019
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 = {}
L7_1 = "ANY_MONSTER_DIE_334020"
L6_1[1] = L7_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L6_1 = {}
L7_1 = {}
L8_1 = 334021
L9_1 = 334022
L10_1 = 334023
L11_1 = 334024
L12_1 = 334025
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_1
L7_1[4] = L11_1
L7_1[5] = L12_1
L6_1.monsters = L7_1
L7_1 = {}
L6_1.gadgets = L7_1
L7_1 = {}
L6_1.regions = L7_1
L7_1 = {}
L6_1.triggers = L7_1
L6_1.rand_weight = 100
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
suites = L2_1
function L2_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_334008 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133210334
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_334008 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 334007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 177 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_334009 = 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.ActiveChallenge
L3_2 = A0_2
L4_2 = 180
L5_2 = 76
L6_2 = L1_1.duration
L7_2 = L1_1.group_id
L8_2 = L1_1.kill_sum
L9_2 = 0
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 = 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.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.gadget_controller_id
L4_2.config_id = L5_2
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 334005
L5_2 = GadgetState
L5_2 = L5_2.GearStart
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_334009 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 334005
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 334006
L5_2 = GadgetState
L5_2 = L5_2.Default
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_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "hasFinished"
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_CHALLENGE_SUCCESS_334010 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 334005
L5_2 = GadgetState
L5_2 = L5_2.Default
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_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 334007
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 : create_gadget"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 334006
L5_2 = GadgetState
L5_2 = L5_2.Default
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_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133210334
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133210334
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_334011 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param2
if 334005 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStart
L3_2 = A1_2.param1
if L2_2 == L3_2 then
goto lbl_11
end
end
L2_2 = false
do return L2_2 end
::lbl_11::
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "hasFinished"
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_GADGET_STATE_CHANGE_334012 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 334006
L5_2 = GadgetState
L5_2 = L5_2.GearStart
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_gadget_state_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_STATE_CHANGE_334012 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 334007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_334013 = 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 = 133210334
L5_2 = 334007
L6_2 = {}
L7_2 = 177
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_334013 = L2_1
function L2_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_334020 = 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.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133210334
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_334020 = L2_1