mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
400 lines
7.1 KiB
Lua
400 lines
7.1 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 244007002
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 2010
|
|
L2_1.gadget_id = 70900205
|
|
L3_1 = {}
|
|
L3_1.x = 0.436
|
|
L3_1.y = -5.894
|
|
L3_1.z = -5.079
|
|
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 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 2008
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 30
|
|
L3_1 = {}
|
|
L3_1.x = 0.265
|
|
L3_1.y = -0.083
|
|
L3_1.z = -0.287
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 2012
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 30
|
|
L4_1 = {}
|
|
L4_1.x = 0.265
|
|
L4_1.y = -0.083
|
|
L4_1.z = -0.287
|
|
L3_1.pos = L4_1
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1002008
|
|
L2_1.name = "ENTER_REGION_2008"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_ENTER_REGION
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_ENTER_REGION_2008"
|
|
L2_1.action = "action_EVENT_ENTER_REGION_2008"
|
|
L2_1.forbid_guest = false
|
|
L3_1 = {}
|
|
L3_1.config_id = 1002009
|
|
L3_1.name = "TIMER_EVENT_2009"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_TIMER_EVENT
|
|
L3_1.event = L4_1
|
|
L3_1.source = "T2"
|
|
L3_1.condition = ""
|
|
L3_1.action = "action_EVENT_TIMER_EVENT_2009"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1002012
|
|
L4_1.name = "ENTER_REGION_2012"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_ENTER_REGION
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_ENTER_REGION_2012"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_2012"
|
|
L4_1.forbid_guest = false
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 2001
|
|
L3_1 = {}
|
|
L3_1.x = 3.051
|
|
L3_1.y = -0.102
|
|
L3_1.z = -10.433
|
|
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.tag = 4
|
|
L3_1 = {}
|
|
L3_1.config_id = 2002
|
|
L4_1 = {}
|
|
L4_1.x = -0.6
|
|
L4_1.y = -0.102
|
|
L4_1.z = -11.781
|
|
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.tag = 4
|
|
L4_1 = {}
|
|
L4_1.config_id = 2003
|
|
L5_1 = {}
|
|
L5_1.x = 0.16
|
|
L5_1.y = -0.102
|
|
L5_1.z = -14.334
|
|
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.tag = 4
|
|
L5_1 = {}
|
|
L5_1.config_id = 2004
|
|
L6_1 = {}
|
|
L6_1.x = 4.124
|
|
L6_1.y = -0.102
|
|
L6_1.z = -13.988
|
|
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.tag = 4
|
|
L6_1 = {}
|
|
L6_1.config_id = 2005
|
|
L7_1 = {}
|
|
L7_1.x = -4.472
|
|
L7_1.y = -0.102
|
|
L7_1.z = -13.608
|
|
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.tag = 4
|
|
L7_1 = {}
|
|
L7_1.config_id = 2006
|
|
L8_1 = {}
|
|
L8_1.x = -4.858
|
|
L8_1.y = -0.102
|
|
L8_1.z = -10.283
|
|
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.tag = 4
|
|
L8_1 = {}
|
|
L8_1.config_id = 2007
|
|
L9_1 = {}
|
|
L9_1.x = 0.525
|
|
L9_1.y = -0.102
|
|
L9_1.z = -7.983
|
|
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.tag = 4
|
|
L9_1 = {}
|
|
L9_1.config_id = 2011
|
|
L10_1 = {}
|
|
L10_1.x = -7.804
|
|
L10_1.y = -0.102
|
|
L10_1.z = -7.831
|
|
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.tag = 8
|
|
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
|
|
points = L1_1
|
|
L1_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 = {}
|
|
L4_1 = 2010
|
|
L3_1[1] = L4_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 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 2010
|
|
L4_1[1] = L5_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 2008
|
|
L6_1 = 2012
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ENTER_REGION_2008"
|
|
L6_1 = "TIMER_EVENT_2009"
|
|
L7_1 = "ENTER_REGION_2012"
|
|
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, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 2008 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "IS_BOSS_DEAD"
|
|
L5_2 = 244007001
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_2008 = 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, L10_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AutoPoolMonsterTide
|
|
L3_2 = A0_2
|
|
L4_2 = 2
|
|
L5_2 = 244007002
|
|
L6_2 = {}
|
|
L7_2 = 13032
|
|
L6_2[1] = L7_2
|
|
L7_2 = 0
|
|
L8_2 = {}
|
|
L9_2 = {}
|
|
L10_2 = {}
|
|
L10_2.total_count = 4
|
|
L10_2.min_count = 4
|
|
L10_2.max_count = 4
|
|
L10_2.tag = 4
|
|
L10_2.fill_time = 0
|
|
L10_2.fill_count = 0
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGroupTimerEvent
|
|
L3_2 = A0_2
|
|
L4_2 = 244007002
|
|
L5_2 = "T2"
|
|
L6_2 = 30
|
|
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 : create_timerevent_by_group"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_2008 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 244007002
|
|
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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 244007003
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIMER_EVENT_2009 = 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 ~= 2012 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "EXTRA_MONSTER"
|
|
L5_2 = 244007001
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if L2_2 ~= 1 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValueByGroup
|
|
L3_2 = A0_2
|
|
L4_2 = "IS_BOSS_DEAD"
|
|
L5_2 = 244007001
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_2012 = 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, L10_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AutoPoolMonsterTide
|
|
L3_2 = A0_2
|
|
L4_2 = 21
|
|
L5_2 = 244007002
|
|
L6_2 = {}
|
|
L7_2 = 13040
|
|
L6_2[1] = L7_2
|
|
L7_2 = 0
|
|
L8_2 = {}
|
|
L9_2 = {}
|
|
L10_2 = {}
|
|
L10_2.total_count = 1
|
|
L10_2.min_count = 1
|
|
L10_2.max_count = 1
|
|
L10_2.tag = 8
|
|
L10_2.fill_time = 0
|
|
L10_2.fill_count = 0
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_2012 = L1_1
|