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
687 lines
13 KiB
Lua
687 lines
13 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 133001162
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 818
|
|
L2_1.monster_id = 20010501
|
|
L3_1 = {}
|
|
L3_1.x = 1839.395
|
|
L3_1.y = 225.662
|
|
L3_1.z = -1103.62
|
|
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 = 4
|
|
L2_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L2_1.area_id = 3
|
|
L3_1 = {}
|
|
L3_1.config_id = 819
|
|
L3_1.monster_id = 20010601
|
|
L4_1 = {}
|
|
L4_1.x = 1839.723
|
|
L4_1.y = 225.855
|
|
L4_1.z = -1108.029
|
|
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 = 4
|
|
L3_1.drop_tag = "\229\164\167\229\143\178\232\142\177\229\167\134"
|
|
L3_1.area_id = 3
|
|
L4_1 = {}
|
|
L4_1.config_id = 820
|
|
L4_1.monster_id = 20010501
|
|
L5_1 = {}
|
|
L5_1.x = 1835.868
|
|
L5_1.y = 225.815
|
|
L5_1.z = -1101.497
|
|
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 = 4
|
|
L4_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L4_1.area_id = 3
|
|
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 = 192
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 18.4
|
|
L3_1 = {}
|
|
L3_1.x = 1854.705
|
|
L3_1.y = 228.858
|
|
L3_1.z = -1104.124
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 3
|
|
L3_1 = {}
|
|
L3_1.config_id = 194
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 18.4
|
|
L4_1 = {}
|
|
L4_1.x = 1999.21
|
|
L4_1.y = 197.243
|
|
L4_1.z = -1281.948
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 2
|
|
L4_1 = {}
|
|
L4_1.config_id = 195
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 18.4
|
|
L5_1 = {}
|
|
L5_1.x = 2051.559
|
|
L5_1.y = 199.907
|
|
L5_1.z = -1207.692
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 2
|
|
L5_1 = {}
|
|
L5_1.config_id = 235
|
|
L6_1 = RegionShape
|
|
L6_1 = L6_1.SPHERE
|
|
L5_1.shape = L6_1
|
|
L5_1.radius = 18.4
|
|
L6_1 = {}
|
|
L6_1.x = 1600.378
|
|
L6_1.y = 288.234
|
|
L6_1.z = -1166.656
|
|
L5_1.pos = L6_1
|
|
L5_1.area_id = 2
|
|
L6_1 = {}
|
|
L6_1.config_id = 236
|
|
L7_1 = RegionShape
|
|
L7_1 = L7_1.SPHERE
|
|
L6_1.shape = L7_1
|
|
L6_1.radius = 18.4
|
|
L7_1 = {}
|
|
L7_1.x = 1599.357
|
|
L7_1.y = 288.069
|
|
L7_1.z = -1221.863
|
|
L6_1.pos = L7_1
|
|
L6_1.area_id = 2
|
|
L7_1 = {}
|
|
L7_1.config_id = 237
|
|
L8_1 = RegionShape
|
|
L8_1 = L8_1.SPHERE
|
|
L7_1.shape = L8_1
|
|
L7_1.radius = 18.4
|
|
L8_1 = {}
|
|
L8_1.x = 1469.641
|
|
L8_1.y = 307.173
|
|
L8_1.z = -1219.013
|
|
L7_1.pos = L8_1
|
|
L7_1.area_id = 2
|
|
L8_1 = {}
|
|
L8_1.config_id = 238
|
|
L9_1 = RegionShape
|
|
L9_1 = L9_1.SPHERE
|
|
L8_1.shape = L9_1
|
|
L8_1.radius = 18.4
|
|
L9_1 = {}
|
|
L9_1.x = 1547.561
|
|
L9_1.y = 296.462
|
|
L9_1.z = -1129.412
|
|
L8_1.pos = L9_1
|
|
L8_1.area_id = 3
|
|
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
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1000192
|
|
L2_1.name = "ENTER_REGION_192"
|
|
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_192"
|
|
L2_1.action = "action_EVENT_ENTER_REGION_192"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1000194
|
|
L3_1.name = "ENTER_REGION_194"
|
|
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_194"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_194"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1000195
|
|
L4_1.name = "ENTER_REGION_195"
|
|
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_195"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_195"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1000235
|
|
L5_1.name = "ENTER_REGION_235"
|
|
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_235"
|
|
L5_1.action = "action_EVENT_ENTER_REGION_235"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1000236
|
|
L6_1.name = "ENTER_REGION_236"
|
|
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_236"
|
|
L6_1.action = "action_EVENT_ENTER_REGION_236"
|
|
L7_1 = {}
|
|
L7_1.config_id = 1000237
|
|
L7_1.name = "ENTER_REGION_237"
|
|
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_237"
|
|
L7_1.action = "action_EVENT_ENTER_REGION_237"
|
|
L8_1 = {}
|
|
L8_1.config_id = 1000238
|
|
L8_1.name = "ENTER_REGION_238"
|
|
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_238"
|
|
L8_1.action = "action_EVENT_ENTER_REGION_238"
|
|
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
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L1_1.suite = 2
|
|
L1_1.end_suite = 0
|
|
L1_1.rand_suite = false
|
|
init_config = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 192
|
|
L5_1 = 194
|
|
L6_1 = 195
|
|
L7_1 = 235
|
|
L8_1 = 236
|
|
L9_1 = 237
|
|
L10_1 = 238
|
|
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
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ENTER_REGION_192"
|
|
L5_1 = "ENTER_REGION_194"
|
|
L6_1 = "ENTER_REGION_195"
|
|
L7_1 = "ENTER_REGION_235"
|
|
L8_1 = "ENTER_REGION_236"
|
|
L9_1 = "ENTER_REGION_237"
|
|
L10_1 = "ENTER_REGION_238"
|
|
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
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
suites = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 192 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_192 = 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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 819
|
|
L7_2 = 818
|
|
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 = 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_192 = 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 ~= 194 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_194 = 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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 819
|
|
L7_2 = 820
|
|
L8_2 = 818
|
|
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_194 = 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
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 818
|
|
L7_2 = 820
|
|
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 = 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 ~= 235 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_235 = 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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 818
|
|
L7_2 = 820
|
|
L8_2 = 819
|
|
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_235 = 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 ~= 236 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_236 = 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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 818
|
|
L7_2 = 820
|
|
L8_2 = 819
|
|
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_236 = 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 ~= 237 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_237 = 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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 818
|
|
L7_2 = 820
|
|
L8_2 = 819
|
|
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_237 = 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.CreateMonsterFaceAvatar
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.entity_id = 0
|
|
L5_2 = {}
|
|
L6_2 = 818
|
|
L7_2 = 820
|
|
L8_2 = 819
|
|
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
|