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

519 lines
9.6 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 = 133004118
L1_1 = {}
L2_1 = {}
L2_1.config_id = 324
L2_1.monster_id = 21010301
L3_1 = {}
L3_1.x = 2172.215
L3_1.y = 207.098
L3_1.z = -1055.114
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 23.698
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 22
L2_1.drop_id = 1000100
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 325
L3_1.monster_id = 21010301
L4_1 = {}
L4_1.x = 2170.061
L4_1.y = 207.048
L4_1.z = -1053.78
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 23.553
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 22
L3_1.drop_id = 1000100
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 326
L4_1.monster_id = 21010301
L5_1 = {}
L5_1.x = 2167.539
L5_1.y = 206.836
L5_1.z = -1053.118
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 22.679
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 22
L4_1.drop_id = 1000100
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 327
L5_1.monster_id = 22010201
L6_1 = {}
L6_1.x = 2168.199
L6_1.y = 206.791
L6_1.z = -1057.823
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 24.324
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 22
L5_1.drop_id = 1000100
L5_1.area_id = 1
L6_1 = {}
L6_1.config_id = 328
L6_1.monster_id = 22010301
L7_1 = {}
L7_1.x = 2168.081
L7_1.y = 206.75
L7_1.z = -1057.887
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 29.13
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 22
L6_1.drop_id = 1000100
L6_1.area_id = 1
L7_1 = {}
L7_1.config_id = 576
L7_1.monster_id = 21010501
L8_1 = {}
L8_1.x = 2174.031
L8_1.y = 206.571
L8_1.z = -1060.629
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 21.111
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 22
L7_1.drop_id = 1000100
L7_1.area_id = 1
L8_1 = {}
L8_1.config_id = 577
L8_1.monster_id = 21010501
L9_1 = {}
L9_1.x = 2162.118
L9_1.y = 206.382
L9_1.z = -1053.308
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 29.885
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 22
L8_1.drop_id = 1000100
L8_1.area_id = 1
L9_1 = {}
L9_1.config_id = 578
L9_1.monster_id = 21010701
L10_1 = {}
L10_1.x = 2177.326
L10_1.y = 206.85
L10_1.z = -1059.395
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 16.021
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 22
L9_1.drop_id = 1000100
L9_1.area_id = 1
L10_1 = {}
L10_1.config_id = 643
L10_1.monster_id = 21010701
L11_1 = {}
L11_1.x = 2162.993
L11_1.y = 206.812
L11_1.z = -1050.13
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 = 22
L10_1.drop_id = 1000100
L10_1.area_id = 1
L11_1 = {}
L11_1.config_id = 644
L11_1.monster_id = 21010301
L12_1 = {}
L12_1.x = 2177.638
L12_1.y = 206.856
L12_1.z = -1059.356
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 = 22
L11_1.drop_id = 1000100
L11_1.area_id = 1
L12_1 = {}
L12_1.config_id = 645
L12_1.monster_id = 21010901
L13_1 = {}
L13_1.x = 2174.032
L13_1.y = 206.569
L13_1.z = -1060.639
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 = 22
L12_1.drop_id = 1000100
L12_1.area_id = 1
L13_1 = {}
L13_1.config_id = 646
L13_1.monster_id = 21010901
L14_1 = {}
L14_1.x = 2161.895
L14_1.y = 206.389
L14_1.z = -1053.131
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 = 22
L13_1.drop_id = 1000100
L13_1.area_id = 1
L14_1 = {}
L14_1.config_id = 647
L14_1.monster_id = 21010301
L15_1 = {}
L15_1.x = 2162.618
L15_1.y = 206.807
L15_1.z = -1049.887
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 = 22
L14_1.drop_id = 1000100
L14_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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000160
L2_1.name = "SPECIFIC_MONSTER_HP_CHANGE_160"
L3_1 = EventType
L3_1 = L3_1.EVENT_SPECIFIC_MONSTER_HP_CHANGE
L2_1.event = L3_1
L2_1.source = "327"
L2_1.condition = "condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_160"
L2_1.action = "action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_160"
L3_1 = {}
L3_1.config_id = 1000161
L3_1.name = "ANY_MONSTER_DIE_161"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = ""
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_161"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1000280
L4_1.name = "ANY_MONSTER_DIE_280"
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_280"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_280"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 1
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 = {}
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 324
L6_1 = 325
L7_1 = 326
L8_1 = 327
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "SPECIFIC_MONSTER_HP_CHANGE_160"
L6_1 = "ANY_MONSTER_DIE_161"
L7_1 = "ANY_MONSTER_DIE_280"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_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, 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_160 = 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 = 643
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 = 576
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 = 577
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 = 578
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_160 = 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 = "133004118"
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_ANY_MONSTER_DIE_161 = 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_280 = 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 = 644
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 = 645
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 = 646
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 = 647
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 = 328
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_280 = L1_1