Grasscutter_Resources/Resources/Scripts/Activity/5001/activity5001_group305001001.lua
hartie95 e7d859bf67 script fixes for luaj
* added lua context to ScriptLib function calls where missing
* fixed parameters for some calls
2022-09-05 01:00:35 +02:00

2094 lines
41 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, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1
L0_1 = {}
L0_1.group_id = 305001001
L1_1 = {}
L2_1 = {}
L3_1 = 45
L4_1 = 165
L5_1 = 285
L6_1 = 405
L7_1 = 525
L8_1 = 650
L9_1 = 775
L10_1 = 855
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
L1_1.crucible_timer = L2_1
L1_1.bonus_time = 60
L1_1.stage_group_Water = 133003554
L1_1.stage_group_Fire = 133003555
L1_1.stage_group_Electric = 133003556
L1_1.stage_group_Ice = 133003557
L1_1.stage_group_bonus = 133003549
L1_1.timer_extra_group = 133003568
L1_1.monster_bonus_group = 133003550
L2_1 = {}
L3_1 = 10
L4_1 = 5
L2_1[1] = L3_1
L2_1[2] = L4_1
L1_1.crucible_timer_info = L2_1
L1_1.group_id = 305001001
L1_1.gadget_crucible = 1001
L1_1.gadget_prepare = 1015
L1_1.stage_bonus_suite = 10
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1
L4_1 = {}
L4_1.x = 2349.235
L4_1.y = 283.8984
L4_1.z = -1716.95
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0
L4_1.y = 189.4293
L4_1.z = 0
L3_1.rot = L4_1
L4_1 = {}
L4_1.config_id = 2
L5_1 = {}
L5_1.x = 2342.74854
L5_1.y = 283.898438
L5_1.z = -1730.98035
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0
L5_1.y = 0
L5_1.z = 0
L4_1.rot = L5_1
L5_1 = {}
L5_1.config_id = 3
L6_1 = {}
L6_1.x = 2346.308
L6_1.y = 283.784
L6_1.z = -1735.868
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
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
points = L2_1
L2_1 = {}
L3_1 = {}
L3_1.name = "Water"
L4_1 = {}
L5_1 = {}
L6_1 = 2
L5_1[1] = L6_1
L4_1[1] = L5_1
L5_1 = {}
L6_1 = 6
L5_1[1] = L6_1
L4_1[2] = L5_1
L3_1.suite = L4_1
L2_1[1] = L3_1
L3_1 = {}
L3_1.name = "Fire"
L4_1 = {}
L5_1 = {}
L6_1 = 3
L5_1[1] = L6_1
L4_1[1] = L5_1
L5_1 = {}
L6_1 = 7
L5_1[1] = L6_1
L4_1[2] = L5_1
L3_1.suite = L4_1
L2_1[2] = L3_1
L3_1 = {}
L3_1.name = "Electric"
L4_1 = {}
L5_1 = {}
L6_1 = 4
L5_1[1] = L6_1
L4_1[1] = L5_1
L5_1 = {}
L6_1 = 8
L5_1[1] = L6_1
L4_1[2] = L5_1
L3_1.suite = L4_1
L2_1[3] = L3_1
L3_1 = {}
L3_1.name = "Ice"
L4_1 = {}
L5_1 = {}
L6_1 = 5
L5_1[1] = L6_1
L4_1[1] = L5_1
L5_1 = {}
L6_1 = 9
L5_1[1] = L6_1
L4_1[2] = L5_1
L3_1.suite = L4_1
L2_1[4] = L3_1
L3_1 = {}
L3_1.name = "Wind"
L4_1 = {}
L3_1.suite = L4_1
L2_1[5] = L3_1
L3_1 = {}
L3_1.name = "Rock"
L4_1 = {}
L3_1.suite = L4_1
L2_1[6] = L3_1
L3_1 = {}
L3_1.name = "Grass"
L4_1 = {}
L3_1.suite = L4_1
L2_1[7] = L3_1
L1_1.monster_bonus_suite = L2_1
L2_1 = {}
L3_1 = {}
L3_1.name = "Water"
L4_1 = {}
L5_1 = {}
L6_1 = 2
L5_1[1] = L6_1
L4_1[1] = L5_1
L5_1 = {}
L6_1 = 3
L5_1[1] = L6_1
L4_1[2] = L5_1
L3_1.suite = L4_1
L2_1[1] = L3_1
L3_1 = {}
L3_1.name = "Fire"
L4_1 = {}
L5_1 = {}
L6_1 = 2
L5_1[1] = L6_1
L4_1[1] = L5_1
L5_1 = {}
L6_1 = 3
L5_1[1] = L6_1
L4_1[2] = L5_1
L3_1.suite = L4_1
L2_1[2] = L3_1
L3_1 = {}
L3_1.name = "Electric"
L4_1 = {}
L5_1 = {}
L6_1 = 2
L5_1[1] = L6_1
L4_1[1] = L5_1
L5_1 = {}
L6_1 = 3
L5_1[1] = L6_1
L4_1[2] = L5_1
L3_1.suite = L4_1
L2_1[3] = L3_1
L3_1 = {}
L3_1.name = "Ice"
L4_1 = {}
L5_1 = {}
L6_1 = 2
L5_1[1] = L6_1
L4_1[1] = L5_1
L5_1 = {}
L6_1 = 3
L5_1[1] = L6_1
L4_1[2] = L5_1
L3_1.suite = L4_1
L2_1[4] = L3_1
L3_1 = {}
L3_1.name = "Wind"
L4_1 = {}
L3_1.suite = L4_1
L2_1[5] = L3_1
L3_1 = {}
L3_1.name = "Rock"
L4_1 = {}
L3_1.suite = L4_1
L2_1[6] = L3_1
L3_1 = {}
L3_1.name = "Grass"
L4_1 = {}
L3_1.suite = L4_1
L2_1[7] = L3_1
L3_1 = {}
L4_1 = {}
L4_1.name = "Water"
L5_1 = {}
L6_1 = {}
L7_1 = 2
L6_1[1] = L7_1
L5_1[1] = L6_1
L6_1 = {}
L7_1 = 6
L6_1[1] = L7_1
L5_1[2] = L6_1
L4_1.suite = L5_1
L3_1[1] = L4_1
L4_1 = {}
L4_1.name = "Fire"
L5_1 = {}
L6_1 = {}
L7_1 = 3
L6_1[1] = L7_1
L5_1[1] = L6_1
L6_1 = {}
L7_1 = 7
L6_1[1] = L7_1
L5_1[2] = L6_1
L4_1.suite = L5_1
L3_1[2] = L4_1
L4_1 = {}
L4_1.name = "Electric"
L5_1 = {}
L6_1 = {}
L7_1 = 4
L6_1[1] = L7_1
L5_1[1] = L6_1
L6_1 = {}
L7_1 = 8
L6_1[1] = L7_1
L5_1[2] = L6_1
L4_1.suite = L5_1
L3_1[3] = L4_1
L4_1 = {}
L4_1.name = "Ice"
L5_1 = {}
L6_1 = {}
L7_1 = 5
L6_1[1] = L7_1
L5_1[1] = L6_1
L6_1 = {}
L7_1 = 9
L6_1[1] = L7_1
L5_1[2] = L6_1
L4_1.suite = L5_1
L3_1[4] = L4_1
L4_1 = {}
L4_1.name = "Wind"
L5_1 = {}
L6_1 = {}
L7_1 = 2
L6_1[1] = L7_1
L5_1[1] = L6_1
L6_1 = {}
L7_1 = 2
L6_1[1] = L7_1
L5_1[2] = L6_1
L4_1.suite = L5_1
L3_1[5] = L4_1
L4_1 = {}
L4_1.name = "Rock"
L5_1 = {}
L6_1 = {}
L7_1 = 2
L6_1[1] = L7_1
L5_1[1] = L6_1
L6_1 = {}
L7_1 = 2
L6_1[1] = L7_1
L5_1[2] = L6_1
L4_1.suite = L5_1
L3_1[6] = L4_1
L4_1 = {}
L4_1.name = "Grass"
L5_1 = {}
L6_1 = {}
L7_1 = 2
L6_1[1] = L7_1
L5_1[1] = L6_1
L6_1 = {}
L7_1 = 2
L6_1[1] = L7_1
L5_1[2] = L6_1
L4_1.suite = L5_1
L3_1[7] = L4_1
L4_1 = {}
L5_1 = {}
L6_1 = 2
L5_1[1] = L6_1
L4_1[1] = L5_1
L5_1 = {}
L6_1 = 2
L5_1[1] = L6_1
L4_1[2] = L5_1
L5_1 = {}
L6_1 = 2
L5_1[1] = L6_1
L4_1[3] = L5_1
L5_1 = {}
L6_1 = 2
L5_1[1] = L6_1
L4_1[4] = L5_1
L5_1 = {}
L6_1 = 2
L5_1[1] = L6_1
L4_1[5] = L5_1
L5_1 = {}
L6_1 = 2
L5_1[1] = L6_1
L4_1[6] = L5_1
L5_1 = {}
L6_1 = 2
L5_1[1] = L6_1
L4_1[7] = L5_1
L5_1 = "timer_suite"
L6_1 = "timer_counter"
L7_1 = "timer_bonus"
L8_1 = {}
L8_1[1] = "Water"
L8_1[2] = "Fire"
L8_1[3] = "Electric"
L8_1[4] = "Ice"
L8_1[5] = "Wind"
L8_1[6] = "Rock"
L8_1[7] = "Grass"
function L9_1(A0_2, A1_2, A2_2, A3_2)
local L4_2, L5_2, L6_2, L7_2
L4_2 = A1_2[A2_2]
L4_2 = L4_2.suite
L4_2 = L4_2[A3_2]
L5_2 = #L4_2
if L5_2 == 0 or L4_2 == nil then
L5_2 = -1
return L5_2
end
L5_2 = math
L5_2 = L5_2.randomseed
L6_2 = ScriptLib
L6_2 = L6_2.GetServerTime
L7_2 = A0_2
L6_2 = L6_2(L7_2)
L6_2 = L6_2 + A2_2
L6_2 = L6_2 + A3_2
L5_2(L6_2)
L5_2 = math
L5_2 = L5_2.random
L6_2 = 1
L7_2 = #L4_2
L5_2 = L5_2(L6_2, L7_2)
L5_2 = L4_2[L5_2]
return L5_2
end
LF_random_stage_suite = L9_1
function L9_1(A0_2, A1_2, A2_2)
local L3_2, L4_2, L5_2, L6_2
L3_2 = A1_2[A2_2]
L4_2 = #L3_2
if L4_2 == 0 or L3_2 == nil then
L4_2 = -1
return L4_2
end
L4_2 = math
L4_2 = L4_2.randomseed
L5_2 = ScriptLib
L5_2 = L5_2.GetServerTime
L6_2 = A0_2
L5_2 = L5_2(L6_2)
L5_2 = L5_2 + A2_2
L4_2(L5_2)
L4_2 = math
L4_2 = L4_2.random
L5_2 = 1
L6_2 = #L3_2
L4_2 = L4_2(L5_2, L6_2)
L4_2 = L3_2[L4_2]
return L4_2
end
LF_random_timer_suite = L9_1
function L9_1(A0_2)
local L1_2, L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
L1_2 = ScriptLib
L1_2 = L1_2.GetGroupVariableValue
L2_2 = A0_2
L3_2 = L6_1
L1_2 = L1_2(L2_2, L3_2)
L2_2 = L1_1.crucible_timer
L2_2 = #L2_2
if L1_2 > L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintLog
L3_2 = "## undefined_crucible_timer !"
L2_2(A0_2, L3_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
if L1_2 <= 1 then
L3_2 = L1_1.crucible_timer
L2_2 = L3_2[1]
else
L3_2 = L1_1.crucible_timer
L3_2 = L3_2[L1_2]
L4_2 = L1_1.crucible_timer
L5_2 = L1_2 - 1
L4_2 = L4_2[L5_2]
L2_2 = L3_2 - L4_2
end
L3_2 = ScriptLib
L3_2 = L3_2.CreateGroupTimerEvent
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = L5_1
L7_2 = L2_2
L3_2(L4_2, L5_2, L6_2, L7_2)
L3_2 = ScriptLib
L3_2 = L3_2.ChangeGroupVariableValue
L4_2 = A0_2
L5_2 = L6_1
L6_2 = 1
L3_2(L4_2, L5_2, L6_2)
L3_2 = 0
return L3_2
end
LF_set_timer = L9_1
function L9_1(A0_2)
local L1_2, L2_2, L3_2, L4_2
L1_2 = ScriptLib
L1_2 = L1_2.RefreshGroup
L2_2 = A0_2
L3_2 = {}
L4_2 = L1_1.stage_group_Water
L3_2.group_id = L4_2
L3_2.suite = 1
L1_2(L2_2, L3_2)
L1_2 = ScriptLib
L1_2 = L1_2.RefreshGroup
L2_2 = A0_2
L3_2 = {}
L4_2 = L1_1.stage_group_Electric
L3_2.group_id = L4_2
L3_2.suite = 1
L1_2(L2_2, L3_2)
L1_2 = ScriptLib
L1_2 = L1_2.RefreshGroup
L2_2 = A0_2
L3_2 = {}
L4_2 = L1_1.stage_group_Fire
L3_2.group_id = L4_2
L3_2.suite = 1
L1_2(L2_2, L3_2)
L1_2 = ScriptLib
L1_2 = L1_2.RefreshGroup
L2_2 = A0_2
L3_2 = {}
L4_2 = L1_1.stage_group_Ice
L3_2.group_id = L4_2
L3_2.suite = 1
L1_2(L2_2, L3_2)
L1_2 = 0
return L1_2
end
LF_initialize_stage = L9_1
function L9_1(A0_2)
local L1_2, L2_2, L3_2, L4_2
L1_2 = ScriptLib
L1_2 = L1_2.CancelGroupTimerEvent
L2_2 = A0_2
L3_2 = L1_1.group_id
L4_2 = L5_1
L1_2(L2_2, L3_2, L4_2)
L1_2 = ScriptLib
L1_2 = L1_2.CancelGroupTimerEvent
L2_2 = A0_2
L3_2 = L1_1.group_id
L4_2 = L7_1
L1_2(L2_2, L3_2, L4_2)
L1_2 = LF_initialize_stage
L2_2 = A0_2
L1_2(L2_2)
L1_2 = ScriptLib
L1_2 = L1_2.RefreshGroup
L2_2 = A0_2
L3_2 = {}
L4_2 = L1_1.timer_extra_group
L3_2.group_id = L4_2
L3_2.suite = 1
L1_2(L2_2, L3_2)
L1_2 = ScriptLib
L1_2 = L1_2.RefreshGroup
L2_2 = A0_2
L3_2 = {}
L4_2 = L1_1.stage_group_bonus
L3_2.group_id = L4_2
L3_2.suite = 1
L1_2(L2_2, L3_2)
L1_2 = ScriptLib
L1_2 = L1_2.RefreshGroup
L2_2 = A0_2
L3_2 = {}
L4_2 = L1_1.monster_bonus_group
L3_2.group_id = L4_2
L3_2.suite = 1
L1_2(L2_2, L3_2)
L1_2 = 0
return L1_2
end
LF_initialize_extra = L9_1
function L9_1(A0_2)
local L1_2, L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2
L1_2 = ScriptLib
L1_2 = L1_2.CancelGroupTimerEvent
L2_2 = A0_2
L3_2 = L1_1.group_id
L4_2 = L5_1
L1_2(L2_2, L3_2, L4_2)
L1_2 = ScriptLib
L1_2 = L1_2.CancelGroupTimerEvent
L2_2 = A0_2
L3_2 = L1_1.group_id
L4_2 = L7_1
L1_2(L2_2, L3_2, L4_2)
L1_2 = {}
L2_2 = L1_1.stage_group_Water
L3_2 = L1_1.stage_group_Electric
L4_2 = L1_1.stage_group_Fire
L5_2 = L1_1.stage_group_Ice
L6_2 = L1_1.timer_extra_group
L7_2 = L1_1.stage_group_bonus
L8_2 = L1_1.monster_bonus_group
L1_2[1] = L2_2
L1_2[2] = L3_2
L1_2[3] = L4_2
L1_2[4] = L5_2
L1_2[5] = L6_2
L1_2[6] = L7_2
L1_2[7] = L8_2
L2_2 = pairs
L3_2 = L1_2
L2_2, L3_2, L4_2 = L2_2(L3_2)
for L5_2, L6_2 in L2_2, L3_2, L4_2 do
L7_2 = ScriptLib
L7_2 = L7_2.KillExtraGroupSuite
L8_2 = A0_2
L9_2 = L6_2
L10_2 = ScriptLib
L10_2 = L10_2.GetGroupSuite
L11_2 = A0_2
L12_2 = L6_2
L10_2, L11_2, L12_2 = L10_2(L11_2, L12_2)
L7_2(L8_2, L9_2, L10_2, L11_2, L12_2)
L7_2 = ScriptLib
L7_2 = L7_2.RefreshGroup
L8_2 = A0_2
L9_2 = {}
L9_2.group_id = L6_2
L9_2.suite = 1
L7_2(L8_2, L9_2)
end
L2_2 = 0
return L2_2
end
LF_end_play = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.PrintLog
L3_2 = "## "
L4_2 = A0_2
L5_2 = " = "
L6_2 = A1_2
L3_2 = L3_2 .. L4_2 .. L5_2 .. L6_2
L2_2(L3_2)
L2_2 = 0
return L2_2
end
LF_Log = L9_1
L9_1 = {}
L10_1 = {}
L10_1.config_id = 1005
L10_1.monster_id = 21020201
L11_1 = {}
L11_1.x = 2366.535
L11_1.y = 283.898
L11_1.z = -1736.532
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 283.628
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.drop_id = 1000100
L10_1.disableWander = true
L11_1 = {}
L12_1 = 1031
L13_1 = 8016
L11_1[1] = L12_1
L11_1[2] = L13_1
L10_1.affix = L11_1
L10_1.area_id = 1
L11_1 = {}
L11_1.config_id = 1006
L11_1.monster_id = 21010701
L12_1 = {}
L12_1.x = 2349.113
L12_1.y = 283.898
L12_1.z = -1750.444
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.drop_id = 1000100
L12_1 = {}
L13_1 = 1031
L12_1[1] = L13_1
L11_1.affix = L12_1
L11_1.area_id = 1
L12_1 = {}
L12_1.config_id = 1007
L12_1.monster_id = 21010502
L13_1 = {}
L13_1.x = 2343.297
L13_1.y = 283.967
L13_1.z = -1749.167
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 11.689
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.drop_id = 1000100
L12_1.disableWander = true
L13_1 = {}
L14_1 = 1031
L13_1[1] = L14_1
L12_1.affix = L13_1
L12_1.pose_id = 32
L12_1.area_id = 1
L13_1 = {}
L13_1.config_id = 1008
L13_1.monster_id = 21010502
L14_1 = {}
L14_1.x = 2353.565
L14_1.y = 283.898
L14_1.z = -1721.731
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.drop_id = 1000100
L13_1.disableWander = true
L14_1 = {}
L15_1 = 1031
L14_1[1] = L15_1
L13_1.affix = L14_1
L13_1.pose_id = 32
L13_1.area_id = 1
L14_1 = {}
L14_1.config_id = 1009
L14_1.monster_id = 21010502
L15_1 = {}
L15_1.x = 2338.003
L15_1.y = 283.898
L15_1.z = -1731.68
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 76.562
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.drop_id = 1000100
L14_1.disableWander = true
L15_1 = {}
L16_1 = 1031
L17_1 = 8015
L15_1[1] = L16_1
L15_1[2] = L17_1
L14_1.affix = L15_1
L14_1.pose_id = 32
L14_1.area_id = 1
L15_1 = {}
L15_1.config_id = 1036
L15_1.monster_id = 21020201
L16_1 = {}
L16_1.x = 2367.51
L16_1.y = 283.899
L16_1.z = -1726.209
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 258.899
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L15_1.drop_id = 1000100
L15_1.disableWander = true
L16_1 = {}
L17_1 = 1031
L18_1 = 8016
L16_1[1] = L17_1
L16_1[2] = L18_1
L15_1.affix = L16_1
L15_1.area_id = 1
L16_1 = {}
L16_1.config_id = 1037
L16_1.monster_id = 21011001
L17_1 = {}
L17_1.x = 2347.741
L17_1.y = 283.8
L17_1.z = -1747.944
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 16.951
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L16_1.drop_id = 1000100
L16_1.disableWander = true
L17_1 = {}
L18_1 = 1031
L17_1[1] = L18_1
L16_1.affix = L17_1
L16_1.pose_id = 32
L16_1.area_id = 1
L17_1 = {}
L17_1.config_id = 1038
L17_1.monster_id = 21010502
L18_1 = {}
L18_1.x = 2354.28
L18_1.y = 283.708
L18_1.z = -1724.815
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 212.042
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L17_1.drop_id = 1000100
L17_1.disableWander = true
L18_1 = {}
L19_1 = 1031
L18_1[1] = L19_1
L17_1.affix = L18_1
L17_1.pose_id = 32
L17_1.area_id = 1
L18_1 = {}
L18_1.config_id = 1039
L18_1.monster_id = 21010701
L19_1 = {}
L19_1.x = 2362.68
L19_1.y = 283.898
L19_1.z = -1742.041
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 307.835
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L18_1.drop_id = 1000100
L19_1 = {}
L20_1 = 1031
L19_1[1] = L20_1
L18_1.affix = L19_1
L18_1.area_id = 1
L19_1 = {}
L19_1.config_id = 1040
L19_1.monster_id = 21011002
L20_1 = {}
L20_1.x = 2344.533
L20_1.y = 283.898
L20_1.z = -1730.887
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 92.648
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L19_1.drop_id = 1000100
L20_1 = {}
L21_1 = 1031
L22_1 = 8015
L20_1[1] = L21_1
L20_1[2] = L22_1
L19_1.affix = L20_1
L19_1.pose_id = 32
L19_1.area_id = 1
L9_1[1] = L10_1
L9_1[2] = L11_1
L9_1[3] = L12_1
L9_1[4] = L13_1
L9_1[5] = L14_1
L9_1[6] = L15_1
L9_1[7] = L16_1
L9_1[8] = L17_1
L9_1[9] = L18_1
L9_1[10] = L19_1
monsters = L9_1
L9_1 = {}
npcs = L9_1
L9_1 = {}
L10_1 = {}
L10_1.config_id = 1001
L10_1.gadget_id = 70330024
L11_1 = {}
L11_1.x = 2346.308
L11_1.y = 283.784
L11_1.z = -1735.868
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L11_1.duration = 900
L11_1.start_cd = 3
L12_1 = {}
L13_1 = 0
L14_1 = 5000
L15_1 = 20000
L16_1 = 35000
L12_1[1] = L13_1
L12_1[2] = L14_1
L12_1[3] = L15_1
L12_1[4] = L16_1
L11_1.progress_stage = L12_1
L11_1.mp_play_id = 1
L10_1.crucible_config = L11_1
L10_1.area_id = 1
L11_1 = {}
L11_1.config_id = 1015
L11_1.gadget_id = 70330001
L12_1 = {}
L12_1.x = 2346.584
L12_1.y = 283.898
L12_1.z = -1735.77
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 = 15
L11_1.area_id = 1
L9_1[1] = L10_1
L9_1[2] = L11_1
gadgets = L9_1
L9_1 = {}
regions = L9_1
L9_1 = {}
L10_1 = {}
L10_1.config_id = 1001002
L10_1.name = "GADGET_LUA_NOTIFY_1002"
L11_1 = EventType
L11_1 = L11_1.EVENT_GADGET_LUA_NOTIFY
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = ""
L10_1.action = "action_EVENT_GADGET_LUA_NOTIFY_1002"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1001003
L11_1.name = "GADGET_PLAY_STOP_1003"
L12_1 = EventType
L12_1 = L12_1.EVENT_GADGET_PLAY_STOP
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = ""
L11_1.action = "action_EVENT_GADGET_PLAY_STOP_1003"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1001004
L12_1.name = "ANY_MONSTER_DIE_1004"
L13_1 = EventType
L13_1 = L13_1.EVENT_ANY_MONSTER_DIE
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1004"
L12_1.action = "action_EVENT_ANY_MONSTER_DIE_1004"
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1001010
L13_1.name = "MP_PLAY_PREPARE_INTERRUPT_1010"
L14_1 = EventType
L14_1 = L14_1.EVENT_MP_PLAY_PREPARE_INTERRUPT
L13_1.event = L14_1
L13_1.source = ""
L13_1.condition = ""
L13_1.action = "action_EVENT_MP_PLAY_PREPARE_INTERRUPT_1010"
L13_1.trigger_count = 0
L14_1 = {}
L14_1.config_id = 1001011
L14_1.name = "TIMER_EVENT_1011"
L15_1 = EventType
L15_1 = L15_1.EVENT_TIMER_EVENT
L14_1.event = L15_1
L14_1.source = ""
L14_1.condition = ""
L14_1.action = "action_EVENT_TIMER_EVENT_1011"
L14_1.trigger_count = 0
L15_1 = {}
L15_1.config_id = 1001012
L15_1.name = "MP_PLAY_PREPARE_1012"
L16_1 = EventType
L16_1 = L16_1.EVENT_MP_PLAY_PREPARE
L15_1.event = L16_1
L15_1.source = ""
L15_1.condition = ""
L15_1.action = "action_EVENT_MP_PLAY_PREPARE_1012"
L15_1.trigger_count = 0
L16_1 = {}
L16_1.config_id = 1001013
L16_1.name = "MP_PLAY_BATTLE_1013"
L17_1 = EventType
L17_1 = L17_1.EVENT_MP_PLAY_BATTLE
L16_1.event = L17_1
L16_1.source = ""
L16_1.condition = ""
L16_1.action = "action_EVENT_MP_PLAY_BATTLE_1013"
L16_1.trigger_count = 0
L17_1 = {}
L17_1.config_id = 1001014
L17_1.name = "GADGET_PLAY_START_CD_1014"
L18_1 = EventType
L18_1 = L18_1.EVENT_GADGET_PLAY_START_CD
L17_1.event = L18_1
L17_1.source = ""
L17_1.condition = ""
L17_1.action = "action_EVENT_GADGET_PLAY_START_CD_1014"
L17_1.trigger_count = 0
L18_1 = {}
L18_1.config_id = 1001016
L18_1.name = "ANY_MONSTER_DIE_1016"
L19_1 = EventType
L19_1 = L19_1.EVENT_ANY_MONSTER_DIE
L18_1.event = L19_1
L18_1.source = ""
L18_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1016"
L18_1.action = "action_EVENT_ANY_MONSTER_DIE_1016"
L18_1.trigger_count = 0
L19_1 = {}
L19_1.config_id = 1001017
L19_1.name = "ANY_MONSTER_DIE_1017"
L20_1 = EventType
L20_1 = L20_1.EVENT_ANY_MONSTER_DIE
L19_1.event = L20_1
L19_1.source = ""
L19_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1017"
L19_1.action = "action_EVENT_ANY_MONSTER_DIE_1017"
L19_1.trigger_count = 0
L20_1 = {}
L20_1.config_id = 1001018
L20_1.name = "ANY_MONSTER_DIE_1018"
L21_1 = EventType
L21_1 = L21_1.EVENT_ANY_MONSTER_DIE
L20_1.event = L21_1
L20_1.source = ""
L20_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1018"
L20_1.action = "action_EVENT_ANY_MONSTER_DIE_1018"
L20_1.trigger_count = 0
L21_1 = {}
L21_1.config_id = 1001019
L21_1.name = "ANY_MONSTER_DIE_1019"
L22_1 = EventType
L22_1 = L22_1.EVENT_ANY_MONSTER_DIE
L21_1.event = L22_1
L21_1.source = ""
L21_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1019"
L21_1.action = "action_EVENT_ANY_MONSTER_DIE_1019"
L21_1.trigger_count = 0
L22_1 = {}
L22_1.config_id = 1001020
L22_1.name = "ANY_MONSTER_DIE_1020"
L23_1 = EventType
L23_1 = L23_1.EVENT_ANY_MONSTER_DIE
L22_1.event = L23_1
L22_1.source = ""
L22_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1020"
L22_1.action = "action_EVENT_ANY_MONSTER_DIE_1020"
L22_1.trigger_count = 0
L23_1 = {}
L23_1.config_id = 1001021
L23_1.name = "ANY_MONSTER_DIE_1021"
L24_1 = EventType
L24_1 = L24_1.EVENT_ANY_MONSTER_DIE
L23_1.event = L24_1
L23_1.source = ""
L23_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1021"
L23_1.action = "action_EVENT_ANY_MONSTER_DIE_1021"
L23_1.trigger_count = 0
L24_1 = {}
L24_1.config_id = 1001022
L24_1.name = "ANY_MONSTER_DIE_1022"
L25_1 = EventType
L25_1 = L25_1.EVENT_ANY_MONSTER_DIE
L24_1.event = L25_1
L24_1.source = ""
L24_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1022"
L24_1.action = "action_EVENT_ANY_MONSTER_DIE_1022"
L24_1.trigger_count = 0
L25_1 = {}
L25_1.config_id = 1001023
L25_1.name = "ANY_MONSTER_DIE_1023"
L26_1 = EventType
L26_1 = L26_1.EVENT_ANY_MONSTER_DIE
L25_1.event = L26_1
L25_1.source = ""
L25_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1023"
L25_1.action = "action_EVENT_ANY_MONSTER_DIE_1023"
L25_1.trigger_count = 0
L26_1 = {}
L26_1.config_id = 1001024
L26_1.name = "ANY_MONSTER_DIE_1024"
L27_1 = EventType
L27_1 = L27_1.EVENT_ANY_MONSTER_DIE
L26_1.event = L27_1
L26_1.source = ""
L26_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1024"
L26_1.action = "action_EVENT_ANY_MONSTER_DIE_1024"
L26_1.trigger_count = 0
L9_1[1] = L10_1
L9_1[2] = L11_1
L9_1[3] = L12_1
L9_1[4] = L13_1
L9_1[5] = L14_1
L9_1[6] = L15_1
L9_1[7] = L16_1
L9_1[8] = L17_1
L9_1[9] = L18_1
L9_1[10] = L19_1
L9_1[11] = L20_1
L9_1[12] = L21_1
L9_1[13] = L22_1
L9_1[14] = L23_1
L9_1[15] = L24_1
L9_1[16] = L25_1
L9_1[17] = L26_1
triggers = L9_1
L9_1 = {}
L10_1 = {}
L10_1.configId = 1
L10_1.name = "Water"
L10_1.value = 100
L10_1.no_refresh = false
L11_1 = {}
L11_1.configId = 2
L11_1.name = "Fire"
L11_1.value = 100
L11_1.no_refresh = false
L12_1 = {}
L12_1.configId = 3
L12_1.name = "Electric"
L12_1.value = 100
L12_1.no_refresh = false
L13_1 = {}
L13_1.configId = 4
L13_1.name = "Ice"
L13_1.value = 100
L13_1.no_refresh = false
L14_1 = {}
L14_1.configId = 5
L14_1.name = "Wind"
L14_1.value = 0
L14_1.no_refresh = false
L15_1 = {}
L15_1.configId = 6
L15_1.name = "Rock"
L15_1.value = 0
L15_1.no_refresh = false
L16_1 = {}
L16_1.configId = 7
L16_1.name = "Grass"
L16_1.value = 0
L16_1.no_refresh = false
L17_1 = {}
L17_1.configId = 8
L17_1.name = "timer_extra"
L17_1.value = 0
L17_1.no_refresh = false
L18_1 = {}
L18_1.configId = 9
L18_1.name = "timer_counter"
L18_1.value = 1
L18_1.no_refresh = false
L19_1 = {}
L19_1.configId = 10
L19_1.name = "stage_counter"
L19_1.value = 0
L19_1.no_refresh = false
L20_1 = {}
L20_1.configId = 11
L20_1.name = "elem_counter"
L20_1.value = 0
L20_1.no_refresh = false
L21_1 = {}
L21_1.configId = 12
L21_1.name = "stage_bonus_suite"
L21_1.value = 0
L21_1.no_refresh = false
L9_1[1] = L10_1
L9_1[2] = L11_1
L9_1[3] = L12_1
L9_1[4] = L13_1
L9_1[5] = L14_1
L9_1[6] = L15_1
L9_1[7] = L16_1
L9_1[8] = L17_1
L9_1[9] = L18_1
L9_1[10] = L19_1
L9_1[11] = L20_1
L9_1[12] = L21_1
variables = L9_1
L9_1 = {}
L9_1.suite = 1
L9_1.end_suite = 0
L9_1.rand_suite = false
init_config = L9_1
L9_1 = "suites"
L10_1 = {}
L11_1 = {}
L12_1 = {}
L11_1.monsters = L12_1
L12_1 = {}
L13_1 = 1001
L12_1[1] = L13_1
L11_1.gadgets = L12_1
L12_1 = {}
L11_1.regions = L12_1
L12_1 = {}
L13_1 = "GADGET_LUA_NOTIFY_1002"
L14_1 = "GADGET_PLAY_STOP_1003"
L15_1 = "ANY_MONSTER_DIE_1004"
L16_1 = "MP_PLAY_PREPARE_INTERRUPT_1010"
L17_1 = "TIMER_EVENT_1011"
L18_1 = "MP_PLAY_PREPARE_1012"
L19_1 = "MP_PLAY_BATTLE_1013"
L20_1 = "GADGET_PLAY_START_CD_1014"
L21_1 = "ANY_MONSTER_DIE_1016"
L22_1 = "ANY_MONSTER_DIE_1017"
L23_1 = "ANY_MONSTER_DIE_1018"
L24_1 = "ANY_MONSTER_DIE_1019"
L25_1 = "ANY_MONSTER_DIE_1020"
L26_1 = "ANY_MONSTER_DIE_1021"
L27_1 = "ANY_MONSTER_DIE_1022"
L28_1 = "ANY_MONSTER_DIE_1023"
L29_1 = "ANY_MONSTER_DIE_1024"
L12_1[1] = L13_1
L12_1[2] = L14_1
L12_1[3] = L15_1
L12_1[4] = L16_1
L12_1[5] = L17_1
L12_1[6] = L18_1
L12_1[7] = L19_1
L12_1[8] = L20_1
L12_1[9] = L21_1
L12_1[10] = L22_1
L12_1[11] = L23_1
L12_1[12] = L24_1
L12_1[13] = L25_1
L12_1[14] = L26_1
L12_1[15] = L27_1
L12_1[16] = L28_1
L12_1[17] = L29_1
L11_1.triggers = L12_1
L12_1 = "rand_weight"
L11_1[L12_1] = 100
L12_1 = {}
L13_1 = {}
L14_1 = 1005
L15_1 = 1006
L16_1 = 1007
L17_1 = 1008
L18_1 = 1009
L13_1[1] = L14_1
L13_1[2] = L15_1
L13_1[3] = L16_1
L13_1[4] = L17_1
L13_1[5] = L18_1
L12_1.monsters = L13_1
L13_1 = {}
L12_1.gadgets = L13_1
L13_1 = {}
L12_1.regions = L13_1
L13_1 = {}
L14_1 = "ANY_MONSTER_DIE_1004"
L15_1 = "ANY_MONSTER_DIE_1016"
L16_1 = "ANY_MONSTER_DIE_1017"
L17_1 = "ANY_MONSTER_DIE_1018"
L18_1 = "ANY_MONSTER_DIE_1019"
L19_1 = "ANY_MONSTER_DIE_1020"
L20_1 = "ANY_MONSTER_DIE_1021"
L21_1 = "ANY_MONSTER_DIE_1022"
L22_1 = "ANY_MONSTER_DIE_1023"
L23_1 = "ANY_MONSTER_DIE_1024"
L13_1[1] = L14_1
L13_1[2] = L15_1
L13_1[3] = L16_1
L13_1[4] = L17_1
L13_1[5] = L18_1
L13_1[6] = L19_1
L13_1[7] = L20_1
L13_1[8] = L21_1
L13_1[9] = L22_1
L13_1[10] = L23_1
L12_1.triggers = L13_1
L13_1 = "rand_weight"
L12_1[L13_1] = 100
L10_1[1] = L11_1
L10_1[2] = L12_1
_ENV[L9_1] = L10_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = A1_2.param1
if L2_2 ~= 100 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "stage_counter"
L5_2 = A1_2.param3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "elem_counter"
L5_2 = A1_2.param1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowTemplateReminder
L3_2 = A0_2
L4_2 = 3
L5_2 = L1_1.crucible_timer_info
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.CancelGroupTimerEvent
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = L7_1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "timer_extra"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = LF_initialize_stage
L3_2 = A0_2
L2_2(L3_2)
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.stage_group_bonus
L4_2.group_id = L5_2
L4_2.suite = 1
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.monster_bonus_group
L4_2.group_id = L5_2
L4_2.suite = 1
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 0
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.group_id
L4_2.group_id = L5_2
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_MONSTER
L4_2.kill_policy = L5_2
L2_2(L3_2, L4_2)
L2_2 = "stage_group_"
L3_2 = A1_2.param1
L3_2 = L8_1[L3_2]
L2_2 = L2_2 .. L3_2
L2_2 = L1_1[L2_2]
L3_2 = LF_Log
L4_2 = "notify_param1"
L5_2 = A1_2.param1
L3_2(L4_2, L5_2)
L3_2 = LF_Log
L4_2 = "notify_elem"
L5_2 = A1_2.param1
L5_2 = L8_1[L5_2]
L3_2(L4_2, L5_2)
L3_2 = LF_Log
L4_2 = "notify_group"
L5_2 = L2_2
L3_2(L4_2, L5_2)
L3_2 = LF_random_stage_suite
L4_2 = A0_2
L5_2 = L2_1
L6_2 = A1_2.param1
L7_2 = A1_2.param3
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
L4_2 = LF_Log
L5_2 = "notify_suite"
L6_2 = L3_2
L4_2(L5_2, L6_2)
if L3_2 == -1 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintLog
L5_2 = "## stage_table_overflow != "
L6_2 = A1_2.param1
L7_2 = " "
L8_2 = A1_2.param3
L5_2 = L5_2 .. L6_2 .. L7_2 .. L8_2
L4_2(A0_2, L5_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.RefreshGroup
L5_2 = A0_2
L6_2 = {}
L6_2.group_id = L2_2
L6_2.suite = L3_2
L4_2(L5_2, L6_2)
else
L2_2 = LF_Log
L3_2 = "notify_param2"
L4_2 = A1_2.param2
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "stage_counter"
L2_2 = L2_2(L3_2, L4_2)
L3_2 = LF_Log
L4_2 = "st"
L5_2 = L2_2
L3_2(L4_2, L5_2)
L3_2 = LF_random_stage_suite
L4_2 = A0_2
L5_2 = L3_1
L6_2 = A1_2.param2
L7_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
L4_2 = LF_Log
L5_2 = "notify_suite"
L6_2 = L3_2
L4_2(L5_2, L6_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupVariableValue
L5_2 = A0_2
L6_2 = "stage_bonus_suite"
L7_2 = L3_2
L4_2(L5_2, L6_2, L7_2)
L4_2 = ScriptLib
L4_2 = L4_2.RefreshGroup
L5_2 = A0_2
L6_2 = {}
L7_2 = L1_1.stage_group_bonus
L6_2.group_id = L7_2
L7_2 = L1_1.stage_bonus_suite
L6_2.suite = L7_2
L4_2(L5_2, L6_2)
L4_2 = ScriptLib
L4_2 = L4_2.ShowTemplateReminder
L5_2 = A0_2
L6_2 = 2
L7_2 = L1_1.crucible_timer_info
L4_2(L5_2, L6_2, L7_2)
L4_2 = ScriptLib
L4_2 = L4_2.CreateGroupTimerEvent
L5_2 = A0_2
L6_2 = L1_1.group_id
L7_2 = L7_1
L8_2 = L1_1.bonus_time
L4_2(L5_2, L6_2, L7_2, L8_2)
L4_2 = ScriptLib
L4_2 = L4_2.SetGroupVariableValue
L5_2 = A0_2
L6_2 = "timer_extra"
L7_2 = 1
L4_2(L5_2, L6_2, L7_2)
L4_2 = ScriptLib
L4_2 = L4_2.RefreshGroup
L5_2 = A0_2
L6_2 = {}
L7_2 = L1_1.monster_bonus_group
L6_2.group_id = L7_2
L6_2.suite = 1
L4_2(L5_2, L6_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_LUA_NOTIFY_1002 = L9_1
function L9_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 = "timer_extra"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "timer_counter"
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 = "stage_counter"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "elem_counter"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "stage_bonus_suite"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 0
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = A1_2.param3
if L2_2 == 0 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 0
L5_2 = L1_1.gadget_crucible
L6_2 = 202
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = LF_initialize_extra
L3_2 = A0_2
L2_2(L3_2)
else
L2_2 = A1_2.param3
if L2_2 == 1 then
L2_2 = ScriptLib
L2_2 = L2_2.GetSceneUidList
L3_2 = A0_2
L2_2 = L2_2(L3_2)
L3_2 = ScriptLib
L3_2 = L3_2.GadgetPlayUidOp
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = L1_1.gadget_crucible
L7_2 = L2_2
L8_2 = 1
L9_2 = "random_buff"
L10_2 = {}
L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
L3_2 = ScriptLib
L3_2 = L3_2.SetGroupGadgetStateByConfigId
L4_2 = A0_2
L5_2 = 0
L6_2 = L1_1.gadget_crucible
L7_2 = 203
L3_2(L4_2, L5_2, L6_2, L7_2)
L3_2 = LF_end_play
L4_2 = A0_2
L3_2(L4_2)
end
end
L2_2 = ScriptLib
L2_2 = L2_2.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.group_id
L4_2.group_id = L5_2
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_MONSTER
L4_2.kill_policy = L5_2
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.gadget_prepare
L4_2.config_id = L5_2
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetEnableInteract
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = L1_1.gadget_crucible
L6_2 = true
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_PLAY_STOP_1003 = L9_1
function L9_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1005 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1004 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1036
L4_2.delay_time = 10
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_monster"
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_1004 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetEnableInteract
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = L1_1.gadget_crucible
L6_2 = true
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_MP_PLAY_PREPARE_INTERRUPT_1010 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = LF_Log
L3_2 = "## timer"
L4_2 = A1_2.source_name
L2_2(L3_2, L4_2)
L2_2 = A1_2.source_name
L3_2 = L5_1
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = L6_1
L2_2 = L2_2(L3_2, L4_2)
L3_2 = LF_Log
L4_2 = "timer_counter"
L5_2 = L2_2
L3_2(L4_2, L5_2)
L3_2 = LF_random_timer_suite
L4_2 = A0_2
L5_2 = L4_1
L6_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2)
L4_2 = LF_Log
L5_2 = "timer_suite"
L6_2 = L3_2
L4_2(L5_2, L6_2)
L4_2 = ScriptLib
L4_2 = L4_2.GetGroupVariableValue
L5_2 = A0_2
L6_2 = "timer_extra"
L4_2 = L4_2(L5_2, L6_2)
if L4_2 ~= 1 then
L4_2 = ScriptLib
L4_2 = L4_2.ShowTemplateReminder
L5_2 = A0_2
L6_2 = 1
L7_2 = L1_1.crucible_timer_info
L4_2(L5_2, L6_2, L7_2)
L4_2 = ScriptLib
L4_2 = L4_2.RefreshGroup
L5_2 = A0_2
L6_2 = {}
L7_2 = L1_1.timer_extra_group
L6_2.group_id = L7_2
L6_2.suite = L3_2
L4_2(L5_2, L6_2)
end
L4_2 = LF_set_timer
L5_2 = A0_2
L4_2(L5_2)
else
L2_2 = A1_2.source_name
L3_2 = L7_1
if L2_2 == L3_2 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "timer_extra"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "stage_counter"
L2_2 = L2_2(L3_2, L4_2)
L3_2 = ScriptLib
L3_2 = L3_2.GetGroupVariableValue
L4_2 = A0_2
L5_2 = "elem_counter"
L3_2 = L3_2(L4_2, L5_2)
L4_2 = L1_1.monster_bonus_suite
L4_2 = #L4_2
if L2_2 > L4_2 then
L4_2 = LF_Log
L5_2 = "st"
L6_2 = "overflow!!"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = math
L4_2 = L4_2.randomseed
L5_2 = tostring
L6_2 = ScriptLib
L6_2 = L6_2.GetServerTime
L7_2 = A0_2
L6_2, L7_2, L8_2 = L6_2(L7_2)
L5_2 = L5_2(L6_2, L7_2, L8_2)
L6_2 = L5_2
L5_2 = L5_2.reverse
L5_2 = L5_2(L6_2)
L6_2 = L5_2
L5_2 = L5_2.sub
L7_2 = 1
L8_2 = 5
L5_2, L6_2, L7_2, L8_2 = L5_2(L6_2, L7_2, L8_2)
L4_2(L5_2, L6_2, L7_2, L8_2)
L4_2 = LF_random_stage_suite
L5_2 = A0_2
L6_2 = L1_1.monster_bonus_suite
L7_2 = L3_2
L8_2 = L2_2
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if L4_2 == -1 then
L5_2 = ScriptLib
L5_2 = L5_2.PrintLog
L6_2 = "## Illegal bonus group"
L5_2(A0_2, L6_2)
L5_2 = -1
return L5_2
end
L5_2 = LF_Log
L6_2 = "monster_bonus"
L7_2 = L4_2
L5_2(L6_2, L7_2)
L5_2 = ScriptLib
L5_2 = L5_2.RefreshGroup
L6_2 = A0_2
L7_2 = {}
L8_2 = L1_1.monster_bonus_group
L7_2.group_id = L8_2
L7_2.suite = L4_2
L5_2(L6_2, L7_2)
end
end
L2_2 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_1011 = L9_1
function L9_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 = "timer_extra"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "timer_counter"
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 = "stage_counter"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "elem_counter"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetEnableInteract
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = L1_1.gadget_crucible
L6_2 = false
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_MP_PLAY_PREPARE_1012 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.gadget_prepare
L4_2.config_id = L5_2
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.StartGadgetPlay
L3_2 = A0_2
L4_2 = 0
L5_2 = L1_1.gadget_crucible
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_MP_PLAY_BATTLE_1013 = L9_1
function L9_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 = 0
L5_2 = L1_1.gadget_crucible
L6_2 = 201
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 0
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = LF_set_timer
L3_2 = A0_2
L2_2(L3_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_PLAY_START_CD_1014 = L9_1
function L9_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1006 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1016 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1039
L4_2.delay_time = 5
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_monster"
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_1016 = L9_1
function L9_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1017 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1037
L4_2.delay_time = 5
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_monster"
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_1017 = L9_1
function L9_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1018 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1038
L4_2.delay_time = 5
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_monster"
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_1018 = L9_1
function L9_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1009 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1019 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1040
L4_2.delay_time = 5
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_monster"
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_1019 = L9_1
function L9_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1036 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1020 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1005
L4_2.delay_time = 10
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_monster"
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_1020 = L9_1
function L9_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1039 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1021 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1006
L4_2.delay_time = 5
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_monster"
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_1021 = L9_1
function L9_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1022 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1039
L4_2.delay_time = 5
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_monster"
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_1022 = L9_1
function L9_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1023 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1039
L4_2.delay_time = 5
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_monster"
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_1023 = L9_1
function L9_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1009 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1024 = L9_1
function L9_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 1039
L4_2.delay_time = 5
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_monster"
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_1024 = L9_1