0
0
mirror of https://gitlab.com/YuukiPS/GC-Resources.git synced 2025-04-28 09:05:26 +00:00
GC-Resources/Resources/Scripts/Scene/3/scene3_group133002259.lua
2022-10-08 16:55:37 +08:00

1374 lines
27 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 = 133002259
L1_1 = {}
L2_1 = {}
L2_1.config_id = 913
L2_1.monster_id = 29020101
L3_1 = {}
L3_1.x = 1981.685
L3_1.y = 250.08
L3_1.z = -238.965
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 155.057
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 26
L2_1.drop_id = 1000100
L2_1.title_id = 111
L2_1.special_name_id = 3
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 954
L3_1.monster_id = 29020102
L4_1 = {}
L4_1.x = 1981.685
L4_1.y = 250.08
L4_1.z = -238.965
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 155.057
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 38
L3_1.drop_id = 1000100
L3_1.title_id = 112
L3_1.special_name_id = 4
L3_1.area_id = 3
L1_1[1] = L2_1
L1_1[2] = L3_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2222
L2_1.gadget_id = 42902003
L3_1 = {}
L3_1.x = 1984.2
L3_1.y = 250.08
L3_1.z = -244.4
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 155.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 15
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 2223
L3_1.gadget_id = 42902004
L4_1 = {}
L4_1.x = 1976.4
L4_1.y = 250.08
L4_1.z = -217.363
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 160.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 15
L3_1.area_id = 3
L4_1 = {}
L4_1.config_id = 2238
L4_1.gadget_id = 42902005
L5_1 = {}
L5_1.x = 1994.0
L5_1.y = 250.08
L5_1.z = -260.5
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 = 15
L4_1.area_id = 3
L5_1 = {}
L5_1.config_id = 2299
L5_1.gadget_id = 70360004
L6_1 = {}
L6_1.x = 1999.6
L6_1.y = 250.08
L6_1.z = -280.1
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 = 15
L5_1.area_id = 3
L6_1 = {}
L6_1.config_id = 259005
L6_1.gadget_id = 70210106
L7_1 = {}
L7_1.x = 1984.88
L7_1.y = 250.19
L7_1.z = -246.872
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.level = 11
L6_1.drop_tag = "\229\140\151\233\163\142\231\139\188"
L6_1.showcutscene = true
L6_1.persistent = true
L7_1 = {}
L7_1.monster_config_id = 954
L7_1.resin = 60
L7_1.life_time = 600
L7_1.take_num = 1
L6_1.boss_chest = L7_1
L6_1.area_id = 3
L7_1 = {}
L7_1.config_id = 259009
L7_1.gadget_id = 70360001
L8_1 = {}
L8_1.x = 1984.235
L8_1.y = 250.19
L8_1.z = -248.024
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.level = 15
L7_1.area_id = 3
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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 320
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 48
L3_1 = {}
L3_1.x = 1994.0
L3_1.y = 250.08
L3_1.z = -260.5
L2_1.pos = L3_1
L2_1.area_id = 3
L3_1 = {}
L3_1.config_id = 259002
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 50
L4_1 = {}
L4_1.x = 1992.947
L4_1.y = 250.08
L4_1.z = -262.157
L3_1.pos = L4_1
L3_1.area_id = 3
L4_1 = {}
L4_1.config_id = 259007
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 50
L5_1 = {}
L5_1.x = 1992.904
L5_1.y = 250.19
L5_1.z = -260.618
L4_1.pos = L5_1
L4_1.area_id = 3
L5_1 = {}
L5_1.config_id = 259008
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 60
L6_1 = {}
L6_1.x = 1993.433
L6_1.y = 250.19
L6_1.z = -261.053
L5_1.pos = L6_1
L5_1.area_id = 3
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000320
L2_1.name = "ENTER_REGION_320"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_320"
L2_1.action = "action_EVENT_ENTER_REGION_320"
L3_1 = {}
L3_1.config_id = 1000337
L3_1.name = "GADGET_CREATE_337"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_CREATE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_CREATE_337"
L3_1.action = "action_EVENT_GADGET_CREATE_337"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1000338
L4_1.name = "ANY_MONSTER_DIE_338"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_338"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_338"
L5_1 = {}
L5_1.config_id = 1000343
L5_1.name = "GADGET_CREATE_343"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_CREATE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_CREATE_343"
L5_1.action = "action_EVENT_GADGET_CREATE_343"
L6_1 = {}
L6_1.config_id = 1000344
L6_1.name = "ANY_MONSTER_DIE_344"
L7_1 = EventType
L7_1 = L7_1.EVENT_ANY_MONSTER_DIE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ANY_MONSTER_DIE_344"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_344"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1000345
L7_1.name = "TIMER_EVENT_345"
L8_1 = EventType
L8_1 = L8_1.EVENT_TIMER_EVENT
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = ""
L7_1.action = "action_EVENT_TIMER_EVENT_345"
L8_1 = {}
L8_1.config_id = 1000359
L8_1.name = "SELECT_OPTION_359"
L9_1 = EventType
L9_1 = L9_1.EVENT_SELECT_OPTION
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_SELECT_OPTION_359"
L8_1.action = "action_EVENT_SELECT_OPTION_359"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1000401
L9_1.name = "QUEST_FINISH_401"
L10_1 = EventType
L10_1 = L10_1.EVENT_QUEST_FINISH
L9_1.event = L10_1
L9_1.source = "45405"
L9_1.condition = ""
L9_1.action = "action_EVENT_QUEST_FINISH_401"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1000402
L10_1.name = "GROUP_REFRESH_402"
L11_1 = EventType
L11_1 = L11_1.EVENT_GROUP_REFRESH
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = ""
L10_1.action = "action_EVENT_GROUP_REFRESH_402"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1259002
L11_1.name = "ENTER_REGION_259002"
L12_1 = EventType
L12_1 = L12_1.EVENT_ENTER_REGION
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_ENTER_REGION_259002"
L11_1.action = "action_EVENT_ENTER_REGION_259002"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1259003
L12_1.name = "GROUP_LOAD_259003"
L13_1 = EventType
L13_1 = L13_1.EVENT_GROUP_LOAD
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = ""
L12_1.action = "action_EVENT_GROUP_LOAD_259003"
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1259004
L13_1.name = "GROUP_REFRESH_259004"
L14_1 = EventType
L14_1 = L14_1.EVENT_GROUP_REFRESH
L13_1.event = L14_1
L13_1.source = ""
L13_1.condition = ""
L13_1.action = "action_EVENT_GROUP_REFRESH_259004"
L13_1.trigger_count = 0
L14_1 = {}
L14_1.config_id = 1259007
L14_1.name = "ENTER_REGION_259007"
L15_1 = EventType
L15_1 = L15_1.EVENT_ENTER_REGION
L14_1.event = L15_1
L14_1.source = "1"
L14_1.condition = "condition_EVENT_ENTER_REGION_259007"
L14_1.action = "action_EVENT_ENTER_REGION_259007"
L14_1.trigger_count = 0
L14_1.forbid_guest = false
L15_1 = {}
L15_1.config_id = 1259008
L15_1.name = "LEAVE_REGION_259008"
L16_1 = EventType
L16_1 = L16_1.EVENT_LEAVE_REGION
L15_1.event = L16_1
L15_1.source = ""
L15_1.condition = "condition_EVENT_LEAVE_REGION_259008"
L15_1.action = "action_EVENT_LEAVE_REGION_259008"
L15_1.trigger_count = 0
L15_1.forbid_guest = false
L16_1 = {}
L16_1.config_id = 1259010
L16_1.name = "GROUP_WILL_UNLOAD_259010"
L17_1 = EventType
L17_1 = L17_1.EVENT_GROUP_WILL_UNLOAD
L16_1.event = L17_1
L16_1.source = ""
L16_1.condition = ""
L16_1.action = "action_EVENT_GROUP_WILL_UNLOAD_259010"
L16_1.trigger_count = 0
L17_1 = {}
L17_1.config_id = 1259011
L17_1.name = "TIME_AXIS_PASS_259011"
L18_1 = EventType
L18_1 = L18_1.EVENT_TIME_AXIS_PASS
L17_1.event = L18_1
L17_1.source = "CreateMonster"
L17_1.condition = ""
L17_1.action = "action_EVENT_TIME_AXIS_PASS_259011"
L17_1.trigger_count = 0
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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "boss_exist"
L2_1.value = 1
L2_1.no_refresh = false
L3_1 = {}
L3_1.configId = 2
L3_1.name = "auth_uid_p1"
L3_1.value = 0
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 3
L4_1.name = "auth_uid_p2"
L4_1.value = 0
L4_1.no_refresh = false
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
variables = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 259006
L3_1.gadget_id = 71000007
L4_1 = {}
L4_1.x = 1989.673
L4_1.y = 250.19
L4_1.z = -264.08
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.area_id = 3
L2_1[1] = L3_1
L1_1.gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1259001
L3_1.name = "CLIENT_EXECUTE_259001"
L4_1 = EventType
L4_1 = L4_1.EVENT_CLIENT_EXECUTE
L3_1.event = L4_1
L3_1.source = "LupiBoreas_Recycle"
L3_1.condition = "condition_EVENT_CLIENT_EXECUTE_259001"
L3_1.action = "action_EVENT_CLIENT_EXECUTE_259001"
L3_1.trigger_count = 0
L2_1[1] = L3_1
L1_1.triggers = L2_1
garbages = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = 913
L4_1 = 954
L5_1 = 2222
L6_1 = 2223
L7_1 = 2238
L8_1 = 259009
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
L1_1[1] = L2_1
sight_groups = L1_1
L1_1 = {}
L1_1.suite = 2
L1_1.end_suite = 4
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 320
L5_1 = 259007
L6_1 = 259008
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_320"
L5_1 = "ANY_MONSTER_DIE_338"
L6_1 = "TIMER_EVENT_345"
L7_1 = "QUEST_FINISH_401"
L8_1 = "GROUP_REFRESH_402"
L9_1 = "ENTER_REGION_259007"
L10_1 = "LEAVE_REGION_259008"
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
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 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 2222
L7_1 = 2223
L8_1 = 2238
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "GADGET_CREATE_343"
L7_1 = "ANY_MONSTER_DIE_344"
L8_1 = "TIME_AXIS_PASS_259011"
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 = {}
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 259009
L6_1[1] = L7_1
L5_1.gadgets = L6_1
L6_1 = {}
L7_1 = 259002
L8_1 = 259007
L9_1 = 259008
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "ENTER_REGION_259002"
L8_1 = "GROUP_LOAD_259003"
L9_1 = "GROUP_REFRESH_259004"
L10_1 = "ENTER_REGION_259007"
L11_1 = "LEAVE_REGION_259008"
L12_1 = "GROUP_WILL_UNLOAD_259010"
L13_1 = "TIME_AXIS_PASS_259011"
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
L6_1[6] = L12_1
L6_1[7] = L13_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L6_1 = {}
L7_1 = {}
L6_1.monsters = L7_1
L7_1 = {}
L8_1 = 2299
L7_1[1] = L8_1
L6_1.gadgets = L7_1
L7_1 = {}
L6_1.regions = L7_1
L7_1 = {}
L8_1 = "GADGET_CREATE_337"
L9_1 = "SELECT_OPTION_359"
L7_1[1] = L8_1
L7_1[2] = L9_1
L6_1.triggers = L7_1
L6_1.rand_weight = 100
L7_1 = {}
L8_1 = {}
L9_1 = 954
L8_1[1] = L9_1
L7_1.monsters = L8_1
L8_1 = {}
L7_1.gadgets = L8_1
L8_1 = {}
L7_1.regions = L8_1
L8_1 = {}
L7_1.triggers = L8_1
L7_1.rand_weight = 100
L8_1 = {}
L9_1 = {}
L8_1.monsters = L9_1
L9_1 = {}
L8_1.gadgets = L9_1
L9_1 = {}
L10_1 = 259008
L9_1[1] = L10_1
L8_1.regions = L9_1
L9_1 = {}
L10_1 = "LEAVE_REGION_259008"
L9_1[1] = L10_1
L8_1.triggers = L9_1
L8_1.rand_weight = 100
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
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 320 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 < 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ENTER_REGION_320 = 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.ShowReminder
L3_2 = A0_2
L4_2 = 30020101
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 : active_reminder_ui"
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 = 2238
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.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 133002259
L5_2 = "Prepare"
L6_2 = 20
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 : create_timerevent_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_320 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2299 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_337 = 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 = 133002259
L5_2 = 2299
L6_2 = {}
L7_2 = 2902
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_337 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 913 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_338 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 2222
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_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 2223
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_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 2238
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_configId"
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_338 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2222 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_343 = 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.InitTimeAxis
L3_2 = A0_2
L4_2 = "CreateMonster"
L5_2 = {}
L6_2 = 4
L5_2[1] = L6_2
L6_2 = false
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 30020121
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 : active_reminder_ui"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "boss_killself"
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 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_343 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 954 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_344 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param2
if L2_2 == 2 then
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "boss_exist"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 259005
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetWeatherAreaState
L3_2 = A0_2
L4_2 = 4
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "133002259"
L2_2(L3_2, L4_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 6
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_344 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 2222
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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 2223
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.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 913
L4_2.delay_time = 4
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_TIMER_EVENT_345 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 2299 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 2902 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_359 = 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.ForceRefreshAuthorityByConfigId
L3_2 = A0_2
L4_2 = 259009
L5_2 = A0_2.uid
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "auth_uid_p1"
L5_2 = A0_2.uid
L5_2 = L5_2 % 10000
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "auth_uid_p2"
L5_2 = A0_2.uid
L5_2 = L5_2 % 10000
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 2299
L6_2 = 2902
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillExtraGroupSuite
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_SELECT_OPTION_359 = 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 = 133002259
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_MONSTER
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_monster_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 = 133002259
L4_2.suite = 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 : 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_QUEST_FINISH_401 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133002259
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_GADGET
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_gadget_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CancelGroupTimerEvent
L3_2 = A0_2
L4_2 = 133002259
L5_2 = "Prepare"
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 : cancel_timerevent_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 133002259
L5_2 = "Prepare"
L6_2 = 20
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 : create_timerevent_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_REFRESH_402 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 259002 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 < 1 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "boss_exist"
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_ENTER_REGION_259002 = 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.SetWeatherAreaState
L3_2 = A0_2
L4_2 = 4
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_259002 = 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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 6
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "boss_exist"
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_259003 = 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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 6
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "boss_exist"
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_REFRESH_259004 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 259007 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ENTER_REGION_259007 = 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 = {}
L3_2 = {}
L4_2 = 1
L5_2 = regions
L5_2 = #L5_2
L6_2 = 1
for L7_2 = L4_2, L5_2, L6_2 do
L8_2 = regions
L8_2 = L8_2[L7_2]
L8_2 = L8_2.config_id
if L8_2 == 259007 then
L8_2 = regions
L2_2 = L8_2[L7_2]
end
L8_2 = regions
L8_2 = L8_2[L7_2]
L8_2 = L8_2.config_id
if L8_2 == 259008 then
L8_2 = regions
L3_2 = L8_2[L7_2]
end
end
L4_2 = TrySetPlayerEyePoint
L5_2 = A0_2
L6_2 = L2_2
L7_2 = L3_2
L8_2 = 0
L9_2 = {}
L10_2 = 0
L9_2[1] = L10_2
L4_2(L5_2, L6_2, L7_2, L8_2, L9_2)
L4_2 = 0
return L4_2
end
action_EVENT_ENTER_REGION_259007 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 259008 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_LEAVE_REGION_259008 = 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.ClearPlayerEyePoint
L3_2 = A0_2
L4_2 = 259007
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
L2_2 = L2_2(L3_2, L4_2)
if 0 == L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.SetWeatherAreaState
L3_2 = A0_2
L4_2 = 4
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 = "boss_exist"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 1 then
L3_2 = ScriptLib
L3_2 = L3_2.AddExtraGroupSuite
L4_2 = A0_2
L5_2 = 133002259
L6_2 = 5
L3_2(L4_2, L5_2, L6_2)
end
L3_2 = ScriptLib
L3_2 = L3_2.RemoveExtraGroupSuite
L4_2 = A0_2
L5_2 = 133002259
L6_2 = 6
L3_2(L4_2, L5_2, L6_2)
L3_2 = ScriptLib
L3_2 = L3_2.RemoveExtraGroupSuite
L4_2 = A0_2
L5_2 = 133002259
L6_2 = 3
L3_2(L4_2, L5_2, L6_2)
else
L2_2 = ScriptLib
L2_2 = L2_2.TryReallocateEntityAuthority
L3_2 = A0_2
L4_2 = A0_2.uid
L5_2 = 259009
L6_2 = 259008
L2_2(L3_2, L4_2, L5_2, L6_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_LEAVE_REGION_259008 = 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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = 133002259
L5_2 = 7
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.EndTimeAxis
L3_2 = A0_2
L4_2 = "CreateMonster"
L2_2(L3_2, L4_2)
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_WILL_UNLOAD_259010 = L1_1
function L1_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 = 954
L4_2.delay_time = 0
L2_2(L3_2, L4_2)
L2_2 = 0
return L2_2
end
action_EVENT_TIME_AXIS_PASS_259011 = L1_1
L1_1 = require
L2_1 = "TD_Lib"
L1_1(L2_1)