local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1 L0_1 = {} L0_1.group_id = 133104304 L1_1 = {} L2_1 = {} L2_1.config_id = 304005 L2_1.monster_id = 21011001 L3_1 = {} L3_1.x = 958.734 L3_1.y = 241.584 L3_1.z = 923.848 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 32.259 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 23 L2_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186" L2_1.pose_id = 9003 L2_1.area_id = 6 L3_1 = {} L3_1.config_id = 304006 L3_1.monster_id = 21020501 L4_1 = {} L4_1.x = 986.034 L4_1.y = 239.636 L4_1.z = 920.036 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 12.436 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 23 L3_1.drop_tag = "\228\184\152\228\184\152\229\178\169\231\155\148\231\142\139" L3_1.disableWander = true L3_1.area_id = 6 L4_1 = {} L4_1.config_id = 304008 L4_1.monster_id = 21010701 L5_1 = {} L5_1.x = 971.485 L5_1.y = 238.672 L5_1.z = 917.784 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 138.224 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 23 L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186" L4_1.disableWander = true L4_1.area_id = 6 L5_1 = {} L5_1.config_id = 304012 L5_1.monster_id = 21010101 L6_1 = {} L6_1.x = 987.166 L6_1.y = 238.577 L6_1.z = 937.592 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 67.726 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 23 L5_1.drop_tag = "\228\184\152\228\184\152\228\186\186" L5_1.disableWander = true L5_1.pose_id = 9011 L5_1.area_id = 6 L6_1 = {} L6_1.config_id = 304015 L6_1.monster_id = 21010501 L7_1 = {} L7_1.x = 976.489 L7_1.y = 242.434 L7_1.z = 939.385 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 250.225 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 23 L6_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186" L6_1.disableWander = true L6_1.pose_id = 32 L6_1.area_id = 6 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 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 304002 L2_1.gadget_id = 70211022 L3_1 = {} L3_1.x = 993.085 L3_1.y = 239.493 L3_1.z = 934.834 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 259.155 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 16 L2_1.drop_tag = "\230\136\152\230\150\151\233\171\152\231\186\167\231\146\131\230\156\136" L3_1 = GadgetState L3_1 = L3_1.ChestLocked L2_1.state = L3_1 L2_1.isOneoff = true L2_1.persistent = true L3_1 = {} L3_1.name = "chest" L3_1.exp = 1 L2_1.explore = L3_1 L2_1.area_id = 6 L3_1 = {} L3_1.config_id = 304004 L3_1.gadget_id = 70350007 L4_1 = {} L4_1.x = 989.388 L4_1.y = 239.47 L4_1.z = 933.185 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.613 L4_1.y = 78.582 L4_1.z = 0.003 L3_1.rot = L4_1 L3_1.level = 19 L3_1.persistent = true L3_1.area_id = 6 L4_1 = {} L4_1.config_id = 304009 L4_1.gadget_id = 70220005 L5_1 = {} L5_1.x = 967.025 L5_1.y = 236.988 L5_1.z = 926.32 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 = 19 L4_1.area_id = 6 L5_1 = {} L5_1.config_id = 304010 L5_1.gadget_id = 70220005 L6_1 = {} L6_1.x = 988.13 L6_1.y = 238.577 L6_1.z = 936.755 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 117.836 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 19 L5_1.area_id = 6 L6_1 = {} L6_1.config_id = 304011 L6_1.gadget_id = 70220005 L7_1 = {} L7_1.x = 987.472 L7_1.y = 238.577 L7_1.z = 936.081 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 351.271 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 19 L6_1.area_id = 6 L7_1 = {} L7_1.config_id = 304016 L7_1.gadget_id = 70220014 L8_1 = {} L8_1.x = 986.69 L8_1.y = 238.577 L8_1.z = 939.149 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 = 24 L7_1.area_id = 6 L8_1 = {} L8_1.config_id = 304017 L8_1.gadget_id = 70220013 L9_1 = {} L9_1.x = 983.901 L9_1.y = 238.498 L9_1.z = 939.421 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 359.108 L9_1.y = 359.965 L9_1.z = 4.467 L8_1.rot = L9_1 L8_1.level = 24 L8_1.area_id = 6 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 gadgets = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 304001 L3_1 = RegionShape L3_1 = L3_1.SPHERE L2_1.shape = L3_1 L2_1.radius = 3 L3_1 = {} L3_1.x = 993.471 L3_1.y = 239.495 L3_1.z = 933.972 L2_1.pos = L3_1 L2_1.area_id = 6 L1_1[1] = L2_1 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1304001 L2_1.name = "ENTER_REGION_304001" 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_304001" L2_1.action = "action_EVENT_ENTER_REGION_304001" L3_1 = {} L3_1.config_id = 1304003 L3_1.name = "ANY_MONSTER_DIE_304003" 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_304003" L3_1.action = "action_EVENT_ANY_MONSTER_DIE_304003" L4_1 = {} L4_1.config_id = 1304013 L4_1.name = "GADGET_STATE_CHANGE_304013" L5_1 = EventType L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_304013" L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_304013" L5_1 = {} L5_1.config_id = 1304014 L5_1.name = "GROUP_LOAD_304014" L6_1 = EventType L6_1 = L6_1.EVENT_GROUP_LOAD L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_GROUP_LOAD_304014" L5_1.action = "action_EVENT_GROUP_LOAD_304014" L5_1.trigger_count = 0 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "flag" L2_1.value = 0 L2_1.no_refresh = true L1_1[1] = L2_1 variables = L1_1 L1_1 = {} L1_1.suite = 1 L1_1.end_suite = 0 L1_1.rand_suite = false init_config = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L4_1 = 304005 L5_1 = 304006 L6_1 = 304008 L7_1 = 304012 L8_1 = 304015 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 L2_1.monsters = L3_1 L3_1 = {} L4_1 = 304002 L5_1 = 304004 L6_1 = 304009 L7_1 = 304010 L8_1 = 304011 L9_1 = 304016 L10_1 = 304017 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.gadgets = L3_1 L3_1 = {} L4_1 = 304001 L3_1[1] = L4_1 L2_1.regions = L3_1 L3_1 = {} L4_1 = "ENTER_REGION_304001" L5_1 = "ANY_MONSTER_DIE_304003" L6_1 = "GROUP_LOAD_304014" L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L1_1[1] = L2_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 ~= 304001 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_304001 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 304004 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_ENTER_REGION_304001 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_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 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "flag" 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_DIE_304003 = 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.MarkPlayerAction L3_2 = A0_2 L4_2 = 4001 L5_2 = 3 L6_2 = 1 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 : mark_playerAction" 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 = 304004 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 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 304002 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.SetGroupVariableValue L3_2 = A0_2 L4_2 = "flag" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ANY_MONSTER_DIE_304003 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 304004 == 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 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_304013 = 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.PlayCutScene L3_2 = A0_2 L4_2 = 133104440 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 : play_cutscene" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 133104440 L5_2 = 440005 L6_2 = GadgetState L6_2 = L6_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_304013 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "flag" 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_GROUP_LOAD_304014 = 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.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 304004 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 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 304002 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 = 0 return L2_2 end action_EVENT_GROUP_LOAD_304014 = L1_1