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

1223 lines
24 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, L19_1, L20_1, L21_1
L0_1 = {}
L0_1.group_id = 240406010
L1_1 = {}
L2_1 = {}
L2_1.config_id = 10001
L2_1.monster_id = 20010501
L3_1 = {}
L3_1.x = -10.637
L3_1.y = 0.198
L3_1.z = -7.444
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 50.4
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L4_1 = 1007
L5_1 = 1010
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.affix = L3_1
L2_1.isElite = true
L3_1 = {}
L3_1.config_id = 10002
L3_1.monster_id = 20010501
L4_1 = {}
L4_1.x = -6.737
L4_1.y = 0.314
L4_1.z = 8.556
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 112.8
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L5_1 = 1007
L6_1 = 1010
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.affix = L4_1
L3_1.isElite = true
L4_1 = {}
L4_1.config_id = 10003
L4_1.monster_id = 20010601
L5_1 = {}
L5_1.x = 6.563
L5_1.y = 0.314
L5_1.z = -7.544
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 325.6
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L6_1 = 1007
L7_1 = 1009
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.affix = L5_1
L4_1.isElite = true
L5_1 = {}
L5_1.config_id = 10004
L5_1.monster_id = 20010701
L6_1 = {}
L6_1.x = 7.763
L6_1.y = 0.314
L6_1.z = 6.756
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 213.7
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L7_1 = 1007
L8_1 = 1009
L6_1[1] = L7_1
L6_1[2] = L8_1
L5_1.affix = L6_1
L5_1.isElite = true
L6_1 = {}
L6_1.config_id = 10005
L6_1.monster_id = 20010501
L7_1 = {}
L7_1.x = -1.637
L7_1.y = 0.314
L7_1.z = -10.544
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 358.3
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L8_1 = 1007
L9_1 = 1010
L7_1[1] = L8_1
L7_1[2] = L9_1
L6_1.affix = L7_1
L6_1.isElite = true
L7_1 = {}
L7_1.config_id = 10006
L7_1.monster_id = 20010501
L8_1 = {}
L8_1.x = 0.463
L8_1.y = 0.314
L8_1.z = 8.856
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 153.6
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L9_1 = 1007
L10_1 = 1010
L8_1[1] = L9_1
L8_1[2] = L10_1
L7_1.affix = L8_1
L7_1.isElite = true
L8_1 = {}
L8_1.config_id = 10007
L8_1.monster_id = 20010501
L9_1 = {}
L9_1.x = 0.963
L9_1.y = 0.314
L9_1.z = -6.544
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L10_1 = 1007
L11_1 = 1010
L9_1[1] = L10_1
L9_1[2] = L11_1
L8_1.affix = L9_1
L8_1.isElite = true
L9_1 = {}
L9_1.config_id = 10008
L9_1.monster_id = 20010501
L10_1 = {}
L10_1.x = 5.863
L10_1.y = 0.314
L10_1.z = -2.744
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 297.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L11_1 = 1007
L12_1 = 1010
L10_1[1] = L11_1
L10_1[2] = L12_1
L9_1.affix = L10_1
L9_1.isElite = true
L10_1 = {}
L10_1.config_id = 10009
L10_1.monster_id = 20010701
L11_1 = {}
L11_1.x = 6.763
L11_1.y = 0.314
L11_1.z = 6.056
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 249.1
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L12_1 = 1007
L11_1[1] = L12_1
L10_1.affix = L11_1
L10_1.isElite = true
L11_1 = {}
L11_1.config_id = 10010
L11_1.monster_id = 20010501
L12_1 = {}
L12_1.x = -5.537
L12_1.y = 0.314
L12_1.z = 2.756
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 95.7
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L13_1 = 1007
L14_1 = 1010
L12_1[1] = L13_1
L12_1[2] = L14_1
L11_1.affix = L12_1
L11_1.isElite = true
L12_1 = {}
L12_1.config_id = 10011
L12_1.monster_id = 20010501
L13_1 = {}
L13_1.x = 8.363
L13_1.y = 0.314
L13_1.z = 6.956
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 228.8
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L14_1 = 1007
L15_1 = 1010
L13_1[1] = L14_1
L13_1[2] = L15_1
L12_1.affix = L13_1
L12_1.isElite = true
L13_1 = {}
L13_1.config_id = 10012
L13_1.monster_id = 20010501
L14_1 = {}
L14_1.x = 10.163
L14_1.y = 0.215
L14_1.z = -3.144
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 299.8
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L15_1 = 1007
L16_1 = 1010
L14_1[1] = L15_1
L14_1[2] = L16_1
L13_1.affix = L14_1
L13_1.isElite = true
L14_1 = {}
L14_1.config_id = 10013
L14_1.monster_id = 20010501
L15_1 = {}
L15_1.x = -9.637
L15_1.y = 0.014
L15_1.z = 2.656
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 95.7
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = {}
L16_1 = 1007
L17_1 = 1010
L15_1[1] = L16_1
L15_1[2] = L17_1
L14_1.affix = L15_1
L14_1.isElite = true
L15_1 = {}
L15_1.config_id = 10014
L15_1.monster_id = 20010601
L16_1 = {}
L16_1.x = -1.937
L16_1.y = 0.014
L16_1.z = -7.444
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 325.6
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = {}
L17_1 = 1007
L16_1[1] = L17_1
L15_1.affix = L16_1
L15_1.isElite = true
L16_1 = {}
L16_1.config_id = 10015
L16_1.monster_id = 20010701
L17_1 = {}
L17_1.x = -0.637
L17_1.y = 0.014
L17_1.z = 10.256
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 183.3
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L17_1 = {}
L18_1 = 1007
L17_1[1] = L18_1
L16_1.affix = L17_1
L16_1.isElite = true
L17_1 = {}
L17_1.config_id = 10016
L17_1.monster_id = 23030101
L18_1 = {}
L18_1.x = -0.437
L18_1.y = 0.214
L18_1.z = -9.444
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 4.1
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L18_1 = {}
L19_1 = 1007
L20_1 = 9002
L18_1[1] = L19_1
L18_1[2] = L20_1
L17_1.affix = L18_1
L17_1.isElite = true
L18_1 = {}
L18_1.config_id = 10017
L18_1.monster_id = 21010901
L19_1 = {}
L19_1.x = 12.863
L19_1.y = 0.014
L19_1.z = -5.544
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 311.5
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L18_1.pose_id = 32
L19_1 = {}
L19_1.config_id = 10018
L19_1.monster_id = 21010901
L20_1 = {}
L20_1.x = -11.637
L20_1.y = 0.014
L20_1.z = -5.144
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 41.9
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L19_1.pose_id = 32
L20_1 = {}
L20_1.config_id = 10019
L20_1.monster_id = 21010901
L21_1 = {}
L21_1.x = 0.463
L21_1.y = 0.014
L21_1.z = 13.156
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 174.5
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L20_1.pose_id = 32
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
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 10020
L2_1.gadget_id = 70900205
L3_1 = {}
L3_1.x = 9.863
L3_1.y = -1.302
L3_1.z = -3.044
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L1_1[1] = L2_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1010021
L2_1.name = "ANY_MONSTER_LIVE_10021"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_LIVE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_10021"
L2_1.action = "action_EVENT_ANY_MONSTER_LIVE_10021"
L3_1 = {}
L3_1.config_id = 1010022
L3_1.name = "ANY_MONSTER_DIE_10022"
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_10022"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_10022"
L4_1 = {}
L4_1.config_id = 1010023
L4_1.name = "ANY_MONSTER_DIE_10023"
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_10023"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_10023"
L5_1 = {}
L5_1.config_id = 1010024
L5_1.name = "ANY_MONSTER_DIE_10024"
L6_1 = EventType
L6_1 = L6_1.EVENT_ANY_MONSTER_DIE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ANY_MONSTER_DIE_10024"
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_10024"
L6_1 = {}
L6_1.config_id = 1010025
L6_1.name = "ANY_MONSTER_DIE_10025"
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_10025"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_10025"
L7_1 = {}
L7_1.config_id = 1010026
L7_1.name = "ANY_MONSTER_DIE_10026"
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_10026"
L7_1.action = "action_EVENT_ANY_MONSTER_DIE_10026"
L8_1 = {}
L8_1.config_id = 1010027
L8_1.name = "CHALLENGE_SUCCESS_10027"
L9_1 = EventType
L9_1 = L9_1.EVENT_CHALLENGE_SUCCESS
L8_1.event = L9_1
L8_1.source = "1"
L8_1.condition = ""
L8_1.action = "action_EVENT_CHALLENGE_SUCCESS_10027"
L9_1 = {}
L9_1.config_id = 1010028
L9_1.name = "CHALLENGE_FAIL_10028"
L10_1 = EventType
L10_1 = L10_1.EVENT_CHALLENGE_FAIL
L9_1.event = L10_1
L9_1.source = "1"
L9_1.condition = ""
L9_1.action = "action_EVENT_CHALLENGE_FAIL_10028"
L10_1 = {}
L10_1.config_id = 1010029
L10_1.name = "ANY_MONSTER_DIE_10029"
L11_1 = EventType
L11_1 = L11_1.EVENT_ANY_MONSTER_DIE
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_ANY_MONSTER_DIE_10029"
L10_1.action = "action_EVENT_ANY_MONSTER_DIE_10029"
L11_1 = {}
L11_1.config_id = 1010030
L11_1.name = "ANY_MONSTER_DIE_10030"
L12_1 = EventType
L12_1 = L12_1.EVENT_ANY_MONSTER_DIE
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_ANY_MONSTER_DIE_10030"
L11_1.action = "action_EVENT_ANY_MONSTER_DIE_10030"
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 = "Total"
L2_1.value = 0
L2_1.no_refresh = false
L3_1 = {}
L3_1.configId = 2
L3_1.name = "Key"
L3_1.value = 0
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 3
L4_1.name = "C1"
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 = {}
L1_1.suite = 2
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 10001
L5_1 = 10002
L6_1 = 10003
L7_1 = 10004
L8_1 = 10005
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 = 10020
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_LIVE_10021"
L5_1 = "ANY_MONSTER_DIE_10022"
L6_1 = "ANY_MONSTER_DIE_10023"
L7_1 = "ANY_MONSTER_DIE_10024"
L8_1 = "ANY_MONSTER_DIE_10025"
L9_1 = "ANY_MONSTER_DIE_10026"
L10_1 = "CHALLENGE_SUCCESS_10027"
L11_1 = "CHALLENGE_FAIL_10028"
L12_1 = "ANY_MONSTER_DIE_10029"
L13_1 = "ANY_MONSTER_DIE_10030"
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
L3_1[9] = L12_1
L3_1[10] = L13_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 10020
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 = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 10001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_10021 = 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
L2_2 = ScriptLib
L2_2 = L2_2.ActiveChallenge
L3_2 = A0_2
L4_2 = 1
L5_2 = 160
L6_2 = 240406010
L7_2 = 19
L8_2 = 80
L9_2 = 10
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : active_challenge"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 240406011
L5_2 = 11001
L6_2 = 7
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 : del_work_options_by_group_configId"
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 = 240406011
L5_2 = 11001
L6_2 = GadgetState
L6_2 = L6_2.GearStop
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_ANY_MONSTER_LIVE_10021 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 10001 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_10022 = 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 = 10006
L4_2.delay_time = 1
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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "C1"
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_10022 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 10002 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_10023 = 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 = 10007
L4_2.delay_time = 1
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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "C1"
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_10023 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 10003 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_10024 = 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 = 10008
L4_2.delay_time = 1
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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "C1"
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_10024 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 10004 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_10025 = 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 = 10009
L4_2.delay_time = 1
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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "C1"
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_10025 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 10005 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_10026 = 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 = 10010
L4_2.delay_time = 1
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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "C1"
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_10026 = 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.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 240406015
L5_2 = 15001
L6_2 = GadgetState
L6_2 = L6_2.GearStop
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_CHALLENGE_SUCCESS_10027 = 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.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 240406010
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 = ScriptLib
L2_2 = L2_2.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 240406011
L5_2 = 11001
L6_2 = {}
L7_2 = 7
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 = ScriptLib
L2_2 = L2_2.SetGroupGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 240406011
L5_2 = 11001
L6_2 = GadgetState
L6_2 = L6_2.Default
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_CHALLENGE_FAIL_10028 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCountByGroupId
L3_2 = A0_2
L4_2 = 240406010
L2_2 = L2_2(L3_2, L4_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 = "Key"
L2_2 = L2_2(L3_2, L4_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 = "C1"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 5 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_10029 = 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 = 10011
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 = 10012
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 = 10013
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 = 10014
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 = 10015
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.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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_10029 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCountByGroupId
L3_2 = A0_2
L4_2 = 240406010
L2_2 = L2_2(L3_2, L4_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 = "Key"
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_10030 = 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 = 10016
L4_2.delay_time = 1
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 = 10017
L4_2.delay_time = 1
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 = 10018
L4_2.delay_time = 1
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 = 10019
L4_2.delay_time = 1
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_10030 = L1_1