Grasscutter_Resources/Resources/Scripts/Scene/50015/scene50015_group250015061.lua
2022-04-29 16:40:51 +02:00

1101 lines
20 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
L0_1 = {}
L0_1.group_id = 250015061
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 61001
L2_1.gadget_id = 70690001
L3_1 = {}
L3_1.x = 1700.068
L3_1.y = 251.248
L3_1.z = 768.688
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 180.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 61002
L3_1.gadget_id = 70690001
L4_1 = {}
L4_1.x = 1700.068
L4_1.y = 251.248
L4_1.z = 753.82
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 180.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 61003
L4_1.gadget_id = 70690001
L5_1 = {}
L5_1.x = 1700.068
L5_1.y = 251.248
L5_1.z = 738.009
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 180.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 61006
L5_1.gadget_id = 70220011
L6_1 = {}
L6_1.x = 1656.528
L6_1.y = 230.936
L6_1.z = 664.08
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 61007
L6_1.gadget_id = 70690001
L7_1 = {}
L7_1.x = 1656.531
L7_1.y = 234.942
L7_1.z = 653.809
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 189.588
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 61008
L7_1.gadget_id = 70690001
L8_1 = {}
L8_1.x = 1675.146
L8_1.y = 241.675
L8_1.z = 697.874
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 233.489
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 61010
L8_1.gadget_id = 70350085
L9_1 = {}
L9_1.x = 1645.858
L9_1.y = 231.598
L9_1.z = 673.316
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
L9_1 = {}
L9_1.config_id = 61011
L9_1.gadget_id = 70690006
L10_1 = {}
L10_1.x = 1659.529
L10_1.y = 218.6
L10_1.z = 617.806
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
L10_1 = {}
L10_1.config_id = 61012
L10_1.gadget_id = 70690001
L11_1 = {}
L11_1.x = 1658.478
L11_1.y = 236.109
L11_1.z = 617.466
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 270.0
L11_1.y = 183.187
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L11_1.config_id = 61013
L11_1.gadget_id = 70690001
L12_1 = {}
L12_1.x = 1658.478
L12_1.y = 242.446
L12_1.z = 617.466
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 270.0
L12_1.y = 183.187
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L12_1.config_id = 61014
L12_1.gadget_id = 70690001
L13_1 = {}
L13_1.x = 1658.478
L13_1.y = 250.024
L13_1.z = 617.466
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 270.0
L13_1.y = 183.187
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L13_1.config_id = 61015
L13_1.gadget_id = 70690001
L14_1 = {}
L14_1.x = 1658.478
L14_1.y = 257.474
L14_1.z = 617.466
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 270.0
L14_1.y = 183.187
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L14_1.config_id = 61017
L14_1.gadget_id = 70350085
L15_1 = {}
L15_1.x = 1684.321
L15_1.y = 262.478
L15_1.z = 615.601
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = {}
L15_1.config_id = 61018
L15_1.gadget_id = 70690001
L16_1 = {}
L16_1.x = 1698.2
L16_1.y = 259.416
L16_1.z = 619.663
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 77.889
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = {}
L16_1.config_id = 61019
L16_1.gadget_id = 70690001
L17_1 = {}
L17_1.x = 1733.903
L17_1.y = 244.272
L17_1.z = 630.813
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 46.537
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L17_1 = {}
L17_1.config_id = 61020
L17_1.gadget_id = 70690001
L18_1 = {}
L18_1.x = 1733.903
L18_1.y = 244.272
L18_1.z = 611.391
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 131.366
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L18_1 = {}
L18_1.config_id = 61021
L18_1.gadget_id = 70690005
L19_1 = {}
L19_1.x = 1753.884
L19_1.y = 228.656
L19_1.z = 644.593
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 270.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L19_1 = {}
L19_1.config_id = 61022
L19_1.gadget_id = 70900332
L20_1 = {}
L20_1.x = 1761.733
L20_1.y = 210.909
L20_1.z = 617.324
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 0.0
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L20_1 = {}
L20_1.config_id = 61023
L20_1.gadget_id = 70900332
L21_1 = {}
L21_1.x = 1760.083
L21_1.y = 211.444
L21_1.z = 620.737
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 0.0
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L21_1 = {}
L21_1.config_id = 61024
L21_1.gadget_id = 70900332
L22_1 = {}
L22_1.x = 1759.817
L22_1.y = 210.865
L22_1.z = 615.365
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 0.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L22_1 = {}
L22_1.config_id = 61025
L22_1.gadget_id = 70690001
L23_1 = {}
L23_1.x = 1768.131
L23_1.y = 215.464
L23_1.z = 616.482
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 99.058
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L23_1 = {}
L23_1.config_id = 61026
L23_1.gadget_id = 70220020
L24_1 = {}
L24_1.x = 1764.683
L24_1.y = 211.241
L24_1.z = 619.077
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 343.928
L24_1.y = 78.133
L24_1.z = 346.193
L23_1.rot = L24_1
L23_1.level = 1
L24_1 = {}
L24_1.config_id = 61027
L24_1.gadget_id = 70220020
L25_1 = {}
L25_1.x = 1763.975
L25_1.y = 211.26
L25_1.z = 619.473
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 343.928
L25_1.y = 78.133
L25_1.z = 346.193
L24_1.rot = L25_1
L24_1.level = 1
L25_1 = {}
L25_1.config_id = 61028
L25_1.gadget_id = 70220020
L26_1 = {}
L26_1.x = 1764.814
L26_1.y = 210.918
L26_1.z = 616.644
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 0.0
L26_1.y = 87.584
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 1
L26_1 = {}
L26_1.config_id = 61029
L26_1.gadget_id = 70220020
L27_1 = {}
L27_1.x = 1764.703
L27_1.y = 210.901
L27_1.z = 615.552
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 0.0
L27_1.y = 87.584
L27_1.z = 0.0
L26_1.rot = L27_1
L26_1.level = 1
L27_1 = {}
L27_1.config_id = 61030
L27_1.gadget_id = 70220020
L28_1 = {}
L28_1.x = 1764.882
L28_1.y = 210.901
L28_1.z = 613.162
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 0.0
L28_1.y = 87.584
L28_1.z = 0.0
L27_1.rot = L28_1
L27_1.level = 1
L28_1 = {}
L28_1.config_id = 61031
L28_1.gadget_id = 70220020
L29_1 = {}
L29_1.x = 1764.384
L29_1.y = 211.087
L29_1.z = 611.283
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 0.0
L29_1.y = 87.584
L29_1.z = 0.0
L28_1.rot = L29_1
L28_1.level = 1
L29_1 = {}
L29_1.config_id = 61032
L29_1.gadget_id = 70220020
L30_1 = {}
L30_1.x = 1764.583
L30_1.y = 210.934
L30_1.z = 609.871
L29_1.pos = L30_1
L30_1 = {}
L30_1.x = 0.0
L30_1.y = 98.601
L30_1.z = 359.466
L29_1.rot = L30_1
L29_1.level = 1
L30_1 = {}
L30_1.config_id = 61033
L30_1.gadget_id = 70690001
L31_1 = {}
L31_1.x = 1781.252
L31_1.y = 215.464
L31_1.z = 615.308
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 0.0
L31_1.y = 89.869
L31_1.z = 0.0
L30_1.rot = L31_1
L30_1.level = 1
L31_1 = {}
L31_1.config_id = 61034
L31_1.gadget_id = 70350085
L32_1 = {}
L32_1.x = 1684.321
L32_1.y = 262.478
L32_1.z = 615.601
L31_1.pos = L32_1
L32_1 = {}
L32_1.x = 0.0
L32_1.y = 0.0
L32_1.z = 0.0
L31_1.rot = L32_1
L31_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
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
L1_1[30] = L31_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 61005
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 5
L3_1 = {}
L3_1.x = 1828.025
L3_1.y = 210.827
L3_1.z = 629.355
L2_1.pos = L3_1
L3_1 = {}
L3_1.config_id = 61009
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 2
L4_1 = {}
L4_1.x = 1646.152
L4_1.y = 231.537
L4_1.z = 673.125
L3_1.pos = L4_1
L4_1 = {}
L4_1.config_id = 61016
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 2
L5_1 = {}
L5_1.x = 1684.307
L5_1.y = 262.478
L5_1.z = 615.609
L4_1.pos = L5_1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1061004
L2_1.name = "QUEST_FINISH_61004"
L3_1 = EventType
L3_1 = L3_1.EVENT_QUEST_FINISH
L2_1.event = L3_1
L2_1.source = "7081505"
L2_1.condition = "condition_EVENT_QUEST_FINISH_61004"
L2_1.action = "action_EVENT_QUEST_FINISH_61004"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1061005
L3_1.name = "ENTER_REGION_61005"
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_61005"
L3_1.action = "action_EVENT_ENTER_REGION_61005"
L3_1.tag = "888"
L4_1 = {}
L4_1.config_id = 1061009
L4_1.name = "ENTER_REGION_61009"
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_61009"
L4_1.action = "action_EVENT_ENTER_REGION_61009"
L5_1 = {}
L5_1.config_id = 1061016
L5_1.name = "ENTER_REGION_61016"
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_61016"
L5_1.action = "action_EVENT_ENTER_REGION_61016"
L6_1 = {}
L6_1.config_id = 1061035
L6_1.name = "CHALLENGE_SUCCESS_61035"
L7_1 = EventType
L7_1 = L7_1.EVENT_CHALLENGE_SUCCESS
L6_1.event = L7_1
L6_1.source = "666"
L6_1.condition = ""
L6_1.action = "action_EVENT_CHALLENGE_SUCCESS_61035"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1061036
L7_1.name = "CHALLENGE_FAIL_61036"
L8_1 = EventType
L8_1 = L8_1.EVENT_CHALLENGE_FAIL
L7_1.event = L8_1
L7_1.source = "666"
L7_1.condition = ""
L7_1.action = "action_EVENT_CHALLENGE_FAIL_61036"
L7_1.trigger_count = 0
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
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 61005
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "QUEST_FINISH_61004"
L6_1 = "ENTER_REGION_61005"
L7_1 = "CHALLENGE_SUCCESS_61035"
L8_1 = "CHALLENGE_FAIL_61036"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 61001
L7_1 = 61002
L8_1 = 61003
L9_1 = 61006
L10_1 = 61008
L11_1 = 61010
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
L5_1[6] = L11_1
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 61009
L5_1[1] = L6_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ENTER_REGION_61009"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 61007
L8_1 = 61011
L9_1 = 61012
L10_1 = 61013
L11_1 = 61014
L12_1 = 61015
L13_1 = 61017
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L6_1[5] = L11_1
L6_1[6] = L12_1
L6_1[7] = L13_1
L5_1.gadgets = L6_1
L6_1 = {}
L7_1 = 61016
L6_1[1] = L7_1
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "ENTER_REGION_61016"
L6_1[1] = L7_1
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L6_1 = {}
L7_1 = {}
L6_1.monsters = L7_1
L7_1 = {}
L8_1 = 61018
L9_1 = 61019
L10_1 = 61020
L11_1 = 61021
L12_1 = 61022
L13_1 = 61023
L14_1 = 61024
L15_1 = 61025
L16_1 = 61026
L17_1 = 61027
L18_1 = 61028
L19_1 = 61029
L20_1 = 61030
L21_1 = 61031
L22_1 = 61032
L23_1 = 61033
L24_1 = 61034
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_1
L7_1[4] = L11_1
L7_1[5] = L12_1
L7_1[6] = L13_1
L7_1[7] = L14_1
L7_1[8] = L15_1
L7_1[9] = L16_1
L7_1[10] = L17_1
L7_1[11] = L18_1
L7_1[12] = L19_1
L7_1[13] = L20_1
L7_1[14] = L21_1
L7_1[15] = L22_1
L7_1[16] = L23_1
L7_1[17] = L24_1
L6_1.gadgets = L7_1
L7_1 = {}
L6_1.regions = L7_1
L7_1 = {}
L6_1.triggers = L7_1
L6_1.rand_weight = 100
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
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 7081505 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 1 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_QUEST_FINISH_61004 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 250015061
L5_2 = 3
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.ActiveChallenge
L3_2 = A0_2
L4_2 = 666
L5_2 = 184
L6_2 = 60
L7_2 = 4
L8_2 = 888
L9_2 = 1
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : active_challenge"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_QUEST_FINISH_61004 = 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 ~= 61005 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_61005 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 61034
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 61017
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 61010
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.StopChallenge
L3_2 = A0_2
L4_2 = 666
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_61005 = 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 ~= 61009 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_61009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 61010
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 250015061
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_61009 = 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 ~= 61016 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_61016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 61017
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = 250015061
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_61016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 61010
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 61017
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 61034
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 250015061
L4_2.suite = 1
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "2500150611"
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_CHALLENGE_SUCCESS_61035 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 61010
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 61017
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 61034
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_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 250015061
L4_2.suite = 1
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "2500150612"
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_CHALLENGE_FAIL_61036 = L1_1