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

1018 lines
21 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
L0_1 = {}
L0_1.group_id = 133006004
L1_1 = {}
L2_1 = {}
L2_1.config_id = 4002
L2_1.monster_id = 20020101
L3_1 = {}
L3_1.x = 2181.0
L3_1.y = 262.5
L3_1.z = -1738.0
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 13.903
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 40
L2_1.drop_tag = "\229\133\131\231\180\160\228\185\139\230\160\184"
L3_1 = {}
L4_1 = 1008
L5_1 = 1011
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.affix = L3_1
L2_1.isElite = true
L2_1.isOneoff = true
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 4004
L3_1.monster_id = 21030301
L4_1 = {}
L4_1.x = 2193.951
L4_1.y = 265.541
L4_1.z = -1739.341
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 328.396
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 38
L3_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 4005
L4_1.monster_id = 21030301
L5_1 = {}
L5_1.x = 2181.251
L5_1.y = 258.993
L5_1.z = -1726.278
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 163.815
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 38
L4_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 4006
L5_1.monster_id = 21030301
L6_1 = {}
L6_1.x = 2166.643
L6_1.y = 259.696
L6_1.z = -1743.655
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 47.255
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 38
L5_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L5_1.area_id = 1
L6_1 = {}
L6_1.config_id = 4007
L6_1.monster_id = 20010401
L7_1 = {}
L7_1.x = 2169.323
L7_1.y = 259.351
L7_1.z = -1745.635
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 38
L6_1.drop_tag = "\229\164\167\229\143\178\232\142\177\229\167\134"
L6_1.area_id = 1
L7_1 = {}
L7_1.config_id = 4008
L7_1.monster_id = 20010401
L8_1 = {}
L8_1.x = 2165.862
L8_1.y = 258.72
L8_1.z = -1740.733
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 = 38
L7_1.drop_tag = "\229\164\167\229\143\178\232\142\177\229\167\134"
L7_1.area_id = 1
L8_1 = {}
L8_1.config_id = 4009
L8_1.monster_id = 20010401
L9_1 = {}
L9_1.x = 2169.797
L9_1.y = 259.123
L9_1.z = -1741.661
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 = 38
L8_1.drop_tag = "\229\164\167\229\143\178\232\142\177\229\167\134"
L8_1.area_id = 1
L9_1 = {}
L9_1.config_id = 4010
L9_1.monster_id = 20010401
L10_1 = {}
L10_1.x = 2182.101
L10_1.y = 258.987
L10_1.z = -1729.987
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 38
L9_1.drop_tag = "\229\164\167\229\143\178\232\142\177\229\167\134"
L9_1.area_id = 1
L10_1 = {}
L10_1.config_id = 4011
L10_1.monster_id = 20010401
L11_1 = {}
L11_1.x = 2184.341
L11_1.y = 259.069
L11_1.z = -1726.567
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 38
L10_1.drop_tag = "\229\164\167\229\143\178\232\142\177\229\167\134"
L10_1.area_id = 1
L11_1 = {}
L11_1.config_id = 4012
L11_1.monster_id = 20010401
L12_1 = {}
L12_1.x = 2178.959
L12_1.y = 259.027
L12_1.z = -1727.48
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 38
L11_1.drop_tag = "\229\164\167\229\143\178\232\142\177\229\167\134"
L11_1.area_id = 1
L12_1 = {}
L12_1.config_id = 4013
L12_1.monster_id = 20010401
L13_1 = {}
L13_1.x = 2190.782
L13_1.y = 260.67
L13_1.z = -1738.796
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 38
L12_1.drop_tag = "\229\164\167\229\143\178\232\142\177\229\167\134"
L12_1.area_id = 1
L13_1 = {}
L13_1.config_id = 4014
L13_1.monster_id = 20010401
L14_1 = {}
L14_1.x = 2173.796
L14_1.y = 259.088
L14_1.z = -1734.758
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 38
L13_1.drop_tag = "\229\164\167\229\143\178\232\142\177\229\167\134"
L13_1.area_id = 1
L14_1 = {}
L14_1.config_id = 4015
L14_1.monster_id = 20010401
L15_1 = {}
L15_1.x = 2177.782
L15_1.y = 260.316
L15_1.z = -1746.364
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 38
L14_1.drop_tag = "\229\164\167\229\143\178\232\142\177\229\167\134"
L14_1.area_id = 1
L15_1 = {}
L15_1.config_id = 4021
L15_1.monster_id = 21030301
L16_1 = {}
L16_1.x = 2177.898
L16_1.y = 260.319
L16_1.z = -1748.018
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 328.396
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 38
L15_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L15_1.area_id = 1
L16_1 = {}
L16_1.config_id = 4022
L16_1.monster_id = 21030301
L17_1 = {}
L17_1.x = 2174.266
L17_1.y = 258.855
L17_1.z = -1733.024
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 328.396
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 38
L16_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L16_1.area_id = 1
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 4001
L2_1.gadget_id = 70500000
L3_1 = {}
L3_1.x = 2206.892
L3_1.y = 262.326
L3_1.z = -1727.331
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.278
L3_1.y = 183.893
L3_1.z = 359.924
L2_1.rot = L3_1
L2_1.level = 15
L2_1.point_type = 9124
L2_1.persistent = true
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 4016
L3_1.gadget_id = 70710129
L4_1 = {}
L4_1.x = 2180.98
L4_1.y = 258.766
L4_1.z = -1738.471
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 14.57
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 15
L3_1.isOneoff = true
L3_1.persistent = true
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 4024
L4_1.gadget_id = 70710171
L5_1 = {}
L5_1.x = 2180.473
L5_1.y = 257.133
L5_1.z = -1740.801
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 = 15
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 4027
L5_1.gadget_id = 70360040
L6_1 = {}
L6_1.x = 2206.894
L6_1.y = 262.334
L6_1.z = -1727.284
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 15
L5_1.area_id = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1004003
L2_1.name = "ANY_MONSTER_DIE_4003"
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_4003"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_4003"
L3_1 = {}
L3_1.config_id = 1004017
L3_1.name = "VARIABLE_CHANGE_4017"
L4_1 = EventType
L4_1 = L4_1.EVENT_VARIABLE_CHANGE
L3_1.event = L4_1
L3_1.source = "count2"
L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_4017"
L3_1.action = "action_EVENT_VARIABLE_CHANGE_4017"
L4_1 = {}
L4_1.config_id = 1004018
L4_1.name = "SPECIFIC_MONSTER_HP_CHANGE_4018"
L5_1 = EventType
L5_1 = L5_1.EVENT_SPECIFIC_MONSTER_HP_CHANGE
L4_1.event = L5_1
L4_1.source = "4002"
L4_1.condition = "condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_4018"
L4_1.action = "action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_4018"
L5_1 = {}
L5_1.config_id = 1004019
L5_1.name = "SPECIFIC_MONSTER_HP_CHANGE_4019"
L6_1 = EventType
L6_1 = L6_1.EVENT_SPECIFIC_MONSTER_HP_CHANGE
L5_1.event = L6_1
L5_1.source = "4002"
L5_1.condition = "condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_4019"
L5_1.action = "action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_4019"
L6_1 = {}
L6_1.config_id = 1004020
L6_1.name = "SPECIFIC_MONSTER_HP_CHANGE_4020"
L7_1 = EventType
L7_1 = L7_1.EVENT_SPECIFIC_MONSTER_HP_CHANGE
L6_1.event = L7_1
L6_1.source = "4002"
L6_1.condition = "condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_4020"
L6_1.action = "action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_4020"
L7_1 = {}
L7_1.config_id = 1004023
L7_1.name = "ANY_GADGET_DIE_4023"
L8_1 = EventType
L8_1 = L8_1.EVENT_ANY_GADGET_DIE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_ANY_GADGET_DIE_4023"
L7_1.action = "action_EVENT_ANY_GADGET_DIE_4023"
L8_1 = {}
L8_1.config_id = 1004025
L8_1.name = "QUEST_FINISH_4025"
L9_1 = EventType
L9_1 = L9_1.EVENT_QUEST_FINISH
L8_1.event = L9_1
L8_1.source = "7101208"
L8_1.condition = "condition_EVENT_QUEST_FINISH_4025"
L8_1.action = "action_EVENT_QUEST_FINISH_4025"
L9_1 = {}
L9_1.config_id = 1004026
L9_1.name = "GATHER_4026"
L10_1 = EventType
L10_1 = L10_1.EVENT_GATHER
L9_1.event = L10_1
L9_1.source = "4001"
L9_1.condition = ""
L9_1.action = "action_EVENT_GATHER_4026"
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 = "windcore2"
L2_1.value = 0
L2_1.no_refresh = true
L3_1 = {}
L3_1.configId = 2
L3_1.name = "count2"
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 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_4003"
L5_1 = "VARIABLE_CHANGE_4017"
L6_1 = "SPECIFIC_MONSTER_HP_CHANGE_4018"
L7_1 = "SPECIFIC_MONSTER_HP_CHANGE_4019"
L8_1 = "SPECIFIC_MONSTER_HP_CHANGE_4020"
L9_1 = "ANY_GADGET_DIE_4023"
L10_1 = "QUEST_FINISH_4025"
L11_1 = "GATHER_4026"
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
L2_2 = A1_2.param1
if L2_2 ~= 4002 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_4003 = 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.AddQuestProgress
L3_2 = A0_2
L4_2 = "7101223_end"
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.ChangeGroupVariableValueByGroup
L3_2 = A0_2
L4_2 = "dead"
L5_2 = 1
L6_2 = 133006002
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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133006004
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_MONSTER
L4_2.kill_policy = L5_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 : kill_monster_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133006002
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_MONSTER
L4_2.kill_policy = L5_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 : kill_monster_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = {}
L2_2.x = 2191
L2_2.y = 261
L2_2.z = -1727
L3_2 = {}
L3_2.x = 0
L3_2.y = 0
L3_2.z = 0
L4_2 = ScriptLib
L4_2 = L4_2.BeginCameraSceneLook
L5_2 = A0_2
L6_2 = {}
L6_2.look_pos = L2_2
L6_2.is_allow_input = false
L6_2.duration = 3
L6_2.is_force = true
L6_2.is_broadcast = false
L6_2.is_recover_keep_current = true
L6_2.delay = 1
L6_2.is_set_follow_pos = false
L6_2.follow_pos = L3_2
L6_2.is_force_walk = false
L6_2.is_change_play_mode = false
L6_2.is_set_screen_XY = false
L6_2.screen_x = 0
L6_2.screen_y = 0
L4_2 = L4_2(L5_2, L6_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_cameraLook_Begin"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.SetGadgetStateByConfigId
L5_2 = A0_2
L6_2 = 4024
L7_2 = GadgetState
L7_2 = L7_2.GearStop
L4_2 = L4_2(L5_2, L6_2, L7_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = 0
return L4_2
end
action_EVENT_ANY_MONSTER_DIE_4003 = L1_1
function L1_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 = "count2"
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_4017 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 4024
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_gadget"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 4016
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_gadget"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_4017 = 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 (50 < 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_4018 = 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 = 4021
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 = 4015
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_4018 = 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 (20 < 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_4019 = 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 = 4006
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 = 4004
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 = 4008
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 = 4012
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_4019 = 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 (100 < 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_4020 = 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 = 4010
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 = 4007
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 = 4013
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_4020 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 4016 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_4023 = 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 = 4002
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.AddQuestProgress
L3_2 = A0_2
L4_2 = "7101218_end"
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.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 4024
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_gadget"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_GADGET_DIE_4023 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 7101208 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 1 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_QUEST_FINISH_4025 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 4001
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_gadget"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 4027
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_gadget"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_FINISH_4025 = 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.RemoveEntityByConfigId
L3_2 = A0_2
L4_2 = 133006004
L5_2 = EntityType
L5_2 = L5_2.GADGET
L6_2 = 4027
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 : remove_gadget_by_configid"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GATHER_4026 = L1_1