mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
* added lua context to ScriptLib function calls where missing * fixed parameters for some calls
3095 lines
62 KiB
Lua
3095 lines
62 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1, L32_1, L33_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 133103297
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 297001
|
|
L2_1.monster_id = 20011401
|
|
L3_1 = {}
|
|
L3_1.x = 735.929
|
|
L3_1.y = 325.359
|
|
L3_1.z = 1542.323
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 152.919
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 24
|
|
L2_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L2_1.area_id = 6
|
|
L3_1 = {}
|
|
L3_1.config_id = 297002
|
|
L3_1.monster_id = 20011401
|
|
L4_1 = {}
|
|
L4_1.x = 739.387
|
|
L4_1.y = 325.595
|
|
L4_1.z = 1542.951
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 199.173
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 24
|
|
L3_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L3_1.area_id = 6
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 297003
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 5
|
|
L3_1 = {}
|
|
L3_1.x = 730.283
|
|
L3_1.y = 325.45
|
|
L3_1.z = 1546.398
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 6
|
|
L3_1 = {}
|
|
L3_1.config_id = 297004
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 5
|
|
L4_1 = {}
|
|
L4_1.x = 865.683
|
|
L4_1.y = 230.167
|
|
L4_1.z = 1193.924
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 297005
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 5
|
|
L5_1 = {}
|
|
L5_1.x = 832.343
|
|
L5_1.y = 325.564
|
|
L5_1.z = 1520.43
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 297007
|
|
L6_1 = RegionShape
|
|
L6_1 = L6_1.SPHERE
|
|
L5_1.shape = L6_1
|
|
L5_1.radius = 5
|
|
L6_1 = {}
|
|
L6_1.x = 883.99
|
|
L6_1.y = 322.131
|
|
L6_1.z = 1550.283
|
|
L5_1.pos = L6_1
|
|
L5_1.area_id = 6
|
|
L6_1 = {}
|
|
L6_1.config_id = 297008
|
|
L7_1 = RegionShape
|
|
L7_1 = L7_1.SPHERE
|
|
L6_1.shape = L7_1
|
|
L6_1.radius = 5
|
|
L7_1 = {}
|
|
L7_1.x = 689.067
|
|
L7_1.y = 315.393
|
|
L7_1.z = 1523.223
|
|
L6_1.pos = L7_1
|
|
L6_1.area_id = 6
|
|
L7_1 = {}
|
|
L7_1.config_id = 297010
|
|
L8_1 = RegionShape
|
|
L8_1 = L8_1.SPHERE
|
|
L7_1.shape = L8_1
|
|
L7_1.radius = 5
|
|
L8_1 = {}
|
|
L8_1.x = 915.74
|
|
L8_1.y = 268.608
|
|
L8_1.z = 1563.161
|
|
L7_1.pos = L8_1
|
|
L7_1.area_id = 6
|
|
L8_1 = {}
|
|
L8_1.config_id = 297011
|
|
L9_1 = RegionShape
|
|
L9_1 = L9_1.SPHERE
|
|
L8_1.shape = L9_1
|
|
L8_1.radius = 5
|
|
L9_1 = {}
|
|
L9_1.x = 816.476
|
|
L9_1.y = 234.663
|
|
L9_1.z = 1650.913
|
|
L8_1.pos = L9_1
|
|
L8_1.area_id = 6
|
|
L9_1 = {}
|
|
L9_1.config_id = 297012
|
|
L10_1 = RegionShape
|
|
L10_1 = L10_1.SPHERE
|
|
L9_1.shape = L10_1
|
|
L9_1.radius = 5
|
|
L10_1 = {}
|
|
L10_1.x = 959.95
|
|
L10_1.y = 268.938
|
|
L10_1.z = 1324.554
|
|
L9_1.pos = L10_1
|
|
L9_1.area_id = 6
|
|
L10_1 = {}
|
|
L10_1.config_id = 297013
|
|
L11_1 = RegionShape
|
|
L11_1 = L11_1.SPHERE
|
|
L10_1.shape = L11_1
|
|
L10_1.radius = 5
|
|
L11_1 = {}
|
|
L11_1.x = 909.376
|
|
L11_1.y = 233.744
|
|
L11_1.z = 1661.076
|
|
L10_1.pos = L11_1
|
|
L10_1.area_id = 6
|
|
L11_1 = {}
|
|
L11_1.config_id = 297014
|
|
L12_1 = RegionShape
|
|
L12_1 = L12_1.SPHERE
|
|
L11_1.shape = L12_1
|
|
L11_1.radius = 5
|
|
L12_1 = {}
|
|
L12_1.x = 727.235
|
|
L12_1.y = 232.202
|
|
L12_1.z = 1636.382
|
|
L11_1.pos = L12_1
|
|
L11_1.area_id = 6
|
|
L12_1 = {}
|
|
L12_1.config_id = 297015
|
|
L13_1 = RegionShape
|
|
L13_1 = L13_1.SPHERE
|
|
L12_1.shape = L13_1
|
|
L12_1.radius = 5
|
|
L13_1 = {}
|
|
L13_1.x = 721.327
|
|
L13_1.y = 230.92
|
|
L13_1.z = 1703.483
|
|
L12_1.pos = L13_1
|
|
L12_1.area_id = 6
|
|
L13_1 = {}
|
|
L13_1.config_id = 297016
|
|
L14_1 = RegionShape
|
|
L14_1 = L14_1.SPHERE
|
|
L13_1.shape = L14_1
|
|
L13_1.radius = 5
|
|
L14_1 = {}
|
|
L14_1.x = 616.948
|
|
L14_1.y = 265.879
|
|
L14_1.z = 1442.446
|
|
L13_1.pos = L14_1
|
|
L13_1.area_id = 6
|
|
L14_1 = {}
|
|
L14_1.config_id = 297017
|
|
L15_1 = RegionShape
|
|
L15_1 = L15_1.SPHERE
|
|
L14_1.shape = L15_1
|
|
L14_1.radius = 5
|
|
L15_1 = {}
|
|
L15_1.x = 671.27
|
|
L15_1.y = 296.08
|
|
L15_1.z = 1404.866
|
|
L14_1.pos = L15_1
|
|
L14_1.area_id = 6
|
|
L15_1 = {}
|
|
L15_1.config_id = 297018
|
|
L16_1 = RegionShape
|
|
L16_1 = L16_1.SPHERE
|
|
L15_1.shape = L16_1
|
|
L15_1.radius = 5
|
|
L16_1 = {}
|
|
L16_1.x = 640.982
|
|
L16_1.y = 265.309
|
|
L16_1.z = 1368.486
|
|
L15_1.pos = L16_1
|
|
L15_1.area_id = 6
|
|
L16_1 = {}
|
|
L16_1.config_id = 297019
|
|
L17_1 = RegionShape
|
|
L17_1 = L17_1.SPHERE
|
|
L16_1.shape = L17_1
|
|
L16_1.radius = 5
|
|
L17_1 = {}
|
|
L17_1.x = 647.599
|
|
L17_1.y = 309.25
|
|
L17_1.z = 1423.801
|
|
L16_1.pos = L17_1
|
|
L16_1.area_id = 6
|
|
L17_1 = {}
|
|
L17_1.config_id = 297020
|
|
L18_1 = RegionShape
|
|
L18_1 = L18_1.SPHERE
|
|
L17_1.shape = L18_1
|
|
L17_1.radius = 5
|
|
L18_1 = {}
|
|
L18_1.x = 638.373
|
|
L18_1.y = 296.448
|
|
L18_1.z = 1444.832
|
|
L17_1.pos = L18_1
|
|
L17_1.area_id = 6
|
|
L18_1 = {}
|
|
L18_1.config_id = 297022
|
|
L19_1 = RegionShape
|
|
L19_1 = L19_1.SPHERE
|
|
L18_1.shape = L19_1
|
|
L18_1.radius = 5
|
|
L19_1 = {}
|
|
L19_1.x = 869.731
|
|
L19_1.y = 324.41
|
|
L19_1.z = 1515.728
|
|
L18_1.pos = L19_1
|
|
L18_1.area_id = 6
|
|
L19_1 = {}
|
|
L19_1.config_id = 297023
|
|
L20_1 = RegionShape
|
|
L20_1 = L20_1.SPHERE
|
|
L19_1.shape = L20_1
|
|
L19_1.radius = 5
|
|
L20_1 = {}
|
|
L20_1.x = 855.201
|
|
L20_1.y = 313.23
|
|
L20_1.z = 1551.883
|
|
L19_1.pos = L20_1
|
|
L19_1.area_id = 6
|
|
L20_1 = {}
|
|
L20_1.config_id = 297024
|
|
L21_1 = RegionShape
|
|
L21_1 = L21_1.SPHERE
|
|
L20_1.shape = L21_1
|
|
L20_1.radius = 5
|
|
L21_1 = {}
|
|
L21_1.x = 938.395
|
|
L21_1.y = 329.284
|
|
L21_1.z = 1493.653
|
|
L20_1.pos = L21_1
|
|
L20_1.area_id = 6
|
|
L21_1 = {}
|
|
L21_1.config_id = 297026
|
|
L22_1 = RegionShape
|
|
L22_1 = L22_1.SPHERE
|
|
L21_1.shape = L22_1
|
|
L21_1.radius = 5
|
|
L22_1 = {}
|
|
L22_1.x = 749.324
|
|
L22_1.y = 312.6
|
|
L22_1.z = 1750.21
|
|
L21_1.pos = L22_1
|
|
L21_1.area_id = 6
|
|
L22_1 = {}
|
|
L22_1.config_id = 297028
|
|
L23_1 = RegionShape
|
|
L23_1 = L23_1.SPHERE
|
|
L22_1.shape = L23_1
|
|
L22_1.radius = 5
|
|
L23_1 = {}
|
|
L23_1.x = 718.883
|
|
L23_1.y = 409.654
|
|
L23_1.z = 1836.879
|
|
L22_1.pos = L23_1
|
|
L22_1.area_id = 6
|
|
L23_1 = {}
|
|
L23_1.config_id = 297029
|
|
L24_1 = RegionShape
|
|
L24_1 = L24_1.SPHERE
|
|
L23_1.shape = L24_1
|
|
L23_1.radius = 5
|
|
L24_1 = {}
|
|
L24_1.x = 715.747
|
|
L24_1.y = 388.821
|
|
L24_1.z = 1912.156
|
|
L23_1.pos = L24_1
|
|
L23_1.area_id = 6
|
|
L24_1 = {}
|
|
L24_1.config_id = 297030
|
|
L25_1 = RegionShape
|
|
L25_1 = L25_1.SPHERE
|
|
L24_1.shape = L25_1
|
|
L24_1.radius = 5
|
|
L25_1 = {}
|
|
L25_1.x = 658.065
|
|
L25_1.y = 369.053
|
|
L25_1.z = 1924.091
|
|
L24_1.pos = L25_1
|
|
L24_1.area_id = 6
|
|
L25_1 = {}
|
|
L25_1.config_id = 297031
|
|
L26_1 = RegionShape
|
|
L26_1 = L26_1.SPHERE
|
|
L25_1.shape = L26_1
|
|
L25_1.radius = 5
|
|
L26_1 = {}
|
|
L26_1.x = 611.995
|
|
L26_1.y = 359.624
|
|
L26_1.z = 1825.37
|
|
L25_1.pos = L26_1
|
|
L25_1.area_id = 6
|
|
L26_1 = {}
|
|
L26_1.config_id = 297032
|
|
L27_1 = RegionShape
|
|
L27_1 = L27_1.SPHERE
|
|
L26_1.shape = L27_1
|
|
L26_1.radius = 5
|
|
L27_1 = {}
|
|
L27_1.x = 473.261
|
|
L27_1.y = 230.7
|
|
L27_1.z = 1705.258
|
|
L26_1.pos = L27_1
|
|
L26_1.area_id = 6
|
|
L27_1 = {}
|
|
L27_1.config_id = 297033
|
|
L28_1 = RegionShape
|
|
L28_1 = L28_1.SPHERE
|
|
L27_1.shape = L28_1
|
|
L27_1.radius = 5
|
|
L28_1 = {}
|
|
L28_1.x = 1014.186
|
|
L28_1.y = 307.19
|
|
L28_1.z = 1611.858
|
|
L27_1.pos = L28_1
|
|
L27_1.area_id = 6
|
|
L28_1 = {}
|
|
L28_1.config_id = 297034
|
|
L29_1 = RegionShape
|
|
L29_1 = L29_1.SPHERE
|
|
L28_1.shape = L29_1
|
|
L28_1.radius = 5
|
|
L29_1 = {}
|
|
L29_1.x = 1039.455
|
|
L29_1.y = 340.899
|
|
L29_1.z = 1548.787
|
|
L28_1.pos = L29_1
|
|
L28_1.area_id = 6
|
|
L29_1 = {}
|
|
L29_1.config_id = 297035
|
|
L30_1 = RegionShape
|
|
L30_1 = L30_1.SPHERE
|
|
L29_1.shape = L30_1
|
|
L29_1.radius = 5
|
|
L30_1 = {}
|
|
L30_1.x = 1102.637
|
|
L30_1.y = 350.043
|
|
L30_1.z = 1512.208
|
|
L29_1.pos = L30_1
|
|
L29_1.area_id = 6
|
|
L30_1 = {}
|
|
L30_1.config_id = 297036
|
|
L31_1 = RegionShape
|
|
L31_1 = L31_1.SPHERE
|
|
L30_1.shape = L31_1
|
|
L30_1.radius = 5
|
|
L31_1 = {}
|
|
L31_1.x = 1122.792
|
|
L31_1.y = 352.618
|
|
L31_1.z = 1624.334
|
|
L30_1.pos = L31_1
|
|
L30_1.area_id = 6
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
L1_1[5] = L6_1
|
|
L1_1[6] = L7_1
|
|
L1_1[7] = L8_1
|
|
L1_1[8] = L9_1
|
|
L1_1[9] = L10_1
|
|
L1_1[10] = L11_1
|
|
L1_1[11] = L12_1
|
|
L1_1[12] = L13_1
|
|
L1_1[13] = L14_1
|
|
L1_1[14] = L15_1
|
|
L1_1[15] = L16_1
|
|
L1_1[16] = L17_1
|
|
L1_1[17] = L18_1
|
|
L1_1[18] = L19_1
|
|
L1_1[19] = L20_1
|
|
L1_1[20] = L21_1
|
|
L1_1[21] = L22_1
|
|
L1_1[22] = L23_1
|
|
L1_1[23] = L24_1
|
|
L1_1[24] = L25_1
|
|
L1_1[25] = L26_1
|
|
L1_1[26] = L27_1
|
|
L1_1[27] = L28_1
|
|
L1_1[28] = L29_1
|
|
L1_1[29] = L30_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1297003
|
|
L2_1.name = "ENTER_REGION_297003"
|
|
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_297003"
|
|
L2_1.action = "action_EVENT_ENTER_REGION_297003"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1297004
|
|
L3_1.name = "ENTER_REGION_297004"
|
|
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_297004"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_297004"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1297005
|
|
L4_1.name = "ENTER_REGION_297005"
|
|
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_297005"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_297005"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1297007
|
|
L5_1.name = "ENTER_REGION_297007"
|
|
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_297007"
|
|
L5_1.action = "action_EVENT_ENTER_REGION_297007"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1297008
|
|
L6_1.name = "ENTER_REGION_297008"
|
|
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_297008"
|
|
L6_1.action = "action_EVENT_ENTER_REGION_297008"
|
|
L7_1 = {}
|
|
L7_1.config_id = 1297010
|
|
L7_1.name = "ENTER_REGION_297010"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_ENTER_REGION
|
|
L7_1.event = L8_1
|
|
L7_1.source = ""
|
|
L7_1.condition = "condition_EVENT_ENTER_REGION_297010"
|
|
L7_1.action = "action_EVENT_ENTER_REGION_297010"
|
|
L8_1 = {}
|
|
L8_1.config_id = 1297011
|
|
L8_1.name = "ENTER_REGION_297011"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_ENTER_REGION
|
|
L8_1.event = L9_1
|
|
L8_1.source = ""
|
|
L8_1.condition = "condition_EVENT_ENTER_REGION_297011"
|
|
L8_1.action = "action_EVENT_ENTER_REGION_297011"
|
|
L9_1 = {}
|
|
L9_1.config_id = 1297012
|
|
L9_1.name = "ENTER_REGION_297012"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_ENTER_REGION
|
|
L9_1.event = L10_1
|
|
L9_1.source = ""
|
|
L9_1.condition = "condition_EVENT_ENTER_REGION_297012"
|
|
L9_1.action = "action_EVENT_ENTER_REGION_297012"
|
|
L10_1 = {}
|
|
L10_1.config_id = 1297013
|
|
L10_1.name = "ENTER_REGION_297013"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_ENTER_REGION
|
|
L10_1.event = L11_1
|
|
L10_1.source = ""
|
|
L10_1.condition = "condition_EVENT_ENTER_REGION_297013"
|
|
L10_1.action = "action_EVENT_ENTER_REGION_297013"
|
|
L11_1 = {}
|
|
L11_1.config_id = 1297014
|
|
L11_1.name = "ENTER_REGION_297014"
|
|
L12_1 = EventType
|
|
L12_1 = L12_1.EVENT_ENTER_REGION
|
|
L11_1.event = L12_1
|
|
L11_1.source = ""
|
|
L11_1.condition = "condition_EVENT_ENTER_REGION_297014"
|
|
L11_1.action = "action_EVENT_ENTER_REGION_297014"
|
|
L12_1 = {}
|
|
L12_1.config_id = 1297015
|
|
L12_1.name = "ENTER_REGION_297015"
|
|
L13_1 = EventType
|
|
L13_1 = L13_1.EVENT_ENTER_REGION
|
|
L12_1.event = L13_1
|
|
L12_1.source = ""
|
|
L12_1.condition = "condition_EVENT_ENTER_REGION_297015"
|
|
L12_1.action = "action_EVENT_ENTER_REGION_297015"
|
|
L13_1 = {}
|
|
L13_1.config_id = 1297016
|
|
L13_1.name = "ENTER_REGION_297016"
|
|
L14_1 = EventType
|
|
L14_1 = L14_1.EVENT_ENTER_REGION
|
|
L13_1.event = L14_1
|
|
L13_1.source = ""
|
|
L13_1.condition = "condition_EVENT_ENTER_REGION_297016"
|
|
L13_1.action = "action_EVENT_ENTER_REGION_297016"
|
|
L14_1 = {}
|
|
L14_1.config_id = 1297017
|
|
L14_1.name = "ENTER_REGION_297017"
|
|
L15_1 = EventType
|
|
L15_1 = L15_1.EVENT_ENTER_REGION
|
|
L14_1.event = L15_1
|
|
L14_1.source = ""
|
|
L14_1.condition = "condition_EVENT_ENTER_REGION_297017"
|
|
L14_1.action = "action_EVENT_ENTER_REGION_297017"
|
|
L15_1 = {}
|
|
L15_1.config_id = 1297018
|
|
L15_1.name = "ENTER_REGION_297018"
|
|
L16_1 = EventType
|
|
L16_1 = L16_1.EVENT_ENTER_REGION
|
|
L15_1.event = L16_1
|
|
L15_1.source = ""
|
|
L15_1.condition = "condition_EVENT_ENTER_REGION_297018"
|
|
L15_1.action = "action_EVENT_ENTER_REGION_297018"
|
|
L16_1 = {}
|
|
L16_1.config_id = 1297019
|
|
L16_1.name = "ENTER_REGION_297019"
|
|
L17_1 = EventType
|
|
L17_1 = L17_1.EVENT_ENTER_REGION
|
|
L16_1.event = L17_1
|
|
L16_1.source = ""
|
|
L16_1.condition = "condition_EVENT_ENTER_REGION_297019"
|
|
L16_1.action = "action_EVENT_ENTER_REGION_297019"
|
|
L17_1 = {}
|
|
L17_1.config_id = 1297020
|
|
L17_1.name = "ENTER_REGION_297020"
|
|
L18_1 = EventType
|
|
L18_1 = L18_1.EVENT_ENTER_REGION
|
|
L17_1.event = L18_1
|
|
L17_1.source = ""
|
|
L17_1.condition = "condition_EVENT_ENTER_REGION_297020"
|
|
L17_1.action = "action_EVENT_ENTER_REGION_297020"
|
|
L18_1 = {}
|
|
L18_1.config_id = 1297022
|
|
L18_1.name = "ENTER_REGION_297022"
|
|
L19_1 = EventType
|
|
L19_1 = L19_1.EVENT_ENTER_REGION
|
|
L18_1.event = L19_1
|
|
L18_1.source = ""
|
|
L18_1.condition = "condition_EVENT_ENTER_REGION_297022"
|
|
L18_1.action = "action_EVENT_ENTER_REGION_297022"
|
|
L19_1 = {}
|
|
L19_1.config_id = 1297023
|
|
L19_1.name = "ENTER_REGION_297023"
|
|
L20_1 = EventType
|
|
L20_1 = L20_1.EVENT_ENTER_REGION
|
|
L19_1.event = L20_1
|
|
L19_1.source = ""
|
|
L19_1.condition = "condition_EVENT_ENTER_REGION_297023"
|
|
L19_1.action = "action_EVENT_ENTER_REGION_297023"
|
|
L20_1 = {}
|
|
L20_1.config_id = 1297024
|
|
L20_1.name = "ENTER_REGION_297024"
|
|
L21_1 = EventType
|
|
L21_1 = L21_1.EVENT_ENTER_REGION
|
|
L20_1.event = L21_1
|
|
L20_1.source = ""
|
|
L20_1.condition = "condition_EVENT_ENTER_REGION_297024"
|
|
L20_1.action = "action_EVENT_ENTER_REGION_297024"
|
|
L21_1 = {}
|
|
L21_1.config_id = 1297026
|
|
L21_1.name = "ENTER_REGION_297026"
|
|
L22_1 = EventType
|
|
L22_1 = L22_1.EVENT_ENTER_REGION
|
|
L21_1.event = L22_1
|
|
L21_1.source = ""
|
|
L21_1.condition = "condition_EVENT_ENTER_REGION_297026"
|
|
L21_1.action = "action_EVENT_ENTER_REGION_297026"
|
|
L22_1 = {}
|
|
L22_1.config_id = 1297028
|
|
L22_1.name = "ENTER_REGION_297028"
|
|
L23_1 = EventType
|
|
L23_1 = L23_1.EVENT_ENTER_REGION
|
|
L22_1.event = L23_1
|
|
L22_1.source = ""
|
|
L22_1.condition = "condition_EVENT_ENTER_REGION_297028"
|
|
L22_1.action = "action_EVENT_ENTER_REGION_297028"
|
|
L23_1 = {}
|
|
L23_1.config_id = 1297029
|
|
L23_1.name = "ENTER_REGION_297029"
|
|
L24_1 = EventType
|
|
L24_1 = L24_1.EVENT_ENTER_REGION
|
|
L23_1.event = L24_1
|
|
L23_1.source = ""
|
|
L23_1.condition = "condition_EVENT_ENTER_REGION_297029"
|
|
L23_1.action = "action_EVENT_ENTER_REGION_297029"
|
|
L24_1 = {}
|
|
L24_1.config_id = 1297030
|
|
L24_1.name = "ENTER_REGION_297030"
|
|
L25_1 = EventType
|
|
L25_1 = L25_1.EVENT_ENTER_REGION
|
|
L24_1.event = L25_1
|
|
L24_1.source = ""
|
|
L24_1.condition = "condition_EVENT_ENTER_REGION_297030"
|
|
L24_1.action = "action_EVENT_ENTER_REGION_297030"
|
|
L25_1 = {}
|
|
L25_1.config_id = 1297031
|
|
L25_1.name = "ENTER_REGION_297031"
|
|
L26_1 = EventType
|
|
L26_1 = L26_1.EVENT_ENTER_REGION
|
|
L25_1.event = L26_1
|
|
L25_1.source = ""
|
|
L25_1.condition = "condition_EVENT_ENTER_REGION_297031"
|
|
L26_1 = "action_EVENT_ENTER_REGION_297031"
|
|
L25_1.action = L26_1
|
|
L26_1 = {}
|
|
L27_1 = 1297032
|
|
L26_1.config_id = L27_1
|
|
L27_1 = "ENTER_REGION_297032"
|
|
L26_1.name = L27_1
|
|
L27_1 = EventType
|
|
L27_1 = L27_1.EVENT_ENTER_REGION
|
|
L26_1.event = L27_1
|
|
L26_1.source = ""
|
|
L27_1 = "condition_EVENT_ENTER_REGION_297032"
|
|
L26_1.condition = L27_1
|
|
L27_1 = "action_EVENT_ENTER_REGION_297032"
|
|
L26_1.action = L27_1
|
|
L27_1 = {}
|
|
L28_1 = 1297033
|
|
L27_1.config_id = L28_1
|
|
L28_1 = "ENTER_REGION_297033"
|
|
L27_1.name = L28_1
|
|
L28_1 = EventType
|
|
L28_1 = L28_1.EVENT_ENTER_REGION
|
|
L27_1.event = L28_1
|
|
L27_1.source = ""
|
|
L28_1 = "condition_EVENT_ENTER_REGION_297033"
|
|
L27_1.condition = L28_1
|
|
L28_1 = "action_EVENT_ENTER_REGION_297033"
|
|
L27_1.action = L28_1
|
|
L28_1 = {}
|
|
L29_1 = 1297034
|
|
L28_1.config_id = L29_1
|
|
L29_1 = "ENTER_REGION_297034"
|
|
L28_1.name = L29_1
|
|
L29_1 = EventType
|
|
L29_1 = L29_1.EVENT_ENTER_REGION
|
|
L28_1.event = L29_1
|
|
L28_1.source = ""
|
|
L29_1 = "condition_EVENT_ENTER_REGION_297034"
|
|
L28_1.condition = L29_1
|
|
L29_1 = "action_EVENT_ENTER_REGION_297034"
|
|
L28_1.action = L29_1
|
|
L29_1 = {}
|
|
L30_1 = 1297035
|
|
L29_1.config_id = L30_1
|
|
L30_1 = "ENTER_REGION_297035"
|
|
L29_1.name = L30_1
|
|
L30_1 = EventType
|
|
L30_1 = L30_1.EVENT_ENTER_REGION
|
|
L29_1.event = L30_1
|
|
L29_1.source = ""
|
|
L30_1 = "condition_EVENT_ENTER_REGION_297035"
|
|
L29_1.condition = L30_1
|
|
L30_1 = "action_EVENT_ENTER_REGION_297035"
|
|
L29_1.action = L30_1
|
|
L30_1 = {}
|
|
L31_1 = 1297036
|
|
L30_1.config_id = L31_1
|
|
L31_1 = "ENTER_REGION_297036"
|
|
L30_1.name = L31_1
|
|
L31_1 = EventType
|
|
L31_1 = L31_1.EVENT_ENTER_REGION
|
|
L30_1.event = L31_1
|
|
L30_1.source = ""
|
|
L31_1 = "condition_EVENT_ENTER_REGION_297036"
|
|
L30_1.condition = L31_1
|
|
L31_1 = "action_EVENT_ENTER_REGION_297036"
|
|
L30_1.action = L31_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
|
|
L1_1[16] = L17_1
|
|
L1_1[17] = L18_1
|
|
L1_1[18] = L19_1
|
|
L1_1[19] = L20_1
|
|
L1_1[20] = L21_1
|
|
L1_1[21] = L22_1
|
|
L1_1[22] = L23_1
|
|
L1_1[23] = L24_1
|
|
L1_1[24] = L25_1
|
|
L1_1[25] = L26_1
|
|
L1_1[26] = L27_1
|
|
L1_1[27] = L28_1
|
|
L1_1[28] = L29_1
|
|
L1_1[29] = L30_1
|
|
triggers = L1_1
|
|
L1_1 = "variables"
|
|
L2_1 = {}
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "garbages"
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 297009
|
|
L4_1.config_id = L5_1
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 5
|
|
L5_1 = {}
|
|
L6_1 = 985.83
|
|
L5_1.x = L6_1
|
|
L6_1 = 315.827
|
|
L5_1.y = L6_1
|
|
L6_1 = 1580.209
|
|
L5_1.z = L6_1
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 6
|
|
L3_1[1] = L4_1
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 1297009
|
|
L4_1.config_id = L5_1
|
|
L5_1 = "ENTER_REGION_297009"
|
|
L4_1.name = L5_1
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_ENTER_REGION
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L5_1 = "condition_EVENT_ENTER_REGION_297009"
|
|
L4_1.condition = L5_1
|
|
L5_1 = "action_EVENT_ENTER_REGION_297009"
|
|
L4_1.action = L5_1
|
|
L3_1[1] = L4_1
|
|
L2_1.triggers = L3_1
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "init_config"
|
|
L2_1 = {}
|
|
L3_1 = "suite"
|
|
L4_1 = 1
|
|
L2_1[L3_1] = L4_1
|
|
L3_1 = "end_suite"
|
|
L4_1 = 0
|
|
L2_1[L3_1] = L4_1
|
|
L3_1 = "rand_suite"
|
|
L4_1 = false
|
|
L2_1[L3_1] = L4_1
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "suites"
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 297003
|
|
L6_1 = 297004
|
|
L7_1 = 297005
|
|
L8_1 = 297007
|
|
L9_1 = 297008
|
|
L10_1 = 297010
|
|
L11_1 = 297011
|
|
L12_1 = 297012
|
|
L13_1 = 297013
|
|
L14_1 = 297014
|
|
L15_1 = 297015
|
|
L16_1 = 297016
|
|
L17_1 = 297017
|
|
L18_1 = 297018
|
|
L19_1 = 297019
|
|
L20_1 = 297020
|
|
L21_1 = 297022
|
|
L22_1 = 297023
|
|
L23_1 = 297024
|
|
L24_1 = 297026
|
|
L25_1 = 297028
|
|
L26_1 = 297029
|
|
L27_1 = 297030
|
|
L28_1 = 297031
|
|
L29_1 = 297032
|
|
L30_1 = 297033
|
|
L31_1 = 297034
|
|
L32_1 = 297035
|
|
L33_1 = 297036
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L4_1[5] = L9_1
|
|
L4_1[6] = L10_1
|
|
L4_1[7] = L11_1
|
|
L4_1[8] = L12_1
|
|
L4_1[9] = L13_1
|
|
L4_1[10] = L14_1
|
|
L4_1[11] = L15_1
|
|
L4_1[12] = L16_1
|
|
L4_1[13] = L17_1
|
|
L4_1[14] = L18_1
|
|
L4_1[15] = L19_1
|
|
L4_1[16] = L20_1
|
|
L4_1[17] = L21_1
|
|
L4_1[18] = L22_1
|
|
L4_1[19] = L23_1
|
|
L4_1[20] = L24_1
|
|
L4_1[21] = L25_1
|
|
L4_1[22] = L26_1
|
|
L4_1[23] = L27_1
|
|
L4_1[24] = L28_1
|
|
L4_1[25] = L29_1
|
|
L4_1[26] = L30_1
|
|
L4_1[27] = L31_1
|
|
L4_1[28] = L32_1
|
|
L4_1[29] = L33_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ENTER_REGION_297003"
|
|
L6_1 = "ENTER_REGION_297004"
|
|
L7_1 = "ENTER_REGION_297005"
|
|
L8_1 = "ENTER_REGION_297007"
|
|
L9_1 = "ENTER_REGION_297008"
|
|
L10_1 = "ENTER_REGION_297010"
|
|
L11_1 = "ENTER_REGION_297011"
|
|
L12_1 = "ENTER_REGION_297012"
|
|
L13_1 = "ENTER_REGION_297013"
|
|
L14_1 = "ENTER_REGION_297014"
|
|
L15_1 = "ENTER_REGION_297015"
|
|
L16_1 = "ENTER_REGION_297016"
|
|
L17_1 = "ENTER_REGION_297017"
|
|
L18_1 = "ENTER_REGION_297018"
|
|
L19_1 = "ENTER_REGION_297019"
|
|
L20_1 = "ENTER_REGION_297020"
|
|
L21_1 = "ENTER_REGION_297022"
|
|
L22_1 = "ENTER_REGION_297023"
|
|
L23_1 = "ENTER_REGION_297024"
|
|
L24_1 = "ENTER_REGION_297026"
|
|
L25_1 = "ENTER_REGION_297028"
|
|
L26_1 = "ENTER_REGION_297029"
|
|
L27_1 = "ENTER_REGION_297030"
|
|
L28_1 = "ENTER_REGION_297031"
|
|
L29_1 = "ENTER_REGION_297032"
|
|
L30_1 = "ENTER_REGION_297033"
|
|
L31_1 = "ENTER_REGION_297034"
|
|
L32_1 = "ENTER_REGION_297035"
|
|
L33_1 = "ENTER_REGION_297036"
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L4_1[5] = L9_1
|
|
L4_1[6] = L10_1
|
|
L4_1[7] = L11_1
|
|
L4_1[8] = L12_1
|
|
L4_1[9] = L13_1
|
|
L4_1[10] = L14_1
|
|
L4_1[11] = L15_1
|
|
L4_1[12] = L16_1
|
|
L4_1[13] = L17_1
|
|
L4_1[14] = L18_1
|
|
L4_1[15] = L19_1
|
|
L4_1[16] = L20_1
|
|
L4_1[17] = L21_1
|
|
L4_1[18] = L22_1
|
|
L4_1[19] = L23_1
|
|
L4_1[20] = L24_1
|
|
L4_1[21] = L25_1
|
|
L4_1[22] = L26_1
|
|
L4_1[23] = L27_1
|
|
L4_1[24] = L28_1
|
|
L4_1[25] = L29_1
|
|
L4_1[26] = L30_1
|
|
L4_1[27] = L31_1
|
|
L4_1[28] = L32_1
|
|
L4_1[29] = L33_1
|
|
L3_1.triggers = L4_1
|
|
L4_1 = "rand_weight"
|
|
L5_1 = 100
|
|
L3_1[L4_1] = L5_1
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 297001
|
|
L7_1 = 297002
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L4_1.triggers = L5_1
|
|
L5_1 = "rand_weight"
|
|
L6_1 = 100
|
|
L4_1[L5_1] = L6_1
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
_ENV[L1_1] = L2_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 ~= 297003 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297003 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297003 = 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 ~= 297004 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297004 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297004 = 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 ~= 297005 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297005 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297005 = 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 ~= 297007 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297007 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297007 = 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 ~= 297008 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297008 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297008 = 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 ~= 297010 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297010 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297010 = 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 ~= 297011 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297011 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297011 = 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 ~= 297012 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297012 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297012 = 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 ~= 297013 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297013 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297013 = 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 ~= 297014 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297014 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297014 = 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 ~= 297015 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297015 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297015 = 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 ~= 297016 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297016 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297016 = 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 ~= 297017 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297017 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297017 = 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 ~= 297018 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297018 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297018 = 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 ~= 297019 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297019 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297019 = 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 ~= 297020 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297020 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297020 = 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 ~= 297022 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297022 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297022 = 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 ~= 297023 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297023 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297023 = 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 ~= 297024 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297024 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297024 = 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 ~= 297026 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297026 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297026 = 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 ~= 297028 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297028 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297028 = 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 ~= 297029 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297029 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297029 = 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 ~= 297030 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297030 = 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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_297030 = 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 ~= 297031 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_297031 = L1_1
|
|
L1_1 = "action_EVENT_ENTER_REGION_297031"
|
|
function L2_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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "condition_EVENT_ENTER_REGION_297032"
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 297032 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "action_EVENT_ENTER_REGION_297032"
|
|
function L2_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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "condition_EVENT_ENTER_REGION_297033"
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 297033 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "action_EVENT_ENTER_REGION_297033"
|
|
function L2_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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "condition_EVENT_ENTER_REGION_297034"
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 297034 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "action_EVENT_ENTER_REGION_297034"
|
|
function L2_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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "condition_EVENT_ENTER_REGION_297035"
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 297035 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "action_EVENT_ENTER_REGION_297035"
|
|
function L2_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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "condition_EVENT_ENTER_REGION_297036"
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 297036 then
|
|
L2_2 = false
|
|
return L2_2
|
|
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
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|
|
L1_1 = "action_EVENT_ENTER_REGION_297036"
|
|
function L2_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.KillGroupEntity
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133103297
|
|
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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 297001
|
|
L7_2 = 297002
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.monsters = L5_2
|
|
L5_2 = {}
|
|
L6_2 = 5
|
|
L7_2 = 10
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L4_2.ranges = L5_2
|
|
L4_2.angle = 30
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintLog
|
|
L4_2 = tostring
|
|
L5_2 = L2_2
|
|
L4_2 = L4_2(L5_2)
|
|
L3_2(A0_2, L4_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
_ENV[L1_1] = L2_1
|