mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
improve lisas dungeon scripts readability (#22)
Co-authored-by: hartie95 <mail@hartie95.de>
This commit is contained in:
parent
40defb5265
commit
56284e8ece
@ -1,50 +1,26 @@
|
||||
local L0_1, L1_1, L2_1
|
||||
L0_1 = {}
|
||||
L1_1 = {}
|
||||
L1_1.x = -3183.1
|
||||
L1_1.z = -3914.8
|
||||
L0_1.begin_pos = L1_1
|
||||
L1_1 = {}
|
||||
L1_1.x = 7251.8
|
||||
L1_1.z = 7647.9
|
||||
L0_1.size = L1_1
|
||||
L1_1 = {}
|
||||
L1_1.x = 549.825
|
||||
L1_1.y = -43.0
|
||||
L1_1.z = 36.335
|
||||
L0_1.born_pos = L1_1
|
||||
L1_1 = {}
|
||||
L1_1.x = 0.0
|
||||
L1_1.y = 0.0
|
||||
L1_1.z = 0.0
|
||||
L0_1.born_rot = L1_1
|
||||
L0_1.die_y = -80
|
||||
L1_1 = {}
|
||||
L1_1.x = -3183.1
|
||||
L1_1.z = -3914.8
|
||||
L0_1.vision_anchor = L1_1
|
||||
scene_config = L0_1
|
||||
L0_1 = {}
|
||||
L1_1 = 20011
|
||||
L0_1[1] = L1_1
|
||||
blocks = L0_1
|
||||
L0_1 = {}
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L2_1.x = -3183.1
|
||||
L2_1.z = -3914.8
|
||||
L1_1.min = L2_1
|
||||
L2_1 = {}
|
||||
L2_1.x = 4068.8
|
||||
L2_1.z = 3733.1
|
||||
L1_1.max = L2_1
|
||||
L0_1[1] = L1_1
|
||||
block_rects = L0_1
|
||||
L0_1 = {}
|
||||
L1_1 = "dummy_points"
|
||||
L0_1[1] = L1_1
|
||||
dummy_points = L0_1
|
||||
L0_1 = {}
|
||||
L1_1 = "routes"
|
||||
L0_1[1] = L1_1
|
||||
routes_config = L0_1
|
||||
scene_config = {
|
||||
begin_pos = { x = -3183.1, z = -3914.8 },
|
||||
size = { x = 7251.8, z = 7647.9 },
|
||||
born_pos = { x = 549.825, y = -43.0, z = 36.335 },
|
||||
born_rot = { x = 0.0, y = 0.0, z = 0.0 },
|
||||
die_y = -80,
|
||||
vision_anchor = { x = -3183.1, z = -3914.8 }
|
||||
}
|
||||
blocks = {
|
||||
20011
|
||||
}
|
||||
|
||||
block_rects = {
|
||||
{
|
||||
min = { x = -3183.1, z = -3914.8 },
|
||||
max = { x = 4068.8, z = 3733.1 }
|
||||
}
|
||||
}
|
||||
|
||||
dummy_points = {
|
||||
"dummy_points"
|
||||
}
|
||||
|
||||
routes_config = {
|
||||
"routes"
|
||||
}
|
||||
|
@ -1,65 +1,9 @@
|
||||
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1
|
||||
L0_1 = {}
|
||||
L1_1 = {}
|
||||
L1_1.id = 220011001
|
||||
L1_1.refresh_id = 1001
|
||||
L2_1 = {}
|
||||
L2_1.x = 482.533
|
||||
L2_1.y = -21.557
|
||||
L2_1.z = 67.901
|
||||
L1_1.pos = L2_1
|
||||
L2_1 = {}
|
||||
L2_1.id = 220011002
|
||||
L2_1.refresh_id = 1001
|
||||
L3_1 = {}
|
||||
L3_1.x = 404.611
|
||||
L3_1.y = -22.097
|
||||
L3_1.z = 123.562
|
||||
L2_1.pos = L3_1
|
||||
L3_1 = {}
|
||||
L3_1.id = 220011003
|
||||
L3_1.refresh_id = 1001
|
||||
L4_1 = {}
|
||||
L4_1.x = 487.411
|
||||
L4_1.y = -21.557
|
||||
L4_1.z = 120.364
|
||||
L3_1.pos = L4_1
|
||||
L4_1 = {}
|
||||
L4_1.id = 220011004
|
||||
L4_1.refresh_id = 1
|
||||
L5_1 = {}
|
||||
L5_1.x = 532.904
|
||||
L5_1.y = -1.984
|
||||
L5_1.z = 242.369
|
||||
L4_1.pos = L5_1
|
||||
L5_1 = {}
|
||||
L5_1.id = 220011006
|
||||
L5_1.refresh_id = 1001
|
||||
L6_1 = {}
|
||||
L6_1.x = 411.579
|
||||
L6_1.y = -22.05
|
||||
L6_1.z = 67.135
|
||||
L5_1.pos = L6_1
|
||||
L6_1 = {}
|
||||
L6_1.id = 220011007
|
||||
L6_1.refresh_id = 1
|
||||
L7_1 = {}
|
||||
L7_1.x = 512.678
|
||||
L7_1.y = -37.384
|
||||
L7_1.z = 70.972
|
||||
L6_1.pos = L7_1
|
||||
L7_1 = {}
|
||||
L7_1.id = 220011901
|
||||
L8_1 = {}
|
||||
L8_1.x = 514.882
|
||||
L8_1.y = -37.384
|
||||
L8_1.z = 72.99
|
||||
L7_1.pos = L8_1
|
||||
L0_1[1] = L1_1
|
||||
L0_1[2] = L2_1
|
||||
L0_1[3] = L3_1
|
||||
L0_1[4] = L4_1
|
||||
L0_1[5] = L5_1
|
||||
L0_1[6] = L6_1
|
||||
L0_1[7] = L7_1
|
||||
groups = L0_1
|
||||
groups = {
|
||||
{ id = 220011001, refresh_id = 1001, pos = { x = 482.533, y = -21.557, z = 67.901 } },
|
||||
{ id = 220011002, refresh_id = 1001, pos = { x = 404.611, y = -22.097, z = 123.562 } },
|
||||
{ id = 220011003, refresh_id = 1001, pos = { x = 487.411, y = -21.557, z = 120.364 } },
|
||||
{ id = 220011004, refresh_id = 1, pos = { x = 532.904, y = -1.984, z = 242.369 } },
|
||||
{ id = 220011006, refresh_id = 1001, pos = { x = 411.579, y = -22.05, z = 67.135 } },
|
||||
{ id = 220011007, refresh_id = 1, pos = { x = 512.678, y = -37.384, z = 70.972 } },
|
||||
{ id = 220011901, pos = { x = 514.882, y = -37.384, z = 72.99 } }
|
||||
}
|
@ -1,87 +1,9 @@
|
||||
local L0_1, L1_1, L2_1
|
||||
L0_1 = {}
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L2_1.x = 550.087
|
||||
L2_1.y = -38.184
|
||||
L2_1.z = 59.971
|
||||
L1_1.pos = L2_1
|
||||
L2_1 = {}
|
||||
L2_1.x = 0.0
|
||||
L2_1.y = 0.0
|
||||
L2_1.z = 0.0
|
||||
L1_1.rot = L2_1
|
||||
L0_1.Q30812Player = L1_1
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L2_1.x = 535.24
|
||||
L2_1.y = -1.984
|
||||
L2_1.z = 252.617
|
||||
L1_1.pos = L2_1
|
||||
L2_1 = {}
|
||||
L2_1.x = 0.0
|
||||
L2_1.y = 241.24
|
||||
L2_1.z = 0.0
|
||||
L1_1.rot = L2_1
|
||||
L0_1.Q308Lisa = L1_1
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L2_1.x = 550.122
|
||||
L2_1.y = -38.15
|
||||
L2_1.z = 62.006
|
||||
L1_1.pos = L2_1
|
||||
L2_1 = {}
|
||||
L2_1.x = 0.0
|
||||
L2_1.y = 179.45
|
||||
L2_1.z = 0.0
|
||||
L1_1.rot = L2_1
|
||||
L0_1.Q308LisaDungeon = L1_1
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L2_1.x = 550.122
|
||||
L2_1.y = -38.15
|
||||
L2_1.z = 62.006
|
||||
L1_1.pos = L2_1
|
||||
L2_1 = {}
|
||||
L2_1.x = 0.0
|
||||
L2_1.y = 0.0
|
||||
L2_1.z = 0.0
|
||||
L1_1.rot = L2_1
|
||||
L0_1.Q308LisaWay = L1_1
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L2_1.x = 533.844
|
||||
L2_1.y = -1.984
|
||||
L2_1.z = 250.744
|
||||
L1_1.pos = L2_1
|
||||
L2_1 = {}
|
||||
L2_1.x = 0.0
|
||||
L2_1.y = 31.312
|
||||
L2_1.z = 0.0
|
||||
L1_1.rot = L2_1
|
||||
L0_1.Q308Paimon = L1_1
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L2_1.x = 533.174
|
||||
L2_1.y = -1.953
|
||||
L2_1.z = 251.773
|
||||
L1_1.pos = L2_1
|
||||
L2_1 = {}
|
||||
L2_1.x = 0.0
|
||||
L2_1.y = 73.661
|
||||
L2_1.z = 0.0
|
||||
L1_1.rot = L2_1
|
||||
L0_1.Q308Player = L1_1
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L2_1.x = 474.457
|
||||
L2_1.y = -20.033
|
||||
L2_1.z = 72.402
|
||||
L1_1.pos = L2_1
|
||||
L2_1 = {}
|
||||
L2_1.x = 0.0
|
||||
L2_1.y = 0.0
|
||||
L2_1.z = 0.0
|
||||
L1_1.rot = L2_1
|
||||
L0_1.Q308SavePointIntro = L1_1
|
||||
dummy_points = L0_1
|
||||
dummy_points = {
|
||||
Q30812Player = { pos = { x = 550.087, y = -38.184, z = 59.971 }, rot = { x = 0, y = 0, z = 0 } },
|
||||
Q308Lisa = { pos = { x = 535.24, y = -1.984, z = 252.617 }, rot = { x = 0, y = 241.24, z = 0 } },
|
||||
Q308LisaDungeon = { pos = { x = 550.122, y = -38.15, z = 62.006 }, rot = { x = 0, y = 179.45, z = 0 } },
|
||||
Q308LisaWay = { pos = { x = 550.122, y = -38.15, z = 62.006 }, rot = { x = 0, y = 0, z = 0 } },
|
||||
Q308Paimon = { pos = { x = 533.844, y = -1.984, z = 250.744 }, rot = { x = 0, y = 31.312, z = 0 } },
|
||||
Q308Player = { pos = { x = 533.174, y = -1.953, z = 251.773 }, rot = { x = 0, y = 73.661, z = 0 } },
|
||||
Q308SavePointIntro = { pos = { x = 474.457, y = -20.033, z = 72.402 }, rot = { x = 0, y = 0, z = 0 } }
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,673 +1,200 @@
|
||||
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
|
||||
L0_1 = {}
|
||||
L0_1.group_id = 220011002
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L2_1.config_id = 2001
|
||||
L2_1.monster_id = 21010401
|
||||
L3_1 = {}
|
||||
L3_1.x = 403.547
|
||||
L3_1.y = -23.915
|
||||
L3_1.z = 127.105
|
||||
L2_1.pos = L3_1
|
||||
L3_1 = {}
|
||||
L3_1.x = 0.0
|
||||
L3_1.y = 182.002
|
||||
L3_1.z = 0.0
|
||||
L2_1.rot = L3_1
|
||||
L2_1.level = 3
|
||||
L2_1.disableWander = true
|
||||
L2_1.pose_id = 402
|
||||
L3_1 = {}
|
||||
L3_1.config_id = 2002
|
||||
L3_1.monster_id = 21010401
|
||||
L4_1 = {}
|
||||
L4_1.x = 408.938
|
||||
L4_1.y = -24.157
|
||||
L4_1.z = 125.166
|
||||
L3_1.pos = L4_1
|
||||
L4_1 = {}
|
||||
L4_1.x = 0.0
|
||||
L4_1.y = 206.842
|
||||
L4_1.z = 0.0
|
||||
L3_1.rot = L4_1
|
||||
L3_1.level = 3
|
||||
L3_1.disableWander = true
|
||||
L3_1.pose_id = 402
|
||||
L4_1 = {}
|
||||
L4_1.config_id = 2003
|
||||
L4_1.monster_id = 21010401
|
||||
L5_1 = {}
|
||||
L5_1.x = 397.369
|
||||
L5_1.y = -24.082
|
||||
L5_1.z = 125.887
|
||||
L4_1.pos = L5_1
|
||||
L5_1 = {}
|
||||
L5_1.x = 0.0
|
||||
L5_1.y = 159.597
|
||||
L5_1.z = 0.0
|
||||
L4_1.rot = L5_1
|
||||
L4_1.level = 3
|
||||
L4_1.disableWander = true
|
||||
L4_1.pose_id = 402
|
||||
L5_1 = {}
|
||||
L5_1.config_id = 2004
|
||||
L5_1.monster_id = 21010201
|
||||
L6_1 = {}
|
||||
L6_1.x = 400.309
|
||||
L6_1.y = -24.535
|
||||
L6_1.z = 130.894
|
||||
L5_1.pos = L6_1
|
||||
L6_1 = {}
|
||||
L6_1.x = 0.0
|
||||
L6_1.y = 181.892
|
||||
L6_1.z = 0.0
|
||||
L5_1.rot = L6_1
|
||||
L5_1.level = 3
|
||||
L1_1[1] = L2_1
|
||||
L1_1[2] = L3_1
|
||||
L1_1[3] = L4_1
|
||||
L1_1[4] = L5_1
|
||||
monsters = L1_1
|
||||
L1_1 = {}
|
||||
npcs = L1_1
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L2_1.config_id = 2005
|
||||
L2_1.gadget_id = 70350002
|
||||
L3_1 = {}
|
||||
L3_1.x = 415.696
|
||||
L3_1.y = -24.157
|
||||
L3_1.z = 120.856
|
||||
L2_1.pos = L3_1
|
||||
L3_1 = {}
|
||||
L3_1.x = 0.0
|
||||
L3_1.y = 90.0
|
||||
L3_1.z = 0.0
|
||||
L2_1.rot = L3_1
|
||||
L2_1.level = 1
|
||||
L3_1 = {}
|
||||
L3_1.config_id = 2006
|
||||
L3_1.gadget_id = 70211002
|
||||
L4_1 = {}
|
||||
L4_1.x = 403.362
|
||||
L4_1.y = -24.195
|
||||
L4_1.z = 122.321
|
||||
L3_1.pos = L4_1
|
||||
L4_1 = {}
|
||||
L4_1.x = 0.0
|
||||
L4_1.y = 180.016
|
||||
L4_1.z = 0.0
|
||||
L3_1.rot = L4_1
|
||||
L3_1.level = 1
|
||||
L3_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\232\146\153\229\190\183"
|
||||
L4_1 = GadgetState
|
||||
L4_1 = L4_1.ChestLocked
|
||||
L3_1.state = L4_1
|
||||
L3_1.isOneoff = true
|
||||
L4_1 = {}
|
||||
L4_1.config_id = 2007
|
||||
L4_1.gadget_id = 70220005
|
||||
L5_1 = {}
|
||||
L5_1.x = 399.79
|
||||
L5_1.y = -23.586
|
||||
L5_1.z = 140.555
|
||||
L4_1.pos = L5_1
|
||||
L5_1 = {}
|
||||
L5_1.x = 0.0
|
||||
L5_1.y = 212.019
|
||||
L5_1.z = 0.0
|
||||
L4_1.rot = L5_1
|
||||
L4_1.level = 1
|
||||
L5_1 = {}
|
||||
L5_1.config_id = 2008
|
||||
L5_1.gadget_id = 70220014
|
||||
L6_1 = {}
|
||||
L6_1.x = 401.448
|
||||
L6_1.y = -23.735
|
||||
L6_1.z = 141.314
|
||||
L5_1.pos = L6_1
|
||||
L6_1 = {}
|
||||
L6_1.x = 0.0
|
||||
L6_1.y = 206.747
|
||||
L6_1.z = 0.0
|
||||
L5_1.rot = L6_1
|
||||
L5_1.level = 1
|
||||
L6_1 = {}
|
||||
L6_1.config_id = 2009
|
||||
L6_1.gadget_id = 70220013
|
||||
L7_1 = {}
|
||||
L7_1.x = 404.071
|
||||
L7_1.y = -23.598
|
||||
L7_1.z = 141.198
|
||||
L6_1.pos = L7_1
|
||||
L7_1 = {}
|
||||
L7_1.x = 0.0
|
||||
L7_1.y = 199.722
|
||||
L7_1.z = 0.0
|
||||
L6_1.rot = L7_1
|
||||
L6_1.level = 1
|
||||
L7_1 = {}
|
||||
L7_1.config_id = 2010
|
||||
L7_1.gadget_id = 70220013
|
||||
L8_1 = {}
|
||||
L8_1.x = 402.69
|
||||
L8_1.y = -23.677
|
||||
L8_1.z = 142.969
|
||||
L7_1.pos = L8_1
|
||||
L8_1 = {}
|
||||
L8_1.x = 0.0
|
||||
L8_1.y = 205.364
|
||||
L8_1.z = 0.0
|
||||
L7_1.rot = L8_1
|
||||
L7_1.level = 1
|
||||
L8_1 = {}
|
||||
L8_1.config_id = 2011
|
||||
L8_1.gadget_id = 70220013
|
||||
L9_1 = {}
|
||||
L9_1.x = 399.898
|
||||
L9_1.y = -23.576
|
||||
L9_1.z = 142.352
|
||||
L8_1.pos = L9_1
|
||||
L9_1 = {}
|
||||
L9_1.x = 0.0
|
||||
L9_1.y = 92.675
|
||||
L9_1.z = 0.0
|
||||
L8_1.rot = L9_1
|
||||
L8_1.level = 1
|
||||
L9_1 = {}
|
||||
L9_1.config_id = 2012
|
||||
L9_1.gadget_id = 70310001
|
||||
L10_1 = {}
|
||||
L10_1.x = 414.01
|
||||
L10_1.y = -22.193
|
||||
L10_1.z = 126.607
|
||||
L9_1.pos = L10_1
|
||||
L10_1 = {}
|
||||
L10_1.x = 0.0
|
||||
L10_1.y = 270.0
|
||||
L10_1.z = 0.0
|
||||
L9_1.rot = L10_1
|
||||
L9_1.level = 1
|
||||
L10_1 = {}
|
||||
L10_1.config_id = 2013
|
||||
L10_1.gadget_id = 70310001
|
||||
L11_1 = {}
|
||||
L11_1.x = 413.83
|
||||
L11_1.y = -22.155
|
||||
L11_1.z = 114.879
|
||||
L10_1.pos = L11_1
|
||||
L11_1 = {}
|
||||
L11_1.x = 0.0
|
||||
L11_1.y = 270.0
|
||||
L11_1.z = 0.0
|
||||
L10_1.rot = L11_1
|
||||
L10_1.level = 1
|
||||
L11_1 = {}
|
||||
L11_1.config_id = 2014
|
||||
L11_1.gadget_id = 70900202
|
||||
L12_1 = {}
|
||||
L12_1.x = 422.935
|
||||
L12_1.y = -22.809
|
||||
L12_1.z = 120.917
|
||||
L11_1.pos = L12_1
|
||||
L12_1 = {}
|
||||
L12_1.x = 0.0
|
||||
L12_1.y = 215.579
|
||||
L12_1.z = 0.0
|
||||
L11_1.rot = L12_1
|
||||
L11_1.level = 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
|
||||
gadgets = L1_1
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L2_1.config_id = 33
|
||||
L3_1 = RegionShape
|
||||
L3_1 = L3_1.CUBIC
|
||||
L2_1.shape = L3_1
|
||||
L3_1 = {}
|
||||
L3_1.x = 5.0
|
||||
L3_1.y = 3.0
|
||||
L3_1.z = 10.0
|
||||
L2_1.size = L3_1
|
||||
L3_1 = {}
|
||||
L3_1.x = 418.49
|
||||
L3_1.y = -24.134
|
||||
L3_1.z = 121.102
|
||||
L2_1.pos = L3_1
|
||||
L3_1 = {}
|
||||
L3_1.config_id = 62
|
||||
L4_1 = RegionShape
|
||||
L4_1 = L4_1.CUBIC
|
||||
L3_1.shape = L4_1
|
||||
L4_1 = {}
|
||||
L4_1.x = 10.0
|
||||
L4_1.y = 3.0
|
||||
L4_1.z = 10.0
|
||||
L3_1.size = L4_1
|
||||
L4_1 = {}
|
||||
L4_1.x = 418.126
|
||||
L4_1.y = -22.55
|
||||
L4_1.z = 71.301
|
||||
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 = 1000009
|
||||
L2_1.name = "ANY_MONSTER_DIE_9"
|
||||
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_9"
|
||||
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_9"
|
||||
L3_1 = {}
|
||||
L3_1.config_id = 1000032
|
||||
L3_1.name = "ANY_MONSTER_DIE_32"
|
||||
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_32"
|
||||
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_32"
|
||||
L4_1 = {}
|
||||
L4_1.config_id = 1000033
|
||||
L4_1.name = "ENTER_REGION_33"
|
||||
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_33"
|
||||
L4_1.action = "action_EVENT_ENTER_REGION_33"
|
||||
L4_1.forbid_guest = false
|
||||
L5_1 = {}
|
||||
L5_1.config_id = 1000062
|
||||
L5_1.name = "ENTER_REGION_62"
|
||||
L6_1 = EventType
|
||||
L6_1 = L6_1.EVENT_ENTER_REGION
|
||||
L5_1.event = L6_1
|
||||
L5_1.source = ""
|
||||
L5_1.condition = "condition_EVENT_ENTER_REGION_62"
|
||||
L5_1.action = "action_EVENT_ENTER_REGION_62"
|
||||
L5_1.forbid_guest = false
|
||||
L1_1[1] = L2_1
|
||||
L1_1[2] = L3_1
|
||||
L1_1[3] = L4_1
|
||||
L1_1[4] = L5_1
|
||||
triggers = L1_1
|
||||
L1_1 = {}
|
||||
variables = L1_1
|
||||
L1_1 = {}
|
||||
L1_1.suite = 1
|
||||
L1_1.end_suite = 0
|
||||
L1_1.rand_suite = true
|
||||
init_config = L1_1
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L3_1 = {}
|
||||
L4_1 = 2001
|
||||
L5_1 = 2002
|
||||
L6_1 = 2003
|
||||
L7_1 = 2004
|
||||
L3_1[1] = L4_1
|
||||
L3_1[2] = L5_1
|
||||
L3_1[3] = L6_1
|
||||
L3_1[4] = L7_1
|
||||
L2_1.monsters = L3_1
|
||||
L3_1 = {}
|
||||
L4_1 = 2005
|
||||
L5_1 = 2006
|
||||
L6_1 = 2007
|
||||
L7_1 = 2008
|
||||
L8_1 = 2009
|
||||
L9_1 = 2010
|
||||
L10_1 = 2011
|
||||
L11_1 = 2012
|
||||
L12_1 = 2013
|
||||
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
|
||||
L2_1.gadgets = L3_1
|
||||
L3_1 = {}
|
||||
L4_1 = 33
|
||||
L5_1 = 62
|
||||
L3_1[1] = L4_1
|
||||
L3_1[2] = L5_1
|
||||
L2_1.regions = L3_1
|
||||
L3_1 = {}
|
||||
L4_1 = "ANY_MONSTER_DIE_9"
|
||||
L5_1 = "ANY_MONSTER_DIE_32"
|
||||
L6_1 = "ENTER_REGION_33"
|
||||
L7_1 = "ENTER_REGION_62"
|
||||
L3_1[1] = L4_1
|
||||
L3_1[2] = L5_1
|
||||
L3_1[3] = L6_1
|
||||
L3_1[4] = L7_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, 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
|
||||
group_id = 220011002
|
||||
|
||||
monsters = {
|
||||
{ config_id = 2001, monster_id = 21010401, pos = { x = 403.547, y = -23.915, z = 127.105 }, rot = { x = 0, y = 182.002, z = 0 }, level = 3, disableWander = true, pose_id = 402 },
|
||||
{ config_id = 2002, monster_id = 21010401, pos = { x = 408.938, y = -24.157, z = 125.166 }, rot = { x = 0, y = 206.842, z = 0 }, level = 3, disableWander = true, pose_id = 402 },
|
||||
{ config_id = 2003, monster_id = 21010401, pos = { x = 397.369, y = -24.082, z = 125.887 }, rot = { x = 0, y = 159.597, z = 0 }, level = 3, disableWander = true, pose_id = 402 },
|
||||
{ config_id = 2004, monster_id = 21010201, pos = { x = 400.309, y = -24.535, z = 130.894 }, rot = { x = 0, y = 181.892, z = 0 }, level = 3 }
|
||||
}
|
||||
|
||||
npcs = { }
|
||||
|
||||
gadgets = {
|
||||
{ config_id = 2005, gadget_id = 70350002, pos = { x = 415.696, y = -24.157, z = 120.856 }, rot = { x = 0, y = 90, z = 0 }, level = 1 },
|
||||
{ config_id = 2006, gadget_id = 70211002, pos = { x = 403.362, y = -24.195, z = 122.321 }, rot = { x = 0, y = 180.016, z = 0 }, level = 1, drop_tag = "战斗低级蒙德", state = GadgetState.ChestLocked, isOneoff = true },
|
||||
{ config_id = 2007, gadget_id = 70220005, pos = { x = 399.79, y = -23.586, z = 140.555 }, rot = { x = 0, y = 212.019, z = 0 }, level = 1 },
|
||||
{ config_id = 2008, gadget_id = 70220014, pos = { x = 401.448, y = -23.735, z = 141.314 }, rot = { x = 0, y = 206.747, z = 0 }, level = 1 },
|
||||
{ config_id = 2009, gadget_id = 70220013, pos = { x = 404.071, y = -23.598, z = 141.198 }, rot = { x = 0, y = 199.722, z = 0 }, level = 1 },
|
||||
{ config_id = 2010, gadget_id = 70220013, pos = { x = 402.69, y = -23.677, z = 142.969 }, rot = { x = 0, y = 205.364, z = 0 }, level = 1 },
|
||||
{ config_id = 2011, gadget_id = 70220013, pos = { x = 399.898, y = -23.576, z = 142.352 }, rot = { x = 0, y = 92.675, z = 0 }, level = 1 },
|
||||
{ config_id = 2012, gadget_id = 70310001, pos = { x = 414.01, y = -22.193, z = 126.607 }, rot = { x = 0, y = 270, z = 0 }, level = 1 },
|
||||
{ config_id = 2013, gadget_id = 70310001, pos = { x = 413.83, y = -22.155, z = 114.879 }, rot = { x = 0, y = 270, z = 0 }, level = 1 },
|
||||
{ config_id = 2014, gadget_id = 70900202, pos = { x = 422.935, y = -22.809, z = 120.917 }, rot = { x = 0, y = 215.579, z = 0 }, level = 1 }
|
||||
}
|
||||
|
||||
regions = {
|
||||
{ config_id = 33, shape = RegionShape.CUBIC, size = { x = 5, y = 3, z = 10 }, pos = { x = 418.49, y = -24.134, z = 121.102 } },
|
||||
{ config_id = 62, shape = RegionShape.CUBIC, size = { x = 10, y = 3, z = 10 }, pos = { x = 418.126, y = -22.55, z = 71.301 } }
|
||||
}
|
||||
|
||||
triggers = {
|
||||
{ config_id = 1000009, name = "ANY_MONSTER_DIE_9", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_9", action = "action_EVENT_ANY_MONSTER_DIE_9" },
|
||||
{ config_id = 1000032, name = "ANY_MONSTER_DIE_32", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_32", action = "action_EVENT_ANY_MONSTER_DIE_32" },
|
||||
{ config_id = 1000033, name = "ENTER_REGION_33", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_33", action = "action_EVENT_ENTER_REGION_33", forbid_guest = false },
|
||||
{ config_id = 1000062, name = "ENTER_REGION_62", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_62", action = "action_EVENT_ENTER_REGION_62", forbid_guest = false }
|
||||
}
|
||||
|
||||
variables = { }
|
||||
|
||||
init_config = {
|
||||
suite = 1,
|
||||
end_suite = 0,
|
||||
rand_suite = true
|
||||
}
|
||||
|
||||
suites = {{
|
||||
monsters = {2001, 2002, 2003, 2004},
|
||||
gadgets = {2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013},
|
||||
regions = {33, 62},
|
||||
triggers = {"ANY_MONSTER_DIE_9", "ANY_MONSTER_DIE_32", "ENTER_REGION_33", "ENTER_REGION_62"},
|
||||
rand_weight = 100
|
||||
}}
|
||||
|
||||
function condition_EVENT_ANY_MONSTER_DIE_9(context, args)
|
||||
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
|
||||
return false
|
||||
end
|
||||
L2_2 = true
|
||||
return L2_2
|
||||
return true
|
||||
end
|
||||
condition_EVENT_ANY_MONSTER_DIE_9 = 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.AddExtraGroupSuite
|
||||
L3_2 = A0_2
|
||||
L4_2 = 220011007
|
||||
L5_2 = 5
|
||||
L2_2(L3_2, L4_2, L5_2)
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.RemoveExtraGroupSuite
|
||||
L3_2 = A0_2
|
||||
L4_2 = 220011007
|
||||
L5_2 = 4
|
||||
L2_2(L3_2, L4_2, L5_2)
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.SetGadgetStateByConfigId
|
||||
L3_2 = A0_2
|
||||
L4_2 = 2005
|
||||
L5_2 = GadgetState
|
||||
L5_2 = L5_2.GearStart
|
||||
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_gadget_state_by_configId"
|
||||
L2_2(L3_2, L4_2)
|
||||
L2_2 = -1
|
||||
return L2_2
|
||||
|
||||
function action_EVENT_ANY_MONSTER_DIE_9(context, args)
|
||||
ScriptLib.AddExtraGroupSuite(context, 220011007, 5)
|
||||
ScriptLib.RemoveExtraGroupSuite(context, 220011007, 4)
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2005, GadgetState.GearStart) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
|
||||
return -1
|
||||
end
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.SetGadgetStateByConfigId
|
||||
L3_2 = A0_2
|
||||
L4_2 = 2012
|
||||
L5_2 = GadgetState
|
||||
L5_2 = L5_2.GearStart
|
||||
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_gadget_state_by_configId"
|
||||
L2_2(L3_2, L4_2)
|
||||
L2_2 = -1
|
||||
return L2_2
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2012, GadgetState.GearStart) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
|
||||
return -1
|
||||
end
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.SetGadgetStateByConfigId
|
||||
L3_2 = A0_2
|
||||
L4_2 = 2013
|
||||
L5_2 = GadgetState
|
||||
L5_2 = L5_2.GearStart
|
||||
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_gadget_state_by_configId"
|
||||
L2_2(L3_2, L4_2)
|
||||
L2_2 = -1
|
||||
return L2_2
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2013, GadgetState.GearStart) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
|
||||
return -1
|
||||
end
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.CreateGadget
|
||||
L3_2 = A0_2
|
||||
L4_2 = {}
|
||||
L4_2.config_id = 2014
|
||||
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 : dungeon_settle"
|
||||
L2_2(L3_2, L4_2)
|
||||
L2_2 = -1
|
||||
return L2_2
|
||||
|
||||
if 0 ~= ScriptLib.CreateGadget(context, {
|
||||
config_id = 2014
|
||||
}) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : dungeon_settle")
|
||||
return -1
|
||||
end
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.ShowReminder
|
||||
L3_2 = A0_2
|
||||
L4_2 = 1041042
|
||||
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
|
||||
|
||||
if 0 ~= ScriptLib.ShowReminder(context, 1041042) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
|
||||
return -1
|
||||
end
|
||||
L2_2 = {}
|
||||
L2_2.x = 415
|
||||
L2_2.y = -19
|
||||
L2_2.z = 121
|
||||
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 = 2
|
||||
L6_2.is_force = true
|
||||
L6_2.is_broadcast = false
|
||||
L6_2.is_recover_keep_current = true
|
||||
L6_2.delay = 0
|
||||
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
|
||||
|
||||
local lookPos = {
|
||||
x = 415,
|
||||
y = -19,
|
||||
z = 121
|
||||
}
|
||||
local followPos = {
|
||||
x = 0,
|
||||
y = 0,
|
||||
z = 0
|
||||
}
|
||||
if 0 ~= ScriptLib.BeginCameraSceneLook(context, {
|
||||
look_pos = lookPos,
|
||||
is_allow_input = false,
|
||||
duration = 2,
|
||||
is_force = true,
|
||||
is_broadcast = false,
|
||||
is_recover_keep_current = true,
|
||||
delay = 0,
|
||||
is_set_follow_pos = false,
|
||||
follow_pos = followPos,
|
||||
is_force_walk = false,
|
||||
is_change_play_mode = false,
|
||||
is_set_screen_XY = false,
|
||||
screen_x = 0,
|
||||
screen_y = 0
|
||||
}) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin")
|
||||
return -1
|
||||
end
|
||||
L4_2 = 0
|
||||
return L4_2
|
||||
return 0
|
||||
end
|
||||
action_EVENT_ANY_MONSTER_DIE_9 = 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
|
||||
|
||||
|
||||
function condition_EVENT_ANY_MONSTER_DIE_32(context, args)
|
||||
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
|
||||
return false
|
||||
end
|
||||
L2_2 = true
|
||||
return L2_2
|
||||
return true
|
||||
end
|
||||
condition_EVENT_ANY_MONSTER_DIE_32 = 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.SetGadgetStateByConfigId
|
||||
L3_2 = A0_2
|
||||
L4_2 = 2006
|
||||
L5_2 = GadgetState
|
||||
L5_2 = L5_2.Default
|
||||
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_gadget_state_by_configId"
|
||||
L2_2(L3_2, L4_2)
|
||||
L2_2 = -1
|
||||
return L2_2
|
||||
|
||||
function action_EVENT_ANY_MONSTER_DIE_32(context, args)
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2006, GadgetState.Default) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
|
||||
return -1
|
||||
end
|
||||
L2_2 = 0
|
||||
return L2_2
|
||||
return 0
|
||||
end
|
||||
action_EVENT_ANY_MONSTER_DIE_32 = 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 ~= 33 then
|
||||
L2_2 = false
|
||||
return L2_2
|
||||
|
||||
function condition_EVENT_ENTER_REGION_33(context, args)
|
||||
if args.param1 ~= 33 then
|
||||
return false
|
||||
end
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.GetRegionEntityCount
|
||||
L3_2 = A0_2
|
||||
L4_2 = {}
|
||||
L5_2 = A1_2.source_eid
|
||||
L4_2.region_eid = L5_2
|
||||
L5_2 = EntityType
|
||||
L5_2 = L5_2.AVATAR
|
||||
L4_2.entity_type = L5_2
|
||||
L2_2 = L2_2(L3_2, L4_2)
|
||||
if L2_2 < 1 then
|
||||
L2_2 = false
|
||||
return L2_2
|
||||
local avatarEntityCount = ScriptLib.GetRegionEntityCount(context, { region_eid = args.source_eid, entity_type = EntityType.AVATAR })
|
||||
if avatarEntityCount < 1 then
|
||||
return false
|
||||
end
|
||||
L2_2 = true
|
||||
return L2_2
|
||||
return true
|
||||
end
|
||||
condition_EVENT_ENTER_REGION_33 = L1_1
|
||||
function L1_1(A0_2, A1_2)
|
||||
local L2_2, L3_2, L4_2
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.ShowReminder
|
||||
L3_2 = A0_2
|
||||
L4_2 = 1041072
|
||||
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
|
||||
|
||||
function action_EVENT_ENTER_REGION_33(context, args)
|
||||
if 0 ~= ScriptLib.ShowReminder(context, 1041072) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
|
||||
return -1
|
||||
end
|
||||
L2_2 = 0
|
||||
return L2_2
|
||||
return 0
|
||||
end
|
||||
action_EVENT_ENTER_REGION_33 = 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 ~= 62 then
|
||||
L2_2 = false
|
||||
return L2_2
|
||||
|
||||
function condition_EVENT_ENTER_REGION_62(context, args)
|
||||
if args.param1 ~= 62 then
|
||||
return false
|
||||
end
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.GetRegionEntityCount
|
||||
L3_2 = A0_2
|
||||
L4_2 = {}
|
||||
L5_2 = A1_2.source_eid
|
||||
L4_2.region_eid = L5_2
|
||||
L5_2 = EntityType
|
||||
L5_2 = L5_2.AVATAR
|
||||
L4_2.entity_type = L5_2
|
||||
L2_2 = L2_2(L3_2, L4_2)
|
||||
if L2_2 < 1 then
|
||||
L2_2 = false
|
||||
return L2_2
|
||||
|
||||
local avatarEntityCount = ScriptLib.GetRegionEntityCount(context, { region_eid = args.source_eid, entity_type = EntityType.AVATAR })
|
||||
if avatarEntityCount < 1 then
|
||||
return false
|
||||
end
|
||||
L2_2 = true
|
||||
return L2_2
|
||||
return true
|
||||
end
|
||||
condition_EVENT_ENTER_REGION_62 = L1_1
|
||||
function L1_1(A0_2, A1_2)
|
||||
local L2_2, L3_2, L4_2, L5_2, L6_2
|
||||
L2_2 = {}
|
||||
L2_2.x = 410
|
||||
L2_2.y = -22
|
||||
L2_2.z = 63
|
||||
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 = 1
|
||||
L6_2.is_force = true
|
||||
L6_2.is_broadcast = false
|
||||
L6_2.is_recover_keep_current = true
|
||||
L6_2.delay = 0
|
||||
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
|
||||
|
||||
function action_EVENT_ENTER_REGION_62(context, args)
|
||||
local lookPos = { x = 410, y = -22, z = 63 }
|
||||
local followPos = { x = 0, y = 0, z = 0 }
|
||||
if 0 ~= ScriptLib.BeginCameraSceneLook(context, {
|
||||
look_pos = lookPos,
|
||||
is_allow_input = false,
|
||||
duration = 1,
|
||||
is_force = true,
|
||||
is_broadcast = false,
|
||||
is_recover_keep_current = true,
|
||||
delay = 0,
|
||||
is_set_follow_pos = false,
|
||||
follow_pos = followPos,
|
||||
is_force_walk = false,
|
||||
is_change_play_mode = false,
|
||||
is_set_screen_XY = false,
|
||||
screen_x = 0,
|
||||
screen_y = 0
|
||||
}) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin")
|
||||
return -1
|
||||
end
|
||||
L4_2 = ScriptLib
|
||||
L4_2 = L4_2.ShowReminder
|
||||
L5_2 = A0_2
|
||||
L6_2 = 1041093
|
||||
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_reminder_ui"
|
||||
L4_2(L5_2, L6_2)
|
||||
L4_2 = -1
|
||||
return L4_2
|
||||
|
||||
if 0 ~= ScriptLib.ShowReminder(context, 1041093) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
|
||||
return -1
|
||||
end
|
||||
L4_2 = 0
|
||||
return L4_2
|
||||
return 0
|
||||
end
|
||||
action_EVENT_ENTER_REGION_62 = L1_1
|
||||
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,349 +1,120 @@
|
||||
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1
|
||||
L0_1 = {}
|
||||
L0_1.group_id = 220011006
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L2_1.config_id = 9
|
||||
L2_1.monster_id = 20011201
|
||||
L3_1 = {}
|
||||
L3_1.x = 409.722
|
||||
L3_1.y = -22.182
|
||||
L3_1.z = 67.23
|
||||
L2_1.pos = L3_1
|
||||
L3_1 = {}
|
||||
L3_1.x = 0.0
|
||||
L3_1.y = 136.765
|
||||
L3_1.z = 0.0
|
||||
L2_1.rot = L3_1
|
||||
L2_1.level = 1
|
||||
L2_1.disableWander = true
|
||||
L3_1 = {}
|
||||
L3_1.config_id = 25
|
||||
L3_1.monster_id = 20011201
|
||||
L4_1 = {}
|
||||
L4_1.x = 409.713
|
||||
L4_1.y = -21.99
|
||||
L4_1.z = 60.594
|
||||
L3_1.pos = L4_1
|
||||
L4_1 = {}
|
||||
L4_1.x = 0.0
|
||||
L4_1.y = 36.531
|
||||
L4_1.z = 0.0
|
||||
L3_1.rot = L4_1
|
||||
L3_1.level = 1
|
||||
L3_1.disableWander = true
|
||||
L4_1 = {}
|
||||
L4_1.config_id = 26
|
||||
L4_1.monster_id = 20011201
|
||||
L5_1 = {}
|
||||
L5_1.x = 408.62
|
||||
L5_1.y = -22.084
|
||||
L5_1.z = 61.386
|
||||
L4_1.pos = L5_1
|
||||
L5_1 = {}
|
||||
L5_1.x = 0.0
|
||||
L5_1.y = 76.905
|
||||
L5_1.z = 0.0
|
||||
L4_1.rot = L5_1
|
||||
L4_1.level = 1
|
||||
L4_1.disableWander = true
|
||||
L5_1 = {}
|
||||
L5_1.config_id = 28
|
||||
L5_1.monster_id = 20011201
|
||||
L6_1 = {}
|
||||
L6_1.x = 408.79
|
||||
L6_1.y = -22.05
|
||||
L6_1.z = 65.882
|
||||
L5_1.pos = L6_1
|
||||
L6_1 = {}
|
||||
L6_1.x = 0.0
|
||||
L6_1.y = 109.366
|
||||
L6_1.z = 0.0
|
||||
L5_1.rot = L6_1
|
||||
L5_1.level = 1
|
||||
L5_1.disableWander = true
|
||||
L1_1[1] = L2_1
|
||||
L1_1[2] = L3_1
|
||||
L1_1[3] = L4_1
|
||||
L1_1[4] = L5_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 = 1000008
|
||||
L2_1.name = "CHALLENGE_SUCCESS_8"
|
||||
L3_1 = EventType
|
||||
L3_1 = L3_1.EVENT_CHALLENGE_SUCCESS
|
||||
L2_1.event = L3_1
|
||||
L2_1.source = "1"
|
||||
L2_1.condition = ""
|
||||
L2_1.action = "action_EVENT_CHALLENGE_SUCCESS_8"
|
||||
L3_1 = {}
|
||||
L3_1.config_id = 1000061
|
||||
L3_1.name = "CHALLENGE_FAIL_61"
|
||||
L4_1 = EventType
|
||||
L4_1 = L4_1.EVENT_CHALLENGE_FAIL
|
||||
L3_1.event = L4_1
|
||||
L3_1.source = "1"
|
||||
L3_1.condition = ""
|
||||
L3_1.action = "action_EVENT_CHALLENGE_FAIL_61"
|
||||
L4_1 = {}
|
||||
L4_1.config_id = 1000065
|
||||
L4_1.name = "ANY_MONSTER_LIVE_65"
|
||||
L5_1 = EventType
|
||||
L5_1 = L5_1.EVENT_ANY_MONSTER_LIVE
|
||||
L4_1.event = L5_1
|
||||
L4_1.source = ""
|
||||
L4_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_65"
|
||||
L4_1.action = "action_EVENT_ANY_MONSTER_LIVE_65"
|
||||
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 = 2
|
||||
L1_1.end_suite = 0
|
||||
L1_1.rand_suite = false
|
||||
init_config = L1_1
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L3_1 = {}
|
||||
L4_1 = 9
|
||||
L5_1 = 25
|
||||
L6_1 = 26
|
||||
L7_1 = 28
|
||||
L3_1[1] = L4_1
|
||||
L3_1[2] = L5_1
|
||||
L3_1[3] = L6_1
|
||||
L3_1[4] = L7_1
|
||||
L2_1.monsters = L3_1
|
||||
L3_1 = {}
|
||||
L2_1.gadgets = L3_1
|
||||
L3_1 = {}
|
||||
L2_1.regions = L3_1
|
||||
L3_1 = {}
|
||||
L4_1 = "CHALLENGE_SUCCESS_8"
|
||||
L5_1 = "CHALLENGE_FAIL_61"
|
||||
L6_1 = "ANY_MONSTER_LIVE_65"
|
||||
L3_1[1] = L4_1
|
||||
L3_1[2] = L5_1
|
||||
L3_1[3] = L6_1
|
||||
L2_1.triggers = L3_1
|
||||
L2_1.rand_weight = 100
|
||||
L3_1 = {}
|
||||
L4_1 = {}
|
||||
L3_1.monsters = L4_1
|
||||
L4_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, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.RemoveExtraGroupSuite
|
||||
L3_2 = A0_2
|
||||
L4_2 = 220011007
|
||||
L5_2 = 3
|
||||
L2_2(L3_2, L4_2, L5_2)
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.AddExtraGroupSuite
|
||||
L3_2 = A0_2
|
||||
L4_2 = 220011007
|
||||
L5_2 = 4
|
||||
L2_2(L3_2, L4_2, L5_2)
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.SetGroupGadgetStateByConfigId
|
||||
L3_2 = A0_2
|
||||
L4_2 = 220011001
|
||||
L5_2 = 1006
|
||||
L6_2 = GadgetState
|
||||
L6_2 = L6_2.GearStart
|
||||
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
|
||||
group_id = 220011006
|
||||
|
||||
monsters = {
|
||||
{ config_id = 9, monster_id = 20011201, pos = { x = 409.722, y = -22.182, z = 67.23 }, rot = { x = 0, y = 136.765, z = 0 }, level = 1, disableWander = true },
|
||||
{ config_id = 25, monster_id = 20011201, pos = { x = 409.713, y = -21.99, z = 60.594 }, rot = { x = 0, y = 36.531, z = 0 }, level = 1, disableWander = true },
|
||||
{ config_id = 26, monster_id = 20011201, pos = { x = 408.62, y = -22.084, z = 61.386 }, rot = { x = 0, y = 76.905, z = 0 }, level = 1, disableWander = true },
|
||||
{ config_id = 28, monster_id = 20011201, pos = { x = 408.79, y = -22.05, z = 65.882 }, rot = { x = 0, y = 109.366, z = 0 }, level = 1, disableWander = true }
|
||||
}
|
||||
|
||||
npcs = { }
|
||||
|
||||
gadgets = { }
|
||||
|
||||
regions = { }
|
||||
|
||||
triggers = {
|
||||
{ config_id = 1000008, name = "CHALLENGE_SUCCESS_8", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "1", condition = "", action = "action_EVENT_CHALLENGE_SUCCESS_8" },
|
||||
{ config_id = 1000061, name = "CHALLENGE_FAIL_61", event = EventType.EVENT_CHALLENGE_FAIL, source = "1", condition = "", action = "action_EVENT_CHALLENGE_FAIL_61" },
|
||||
{ config_id = 1000065, name = "ANY_MONSTER_LIVE_65", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_65", action = "action_EVENT_ANY_MONSTER_LIVE_65" }
|
||||
}
|
||||
|
||||
variables = { }
|
||||
|
||||
init_config = {
|
||||
suite = 2,
|
||||
end_suite = 0,
|
||||
rand_suite = false
|
||||
}
|
||||
|
||||
suites = {
|
||||
{
|
||||
monsters = {9, 25, 26, 28},
|
||||
gadgets = {},
|
||||
regions = {},
|
||||
triggers = {"CHALLENGE_SUCCESS_8", "CHALLENGE_FAIL_61", "ANY_MONSTER_LIVE_65"},
|
||||
rand_weight = 100
|
||||
}, {
|
||||
monsters = {},
|
||||
gadgets = {},
|
||||
regions = {},
|
||||
triggers = {},
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function action_EVENT_CHALLENGE_SUCCESS_8(context, args)
|
||||
ScriptLib.RemoveExtraGroupSuite(context, 220011007, 3)
|
||||
ScriptLib.AddExtraGroupSuite(context, 220011007, 4)
|
||||
|
||||
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220011001, 1006, GadgetState.GearStart) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
|
||||
return -1
|
||||
end
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.SetGroupGadgetStateByConfigId
|
||||
L3_2 = A0_2
|
||||
L4_2 = 220011001
|
||||
L5_2 = 1022
|
||||
L6_2 = GadgetState
|
||||
L6_2 = L6_2.GearStart
|
||||
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
|
||||
|
||||
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220011001, 1022, GadgetState.GearStart) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
|
||||
return -1
|
||||
end
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.SetGroupGadgetStateByConfigId
|
||||
L3_2 = A0_2
|
||||
L4_2 = 220011001
|
||||
L5_2 = 1023
|
||||
L6_2 = GadgetState
|
||||
L6_2 = L6_2.GearStart
|
||||
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
|
||||
|
||||
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220011001, 1023, GadgetState.GearStart) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
|
||||
return -1
|
||||
end
|
||||
L2_2 = {}
|
||||
L2_2.x = 406
|
||||
L2_2.y = -17
|
||||
L2_2.z = 81
|
||||
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 = 2
|
||||
L6_2.is_force = true
|
||||
L6_2.is_broadcast = false
|
||||
L6_2.is_recover_keep_current = true
|
||||
L6_2.delay = 0
|
||||
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
|
||||
|
||||
local lookPos= { x = 406, y = -17, z = 81 }
|
||||
local followPos= { x = 0, y = 0, z = 0 }
|
||||
if 0 ~= ScriptLib.BeginCameraSceneLook(context, {
|
||||
look_pos = lookPos,
|
||||
is_allow_input = false,
|
||||
duration = 2, is_force = true,
|
||||
is_broadcast = false,
|
||||
is_recover_keep_current = true,
|
||||
delay = 0,
|
||||
is_set_follow_pos = false,
|
||||
follow_pos = followPos,
|
||||
is_force_walk = false,
|
||||
is_change_play_mode = false,
|
||||
is_set_screen_XY = false,
|
||||
screen_x = 0,
|
||||
screen_y = 0
|
||||
}) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin")
|
||||
return -1
|
||||
end
|
||||
L4_2 = ScriptLib
|
||||
L4_2 = L4_2.SetGroupGadgetStateByConfigId
|
||||
L5_2 = A0_2
|
||||
L6_2 = 220011001
|
||||
L7_2 = 1048
|
||||
L8_2 = GadgetState
|
||||
L8_2 = L8_2.Default
|
||||
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_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_GroupId_ConfigId"
|
||||
L4_2(L5_2, L6_2)
|
||||
L4_2 = -1
|
||||
return L4_2
|
||||
|
||||
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220011001, 1048, GadgetState.Default) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
|
||||
return -1
|
||||
end
|
||||
L4_2 = 0
|
||||
return L4_2
|
||||
return 0
|
||||
end
|
||||
action_EVENT_CHALLENGE_SUCCESS_8 = 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 = 220011001
|
||||
L5_2 = 1047
|
||||
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
|
||||
|
||||
function action_EVENT_CHALLENGE_FAIL_61(context, args)
|
||||
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220011001, 1047, GadgetState.Default) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
|
||||
return -1
|
||||
end
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.RefreshGroup
|
||||
L3_2 = A0_2
|
||||
L4_2 = {}
|
||||
L4_2.group_id = 220011006
|
||||
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
|
||||
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220011006, suite = 2 }) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
|
||||
return -1
|
||||
end
|
||||
L2_2 = 0
|
||||
return L2_2
|
||||
return 0
|
||||
end
|
||||
action_EVENT_CHALLENGE_FAIL_61 = L1_1
|
||||
function L1_1(A0_2, A1_2)
|
||||
local L2_2
|
||||
L2_2 = A1_2.param1
|
||||
if 9 ~= L2_2 then
|
||||
L2_2 = false
|
||||
return L2_2
|
||||
|
||||
function condition_EVENT_ANY_MONSTER_LIVE_65(context, args)
|
||||
if 9 ~= args.param1 then
|
||||
return false
|
||||
end
|
||||
L2_2 = true
|
||||
return L2_2
|
||||
return true
|
||||
end
|
||||
condition_EVENT_ANY_MONSTER_LIVE_65 = 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 = 137
|
||||
L6_2 = 20
|
||||
L7_2 = 220011006
|
||||
L8_2 = 4
|
||||
L9_2 = 0
|
||||
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
|
||||
|
||||
function action_EVENT_ANY_MONSTER_LIVE_65(context, args)
|
||||
if 0 ~= ScriptLib.ActiveChallenge(context, 1, 137, 20, 220011006, 4, 0) then
|
||||
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_challenge")
|
||||
return -1
|
||||
end
|
||||
L2_2 = 0
|
||||
return L2_2
|
||||
return 0
|
||||
end
|
||||
action_EVENT_ANY_MONSTER_LIVE_65 = L1_1
|
||||
|
@ -1,201 +1,78 @@
|
||||
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 = 220011007
|
||||
L1_1 = {}
|
||||
monsters = L1_1
|
||||
L1_1 = {}
|
||||
npcs = L1_1
|
||||
L1_1 = {}
|
||||
L2_1 = {}
|
||||
L2_1.config_id = 7001
|
||||
L2_1.gadget_id = 70900201
|
||||
L3_1 = {}
|
||||
L3_1.x = 475.451
|
||||
L3_1.y = -19.397
|
||||
L3_1.z = 63.753
|
||||
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
|
||||
L3_1 = {}
|
||||
L3_1.config_id = 7002
|
||||
L3_1.gadget_id = 70900201
|
||||
L4_1 = {}
|
||||
L4_1.x = 410.603
|
||||
L4_1.y = -20.794
|
||||
L4_1.z = 63.956
|
||||
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
|
||||
L4_1 = {}
|
||||
L4_1.config_id = 7003
|
||||
L4_1.gadget_id = 70900201
|
||||
L5_1 = {}
|
||||
L5_1.x = 415.979
|
||||
L5_1.y = -20.636
|
||||
L5_1.z = 120.934
|
||||
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 = 1
|
||||
L5_1 = {}
|
||||
L5_1.config_id = 7004
|
||||
L5_1.gadget_id = 70900201
|
||||
L6_1 = {}
|
||||
L6_1.x = 435.086
|
||||
L6_1.y = -6.887
|
||||
L6_1.z = 121.048
|
||||
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 = 1
|
||||
L6_1 = {}
|
||||
L6_1.config_id = 7005
|
||||
L6_1.gadget_id = 70900201
|
||||
L7_1 = {}
|
||||
L7_1.x = 505.158
|
||||
L7_1.y = -21.535
|
||||
L7_1.z = 121.325
|
||||
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 = 1
|
||||
L7_1 = {}
|
||||
L7_1.config_id = 7006
|
||||
L7_1.gadget_id = 70900201
|
||||
L8_1 = {}
|
||||
L8_1.x = 533.85
|
||||
L8_1.y = -1.161
|
||||
L8_1.z = 254.105
|
||||
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
|
||||
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
|
||||
gadgets = L1_1
|
||||
L1_1 = {}
|
||||
regions = L1_1
|
||||
L1_1 = {}
|
||||
triggers = 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 = {}
|
||||
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 = 7001
|
||||
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
|
||||
L4_1 = {}
|
||||
L5_1 = {}
|
||||
L4_1.monsters = L5_1
|
||||
L5_1 = {}
|
||||
L6_1 = 7002
|
||||
L5_1[1] = L6_1
|
||||
L4_1.gadgets = L5_1
|
||||
L5_1 = {}
|
||||
L4_1.regions = L5_1
|
||||
L5_1 = {}
|
||||
L4_1.triggers = L5_1
|
||||
L4_1.rand_weight = 100
|
||||
L5_1 = {}
|
||||
L6_1 = {}
|
||||
L5_1.monsters = L6_1
|
||||
L6_1 = {}
|
||||
L7_1 = 7003
|
||||
L6_1[1] = L7_1
|
||||
L5_1.gadgets = L6_1
|
||||
L6_1 = {}
|
||||
L5_1.regions = L6_1
|
||||
L6_1 = {}
|
||||
L5_1.triggers = L6_1
|
||||
L5_1.rand_weight = 100
|
||||
L6_1 = {}
|
||||
L7_1 = {}
|
||||
L6_1.monsters = L7_1
|
||||
L7_1 = {}
|
||||
L8_1 = 7004
|
||||
L7_1[1] = L8_1
|
||||
L6_1.gadgets = L7_1
|
||||
L7_1 = {}
|
||||
L6_1.regions = L7_1
|
||||
L7_1 = {}
|
||||
L6_1.triggers = L7_1
|
||||
L6_1.rand_weight = 100
|
||||
L7_1 = {}
|
||||
L8_1 = {}
|
||||
L7_1.monsters = L8_1
|
||||
L8_1 = {}
|
||||
L9_1 = 7005
|
||||
L8_1[1] = L9_1
|
||||
L7_1.gadgets = L8_1
|
||||
L8_1 = {}
|
||||
L7_1.regions = L8_1
|
||||
L8_1 = {}
|
||||
L7_1.triggers = L8_1
|
||||
L7_1.rand_weight = 100
|
||||
L8_1 = {}
|
||||
L9_1 = {}
|
||||
L8_1.monsters = L9_1
|
||||
L9_1 = {}
|
||||
L10_1 = 7006
|
||||
L9_1[1] = L10_1
|
||||
L8_1.gadgets = L9_1
|
||||
L9_1 = {}
|
||||
L8_1.regions = L9_1
|
||||
L9_1 = {}
|
||||
L8_1.triggers = L9_1
|
||||
L8_1.rand_weight = 100
|
||||
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
|
||||
suites = L1_1
|
||||
group_id = 220011007
|
||||
|
||||
monsters = { }
|
||||
|
||||
npcs = { }
|
||||
|
||||
gadgets = {
|
||||
{ config_id = 7001, gadget_id = 70900201, pos = { x = 475.451, y = -19.397, z = 63.753 }, rot = { x = 0, y = 0, z = 0 }, level = 1 },
|
||||
{ config_id = 7002, gadget_id = 70900201, pos = { x = 410.603, y = -20.794, z = 63.956 }, rot = { x = 0, y = 0, z = 0 }, level = 1 },
|
||||
{ config_id = 7003, gadget_id = 70900201, pos = { x = 415.979, y = -20.636, z = 120.934 }, rot = { x = 0, y = 0, z = 0 }, level = 1 },
|
||||
{ config_id = 7004, gadget_id = 70900201, pos = { x = 435.086, y = -6.887, z = 121.048 }, rot = { x = 0, y = 0, z = 0 }, level = 1 },
|
||||
{ config_id = 7005, gadget_id = 70900201, pos = { x = 505.158, y = -21.535, z = 121.325 }, rot = { x = 0, y = 0, z = 0 }, level = 1 },
|
||||
{ config_id = 7006, gadget_id = 70900201, pos = { x = 533.85, y = -1.161, z = 254.105 }, rot = { x = 0, y = 0, z = 0 }, level = 1 }
|
||||
}
|
||||
|
||||
regions = { }
|
||||
|
||||
triggers = { }
|
||||
|
||||
variables = { }
|
||||
|
||||
init_config = {
|
||||
suite = 1,
|
||||
end_suite = 0,
|
||||
rand_suite = false
|
||||
}
|
||||
|
||||
suites = {
|
||||
{
|
||||
monsters = { },
|
||||
gadgets = { },
|
||||
regions = { },
|
||||
triggers = { },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
monsters = { },
|
||||
gadgets = { 7001 },
|
||||
regions = { },
|
||||
triggers = { },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
monsters = { },
|
||||
gadgets = { 7002 },
|
||||
regions = { },
|
||||
triggers = { },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
monsters = { },
|
||||
gadgets = { 7003 },
|
||||
regions = { },
|
||||
triggers = { },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
monsters = { },
|
||||
gadgets = { 7004 },
|
||||
regions = { },
|
||||
triggers = { },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
monsters = { },
|
||||
gadgets = { 7005 },
|
||||
regions = { },
|
||||
triggers = { },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
monsters = { },
|
||||
gadgets = { 7006 },
|
||||
regions = { },
|
||||
triggers = { },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
@ -1,274 +1,82 @@
|
||||
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1
|
||||
L0_1 = {}
|
||||
L0_1.group_id = 220011901
|
||||
L1_1 = {}
|
||||
L1_1.gadget_id_1 = 49
|
||||
L1_1.gadget_id_2 = 50
|
||||
L1_1.gadget_id_3 = 51
|
||||
L1_1.gadget_id_4 = 55
|
||||
L2_1 = {}
|
||||
monsters = L2_1
|
||||
L2_1 = {}
|
||||
npcs = L2_1
|
||||
L2_1 = {}
|
||||
gadgets = L2_1
|
||||
L2_1 = {}
|
||||
L3_1 = {}
|
||||
L3_1.config_id = 49
|
||||
L4_1 = RegionShape
|
||||
L4_1 = L4_1.SPHERE
|
||||
L3_1.shape = L4_1
|
||||
L3_1.radius = 5
|
||||
L4_1 = {}
|
||||
L4_1.x = 460.379
|
||||
L4_1.y = -24.35
|
||||
L4_1.z = 69.159
|
||||
L3_1.pos = L4_1
|
||||
L4_1 = {}
|
||||
L4_1.config_id = 50
|
||||
L5_1 = RegionShape
|
||||
L5_1 = L5_1.SPHERE
|
||||
L4_1.shape = L5_1
|
||||
L4_1.radius = 5
|
||||
L5_1 = {}
|
||||
L5_1.x = 406.504
|
||||
L5_1.y = -22.573
|
||||
L5_1.z = 107.872
|
||||
L4_1.pos = L5_1
|
||||
L5_1 = {}
|
||||
L5_1.config_id = 51
|
||||
L6_1 = RegionShape
|
||||
L6_1 = L6_1.CUBIC
|
||||
L5_1.shape = L6_1
|
||||
L6_1 = {}
|
||||
L6_1.x = 30.0
|
||||
L6_1.y = 2.0
|
||||
L6_1.z = 30.0
|
||||
L5_1.size = L6_1
|
||||
L6_1 = {}
|
||||
L6_1.x = 487.505
|
||||
L6_1.y = -17.535
|
||||
L6_1.z = 121.603
|
||||
L5_1.pos = L6_1
|
||||
L6_1 = {}
|
||||
L6_1.config_id = 55
|
||||
L7_1 = RegionShape
|
||||
L7_1 = L7_1.SPHERE
|
||||
L6_1.shape = L7_1
|
||||
L6_1.radius = 7.3
|
||||
L7_1 = {}
|
||||
L7_1.x = 411.721
|
||||
L7_1.y = -22.083
|
||||
L7_1.z = 63.952
|
||||
L6_1.pos = L7_1
|
||||
L2_1[1] = L3_1
|
||||
L2_1[2] = L4_1
|
||||
L2_1[3] = L5_1
|
||||
L2_1[4] = L6_1
|
||||
regions = L2_1
|
||||
L2_1 = {}
|
||||
L3_1 = {}
|
||||
L3_1.config_id = 1000049
|
||||
L3_1.name = "ENTER_REGION_49"
|
||||
L4_1 = EventType
|
||||
L4_1 = L4_1.EVENT_ENTER_REGION
|
||||
L3_1.event = L4_1
|
||||
L3_1.source = ""
|
||||
L3_1.condition = "condition_EVENT_ENTER_REGION_49"
|
||||
L3_1.action = ""
|
||||
L3_1.trigger_count = 0
|
||||
L3_1.forbid_guest = false
|
||||
L4_1 = {}
|
||||
L4_1.config_id = 1000050
|
||||
L4_1.name = "ENTER_REGION_50"
|
||||
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_50"
|
||||
L4_1.action = ""
|
||||
L4_1.trigger_count = 0
|
||||
L4_1.forbid_guest = false
|
||||
L5_1 = {}
|
||||
L5_1.config_id = 1000051
|
||||
L5_1.name = "ENTER_REGION_51"
|
||||
L6_1 = EventType
|
||||
L6_1 = L6_1.EVENT_ENTER_REGION
|
||||
L5_1.event = L6_1
|
||||
L5_1.source = ""
|
||||
L5_1.condition = "condition_EVENT_ENTER_REGION_51"
|
||||
L5_1.action = ""
|
||||
L5_1.trigger_count = 0
|
||||
L5_1.forbid_guest = false
|
||||
L6_1 = {}
|
||||
L6_1.config_id = 1000055
|
||||
L6_1.name = "ENTER_REGION_55"
|
||||
L7_1 = EventType
|
||||
L7_1 = L7_1.EVENT_ENTER_REGION
|
||||
L6_1.event = L7_1
|
||||
L6_1.source = ""
|
||||
L6_1.condition = "condition_EVENT_ENTER_REGION_55"
|
||||
L6_1.action = ""
|
||||
L6_1.trigger_count = 0
|
||||
L6_1.forbid_guest = false
|
||||
L2_1[1] = L3_1
|
||||
L2_1[2] = L4_1
|
||||
L2_1[3] = L5_1
|
||||
L2_1[4] = L6_1
|
||||
triggers = L2_1
|
||||
L2_1 = {}
|
||||
variables = L2_1
|
||||
L2_1 = {}
|
||||
L2_1.suite = 1
|
||||
L2_1.end_suite = 0
|
||||
L2_1.rand_suite = true
|
||||
init_config = L2_1
|
||||
L2_1 = {}
|
||||
L3_1 = {}
|
||||
L4_1 = {}
|
||||
L3_1.monsters = L4_1
|
||||
L4_1 = {}
|
||||
L3_1.gadgets = L4_1
|
||||
L4_1 = {}
|
||||
L5_1 = 49
|
||||
L6_1 = 50
|
||||
L7_1 = 51
|
||||
L8_1 = 55
|
||||
L4_1[1] = L5_1
|
||||
L4_1[2] = L6_1
|
||||
L4_1[3] = L7_1
|
||||
L4_1[4] = L8_1
|
||||
L3_1.regions = L4_1
|
||||
L4_1 = {}
|
||||
L5_1 = "ENTER_REGION_49"
|
||||
L6_1 = "ENTER_REGION_50"
|
||||
L7_1 = "ENTER_REGION_51"
|
||||
L8_1 = "ENTER_REGION_55"
|
||||
L4_1[1] = L5_1
|
||||
L4_1[2] = L6_1
|
||||
L4_1[3] = L7_1
|
||||
L4_1[4] = L8_1
|
||||
L3_1.triggers = L4_1
|
||||
L3_1.rand_weight = 100
|
||||
L2_1[1] = L3_1
|
||||
suites = 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.GetEntityType
|
||||
L3_2 = A1_2.target_eid
|
||||
L2_2 = L2_2(A0_2, L3_2)
|
||||
L3_2 = EntityType
|
||||
L3_2 = L3_2.AVATAR
|
||||
if L2_2 == L3_2 then
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.GetQuestState
|
||||
L3_2 = A0_2
|
||||
L4_2 = A1_2.target_eid
|
||||
L5_2 = 30807
|
||||
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
||||
L3_2 = QuestState
|
||||
L3_2 = L3_2.UNFINISHED
|
||||
if L2_2 == L3_2 then
|
||||
L2_2 = A1_2.param1
|
||||
L3_2 = L1_1.gadget_id_1
|
||||
if L2_2 == L3_2 then
|
||||
L2_2 = true
|
||||
return L2_2
|
||||
local globalDefs = {
|
||||
gadget_id_1 = 49,
|
||||
gadget_id_2 = 50,
|
||||
gadget_id_3 = 51,
|
||||
gadget_id_4 = 55
|
||||
}
|
||||
|
||||
group_id = 220011901
|
||||
|
||||
monsters = { }
|
||||
|
||||
npcs = { }
|
||||
|
||||
gadgets = { }
|
||||
|
||||
regions = {
|
||||
{ config_id = 49, shape = RegionShape.SPHERE, radius = 5, pos = { x = 460.379, y = -24.35, z = 69.159 } },
|
||||
{ config_id = 50, shape = RegionShape.SPHERE, radius = 5, pos = { x = 406.504, y = -22.573, z = 107.872 } },
|
||||
{ config_id = 51, shape = RegionShape.CUBIC, size = { x = 30, y = 2, z = 30 }, pos = { x = 487.505, y = -17.535, z = 121.603 } },
|
||||
{ config_id = 55, shape = RegionShape.SPHERE, radius = 7.3, pos = { x = 411.721, y = -22.083, z = 63.952 } }
|
||||
}
|
||||
|
||||
triggers = {
|
||||
{ config_id = 1000049, name = "ENTER_REGION_49", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_49", action = "", trigger_count = 0, forbid_guest = false },
|
||||
{ config_id = 1000050, name = "ENTER_REGION_50", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_50", action = "", trigger_count = 0, forbid_guest = false },
|
||||
{ config_id = 1000051, name = "ENTER_REGION_51", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_51", action = "", trigger_count = 0, forbid_guest = false },
|
||||
{ config_id = 1000055, name = "ENTER_REGION_55", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_55", action = "", trigger_count = 0, forbid_guest = false }
|
||||
}
|
||||
|
||||
variables = { }
|
||||
|
||||
init_config = {
|
||||
suite = 1,
|
||||
end_suite = 0,
|
||||
rand_suite = true
|
||||
}
|
||||
|
||||
suites = {
|
||||
{
|
||||
monsters = { },
|
||||
gadgets = { },
|
||||
regions = { 49, 50, 51, 55 },
|
||||
triggers = { "ENTER_REGION_49", "ENTER_REGION_50", "ENTER_REGION_51", "ENTER_REGION_55" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
function condition_EVENT_ENTER_REGION_49(context, args)
|
||||
if ScriptLib.GetEntityType(context, args.target_eid) == EntityType.AVATAR and
|
||||
ScriptLib.GetQuestState(context, args.target_eid, 30807) == QuestState.UNFINISHED and
|
||||
args.param1 == globalDefs.gadget_id_1 then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
L2_2 = false
|
||||
return L2_2
|
||||
return false
|
||||
end
|
||||
condition_EVENT_ENTER_REGION_49 = 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.GetEntityType
|
||||
L3_2 = A1_2.target_eid
|
||||
L2_2 = L2_2(A0_2, L3_2)
|
||||
L3_2 = EntityType
|
||||
L3_2 = L3_2.AVATAR
|
||||
if L2_2 == L3_2 then
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.GetQuestState
|
||||
L3_2 = A0_2
|
||||
L4_2 = A1_2.target_eid
|
||||
L5_2 = 30808
|
||||
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
||||
L3_2 = QuestState
|
||||
L3_2 = L3_2.UNFINISHED
|
||||
if L2_2 == L3_2 then
|
||||
L2_2 = A1_2.param1
|
||||
L3_2 = L1_1.gadget_id_2
|
||||
if L2_2 == L3_2 then
|
||||
L2_2 = true
|
||||
return L2_2
|
||||
|
||||
function condition_EVENT_ENTER_REGION_50(context, args)
|
||||
if ScriptLib.GetEntityType(context, args.target_eid) == EntityType.AVATAR and
|
||||
ScriptLib.GetQuestState(context, args.target_eid, 30808) == QuestState.UNFINISHED and
|
||||
args.param1 == globalDefs.gadget_id_2 then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
L2_2 = false
|
||||
return L2_2
|
||||
return false
|
||||
end
|
||||
condition_EVENT_ENTER_REGION_50 = 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.GetEntityType
|
||||
L3_2 = A1_2.target_eid
|
||||
L2_2 = L2_2(A0_2, L3_2)
|
||||
L3_2 = EntityType
|
||||
L3_2 = L3_2.AVATAR
|
||||
if L2_2 == L3_2 then
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.GetQuestState
|
||||
L3_2 = A0_2
|
||||
L4_2 = A1_2.target_eid
|
||||
L5_2 = 30809
|
||||
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
||||
L3_2 = QuestState
|
||||
L3_2 = L3_2.UNFINISHED
|
||||
if L2_2 == L3_2 then
|
||||
L2_2 = A1_2.param1
|
||||
L3_2 = L1_1.gadget_id_3
|
||||
if L2_2 == L3_2 then
|
||||
L2_2 = true
|
||||
return L2_2
|
||||
|
||||
function condition_EVENT_ENTER_REGION_51(context, args)
|
||||
if ScriptLib.GetEntityType(context, args.target_eid) == EntityType.AVATAR and
|
||||
ScriptLib.GetQuestState(context, args.target_eid, 30809) == QuestState.UNFINISHED and
|
||||
args.param1 == globalDefs.gadget_id_3 then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
L2_2 = false
|
||||
return L2_2
|
||||
return false
|
||||
end
|
||||
condition_EVENT_ENTER_REGION_51 = 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.GetEntityType
|
||||
L3_2 = A1_2.target_eid
|
||||
L2_2 = L2_2(A0_2, L3_2)
|
||||
L3_2 = EntityType
|
||||
L3_2 = L3_2.AVATAR
|
||||
if L2_2 == L3_2 then
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.GetQuestState
|
||||
L3_2 = A0_2
|
||||
L4_2 = A1_2.target_eid
|
||||
L5_2 = 30812
|
||||
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
||||
L3_2 = QuestState
|
||||
L3_2 = L3_2.UNFINISHED
|
||||
if L2_2 == L3_2 then
|
||||
L2_2 = A1_2.param1
|
||||
L3_2 = L1_1.gadget_id_4
|
||||
if L2_2 == L3_2 then
|
||||
L2_2 = true
|
||||
return L2_2
|
||||
|
||||
function condition_EVENT_ENTER_REGION_55(context, args)
|
||||
if ScriptLib.GetEntityType(context, args.target_eid) == EntityType.AVATAR and
|
||||
ScriptLib.GetQuestState(context, args.target_eid, 30812) == QuestState.UNFINISHED and
|
||||
args.param1 == globalDefs.gadget_id_4 then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
L2_2 = false
|
||||
return L2_2
|
||||
return false
|
||||
end
|
||||
condition_EVENT_ENTER_REGION_55 = L2_1
|
||||
|
@ -1,182 +1,28 @@
|
||||
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1
|
||||
L0_1 = {}
|
||||
L1_1 = {}
|
||||
L1_1.name = "Monster8"
|
||||
L1_1.localId = 1
|
||||
L1_1.type = 1
|
||||
L2_1 = {}
|
||||
L3_1 = {}
|
||||
L4_1 = {}
|
||||
L4_1.x = 450.0
|
||||
L4_1.y = -24.9
|
||||
L4_1.z = 68.9
|
||||
L3_1.pos = L4_1
|
||||
L3_1.waitTime = 0
|
||||
L3_1.speedLevel = 1
|
||||
L4_1 = {}
|
||||
L5_1 = {}
|
||||
L5_1.x = 445.3
|
||||
L5_1.y = -24.8
|
||||
L5_1.z = 66.1
|
||||
L4_1.pos = L5_1
|
||||
L4_1.waitTime = 0
|
||||
L4_1.speedLevel = 1
|
||||
L5_1 = {}
|
||||
L6_1 = {}
|
||||
L6_1.x = 443.7
|
||||
L6_1.y = -24.8
|
||||
L6_1.z = 71.9
|
||||
L5_1.pos = L6_1
|
||||
L5_1.waitTime = 0
|
||||
L5_1.speedLevel = 1
|
||||
L6_1 = {}
|
||||
L7_1 = {}
|
||||
L7_1.x = 440.5
|
||||
L7_1.y = -24.9
|
||||
L7_1.z = 66.3
|
||||
L6_1.pos = L7_1
|
||||
L6_1.waitTime = 0
|
||||
L6_1.speedLevel = 1
|
||||
L2_1[1] = L3_1
|
||||
L2_1[2] = L4_1
|
||||
L2_1[3] = L5_1
|
||||
L2_1[4] = L6_1
|
||||
L1_1.points = L2_1
|
||||
L0_1.Monster8 = L1_1
|
||||
L1_1 = {}
|
||||
L1_1.name = "Monster11"
|
||||
L1_1.localId = 2
|
||||
L1_1.type = 1
|
||||
L2_1 = {}
|
||||
L3_1 = {}
|
||||
L4_1 = {}
|
||||
L4_1.x = 408.2
|
||||
L4_1.y = -24.1
|
||||
L4_1.z = 130.4
|
||||
L3_1.pos = L4_1
|
||||
L3_1.waitTime = 0
|
||||
L3_1.speedLevel = 1
|
||||
L4_1 = {}
|
||||
L5_1 = {}
|
||||
L5_1.x = 408.9
|
||||
L5_1.y = -24.1
|
||||
L5_1.z = 126.3
|
||||
L4_1.pos = L5_1
|
||||
L4_1.waitTime = 0
|
||||
L4_1.speedLevel = 1
|
||||
L5_1 = {}
|
||||
L6_1 = {}
|
||||
L6_1.x = 409.0
|
||||
L6_1.y = -24.1
|
||||
L6_1.z = 122.0
|
||||
L5_1.pos = L6_1
|
||||
L5_1.waitTime = 0
|
||||
L5_1.speedLevel = 1
|
||||
L2_1[1] = L3_1
|
||||
L2_1[2] = L4_1
|
||||
L2_1[3] = L5_1
|
||||
L1_1.points = L2_1
|
||||
L0_1.Monster11 = L1_1
|
||||
L1_1 = {}
|
||||
L1_1.name = "Monster12"
|
||||
L1_1.localId = 3
|
||||
L1_1.type = 1
|
||||
L2_1 = {}
|
||||
L3_1 = {}
|
||||
L4_1 = {}
|
||||
L4_1.x = 396.9
|
||||
L4_1.y = -24.1
|
||||
L4_1.z = 130.9
|
||||
L3_1.pos = L4_1
|
||||
L3_1.waitTime = 0
|
||||
L3_1.speedLevel = 1
|
||||
L4_1 = {}
|
||||
L5_1 = {}
|
||||
L5_1.x = 396.3
|
||||
L5_1.y = -24.1
|
||||
L5_1.z = 126.8
|
||||
L4_1.pos = L5_1
|
||||
L4_1.waitTime = 0
|
||||
L4_1.speedLevel = 1
|
||||
L5_1 = {}
|
||||
L6_1 = {}
|
||||
L6_1.x = 397.1
|
||||
L6_1.y = -24.1
|
||||
L6_1.z = 122.5
|
||||
L5_1.pos = L6_1
|
||||
L5_1.waitTime = 0
|
||||
L5_1.speedLevel = 1
|
||||
L2_1[1] = L3_1
|
||||
L2_1[2] = L4_1
|
||||
L2_1[3] = L5_1
|
||||
L1_1.points = L2_1
|
||||
L0_1.Monster12 = L1_1
|
||||
L1_1 = {}
|
||||
L1_1.name = "Monster18"
|
||||
L1_1.localId = 4
|
||||
L1_1.type = 1
|
||||
L2_1 = {}
|
||||
L3_1 = {}
|
||||
L4_1 = {}
|
||||
L4_1.x = 493.4
|
||||
L4_1.y = -23.6
|
||||
L4_1.z = 123.7
|
||||
L3_1.pos = L4_1
|
||||
L3_1.waitTime = 0
|
||||
L3_1.speedLevel = 1
|
||||
L4_1 = {}
|
||||
L5_1 = {}
|
||||
L5_1.x = 488.2
|
||||
L5_1.y = -23.6
|
||||
L5_1.z = 124.2
|
||||
L4_1.pos = L5_1
|
||||
L4_1.waitTime = 0
|
||||
L4_1.speedLevel = 1
|
||||
L5_1 = {}
|
||||
L6_1 = {}
|
||||
L6_1.x = 486.3
|
||||
L6_1.y = -23.6
|
||||
L6_1.z = 131.1
|
||||
L5_1.pos = L6_1
|
||||
L5_1.waitTime = 0
|
||||
L5_1.speedLevel = 1
|
||||
L2_1[1] = L3_1
|
||||
L2_1[2] = L4_1
|
||||
L2_1[3] = L5_1
|
||||
L1_1.points = L2_1
|
||||
L0_1.Monster18 = L1_1
|
||||
L1_1 = {}
|
||||
L1_1.name = "Monster19"
|
||||
L1_1.localId = 5
|
||||
L1_1.type = 1
|
||||
L2_1 = {}
|
||||
L3_1 = {}
|
||||
L4_1 = {}
|
||||
L4_1.x = 493.7
|
||||
L4_1.y = -23.6
|
||||
L4_1.z = 117.2
|
||||
L3_1.pos = L4_1
|
||||
L3_1.waitTime = 0
|
||||
L3_1.speedLevel = 1
|
||||
L4_1 = {}
|
||||
L5_1 = {}
|
||||
L5_1.x = 488.7
|
||||
L5_1.y = -23.6
|
||||
L5_1.z = 117.5
|
||||
L4_1.pos = L5_1
|
||||
L4_1.waitTime = 0
|
||||
L4_1.speedLevel = 1
|
||||
L5_1 = {}
|
||||
L6_1 = {}
|
||||
L6_1.x = 486.4
|
||||
L6_1.y = -23.6
|
||||
L6_1.z = 111.8
|
||||
L5_1.pos = L6_1
|
||||
L5_1.waitTime = 0
|
||||
L5_1.speedLevel = 1
|
||||
L2_1[1] = L3_1
|
||||
L2_1[2] = L4_1
|
||||
L2_1[3] = L5_1
|
||||
L1_1.points = L2_1
|
||||
L0_1.Monster19 = L1_1
|
||||
routes = L0_1
|
||||
routes = {
|
||||
Monster8 = { name = "Monster8", localId = 1, type = 1, points = {
|
||||
{ pos = { x = 450, y = -24.9, z = 68.9 }, waitTime = 0, speedLevel = 1 },
|
||||
{ pos = { x = 445.3, y = -24.8, z = 66.1 }, waitTime = 0, speedLevel = 1 },
|
||||
{ pos = { x = 443.7, y = -24.8, z = 71.9 }, waitTime = 0, speedLevel = 1 },
|
||||
{ pos = { x = 440.5, y = -24.9, z = 66.3 }, waitTime = 0, speedLevel = 1 }
|
||||
} },
|
||||
Monster11 = { name = "Monster11", localId = 2, type = 1, points = {
|
||||
{ pos = { x = 408.2, y = -24.1, z = 130.4 }, waitTime = 0, speedLevel = 1 },
|
||||
{ pos = { x = 408.9, y = -24.1, z = 126.3 }, waitTime = 0, speedLevel = 1 },
|
||||
{ pos = { x = 409, y = -24.1, z = 122 }, waitTime = 0, speedLevel = 1 }
|
||||
} },
|
||||
Monster12 = { name = "Monster12", localId = 3, type = 1, points = {
|
||||
{ pos = { x = 396.9, y = -24.1, z = 130.9 }, waitTime = 0, speedLevel = 1 },
|
||||
{ pos = { x = 396.3, y = -24.1, z = 126.8 }, waitTime = 0, speedLevel = 1 },
|
||||
{ pos = { x = 397.1, y = -24.1, z = 122.5 }, waitTime = 0, speedLevel = 1 }
|
||||
} },
|
||||
Monster18 = { name = "Monster18", localId = 4, type = 1, points = {
|
||||
{ pos = { x = 493.4, y = -23.6, z = 123.7 }, waitTime = 0, speedLevel = 1 },
|
||||
{ pos = { x = 488.2, y = -23.6, z = 124.2 }, waitTime = 0, speedLevel = 1 },
|
||||
{ pos = { x = 486.3, y = -23.6, z = 131.1 }, waitTime = 0, speedLevel = 1 }
|
||||
} },
|
||||
Monster19 = { name = "Monster19", localId = 5, type = 1, points = {
|
||||
{ pos = { x = 493.7, y = -23.6, z = 117.2 }, waitTime = 0, speedLevel = 1 },
|
||||
{ pos = { x = 488.7, y = -23.6, z = 117.5 }, waitTime = 0, speedLevel = 1 },
|
||||
{ pos = { x = 486.4, y = -23.6, z = 111.8 }, waitTime = 0, speedLevel = 1 }
|
||||
} }
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user