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

1375 lines
29 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
L0_1 = {}
L0_1.group_id = 243005010
L1_1 = {}
L1_1.group_main = 243005007
L1_1.group_1 = 243005010
L1_1.monster_1 = 10007
L1_1.monster_2 = 10004
L1_1.challenge1 = 301
L1_1.challenge2 = 302
L1_1.Region1 = 10012
L1_1.Region2 = 10020
L1_1.challenge_father = 999
L1_1.group_core = 243005005
L1_1.galleryid = 7011
L2_1 = {}
L3_1 = {}
L3_1.config_id = 10004
L3_1.monster_id = 20011101
L4_1 = {}
L4_1.x = -29.124
L4_1.y = 40.06
L4_1.z = -21.365
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 227.03
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 10006
L4_1.monster_id = 22010301
L5_1 = {}
L5_1.x = -29.954
L5_1.y = 40.049
L5_1.z = -31.066
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 272.115
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 10007
L5_1.monster_id = 21011201
L6_1 = {}
L6_1.x = -38.514
L6_1.y = 40.04
L6_1.z = -22.598
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 116.307
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 10008
L6_1.monster_id = 21030101
L7_1 = {}
L7_1.x = -35.525
L7_1.y = 40.02
L7_1.z = -20.008
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 172.816
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 10009
L7_1.monster_id = 21011201
L8_1 = {}
L8_1.x = -34.584
L8_1.y = 40.001
L8_1.z = -35.469
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 = 1
L8_1 = {}
L8_1.config_id = 10011
L8_1.monster_id = 21020301
L9_1 = {}
L9_1.x = -41.132
L9_1.y = 40.0
L9_1.z = -32.934
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 62.486
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
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
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 10019
L3_1.gadget_id = 70900205
L4_1 = {}
L4_1.x = -39.907
L4_1.y = 39.317
L4_1.z = -32.848
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 = 1
L2_1[1] = L3_1
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 10012
L4_1 = RegionShape
L4_1 = L4_1.CUBIC
L3_1.shape = L4_1
L4_1 = {}
L4_1.x = 50.0
L4_1.y = 40.0
L4_1.z = 60.0
L3_1.size = L4_1
L4_1 = {}
L4_1.x = -26.5
L4_1.y = 40.0
L4_1.z = -29.5
L3_1.pos = L4_1
L4_1 = {}
L4_1.config_id = 10020
L5_1 = RegionShape
L5_1 = L5_1.CUBIC
L4_1.shape = L5_1
L5_1 = {}
L5_1.x = 50.0
L5_1.y = 40.0
L5_1.z = 60.0
L4_1.size = L5_1
L5_1 = {}
L5_1.x = -26.5
L5_1.y = 40.0
L5_1.z = -29.5
L4_1.pos = L5_1
L2_1[1] = L3_1
L2_1[2] = L4_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1010001
L3_1.name = "VARIABLE_CHANGE_10001"
L4_1 = EventType
L4_1 = L4_1.EVENT_VARIABLE_CHANGE
L3_1.event = L4_1
L3_1.source = "key"
L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_10001"
L3_1.action = "action_EVENT_VARIABLE_CHANGE_10001"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1010005
L4_1.name = "ANY_MONSTER_DIE_10005"
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_10005"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_10005"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1010012
L5_1.name = "LEAVE_REGION_10012"
L6_1 = EventType
L6_1 = L6_1.EVENT_LEAVE_REGION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_LEAVE_REGION_10012"
L5_1.action = "action_EVENT_LEAVE_REGION_10012"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1010013
L6_1.name = "CHALLENGE_FAIL_10013"
L7_1 = EventType
L7_1 = L7_1.EVENT_CHALLENGE_FAIL
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = ""
L6_1.action = "action_EVENT_CHALLENGE_FAIL_10013"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1010014
L7_1.name = "CHALLENGE_SUCCESS_10014"
L8_1 = EventType
L8_1 = L8_1.EVENT_CHALLENGE_SUCCESS
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = ""
L7_1.action = ""
L8_1 = {}
L8_1.config_id = 1010015
L8_1.name = "ANY_MONSTER_LIVE_10015"
L9_1 = EventType
L9_1 = L9_1.EVENT_ANY_MONSTER_LIVE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_10015"
L8_1.action = "action_EVENT_ANY_MONSTER_LIVE_10015"
L9_1 = {}
L9_1.config_id = 1010016
L9_1.name = "ANY_MONSTER_LIVE_10016"
L10_1 = EventType
L10_1 = L10_1.EVENT_ANY_MONSTER_LIVE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_10016"
L9_1.action = "action_EVENT_ANY_MONSTER_LIVE_10016"
L10_1 = {}
L10_1.config_id = 1010017
L10_1.name = "CHALLENGE_FAIL_10017"
L11_1 = EventType
L11_1 = L11_1.EVENT_CHALLENGE_FAIL
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = ""
L10_1.action = "action_EVENT_CHALLENGE_FAIL_10017"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1010018
L11_1.name = "CHALLENGE_SUCCESS_10018"
L12_1 = EventType
L12_1 = L12_1.EVENT_CHALLENGE_SUCCESS
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = ""
L11_1.action = ""
L12_1 = {}
L12_1.config_id = 1010020
L12_1.name = "LEAVE_REGION_10020"
L13_1 = EventType
L13_1 = L13_1.EVENT_LEAVE_REGION
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_LEAVE_REGION_10020"
L12_1.action = "action_EVENT_LEAVE_REGION_10020"
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1010022
L13_1.name = "VARIABLE_CHANGE_10022"
L14_1 = EventType
L14_1 = L14_1.EVENT_VARIABLE_CHANGE
L13_1.event = L14_1
L13_1.source = "key"
L13_1.condition = "condition_EVENT_VARIABLE_CHANGE_10022"
L13_1.action = "action_EVENT_VARIABLE_CHANGE_10022"
L13_1.trigger_count = 0
L14_1 = {}
L14_1.config_id = 1010023
L14_1.name = "ANY_MONSTER_DIE_10023"
L15_1 = EventType
L15_1 = L15_1.EVENT_ANY_MONSTER_DIE
L14_1.event = L15_1
L14_1.source = ""
L14_1.condition = "condition_EVENT_ANY_MONSTER_DIE_10023"
L14_1.action = "action_EVENT_ANY_MONSTER_DIE_10023"
L14_1.trigger_count = 0
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
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
L2_1[12] = L14_1
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "c3"
L3_1.value = 0
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 2
L4_1.name = "key"
L4_1.value = 0
L4_1.no_refresh = false
L5_1 = {}
L5_1.configId = 3
L5_1.name = "success"
L5_1.value = 0
L5_1.no_refresh = false
L6_1 = {}
L6_1.configId = 4
L6_1.name = "Gflag"
L6_1.value = 0
L6_1.no_refresh = true
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 10019
L4_1[1] = L5_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 0
L4_1 = {}
L5_1 = {}
L6_1 = 10007
L7_1 = 10008
L8_1 = 10009
L9_1 = 10011
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 10012
L5_1[1] = L6_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "VARIABLE_CHANGE_10001"
L7_1 = "ANY_MONSTER_DIE_10005"
L8_1 = "LEAVE_REGION_10012"
L9_1 = "ANY_MONSTER_LIVE_10015"
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L7_1 = 10004
L8_1 = 10006
L6_1[1] = L7_1
L6_1[2] = L8_1
L5_1.monsters = L6_1
L6_1 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L7_1 = 10020
L6_1[1] = L7_1
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "ANY_MONSTER_LIVE_10016"
L8_1 = "LEAVE_REGION_10020"
L9_1 = "VARIABLE_CHANGE_10022"
L10_1 = "ANY_MONSTER_DIE_10023"
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
suites = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "key"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 4 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_10001 = L2_1
function L2_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 = "success"
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.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Gflag"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 1 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "Gflag>>>>>>>>>>>>>>>>>>>>>>>>>>>1"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "AddTime"
L5_2 = 1
L6_2 = L1_1.group_core
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001005
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.PrintContextLog
L3_2 = A0_2
L4_2 = "\231\136\182\230\140\145\230\136\152\230\151\182\233\151\180\229\183\178\231\187\143\228\191\174\230\148\185"
L2_2(L3_2, L4_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Gflag"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 2 then
L2_2 = ScriptLib
L2_2 = L2_2.AttachGalleryAbilityGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.galleryid
L6_2 = 0
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "Gflag>>>>>>>>>>>>>>>>>>>>>>>>>>>2"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001006
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
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Gflag"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 3 then
L2_2 = ScriptLib
L2_2 = L2_2.AttachGalleryAbilityGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.galleryid
L6_2 = 1
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "Gflag>>>>>>>>>>>>>>>>>>>>>>>>>>>3"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001007
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
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Gflag"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 4 then
L2_2 = ScriptLib
L2_2 = L2_2.AttachGalleryAbilityGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.galleryid
L6_2 = 2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "Gflag>>>>>>>>>>>>>>>>>>>>>>>>>>>4"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001008
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
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Gflag"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 5 then
L2_2 = ScriptLib
L2_2 = L2_2.AttachGalleryAbilityGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.galleryid
L6_2 = 3
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "Gflag>>>>>>>>>>>>>>>>>>>>>>>>>>>2"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001006
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
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Gflag"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 6 then
L2_2 = ScriptLib
L2_2 = L2_2.AttachGalleryAbilityGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.galleryid
L6_2 = 4
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "Gflag>>>>>>>>>>>>>>>>>>>>>>>>>>>3"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001007
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
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Gflag"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 7 then
L2_2 = ScriptLib
L2_2 = L2_2.AttachGalleryAbilityGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.galleryid
L6_2 = 5
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "Gflag>>>>>>>>>>>>>>>>>>>>>>>>>>>4"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001008
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
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_10001 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 <= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_10005 = L2_1
function L2_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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "key"
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "AddChildChallengeScore"
L6_2 = {}
L7_2 = 1
L6_2[1] = L7_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_10005 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionConfigId
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L2_2 = L2_2(L3_2, L4_2)
L3_2 = L1_1.Region1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "success"
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_LEAVE_REGION_10012 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "StopChildChallengeFromDiffGroup"
L6_2 = {}
L7_2 = L1_1.challenge1
L8_2 = 0
L6_2[1] = L7_2
L6_2[2] = L8_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "\231\166\187\229\188\128\229\140\186\229\159\159\239\188\140\230\140\145\230\136\152\229\164\177\232\180\165!!!!!!!!!!!"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "f3"
L5_2 = 1
L6_2 = L1_1.group_main
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 : change_GroupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_1
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_LEAVE_REGION_10012 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "f3"
L5_2 = 1
L6_2 = L1_1.group_main
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 : change_GroupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_1
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_10013 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.monster_1
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_10015 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "DefineFatherIndex"
L6_2 = {}
L7_2 = L1_1.challenge_father
L6_2[1] = L7_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "DefineChildChallengeScore"
L6_2 = {}
L7_2 = 1
L8_2 = 1
L6_2[1] = L7_2
L6_2[2] = L8_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "AttachChildChallengeFromDiffGroup"
L6_2 = {}
L7_2 = L1_1.challenge1
L8_2 = 233
L9_2 = 4
L6_2[1] = L7_2
L6_2[2] = L8_2
L6_2[3] = L9_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001009
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_LIVE_10015 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = L1_1.monster_2
L3_2 = A1_2.param1
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_10016 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "DefineFatherIndex"
L6_2 = {}
L7_2 = L1_1.challenge_father
L6_2[1] = L7_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "DefineChildChallengeScore"
L6_2 = {}
L7_2 = 1
L8_2 = 1
L6_2[1] = L7_2
L6_2[2] = L8_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "AttachChildChallengeFromDiffGroup"
L6_2 = {}
L7_2 = L1_1.challenge1
L8_2 = 233
L9_2 = 2
L6_2[1] = L7_2
L6_2[2] = L8_2
L6_2[3] = L9_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001009
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_LIVE_10016 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "f3"
L5_2 = 1
L6_2 = L1_1.group_main
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 : change_GroupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_1
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_10017 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionConfigId
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L2_2 = L2_2(L3_2, L4_2)
L3_2 = L1_1.Region2
if L2_2 ~= L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "success"
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_LEAVE_REGION_10020 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "StopChildChallengeFromDiffGroup"
L6_2 = {}
L7_2 = L1_1.challenge1
L8_2 = 0
L6_2[1] = L7_2
L6_2[2] = L8_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "\231\166\187\229\188\128\229\140\186\229\159\159\239\188\140\230\140\145\230\136\152\229\164\177\232\180\165!!!!!!!!!!!"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "f3"
L5_2 = 1
L6_2 = L1_1.group_main
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 : change_GroupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_1
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_LEAVE_REGION_10020 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "key"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_10022 = L2_1
function L2_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 = "success"
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.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Gflag"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 1 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "Gflag>>>>>>>>>>>>>>>>>>>>>>>>>>>1"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "AddTime"
L5_2 = 1
L6_2 = L1_1.group_core
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_groupVariable_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001005
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.PrintContextLog
L3_2 = A0_2
L4_2 = "\231\136\182\230\140\145\230\136\152\230\151\182\233\151\180\229\183\178\231\187\143\228\191\174\230\148\185"
L2_2(L3_2, L4_2)
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Gflag"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 2 then
L2_2 = ScriptLib
L2_2 = L2_2.AttachGalleryAbilityGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.galleryid
L6_2 = 0
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "Gflag>>>>>>>>>>>>>>>>>>>>>>>>>>>2"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001006
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
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Gflag"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 3 then
L2_2 = ScriptLib
L2_2 = L2_2.AttachGalleryAbilityGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.galleryid
L6_2 = 1
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "Gflag>>>>>>>>>>>>>>>>>>>>>>>>>>>3"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001007
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
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Gflag"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 4 then
L2_2 = ScriptLib
L2_2 = L2_2.AttachGalleryAbilityGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.galleryid
L6_2 = 2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "Gflag>>>>>>>>>>>>>>>>>>>>>>>>>>>4"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001008
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
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Gflag"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 5 then
L2_2 = ScriptLib
L2_2 = L2_2.AttachGalleryAbilityGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.galleryid
L6_2 = 3
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "Gflag>>>>>>>>>>>>>>>>>>>>>>>>>>>2"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001006
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
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Gflag"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 6 then
L2_2 = ScriptLib
L2_2 = L2_2.AttachGalleryAbilityGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.galleryid
L6_2 = 4
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "Gflag>>>>>>>>>>>>>>>>>>>>>>>>>>>3"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001007
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
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "Gflag"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 7 then
L2_2 = ScriptLib
L2_2 = L2_2.AttachGalleryAbilityGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.galleryid
L6_2 = 5
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "Gflag>>>>>>>>>>>>>>>>>>>>>>>>>>>4"
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 43001008
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
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_10022 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 <= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_10023 = L2_1
function L2_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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "key"
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ExecuteGroupLua
L3_2 = A0_2
L4_2 = L1_1.group_core
L5_2 = "AddChildChallengeScore"
L6_2 = {}
L7_2 = 1
L6_2[1] = L7_2
L2_2(L3_2, L4_2, L5_2, L6_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_10023 = L2_1