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

941 lines
19 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
L0_1 = {}
L0_1.group_id = 133102297
L1_1 = {}
L2_1 = {}
L2_1.config_id = 297001
L2_1.monster_id = 21011201
L3_1 = {}
L3_1.x = 1186.828
L3_1.y = 200.119
L3_1.z = 125.869
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 113.786
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 18
L2_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L2_1.disableWander = true
L2_1.area_id = 5
L3_1 = {}
L3_1.config_id = 297002
L3_1.monster_id = 21011201
L4_1 = {}
L4_1.x = 1188.437
L4_1.y = 200.171
L4_1.z = 118.09
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 9.555
L4_1.y = 73.918
L4_1.z = 345.225
L3_1.rot = L4_1
L3_1.level = 18
L3_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L3_1.disableWander = true
L3_1.area_id = 5
L4_1 = {}
L4_1.config_id = 297004
L4_1.monster_id = 21010601
L5_1 = {}
L5_1.x = 1179.459
L5_1.y = 201.644
L5_1.z = 128.157
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 116.557
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 18
L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L4_1.disableWander = true
L4_1.area_id = 5
L5_1 = {}
L5_1.config_id = 297005
L5_1.monster_id = 21010601
L6_1 = {}
L6_1.x = 1178.554
L6_1.y = 201.624
L6_1.z = 119.149
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 66.432
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 18
L5_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L5_1.disableWander = true
L5_1.area_id = 5
L6_1 = {}
L6_1.config_id = 297010
L6_1.monster_id = 21030401
L7_1 = {}
L7_1.x = 1174.81
L7_1.y = 202.871
L7_1.z = 120.137
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 353.686
L7_1.y = 42.366
L7_1.z = 334.421
L6_1.rot = L7_1
L6_1.level = 18
L6_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L6_1.disableWander = true
L6_1.area_id = 5
L7_1 = {}
L7_1.config_id = 297024
L7_1.monster_id = 21020301
L8_1 = {}
L8_1.x = 1176.44
L8_1.y = 203.366
L8_1.z = 123.588
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 77.723
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 18
L7_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
L7_1.disableWander = true
L7_1.pose_id = 401
L7_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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 297011
L2_1.gadget_id = 70211012
L3_1 = {}
L3_1.x = 1174.686
L3_1.y = 203.681
L3_1.z = 123.127
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 7.103
L3_1.y = 88.81
L3_1.z = 0.323
L2_1.rot = L3_1
L2_1.level = 16
L2_1.drop_tag = "\230\136\152\230\150\151\228\184\173\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 = 5
L3_1 = {}
L3_1.config_id = 297012
L3_1.gadget_id = 70220013
L4_1 = {}
L4_1.x = 1174.114
L4_1.y = 200.695
L4_1.z = 135.393
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 17.425
L4_1.y = 82.487
L4_1.z = 348.921
L3_1.rot = L4_1
L3_1.level = 16
L3_1.persistent = true
L3_1.area_id = 5
L4_1 = {}
L4_1.config_id = 297014
L4_1.gadget_id = 70300089
L5_1 = {}
L5_1.x = 1181.726
L5_1.y = 201.058
L5_1.z = 119.273
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 350.887
L5_1.y = 13.516
L5_1.z = 352.408
L4_1.rot = L5_1
L4_1.level = 16
L4_1.persistent = true
L4_1.area_id = 5
L5_1 = {}
L5_1.config_id = 297015
L5_1.gadget_id = 70300089
L6_1 = {}
L6_1.x = 1181.264
L6_1.y = 201.682
L6_1.z = 125.961
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 347.846
L6_1.y = 306.177
L6_1.z = 347.066
L5_1.rot = L6_1
L5_1.level = 16
L5_1.persistent = true
L5_1.area_id = 5
L6_1 = {}
L6_1.config_id = 297016
L6_1.gadget_id = 70300081
L7_1 = {}
L7_1.x = 1189.291
L7_1.y = 199.376
L7_1.z = 128.601
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 3.684
L7_1.y = 321.492
L7_1.z = 359.86
L6_1.rot = L7_1
L6_1.level = 16
L6_1.persistent = true
L6_1.area_id = 5
L7_1 = {}
L7_1.config_id = 297017
L7_1.gadget_id = 70220026
L8_1 = {}
L8_1.x = 1178.112
L8_1.y = 200.0
L8_1.z = 134.271
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 3.876
L8_1.y = 311.234
L8_1.z = 351.577
L7_1.rot = L8_1
L7_1.level = 16
L7_1.persistent = true
L7_1.area_id = 5
L8_1 = {}
L8_1.config_id = 297018
L8_1.gadget_id = 70300081
L9_1 = {}
L9_1.x = 1189.953
L9_1.y = 199.749
L9_1.z = 116.11
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 353.94
L9_1.y = 36.984
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 16
L8_1.persistent = true
L8_1.area_id = 5
L9_1 = {}
L9_1.config_id = 297019
L9_1.gadget_id = 70220035
L10_1 = {}
L10_1.x = 1181.256
L10_1.y = 200.778
L10_1.z = 130.093
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 9.788
L10_1.y = 100.473
L10_1.z = 14.913
L9_1.rot = L10_1
L9_1.level = 16
L9_1.persistent = true
L9_1.area_id = 5
L10_1 = {}
L10_1.config_id = 297020
L10_1.gadget_id = 70220035
L11_1 = {}
L11_1.x = 1186.533
L11_1.y = 200.31
L11_1.z = 117.77
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 347.702
L11_1.y = 0.401
L11_1.z = 353.815
L10_1.rot = L11_1
L10_1.level = 16
L10_1.persistent = true
L10_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
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 297006
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 40
L3_1 = {}
L3_1.x = 1180.665
L3_1.y = 200.0
L3_1.z = 124.648
L2_1.pos = L3_1
L2_1.area_id = 5
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1297003
L2_1.name = "ANY_MONSTER_DIE_297003"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_297003"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_297003"
L3_1 = {}
L3_1.config_id = 1297006
L3_1.name = "ENTER_REGION_297006"
L4_1 = EventType
L4_1 = L4_1.EVENT_ENTER_REGION
L3_1.event = L4_1
L3_1.source = "1"
L3_1.condition = "condition_EVENT_ENTER_REGION_297006"
L3_1.action = "action_EVENT_ENTER_REGION_297006"
L4_1 = {}
L4_1.config_id = 1297007
L4_1.name = "QUEST_FINISH_297007"
L5_1 = EventType
L5_1 = L5_1.EVENT_QUEST_FINISH
L4_1.event = L5_1
L4_1.source = "2100301"
L4_1.condition = ""
L4_1.action = "action_EVENT_QUEST_FINISH_297007"
L5_1 = {}
L5_1.config_id = 1297008
L5_1.name = "QUEST_FINISH_297008"
L6_1 = EventType
L6_1 = L6_1.EVENT_QUEST_FINISH
L5_1.event = L6_1
L5_1.source = "2100302"
L5_1.condition = ""
L5_1.action = "action_EVENT_QUEST_FINISH_297008"
L6_1 = {}
L6_1.config_id = 1297009
L6_1.name = "QUEST_FINISH_297009"
L7_1 = EventType
L7_1 = L7_1.EVENT_QUEST_FINISH
L6_1.event = L7_1
L6_1.source = "2100399"
L6_1.condition = "condition_EVENT_QUEST_FINISH_297009"
L6_1.action = "action_EVENT_QUEST_FINISH_297009"
L7_1 = {}
L7_1.config_id = 1297013
L7_1.name = "GROUP_LOAD_297013"
L8_1 = EventType
L8_1 = L8_1.EVENT_GROUP_LOAD
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = ""
L7_1.action = "action_EVENT_GROUP_LOAD_297013"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1297021
L8_1.name = "ANY_MONSTER_DIE_297021"
L9_1 = EventType
L9_1 = L9_1.EVENT_ANY_MONSTER_DIE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_ANY_MONSTER_DIE_297021"
L8_1.action = "action_EVENT_ANY_MONSTER_DIE_297021"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1297022
L9_1.name = "GROUP_LOAD_297022"
L10_1 = EventType
L10_1 = L10_1.EVENT_GROUP_LOAD
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = ""
L9_1.action = "action_EVENT_GROUP_LOAD_297022"
L9_1.trigger_count = 0
L10_1 = {}
L10_1.config_id = 1297023
L10_1.name = "QUEST_START_297023"
L11_1 = EventType
L11_1 = L11_1.EVENT_QUEST_START
L10_1.event = L11_1
L10_1.source = "2100320"
L10_1.condition = ""
L10_1.action = "action_EVENT_QUEST_START_297023"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1297025
L11_1.name = "QUEST_START_297025"
L12_1 = EventType
L12_1 = L12_1.EVENT_QUEST_START
L11_1.event = L12_1
L11_1.source = "2100311"
L11_1.condition = ""
L11_1.action = "action_EVENT_QUEST_START_297025"
L11_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
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "isAcceptQuest"
L2_1.value = 0
L2_1.no_refresh = true
L3_1 = {}
L3_1.configId = 2
L3_1.name = "isFindBridge"
L3_1.value = 0
L3_1.no_refresh = true
L4_1 = {}
L4_1.configId = 3
L4_1.name = "isDefeatEnemies"
L4_1.value = 0
L4_1.no_refresh = true
L5_1 = {}
L5_1.configId = 4
L5_1.name = "isFinished"
L5_1.value = 0
L5_1.no_refresh = true
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 3
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 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "QUEST_FINISH_297007"
L5_1 = "QUEST_FINISH_297008"
L6_1 = "QUEST_START_297025"
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
L2_1.ban_refresh = true
L3_1 = {}
L4_1 = {}
L5_1 = 297001
L6_1 = 297002
L7_1 = 297004
L8_1 = 297005
L9_1 = 297010
L10_1 = 297024
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 297011
L6_1 = 297012
L7_1 = 297014
L8_1 = 297015
L9_1 = 297016
L10_1 = 297017
L11_1 = 297018
L12_1 = 297019
L13_1 = 297020
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L4_1[8] = L12_1
L4_1[9] = L13_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 297006
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_297003"
L6_1 = "ENTER_REGION_297006"
L7_1 = "QUEST_FINISH_297007"
L8_1 = "QUEST_FINISH_297008"
L9_1 = "QUEST_FINISH_297009"
L10_1 = "GROUP_LOAD_297013"
L11_1 = "ANY_MONSTER_DIE_297021"
L12_1 = "QUEST_START_297023"
L13_1 = "QUEST_START_297025"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L4_1[8] = L12_1
L4_1[9] = L13_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L3_1.ban_refresh = true
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "GROUP_LOAD_297022"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L4_1.ban_refresh = true
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_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.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 = "isAcceptQuest"
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_ANY_MONSTER_DIE_297003 = 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 = "defeat_with_quest"
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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "isDefeatEnemies"
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 297011
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_ANY_MONSTER_DIE_297003 = 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 ~= 297006 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 = "isAcceptQuest"
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_297006 = 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 = "find_bridge"
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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "isFindBridge"
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_ENTER_REGION_297006 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "isAcceptQuest"
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_QUEST_FINISH_297007 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "isAcceptQuest"
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_QUEST_FINISH_297008 = 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 = "isAcceptQuest"
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_QUEST_FINISH_297009 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "isFinished"
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 = ScriptLib
L2_2 = L2_2.GoToGroupSuite
L3_2 = A0_2
L4_2 = 133102297
L5_2 = 3
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 : goto_groupSuite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_FINISH_297009 = 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.GetGroupMonsterCountByGroupId
L3_2 = A0_2
L4_2 = 133102297
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 0 then
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupSuite
L3_2 = A0_2
L4_2 = 133102297
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 2 then
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "isAcceptQuest"
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 = "isDefeatEnemies"
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 = "isFindBridge"
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 297011
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 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "already_defeat"
L2_2(L3_2, L4_2)
end
end
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_297013 = 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 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_297021 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "isDefeatEnemies"
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 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 297011
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_ANY_MONSTER_DIE_297021 = 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 = 297011
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_297022 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "isAcceptQuest"
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "isDefeatEnemies"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 1 then
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "already_defeat"
L2_2(L3_2, L4_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_START_297023 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "isAcceptQuest"
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "isDefeatEnemies"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 1 then
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "already_defeat"
L2_2(L3_2, L4_2)
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_START_297025 = L1_1