mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
* used this shell command `grep -rl "L2_2 = L2_2.GetEntityType" . | xargs sed -i '/L2_2 = L2_2.GetEntityType/, /L3_2 = EntityType/ s/L2_2 = L2_2(L3_2)/L2_2 = L2_2(A0_2, L3_2)/'`
703 lines
13 KiB
Lua
703 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, L11_1, L12_1, L13_1, L14_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 133104916
|
|
L1_1 = {}
|
|
L1_1.gadget_1 = 916021
|
|
L1_1.gadget_2 = 916022
|
|
L1_1.gadget_3 = 916023
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 916001
|
|
L3_1.monster_id = 21020301
|
|
L4_1 = {}
|
|
L4_1.x = 385.456
|
|
L4_1.y = 201.419
|
|
L4_1.z = 461.954
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 0.0
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_id = 1000100
|
|
L3_1.disableWander = true
|
|
L3_1.pose_id = 401
|
|
L3_1.area_id = 9
|
|
L4_1 = {}
|
|
L4_1.config_id = 916002
|
|
L4_1.monster_id = 21011201
|
|
L5_1 = {}
|
|
L5_1.x = 389.868
|
|
L5_1.y = 201.296
|
|
L5_1.z = 466.118
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 0.0
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_id = 1000100
|
|
L4_1.disableWander = true
|
|
L4_1.area_id = 9
|
|
L5_1 = {}
|
|
L5_1.config_id = 916003
|
|
L5_1.monster_id = 21011201
|
|
L6_1 = {}
|
|
L6_1.x = 387.127
|
|
L6_1.y = 201.477
|
|
L6_1.z = 471.134
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 207.994
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.drop_id = 1000100
|
|
L5_1.disableWander = true
|
|
L5_1.area_id = 9
|
|
L6_1 = {}
|
|
L6_1.config_id = 916004
|
|
L6_1.monster_id = 21011001
|
|
L7_1 = {}
|
|
L7_1.x = 396.877
|
|
L7_1.y = 201.23
|
|
L7_1.z = 464.777
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 117.658
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.drop_id = 1000100
|
|
L6_1.disableWander = true
|
|
L6_1.area_id = 9
|
|
L7_1 = {}
|
|
L7_1.config_id = 916005
|
|
L7_1.monster_id = 21011001
|
|
L8_1 = {}
|
|
L8_1.x = 386.186
|
|
L8_1.y = 200.932
|
|
L8_1.z = 481.232
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 0.0
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.drop_id = 1000100
|
|
L7_1.disableWander = true
|
|
L7_1.area_id = 9
|
|
L8_1 = {}
|
|
L8_1.config_id = 916006
|
|
L8_1.monster_id = 21030401
|
|
L9_1 = {}
|
|
L9_1.x = 383.888
|
|
L9_1.y = 201.555
|
|
L9_1.z = 466.372
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 42.012
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.drop_id = 1000100
|
|
L8_1.disableWander = true
|
|
L8_1.pose_id = 9012
|
|
L8_1.area_id = 9
|
|
L9_1 = {}
|
|
L9_1.config_id = 916016
|
|
L9_1.monster_id = 20010501
|
|
L10_1 = {}
|
|
L10_1.x = 299.148
|
|
L10_1.y = 203.833
|
|
L10_1.z = 487.0
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.199
|
|
L10_1.y = 0.198
|
|
L10_1.z = 0.034
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L9_1.drop_id = 1000100
|
|
L9_1.disableWander = true
|
|
L9_1.area_id = 9
|
|
L10_1 = {}
|
|
L10_1.config_id = 916017
|
|
L10_1.monster_id = 20010601
|
|
L11_1 = {}
|
|
L11_1.x = 300.964
|
|
L11_1.y = 203.509
|
|
L11_1.z = 488.65
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 0.0
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L10_1.drop_id = 1000100
|
|
L10_1.disableWander = true
|
|
L10_1.area_id = 9
|
|
L11_1 = {}
|
|
L11_1.config_id = 916018
|
|
L11_1.monster_id = 20010701
|
|
L12_1 = {}
|
|
L12_1.x = 298.616
|
|
L12_1.y = 203.817
|
|
L12_1.z = 489.043
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 184.503
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L11_1.drop_id = 1000100
|
|
L11_1.disableWander = true
|
|
L11_1.area_id = 9
|
|
L12_1 = {}
|
|
L12_1.config_id = 916019
|
|
L12_1.monster_id = 20010501
|
|
L13_1 = {}
|
|
L13_1.x = 301.418
|
|
L13_1.y = 203.341
|
|
L13_1.z = 490.358
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 0.0
|
|
L13_1.y = 0.0
|
|
L13_1.z = 0.0
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 1
|
|
L12_1.drop_id = 1000100
|
|
L12_1.disableWander = true
|
|
L12_1.area_id = 9
|
|
L13_1 = {}
|
|
L13_1.config_id = 916020
|
|
L13_1.monster_id = 20010501
|
|
L14_1 = {}
|
|
L14_1.x = 297.918
|
|
L14_1.y = 203.985
|
|
L14_1.z = 490.833
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 0.0
|
|
L14_1.y = 147.105
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 1
|
|
L13_1.drop_id = 1000100
|
|
L13_1.area_id = 9
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L2_1[5] = L7_1
|
|
L2_1[6] = L8_1
|
|
L2_1[7] = L9_1
|
|
L2_1[8] = L10_1
|
|
L2_1[9] = L11_1
|
|
L2_1[10] = L12_1
|
|
L2_1[11] = L13_1
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 916007
|
|
L3_1.gadget_id = 70300107
|
|
L4_1 = {}
|
|
L4_1.x = 386.571
|
|
L4_1.y = 201.437
|
|
L4_1.z = 467.624
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 0.0
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L4_1 = GadgetState
|
|
L4_1 = L4_1.GearStart
|
|
L3_1.state = L4_1
|
|
L3_1.area_id = 9
|
|
L4_1 = {}
|
|
L4_1.config_id = 916008
|
|
L4_1.gadget_id = 70300081
|
|
L5_1 = {}
|
|
L5_1.x = 380.889
|
|
L5_1.y = 201.316
|
|
L5_1.z = 459.854
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 120.727
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.area_id = 9
|
|
L5_1 = {}
|
|
L5_1.config_id = 916009
|
|
L5_1.gadget_id = 70300083
|
|
L6_1 = {}
|
|
L6_1.x = 393.788
|
|
L6_1.y = 201.251
|
|
L6_1.z = 466.263
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 295.227
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.area_id = 9
|
|
L6_1 = {}
|
|
L6_1.config_id = 916010
|
|
L6_1.gadget_id = 70300083
|
|
L7_1 = {}
|
|
L7_1.x = 385.281
|
|
L7_1.y = 201.268
|
|
L7_1.z = 477.447
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 0.0
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.area_id = 9
|
|
L7_1 = {}
|
|
L7_1.config_id = 916011
|
|
L7_1.gadget_id = 70220066
|
|
L8_1 = {}
|
|
L8_1.x = 389.425
|
|
L8_1.y = 201.755
|
|
L8_1.z = 462.476
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 0.0
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.area_id = 9
|
|
L8_1 = {}
|
|
L8_1.config_id = 916012
|
|
L8_1.gadget_id = 70220066
|
|
L9_1 = {}
|
|
L9_1.x = 384.156
|
|
L9_1.y = 201.507
|
|
L9_1.z = 474.845
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 0.0
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.area_id = 9
|
|
L9_1 = {}
|
|
L9_1.config_id = 916013
|
|
L9_1.gadget_id = 70220067
|
|
L10_1 = {}
|
|
L10_1.x = 380.552
|
|
L10_1.y = 202.173
|
|
L10_1.z = 467.062
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 0.0
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L9_1.area_id = 9
|
|
L10_1 = {}
|
|
L10_1.config_id = 916014
|
|
L10_1.gadget_id = 70220065
|
|
L11_1 = {}
|
|
L11_1.x = 380.761
|
|
L11_1.y = 202.233
|
|
L11_1.z = 469.03
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 15.198
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L10_1.area_id = 9
|
|
L11_1 = {}
|
|
L11_1.config_id = 916015
|
|
L11_1.gadget_id = 70220066
|
|
L12_1 = {}
|
|
L12_1.x = 390.231
|
|
L12_1.y = 201.564
|
|
L12_1.z = 463.572
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 0.0
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L11_1.area_id = 9
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L2_1[5] = L7_1
|
|
L2_1[6] = L8_1
|
|
L2_1[7] = L9_1
|
|
L2_1[8] = L10_1
|
|
L2_1[9] = L11_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 916021
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 20
|
|
L4_1 = {}
|
|
L4_1.x = 336.956
|
|
L4_1.y = 204.213
|
|
L4_1.z = 473.184
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 9
|
|
L4_1 = {}
|
|
L4_1.config_id = 916022
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 20
|
|
L5_1 = {}
|
|
L5_1.x = 309.292
|
|
L5_1.y = 203.363
|
|
L5_1.z = 485.583
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 9
|
|
L5_1 = {}
|
|
L5_1.config_id = 916023
|
|
L6_1 = RegionShape
|
|
L6_1 = L6_1.SPHERE
|
|
L5_1.shape = L6_1
|
|
L5_1.radius = 20
|
|
L6_1 = {}
|
|
L6_1.x = 299.213
|
|
L6_1.y = 203.813
|
|
L6_1.z = 487.839
|
|
L5_1.pos = L6_1
|
|
L5_1.area_id = 9
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1916021
|
|
L3_1.name = "ENTER_REGION_916021"
|
|
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_916021"
|
|
L3_1.action = ""
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1916022
|
|
L4_1.name = "ENTER_REGION_916022"
|
|
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_916022"
|
|
L4_1.action = ""
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1916023
|
|
L5_1.name = "ENTER_REGION_916023"
|
|
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_916023"
|
|
L5_1.action = ""
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1916024
|
|
L6_1.name = "ANY_MONSTER_DIE_916024"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_ANY_MONSTER_DIE
|
|
L6_1.event = L7_1
|
|
L6_1.source = ""
|
|
L6_1.condition = "condition_EVENT_ANY_MONSTER_DIE_916024"
|
|
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_916024"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1916025
|
|
L7_1.name = "ANY_MONSTER_DIE_916025"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_ANY_MONSTER_DIE
|
|
L7_1.event = L8_1
|
|
L7_1.source = ""
|
|
L7_1.condition = "condition_EVENT_ANY_MONSTER_DIE_916025"
|
|
L7_1.action = "action_EVENT_ANY_MONSTER_DIE_916025"
|
|
L7_1.trigger_count = 0
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
L2_1[5] = L7_1
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 1
|
|
L2_1.end_suite = 0
|
|
L2_1.rand_suite = false
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 916001
|
|
L6_1 = 916002
|
|
L7_1 = 916003
|
|
L8_1 = 916004
|
|
L9_1 = 916005
|
|
L10_1 = 916006
|
|
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
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 916007
|
|
L6_1 = 916008
|
|
L7_1 = 916009
|
|
L8_1 = 916010
|
|
L9_1 = 916011
|
|
L10_1 = 916012
|
|
L11_1 = 916013
|
|
L12_1 = 916014
|
|
L13_1 = 916015
|
|
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
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ANY_MONSTER_DIE_916025"
|
|
L4_1[1] = L5_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 916016
|
|
L7_1 = 916017
|
|
L8_1 = 916018
|
|
L9_1 = 916019
|
|
L10_1 = 916020
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L5_1[4] = L9_1
|
|
L5_1[5] = L10_1
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 916021
|
|
L7_1 = 916022
|
|
L8_1 = 916023
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "ENTER_REGION_916021"
|
|
L7_1 = "ENTER_REGION_916022"
|
|
L8_1 = "ENTER_REGION_916023"
|
|
L9_1 = "ANY_MONSTER_DIE_916024"
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L5_1[4] = L9_1
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
suites = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetEntityType
|
|
L3_2 = A1_2.target_eid
|
|
L2_2 = L2_2(A0_2, L3_2)
|
|
L3_2 = EntityType
|
|
L3_2 = L3_2.AVATAR
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetQuestState
|
|
L3_2 = A0_2
|
|
L4_2 = A1_2.target_eid
|
|
L5_2 = 7181005
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = QuestState
|
|
L3_2 = L3_2.UNFINISHED
|
|
if L2_2 == L3_2 then
|
|
L2_2 = A1_2.param1
|
|
L3_2 = L1_1.gadget_1
|
|
if L2_2 == L3_2 then
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
end
|
|
end
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_916021 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetEntityType
|
|
L3_2 = A1_2.target_eid
|
|
L2_2 = L2_2(A0_2, L3_2)
|
|
L3_2 = EntityType
|
|
L3_2 = L3_2.AVATAR
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetQuestState
|
|
L3_2 = A0_2
|
|
L4_2 = A1_2.target_eid
|
|
L5_2 = 7181006
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = QuestState
|
|
L3_2 = L3_2.UNFINISHED
|
|
if L2_2 == L3_2 then
|
|
L2_2 = A1_2.param1
|
|
L3_2 = L1_1.gadget_2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
end
|
|
end
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_916022 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetEntityType
|
|
L3_2 = A1_2.target_eid
|
|
L2_2 = L2_2(A0_2, L3_2)
|
|
L3_2 = EntityType
|
|
L3_2 = L3_2.AVATAR
|
|
if L2_2 == L3_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetQuestState
|
|
L3_2 = A0_2
|
|
L4_2 = A1_2.target_eid
|
|
L5_2 = 7181007
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2)
|
|
L3_2 = QuestState
|
|
L3_2 = L3_2.UNFINISHED
|
|
if L2_2 == L3_2 then
|
|
L2_2 = A1_2.param1
|
|
L3_2 = L1_1.gadget_3
|
|
if L2_2 == L3_2 then
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
end
|
|
end
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_916023 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupMonsterCount
|
|
L3_2 = A0_2
|
|
L2_2 = L2_2(L3_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_916024 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "1331049162"
|
|
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 : add_quest_progress"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_916024 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupMonsterCount
|
|
L3_2 = A0_2
|
|
L2_2 = L2_2(L3_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_916025 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "1331049161"
|
|
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 : add_quest_progress"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_916025 = L2_1
|