Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133007185.lua
hartie95 e7d859bf67 script fixes for luaj
* added lua context to ScriptLib function calls where missing
* fixed parameters for some calls
2022-09-05 01:00:35 +02:00

1747 lines
36 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
L0_1 = {}
L0_1.group_id = 133007185
L1_1 = {}
L2_1 = {}
L2_1.config_id = 271
L2_1.monster_id = 20010301
L3_1 = {}
L3_1.x = 2973.748
L3_1.y = 209.307
L3_1.z = 139.984
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 = 20
L2_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
L2_1.area_id = 4
L3_1 = {}
L3_1.config_id = 272
L3_1.monster_id = 20010301
L4_1 = {}
L4_1.x = 2972.266
L4_1.y = 209.153
L4_1.z = 138.551
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 = 20
L3_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
L3_1.area_id = 4
L4_1 = {}
L4_1.config_id = 273
L4_1.monster_id = 20010301
L5_1 = {}
L5_1.x = 2974.636
L5_1.y = 209.003
L5_1.z = 138.363
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 = 20
L4_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
L4_1.area_id = 4
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 193
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 20
L3_1 = {}
L3_1.x = 2969.961
L3_1.y = 207.073
L3_1.z = 92.088
L2_1.pos = L3_1
L2_1.area_id = 4
L3_1 = {}
L3_1.config_id = 195
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 20
L4_1 = {}
L4_1.x = 2814.724
L4_1.y = 208.82
L4_1.z = 186.437
L3_1.pos = L4_1
L3_1.area_id = 4
L4_1 = {}
L4_1.config_id = 196
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 20
L5_1 = {}
L5_1.x = 2792.281
L5_1.y = 207.625
L5_1.z = 337.565
L4_1.pos = L5_1
L4_1.area_id = 4
L5_1 = {}
L5_1.config_id = 197
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 20
L6_1 = {}
L6_1.x = 2738.383
L6_1.y = 227.027
L6_1.z = 486.409
L5_1.pos = L6_1
L5_1.area_id = 4
L6_1 = {}
L6_1.config_id = 198
L7_1 = RegionShape
L7_1 = L7_1.SPHERE
L6_1.shape = L7_1
L6_1.radius = 10
L7_1 = {}
L7_1.x = 2510.0
L7_1.y = 193.0
L7_1.z = 335.0
L6_1.pos = L7_1
L6_1.area_id = 4
L7_1 = {}
L7_1.config_id = 199
L8_1 = RegionShape
L8_1 = L8_1.SPHERE
L7_1.shape = L8_1
L7_1.radius = 20
L8_1 = {}
L8_1.x = 2437.718
L8_1.y = 222.545
L8_1.z = 395.338
L7_1.pos = L8_1
L7_1.area_id = 4
L8_1 = {}
L8_1.config_id = 200
L9_1 = RegionShape
L9_1 = L9_1.SPHERE
L8_1.shape = L9_1
L8_1.radius = 20
L9_1 = {}
L9_1.x = 2413.458
L9_1.y = 208.075
L9_1.z = 106.879
L8_1.pos = L9_1
L8_1.area_id = 4
L9_1 = {}
L9_1.config_id = 205
L10_1 = RegionShape
L10_1 = L10_1.SPHERE
L9_1.shape = L10_1
L9_1.radius = 20
L10_1 = {}
L10_1.x = 2564.574
L10_1.y = 208.044
L10_1.z = -55.014
L9_1.pos = L10_1
L9_1.area_id = 4
L10_1 = {}
L10_1.config_id = 206
L11_1 = RegionShape
L11_1 = L11_1.SPHERE
L10_1.shape = L11_1
L10_1.radius = 20
L11_1 = {}
L11_1.x = 2669.694
L11_1.y = 208.702
L11_1.z = -66.052
L10_1.pos = L11_1
L10_1.area_id = 4
L11_1 = {}
L11_1.config_id = 207
L12_1 = RegionShape
L12_1 = L12_1.SPHERE
L11_1.shape = L12_1
L11_1.radius = 20
L12_1 = {}
L12_1.x = 2618.376
L12_1.y = 213.04
L12_1.z = -177.341
L11_1.pos = L12_1
L11_1.area_id = 4
L12_1 = {}
L12_1.config_id = 208
L13_1 = RegionShape
L13_1 = L13_1.SPHERE
L12_1.shape = L13_1
L12_1.radius = 20
L13_1 = {}
L13_1.x = 2743.27
L13_1.y = 206.825
L13_1.z = 6.957
L12_1.pos = L13_1
L12_1.area_id = 4
L13_1 = {}
L13_1.config_id = 209
L14_1 = RegionShape
L14_1 = L14_1.SPHERE
L13_1.shape = L14_1
L13_1.radius = 15
L14_1 = {}
L14_1.x = 2876.478
L14_1.y = 207.2
L14_1.z = -5.297
L13_1.pos = L14_1
L13_1.area_id = 4
L14_1 = {}
L14_1.config_id = 238
L15_1 = RegionShape
L15_1 = L15_1.SPHERE
L14_1.shape = L15_1
L14_1.radius = 20
L15_1 = {}
L15_1.x = 2697.947
L15_1.y = 189.968
L15_1.z = 412.414
L14_1.pos = L15_1
L14_1.area_id = 4
L15_1 = {}
L15_1.config_id = 239
L16_1 = RegionShape
L16_1 = L16_1.SPHERE
L15_1.shape = L16_1
L15_1.radius = 13
L16_1 = {}
L16_1.x = 2558.623
L16_1.y = 216.272
L16_1.z = 447.937
L15_1.pos = L16_1
L15_1.area_id = 4
L16_1 = {}
L16_1.config_id = 241
L17_1 = RegionShape
L17_1 = L17_1.SPHERE
L16_1.shape = L17_1
L16_1.radius = 20
L17_1 = {}
L17_1.x = 2905.307
L17_1.y = 208.345
L17_1.z = 203.492
L16_1.pos = L17_1
L16_1.area_id = 4
L17_1 = {}
L17_1.config_id = 242
L18_1 = RegionShape
L18_1 = L18_1.SPHERE
L17_1.shape = L18_1
L17_1.radius = 10
L18_1 = {}
L18_1.x = 2524.24
L18_1.y = 245.053
L18_1.z = 500.822
L17_1.pos = L18_1
L17_1.area_id = 4
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
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000193
L2_1.name = "ENTER_REGION_193"
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_193"
L2_1.action = "action_EVENT_ENTER_REGION_193"
L2_1.tlog_tag = "\233\163\142\233\190\153_185_\228\188\143\229\135\187\231\187\1321_\232\167\166\229\143\145"
L3_1 = {}
L3_1.config_id = 1000195
L3_1.name = "ENTER_REGION_195"
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_195"
L3_1.action = "action_EVENT_ENTER_REGION_195"
L3_1.tlog_tag = "\233\163\142\233\190\153_185_\228\188\143\229\135\187\231\187\1322_\232\167\166\229\143\145"
L4_1 = {}
L4_1.config_id = 1000196
L4_1.name = "ENTER_REGION_196"
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_196"
L4_1.action = "action_EVENT_ENTER_REGION_196"
L4_1.tlog_tag = "\233\163\142\233\190\153_185_\228\188\143\229\135\187\231\187\1323_\232\167\166\229\143\145"
L5_1 = {}
L5_1.config_id = 1000197
L5_1.name = "ENTER_REGION_197"
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_197"
L5_1.action = "action_EVENT_ENTER_REGION_197"
L5_1.tlog_tag = "\233\163\142\233\190\153_185_\228\188\143\229\135\187\231\187\1324_\232\167\166\229\143\145"
L6_1 = {}
L6_1.config_id = 1000198
L6_1.name = "ENTER_REGION_198"
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_198"
L6_1.action = "action_EVENT_ENTER_REGION_198"
L6_1.tlog_tag = "\233\163\142\233\190\153_185_\228\188\143\229\135\187\231\187\1325_\232\167\166\229\143\145"
L7_1 = {}
L7_1.config_id = 1000199
L7_1.name = "ENTER_REGION_199"
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_199"
L7_1.action = "action_EVENT_ENTER_REGION_199"
L7_1.tlog_tag = "\233\163\142\233\190\153_185_\228\188\143\229\135\187\231\187\1326_\232\167\166\229\143\145"
L8_1 = {}
L8_1.config_id = 1000200
L8_1.name = "ENTER_REGION_200"
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_200"
L8_1.action = "action_EVENT_ENTER_REGION_200"
L8_1.tlog_tag = "\233\163\142\233\190\153_185_\228\188\143\229\135\187\231\187\1327_\232\167\166\229\143\145"
L9_1 = {}
L9_1.config_id = 1000205
L9_1.name = "ENTER_REGION_205"
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_205"
L9_1.action = "action_EVENT_ENTER_REGION_205"
L9_1.tlog_tag = "\233\163\142\233\190\153_185_\228\188\143\229\135\187\231\187\1327_\232\167\166\229\143\145"
L10_1 = {}
L10_1.config_id = 1000206
L10_1.name = "ENTER_REGION_206"
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_206"
L10_1.action = "action_EVENT_ENTER_REGION_206"
L10_1.tlog_tag = "\233\163\142\233\190\153_185_\228\188\143\229\135\187\231\187\1328_\232\167\166\229\143\145"
L11_1 = {}
L11_1.config_id = 1000207
L11_1.name = "ENTER_REGION_207"
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_207"
L11_1.action = "action_EVENT_ENTER_REGION_207"
L11_1.tlog_tag = "\233\163\142\233\190\153_185_\228\188\143\229\135\187\231\187\1329_\232\167\166\229\143\145"
L12_1 = {}
L12_1.config_id = 1000208
L12_1.name = "ENTER_REGION_208"
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_208"
L12_1.action = "action_EVENT_ENTER_REGION_208"
L12_1.tlog_tag = "\233\163\142\233\190\153_185_\228\188\143\229\135\187\231\187\13210_\232\167\166\229\143\145"
L13_1 = {}
L13_1.config_id = 1000209
L13_1.name = "ENTER_REGION_209"
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_209"
L13_1.action = "action_EVENT_ENTER_REGION_209"
L13_1.tlog_tag = "\233\163\142\233\190\153_185_\228\188\143\229\135\187\231\187\13211_\232\167\166\229\143\145"
L14_1 = {}
L14_1.config_id = 1000238
L14_1.name = "ENTER_REGION_238"
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_238"
L14_1.action = "action_EVENT_ENTER_REGION_238"
L15_1 = {}
L15_1.config_id = 1000239
L15_1.name = "ENTER_REGION_239"
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_239"
L15_1.action = "action_EVENT_ENTER_REGION_239"
L16_1 = {}
L16_1.config_id = 1000241
L16_1.name = "ENTER_REGION_241"
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_241"
L16_1.action = "action_EVENT_ENTER_REGION_241"
L16_1.tlog_tag = "\233\163\142\233\190\153_185_\228\188\143\229\135\187\231\187\13212_\232\167\166\229\143\145"
L17_1 = {}
L17_1.config_id = 1000242
L17_1.name = "ENTER_REGION_242"
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_242"
L17_1.action = "action_EVENT_ENTER_REGION_242"
L17_1.tlog_tag = "\233\163\142\233\190\153_185_\228\188\143\229\135\187\231\187\13213_\232\167\166\229\143\145"
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
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 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 193
L5_1 = 195
L6_1 = 196
L7_1 = 197
L8_1 = 198
L9_1 = 199
L10_1 = 200
L11_1 = 205
L12_1 = 206
L13_1 = 207
L14_1 = 208
L15_1 = 209
L16_1 = 238
L17_1 = 239
L18_1 = 241
L19_1 = 242
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
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_193"
L5_1 = "ENTER_REGION_195"
L6_1 = "ENTER_REGION_196"
L7_1 = "ENTER_REGION_197"
L8_1 = "ENTER_REGION_198"
L9_1 = "ENTER_REGION_199"
L10_1 = "ENTER_REGION_200"
L11_1 = "ENTER_REGION_205"
L12_1 = "ENTER_REGION_206"
L13_1 = "ENTER_REGION_207"
L14_1 = "ENTER_REGION_208"
L15_1 = "ENTER_REGION_209"
L16_1 = "ENTER_REGION_238"
L17_1 = "ENTER_REGION_239"
L18_1 = "ENTER_REGION_241"
L19_1 = "ENTER_REGION_242"
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
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_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, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 193 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_193 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_193 = 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 ~= 195 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_195 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_195 = 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 ~= 196 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_196 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_196 = 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 ~= 197 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_197 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_197 = 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 ~= 198 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_198 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_198 = 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 ~= 199 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_199 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_199 = 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 ~= 200 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_200 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_200 = 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 ~= 205 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_205 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_205 = 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 ~= 206 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_206 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_206 = 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 ~= 207 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_207 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_207 = 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 ~= 208 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_208 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_208 = 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 ~= 209 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_209 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_209 = 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 ~= 238 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_238 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_238 = 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 ~= 239 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_239 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_239 = 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 ~= 241 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_241 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_241 = 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 ~= 242 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_242 = 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.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133007185
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 = 271
L7_2 = 272
L8_2 = 273
L5_2[1] = L6_2
L5_2[2] = L7_2
L5_2[3] = L8_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 = 15
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_242 = L1_1