mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
814 lines
15 KiB
Lua
814 lines
15 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133101098
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 98001
|
|
L2_1.monster_id = 21020201
|
|
L3_1 = {}
|
|
L3_1.x = 1183.401
|
|
L3_1.y = 242.834
|
|
L3_1.z = 1152.255
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 73.919
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
|
|
L2_1.disableWander = true
|
|
L2_1.pose_id = 401
|
|
L2_1.area_id = 6
|
|
L3_1 = {}
|
|
L3_1.config_id = 98003
|
|
L3_1.monster_id = 21011001
|
|
L4_1 = {}
|
|
L4_1.x = 1198.149
|
|
L4_1.y = 245.025
|
|
L4_1.z = 1139.057
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 323.785
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
|
|
L3_1.pose_id = 32
|
|
L3_1.area_id = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 98004
|
|
L4_1.monster_id = 21010601
|
|
L5_1 = {}
|
|
L5_1.x = 1199.683
|
|
L5_1.y = 245.695
|
|
L5_1.z = 1148.162
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 108.684
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L4_1.pose_id = 9011
|
|
L4_1.area_id = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 98005
|
|
L5_1.monster_id = 21010601
|
|
L6_1 = {}
|
|
L6_1.x = 1195.882
|
|
L6_1.y = 245.332
|
|
L6_1.z = 1160.759
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 187.661
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L5_1.pose_id = 9010
|
|
L5_1.area_id = 6
|
|
L6_1 = {}
|
|
L6_1.config_id = 98006
|
|
L6_1.monster_id = 21010601
|
|
L7_1 = {}
|
|
L7_1.x = 1182.241
|
|
L7_1.y = 243.489
|
|
L7_1.z = 1154.648
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 117.034
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L6_1.pose_id = 9010
|
|
L6_1.area_id = 6
|
|
L7_1 = {}
|
|
L7_1.config_id = 98023
|
|
L7_1.monster_id = 21020301
|
|
L8_1 = {}
|
|
L8_1.x = 1199.357
|
|
L8_1.y = 245.928
|
|
L8_1.z = 1163.083
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 183.491
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
|
|
L7_1.area_id = 6
|
|
L8_1 = {}
|
|
L8_1.config_id = 98024
|
|
L8_1.monster_id = 21010601
|
|
L9_1 = {}
|
|
L9_1.x = 1180.423
|
|
L9_1.y = 242.531
|
|
L9_1.z = 1145.572
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 70.939
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L8_1.pose_id = 9011
|
|
L8_1.area_id = 6
|
|
L9_1 = {}
|
|
L9_1.config_id = 98025
|
|
L9_1.monster_id = 21030301
|
|
L10_1 = {}
|
|
L10_1.x = 1190.743
|
|
L10_1.y = 244.448
|
|
L10_1.z = 1142.626
|
|
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.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
|
|
L9_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
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 98002
|
|
L2_1.gadget_id = 70310001
|
|
L3_1 = {}
|
|
L3_1.x = 1190.647
|
|
L3_1.y = 243.883
|
|
L3_1.z = 1144.525
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 9.734
|
|
L3_1.y = 359.695
|
|
L3_1.z = 356.424
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L3_1 = GadgetState
|
|
L3_1 = L3_1.GearStart
|
|
L2_1.state = L3_1
|
|
L2_1.area_id = 6
|
|
L3_1 = {}
|
|
L3_1.config_id = 98007
|
|
L3_1.gadget_id = 70300089
|
|
L4_1 = {}
|
|
L4_1.x = 1193.371
|
|
L4_1.y = 244.766
|
|
L4_1.z = 1139.124
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 90.473
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.area_id = 6
|
|
L4_1 = {}
|
|
L4_1.config_id = 98008
|
|
L4_1.gadget_id = 70300090
|
|
L5_1 = {}
|
|
L5_1.x = 1198.785
|
|
L5_1.y = 244.642
|
|
L5_1.z = 1138.395
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 110.194
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.area_id = 6
|
|
L5_1 = {}
|
|
L5_1.config_id = 98009
|
|
L5_1.gadget_id = 70300101
|
|
L6_1 = {}
|
|
L6_1.x = 1183.36
|
|
L6_1.y = 242.759
|
|
L6_1.z = 1146.778
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 348.533
|
|
L6_1.y = 89.855
|
|
L6_1.z = 6.147
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.area_id = 6
|
|
L6_1 = {}
|
|
L6_1.config_id = 98010
|
|
L6_1.gadget_id = 70300101
|
|
L7_1 = {}
|
|
L7_1.x = 1202.809
|
|
L7_1.y = 245.493
|
|
L7_1.z = 1147.857
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 90.473
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.area_id = 6
|
|
L7_1 = {}
|
|
L7_1.config_id = 98011
|
|
L7_1.gadget_id = 70300086
|
|
L8_1 = {}
|
|
L8_1.x = 1194.158
|
|
L8_1.y = 245.003
|
|
L8_1.z = 1137.847
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 90.473
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.area_id = 6
|
|
L8_1 = {}
|
|
L8_1.config_id = 98012
|
|
L8_1.gadget_id = 70300086
|
|
L9_1 = {}
|
|
L9_1.x = 1185.879
|
|
L9_1.y = 244.446
|
|
L9_1.z = 1137.977
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 90.473
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.area_id = 6
|
|
L9_1 = {}
|
|
L9_1.config_id = 98013
|
|
L9_1.gadget_id = 70300084
|
|
L10_1 = {}
|
|
L10_1.x = 1173.774
|
|
L10_1.y = 243.039
|
|
L10_1.z = 1136.883
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 345.632
|
|
L10_1.y = 144.201
|
|
L10_1.z = 359.561
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L9_1.area_id = 6
|
|
L10_1 = {}
|
|
L10_1.config_id = 98014
|
|
L10_1.gadget_id = 70300084
|
|
L11_1 = {}
|
|
L11_1.x = 1209.461
|
|
L11_1.y = 247.128
|
|
L11_1.z = 1149.963
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 358.734
|
|
L11_1.y = 318.02
|
|
L11_1.z = 11.806
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L10_1.area_id = 6
|
|
L11_1 = {}
|
|
L11_1.config_id = 98015
|
|
L11_1.gadget_id = 70300084
|
|
L12_1 = {}
|
|
L12_1.x = 1208.676
|
|
L12_1.y = 244.729
|
|
L12_1.z = 1133.477
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 6.09
|
|
L12_1.y = 16.996
|
|
L12_1.z = 355.352
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
L11_1.area_id = 6
|
|
L12_1 = {}
|
|
L12_1.config_id = 98018
|
|
L12_1.gadget_id = 70220014
|
|
L13_1 = {}
|
|
L13_1.x = 1208.306
|
|
L13_1.y = 246.442
|
|
L13_1.z = 1146.274
|
|
L12_1.pos = L13_1
|
|
L13_1 = {}
|
|
L13_1.x = 347.684
|
|
L13_1.y = 359.475
|
|
L13_1.z = 2.734
|
|
L12_1.rot = L13_1
|
|
L12_1.level = 1
|
|
L12_1.area_id = 6
|
|
L13_1 = {}
|
|
L13_1.config_id = 98019
|
|
L13_1.gadget_id = 70220014
|
|
L14_1 = {}
|
|
L14_1.x = 1189.611
|
|
L14_1.y = 245.002
|
|
L14_1.z = 1159.73
|
|
L13_1.pos = L14_1
|
|
L14_1 = {}
|
|
L14_1.x = 342.645
|
|
L14_1.y = 0.0
|
|
L14_1.z = 0.0
|
|
L13_1.rot = L14_1
|
|
L13_1.level = 1
|
|
L13_1.area_id = 6
|
|
L14_1 = {}
|
|
L14_1.config_id = 98020
|
|
L14_1.gadget_id = 70220013
|
|
L15_1 = {}
|
|
L15_1.x = 1188.155
|
|
L15_1.y = 244.545
|
|
L15_1.z = 1158.47
|
|
L14_1.pos = L15_1
|
|
L15_1 = {}
|
|
L15_1.x = 342.645
|
|
L15_1.y = 0.0
|
|
L15_1.z = 0.0
|
|
L14_1.rot = L15_1
|
|
L14_1.level = 1
|
|
L14_1.area_id = 6
|
|
L15_1 = {}
|
|
L15_1.config_id = 98021
|
|
L15_1.gadget_id = 70220013
|
|
L16_1 = {}
|
|
L16_1.x = 1191.049
|
|
L16_1.y = 245.066
|
|
L16_1.z = 1160.719
|
|
L15_1.pos = L16_1
|
|
L16_1 = {}
|
|
L16_1.x = 352.333
|
|
L16_1.y = 42.644
|
|
L16_1.z = 342.654
|
|
L15_1.rot = L16_1
|
|
L15_1.level = 1
|
|
L15_1.area_id = 6
|
|
L16_1 = {}
|
|
L16_1.config_id = 98022
|
|
L16_1.gadget_id = 70300089
|
|
L17_1 = {}
|
|
L17_1.x = 1187.033
|
|
L17_1.y = 244.214
|
|
L17_1.z = 1139.871
|
|
L16_1.pos = L17_1
|
|
L17_1 = {}
|
|
L17_1.x = 0.0
|
|
L17_1.y = 0.0
|
|
L17_1.z = 0.0
|
|
L16_1.rot = L17_1
|
|
L16_1.level = 1
|
|
L16_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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1098016
|
|
L2_1.name = "SPECIFIC_GADGET_HP_CHANGE_98016"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
|
|
L2_1.event = L3_1
|
|
L2_1.source = "98009"
|
|
L2_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_98016"
|
|
L2_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_98016"
|
|
L3_1 = {}
|
|
L3_1.config_id = 1098017
|
|
L3_1.name = "SPECIFIC_GADGET_HP_CHANGE_98017"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_SPECIFIC_GADGET_HP_CHANGE
|
|
L3_1.event = L4_1
|
|
L3_1.source = "98010"
|
|
L3_1.condition = "condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_98017"
|
|
L3_1.action = "action_EVENT_SPECIFIC_GADGET_HP_CHANGE_98017"
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "ison"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = false
|
|
L1_1[1] = L2_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 = {}
|
|
L4_1 = 98001
|
|
L5_1 = 98003
|
|
L6_1 = 98004
|
|
L7_1 = 98024
|
|
L8_1 = 98025
|
|
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
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 98002
|
|
L5_1 = 98007
|
|
L6_1 = 98008
|
|
L7_1 = 98009
|
|
L8_1 = 98010
|
|
L9_1 = 98011
|
|
L10_1 = 98012
|
|
L11_1 = 98013
|
|
L12_1 = 98014
|
|
L13_1 = 98015
|
|
L14_1 = 98018
|
|
L15_1 = 98019
|
|
L16_1 = 98020
|
|
L17_1 = 98021
|
|
L18_1 = 98022
|
|
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
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "SPECIFIC_GADGET_HP_CHANGE_98016"
|
|
L5_1 = "SPECIFIC_GADGET_HP_CHANGE_98017"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_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
|
|
L2_2 = A1_2.type
|
|
L3_2 = EventType
|
|
L3_2 = L3_2.EVENT_SPECIFIC_GADGET_HP_CHANGE
|
|
if L2_2 == L3_2 then
|
|
L2_2 = A1_2.param3
|
|
if not (50 < L2_2) then
|
|
goto lbl_11
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_11::
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupMonsterCount
|
|
L3_2 = A0_2
|
|
L2_2 = L2_2(L3_2)
|
|
if 2 < L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "ison"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_98016 = 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 = {}
|
|
L2_2.x = 1192
|
|
L2_2.y = 244
|
|
L2_2.z = 1142
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ScenePlaySound
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L5_2.play_pos = L2_2
|
|
L5_2.sound_name = "LevelHornSound001"
|
|
L5_2.play_type = 1
|
|
L5_2.is_broadcast = false
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : active_soundplay"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateMonster
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L5_2.config_id = 98023
|
|
L5_2.delay_time = 0
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : create_monster"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateMonster
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L5_2.config_id = 98005
|
|
L5_2.delay_time = 0
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : create_monster"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateMonster
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L5_2.config_id = 98006
|
|
L5_2.delay_time = 0
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : create_monster"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "ison"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : set_groupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateMonster
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L5_2.config_id = 98024
|
|
L5_2.delay_time = 0
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : create_monster"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = {}
|
|
L3_2.x = 1152
|
|
L3_2.y = 244
|
|
L3_2.z = 1142
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.ShowReminderRadius
|
|
L5_2 = A0_2
|
|
L6_2 = 400004
|
|
L7_2 = L3_2
|
|
L8_2 = 50
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.PrintContextLog
|
|
L5_2 = A0_2
|
|
L6_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
L4_2 = 0
|
|
return L4_2
|
|
end
|
|
action_EVENT_SPECIFIC_GADGET_HP_CHANGE_98016 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.type
|
|
L3_2 = EventType
|
|
L3_2 = L3_2.EVENT_SPECIFIC_GADGET_HP_CHANGE
|
|
if L2_2 == L3_2 then
|
|
L2_2 = A1_2.param3
|
|
if not (50 < L2_2) then
|
|
goto lbl_11
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_11::
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupMonsterCount
|
|
L3_2 = A0_2
|
|
L2_2 = L2_2(L3_2)
|
|
if 2 < L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "ison"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SPECIFIC_GADGET_HP_CHANGE_98017 = 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 = {}
|
|
L2_2.x = 1192
|
|
L2_2.y = 244
|
|
L2_2.z = 1142
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ScenePlaySound
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L5_2.play_pos = L2_2
|
|
L5_2.sound_name = "LevelHornSound001"
|
|
L5_2.play_type = 1
|
|
L5_2.is_broadcast = false
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : active_soundplay"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateMonster
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L5_2.config_id = 98023
|
|
L5_2.delay_time = 0
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : create_monster"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateMonster
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L5_2.config_id = 98005
|
|
L5_2.delay_time = 0
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : create_monster"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateMonster
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L5_2.config_id = 98006
|
|
L5_2.delay_time = 0
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : create_monster"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "ison"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : set_groupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateMonster
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L5_2.config_id = 98024
|
|
L5_2.delay_time = 0
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : create_monster"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = {}
|
|
L3_2.x = 1192
|
|
L3_2.y = 244
|
|
L3_2.z = 1142
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.ShowReminderRadius
|
|
L5_2 = A0_2
|
|
L6_2 = 400004
|
|
L7_2 = L3_2
|
|
L8_2 = 50
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.PrintContextLog
|
|
L5_2 = A0_2
|
|
L6_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
L4_2 = 0
|
|
return L4_2
|
|
end
|
|
action_EVENT_SPECIFIC_GADGET_HP_CHANGE_98017 = L1_1
|