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 L0_1 = {} L0_1.group_id = 133102091 L1_1 = {} L2_1 = {} L2_1.config_id = 91003 L2_1.monster_id = 20010901 L3_1 = {} L3_1.x = 1674.823 L3_1.y = 278.8 L3_1.z = 515.635 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 261.676 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L2_1.drop_id = 1000100 L2_1.area_id = 5 L3_1 = {} L3_1.config_id = 91005 L3_1.monster_id = 20010901 L4_1 = {} L4_1.x = 1670.03 L4_1.y = 283.935 L4_1.z = 511.411 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 301.563 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 18 L3_1.drop_id = 1000100 L4_1 = {} L5_1 = 1008 L6_1 = 1014 L4_1[1] = L5_1 L4_1[2] = L6_1 L3_1.affix = L4_1 L3_1.isElite = true L3_1.isOneoff = true L3_1.area_id = 5 L4_1 = {} L4_1.config_id = 91006 L4_1.monster_id = 20010801 L5_1 = {} L5_1.x = 1674.263 L5_1.y = 278.673 L5_1.z = 516.597 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.114 L5_1.y = 267.901 L5_1.z = 3.101 L4_1.rot = L5_1 L4_1.level = 18 L4_1.drop_id = 1000100 L4_1.area_id = 5 L5_1 = {} L5_1.config_id = 91007 L5_1.monster_id = 20010901 L6_1 = {} L6_1.x = 1671.683 L6_1.y = 278.8 L6_1.z = 504.244 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 295.515 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L5_1.drop_id = 1000100 L5_1.area_id = 5 L6_1 = {} L6_1.config_id = 91008 L6_1.monster_id = 20010801 L7_1 = {} L7_1.x = 1674.144 L7_1.y = 278.737 L7_1.z = 514.595 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.156 L7_1.y = 278.563 L7_1.z = 0.028 L6_1.rot = L7_1 L6_1.level = 18 L6_1.drop_id = 1000100 L6_1.area_id = 5 L7_1 = {} L7_1.config_id = 91009 L7_1.monster_id = 20010801 L8_1 = {} L8_1.x = 1671.538 L8_1.y = 278.764 L8_1.z = 506.226 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 297.619 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 18 L7_1.drop_id = 1000100 L7_1.area_id = 5 L8_1 = {} L8_1.config_id = 91010 L8_1.monster_id = 20010801 L9_1 = {} L9_1.x = 1671.109 L9_1.y = 278.764 L9_1.z = 504.509 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 317.726 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 18 L8_1.drop_id = 1000100 L8_1.area_id = 5 L9_1 = {} L9_1.config_id = 91013 L9_1.monster_id = 20010801 L10_1 = {} L10_1.x = 1674.085 L10_1.y = 278.737 L10_1.z = 518.443 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.144 L10_1.y = 243.534 L10_1.z = 359.933 L9_1.rot = L10_1 L9_1.level = 18 L9_1.drop_id = 1000100 L9_1.area_id = 5 L10_1 = {} L10_1.config_id = 91024 L10_1.monster_id = 20010801 L11_1 = {} L11_1.x = 1674.297 L11_1.y = 279.069 L11_1.z = 517.094 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 246.207 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 18 L10_1.drop_id = 1000100 L10_1.area_id = 5 L11_1 = {} L11_1.config_id = 91025 L11_1.monster_id = 20010801 L12_1 = {} L12_1.x = 1670.804 L12_1.y = 279.069 L12_1.z = 502.913 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 300.041 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 18 L11_1.drop_id = 1000100 L11_1.area_id = 5 L12_1 = {} L12_1.config_id = 91038 L12_1.monster_id = 20010801 L13_1 = {} L13_1.x = 1670.016 L13_1.y = 279.122 L13_1.z = 503.099 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 0.208 L13_1.y = 305.724 L13_1.z = 1.556 L12_1.rot = L13_1 L12_1.level = 18 L12_1.drop_id = 1000100 L12_1.area_id = 5 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 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 91002 L2_1.gadget_id = 70211022 L3_1 = {} L3_1.x = 1674.946 L3_1.y = 279.885 L3_1.z = 509.876 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 289.766 L3_1.z = 358.118 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.ChestTrap L2_1.state = L3_1 L2_1.isOneoff = true L2_1.persistent = true L2_1.autopick = true L3_1 = {} L3_1.name = "chest" L3_1.exp = 1 L2_1.explore = L3_1 L2_1.area_id = 5 L1_1[1] = L2_1 gadgets = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 91011 L3_1 = RegionShape L3_1 = L3_1.SPHERE L2_1.shape = L3_1 L2_1.radius = 5 L3_1 = {} L3_1.x = 1671.95 L3_1.y = 278.554 L3_1.z = 511.303 L2_1.pos = L3_1 L2_1.area_id = 5 L3_1 = {} L3_1.config_id = 91049 L4_1 = RegionShape L4_1 = L4_1.SPHERE L3_1.shape = L4_1 L3_1.radius = 20 L4_1 = {} L4_1.x = 1658.042 L4_1.y = 278.8 L4_1.z = 513.853 L3_1.pos = L4_1 L3_1.area_id = 5 L1_1[1] = L2_1 L1_1[2] = L3_1 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1091004 L2_1.name = "GROUP_LOAD_91004" L3_1 = EventType L3_1 = L3_1.EVENT_GROUP_LOAD L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_GROUP_LOAD_91004" L2_1.action = "action_EVENT_GROUP_LOAD_91004" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1091011 L3_1.name = "ENTER_REGION_91011" L4_1 = EventType L4_1 = L4_1.EVENT_ENTER_REGION L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_ENTER_REGION_91011" L3_1.action = "action_EVENT_ENTER_REGION_91011" L4_1 = {} L4_1.config_id = 1091012 L4_1.name = "ANY_MONSTER_DIE_91012" 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_91012" L4_1.action = "action_EVENT_ANY_MONSTER_DIE_91012" L5_1 = {} L5_1.config_id = 1091015 L5_1.name = "GROUP_LOAD_91015" 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_91015" L5_1.action = "action_EVENT_GROUP_LOAD_91015" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1091030 L6_1.name = "SPECIFIC_MONSTER_HP_CHANGE_91030" L7_1 = EventType L7_1 = L7_1.EVENT_SPECIFIC_MONSTER_HP_CHANGE L6_1.event = L7_1 L6_1.source = "91005" L6_1.condition = "condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_91030" L6_1.action = "action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_91030" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1091047 L7_1.name = "ANY_MONSTER_DIE_91047" L8_1 = EventType L8_1 = L8_1.EVENT_ANY_MONSTER_DIE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_ANY_MONSTER_DIE_91047" L7_1.action = "action_EVENT_ANY_MONSTER_DIE_91047" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1091048 L8_1.name = "GADGET_STATE_CHANGE_91048" L9_1 = EventType L9_1 = L9_1.EVENT_GADGET_STATE_CHANGE L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_91048" L8_1.action = "action_EVENT_GADGET_STATE_CHANGE_91048" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1091049 L9_1.name = "ENTER_REGION_91049" L10_1 = EventType L10_1 = L10_1.EVENT_ENTER_REGION L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_ENTER_REGION_91049" L9_1.action = "action_EVENT_ENTER_REGION_91049" L9_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 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "fin1" L2_1.value = 0 L2_1.no_refresh = true L3_1 = {} L3_1.configId = 2 L3_1.name = "fin2" L3_1.value = 0 L3_1.no_refresh = true L1_1[1] = L2_1 L1_1[2] = L3_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 = {} L2_1.monsters = L3_1 L3_1 = {} L4_1 = 91002 L3_1[1] = L4_1 L2_1.gadgets = L3_1 L3_1 = {} L4_1 = 91011 L5_1 = 91049 L3_1[1] = L4_1 L3_1[2] = L5_1 L2_1.regions = L3_1 L3_1 = {} L4_1 = "GROUP_LOAD_91004" L5_1 = "ENTER_REGION_91011" L6_1 = "ANY_MONSTER_DIE_91012" L7_1 = "GROUP_LOAD_91015" L8_1 = "SPECIFIC_MONSTER_HP_CHANGE_91030" L9_1 = "ANY_MONSTER_DIE_91047" L10_1 = "GADGET_STATE_CHANGE_91048" L11_1 = "ENTER_REGION_91049" 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 L3_1[8] = L11_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 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "fin1" 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.CheckRemainGadgetCountByGroupId L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133102091 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_GROUP_LOAD_91004 = 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 = 91002 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_91004 = 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 ~= 91011 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_91011 = 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.CreateMonster L3_2 = A0_2 L4_2 = {} L4_2.config_id = 91005 L4_2.delay_time = 0 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 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 91002 L5_2 = GadgetState L5_2 = L5_2.ChestLocked 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_91011 = L1_1 function L1_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 ~= 7 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_MONSTER_DIE_91012 = 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 = 91003 L4_2.delay_time = 0 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 = ScriptLib L2_2 = L2_2.CreateMonster L3_2 = A0_2 L4_2 = {} L4_2.config_id = 91024 L4_2.delay_time = 0 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 = ScriptLib L2_2 = L2_2.CreateMonster L3_2 = A0_2 L4_2 = {} L4_2.config_id = 91007 L4_2.delay_time = 0 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 = ScriptLib L2_2 = L2_2.CreateMonster L3_2 = A0_2 L4_2 = {} L4_2.config_id = 91025 L4_2.delay_time = 0 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_91012 = 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 = "fin2" 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_91015 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.AddQuestProgress L3_2 = A0_2 L4_2 = "finish_133102091" 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 : add_quest_progress" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GROUP_LOAD_91015 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.type L3_2 = EventType L3_2 = L3_2.EVENT_SPECIFIC_MONSTER_HP_CHANGE if L2_2 == L3_2 then L2_2 = A1_2.param3 if not (85 < L2_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_SPECIFIC_MONSTER_HP_CHANGE_91030 = 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 = 91013 L4_2.delay_time = 0 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 = ScriptLib L2_2 = L2_2.CreateMonster L3_2 = A0_2 L4_2 = {} L4_2.config_id = 91006 L4_2.delay_time = 0 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 = ScriptLib L2_2 = L2_2.CreateMonster L3_2 = A0_2 L4_2 = {} L4_2.config_id = 91008 L4_2.delay_time = 0 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 = ScriptLib L2_2 = L2_2.CreateMonster L3_2 = A0_2 L4_2 = {} L4_2.config_id = 91009 L4_2.delay_time = 0 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 = ScriptLib L2_2 = L2_2.CreateMonster L3_2 = A0_2 L4_2 = {} L4_2.config_id = 91010 L4_2.delay_time = 0 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 = ScriptLib L2_2 = L2_2.CreateMonster L3_2 = A0_2 L4_2 = {} L4_2.config_id = 91038 L4_2.delay_time = 0 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_SPECIFIC_MONSTER_HP_CHANGE_91030 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if L2_2 ~= 91005 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_MONSTER_DIE_91047 = 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 = 91002 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 = "fin1" 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_91047 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 91002 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestOpened 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_91048 = 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.AddQuestProgress L3_2 = A0_2 L4_2 = "finish_133102091" 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 : add_quest_progress" 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 = 91001 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.SetGroupVariableValue L3_2 = A0_2 L4_2 = "fin2" 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_GADGET_STATE_CHANGE_91048 = 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 ~= 91049 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_91049 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.AddQuestProgress L3_2 = A0_2 L4_2 = "finish_133102091_zhiyin" 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 : add_quest_progress" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ENTER_REGION_91049 = L1_1