添加配置表

This commit is contained in:
flswld
2022-11-30 00:00:20 +08:00
parent f70a890338
commit d7f3f3b866
33382 changed files with 8476601 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
-- 所有的区块
blocks = { 200101 }

View File

@@ -0,0 +1,150 @@
-- 所有的group
groups = {
{ id = 302001001, refresh_id = 1, pos = { x = 2020.450, y = 204.711, z = -870.282 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001002, refresh_id = 1, pos = { x = 928.478, y = 212.780, z = 332.963 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001003, refresh_id = 1, pos = { x = 1716.587, y = 246.936, z = 628.713 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001004, pos = { x = 1957.723, y = 221.981, z = -1500.487 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001005, pos = { x = 2331.174, y = 254.847, z = -1430.903 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001006, pos = { x = 1813.000, y = 234.000, z = -873.000 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001007, pos = { x = 1832.820, y = 195.324, z = -1462.372 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001008, pos = { x = 2535.952, y = 205.474, z = 198.442 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001009, pos = { x = 731.015, y = 204.739, z = 264.467 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001010, pos = { x = 1799.604, y = 234.157, z = -847.061 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001011, pos = { x = 658.728, y = 202.626, z = 337.831 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001012, pos = { x = -282.968, y = 200.000, z = -817.643 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001013, pos = { x = 1708.244, y = 246.922, z = 614.269 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001014, pos = { x = 758.893, y = 319.596, z = 1509.780 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001015, pos = { x = 471.415, y = 200.401, z = -358.131 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001016, pos = { x = -673.783, y = 205.216, z = 1195.476 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001017, pos = { x = 865.650, y = 213.478, z = 662.700 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001018, pos = { x = 1894.470, y = 220.677, z = 574.017 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001019, pos = { x = 1778.687, y = 216.746, z = 707.307 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001020, pos = { x = 1538.519, y = 335.521, z = -2113.576 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001021, pos = { x = 1260.130, y = 306.248, z = -1777.832 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001022, pos = { x = 1458.505, y = 269.758, z = -1657.757 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001023, pos = { x = 1413.215, y = 284.788, z = -1404.004 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001024, pos = { x = -255.768, y = 200.909, z = -878.620 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001025, pos = { x = -137.359, y = 200.745, z = -906.076 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001026, pos = { x = -89.499, y = 199.514, z = -742.870 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001028, pos = { x = -139.862, y = 201.834, z = -455.382 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001029, pos = { x = 1834.088, y = 194.855, z = -1387.963 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001030, pos = { x = 2223.130, y = 238.246, z = -1416.221 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001031, pos = { x = 2081.029, y = 210.503, z = -1303.050 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001032, pos = { x = 2077.657, y = 200.092, z = -1147.502 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001033, pos = { x = 2817.681, y = 265.213, z = -1712.356 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001034, pos = { x = 2617.798, y = 227.686, z = -1124.344 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001035, pos = { x = 2549.733, y = 217.878, z = -1442.480 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001036, pos = { x = 1618.457, y = 225.086, z = 1272.760 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001037, pos = { x = 2202.165, y = 228.725, z = -1255.194 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001038, pos = { x = 1435.897, y = 213.759, z = 1100.967 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001039, pos = { x = 1335.215, y = 200.000, z = 926.194 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001040, pos = { x = 1079.237, y = 201.356, z = 757.014 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001041, pos = { x = 2027.339, y = 205.474, z = -875.720 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001042, pos = { x = 901.219, y = 207.800, z = 281.203 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001043, pos = { x = 1777.672, y = 253.873, z = 495.603 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001044, pos = { x = -103.883, y = 253.730, z = -108.096 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001045, pos = { x = 33.792, y = 267.609, z = 109.486 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001046, pos = { x = 244.869, y = 224.807, z = 245.841 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001047, pos = { x = 1264.318, y = 200.181, z = -151.707 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001048, pos = { x = 1123.905, y = 201.143, z = -17.895 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001049, pos = { x = 844.801, y = 200.770, z = -6.126 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001050, pos = { x = 141.557, y = 237.686, z = 271.639 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001051, pos = { x = 1160.760, y = 204.286, z = -159.888 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001052, pos = { x = 401.017, y = 200.713, z = -370.274 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001053, pos = { x = 1917.849, y = 249.805, z = -460.313 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001054, pos = { x = 1968.802, y = 221.621, z = -708.905 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001055, pos = { x = 1802.179, y = 243.405, z = -724.995 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001056, pos = { x = 1896.074, y = 250.910, z = -839.934 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001057, pos = { x = 429.658, y = 201.339, z = -295.222 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001058, pos = { x = 1532.530, y = 335.521, z = -2110.474 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001059, pos = { x = 314.656, y = 200.832, z = 30.043 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001060, pos = { x = 526.371, y = 200.232, z = 136.208 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001061, pos = { x = 2507.009, y = 247.676, z = -393.183 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001062, pos = { x = 2249.713, y = 278.697, z = -183.233 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001063, pos = { x = 2161.825, y = 276.498, z = -266.818 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001064, pos = { x = 1868.684, y = 203.180, z = -238.089 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001065, pos = { x = 1259.965, y = 306.379, z = -1775.785 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001066, pos = { x = 1458.269, y = 269.661, z = -1658.628 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001067, pos = { x = 1413.221, y = 284.782, z = -1404.053 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001068, pos = { x = 1834.088, y = 194.855, z = -1387.963 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001069, pos = { x = 2223.135, y = 238.308, z = -1417.210 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001070, pos = { x = 2081.721, y = 210.652, z = -1304.280 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001071, pos = { x = 2077.582, y = 200.069, z = -1148.690 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001072, pos = { x = -255.782, y = 201.930, z = -879.373 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001073, pos = { x = -139.573, y = 200.831, z = -906.834 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001074, pos = { x = -89.444, y = 201.223, z = -741.475 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001075, pos = { x = -150.795, y = 202.577, z = -461.947 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001076, pos = { x = -105.759, y = 253.463, z = -112.934 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001077, pos = { x = 33.082, y = 267.705, z = 110.678 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001078, pos = { x = 241.721, y = 224.875, z = 246.458 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001079, pos = { x = 143.829, y = 237.511, z = 272.424 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001080, pos = { x = 400.477, y = 200.728, z = -372.478 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001081, pos = { x = 430.470, y = 201.174, z = -292.535 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001082, pos = { x = 314.293, y = 200.870, z = 31.180 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001083, pos = { x = 517.800, y = 200.878, z = 147.112 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001084, pos = { x = 2818.705, y = 265.461, z = -1714.084 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001085, pos = { x = 1618.345, y = 225.079, z = 1269.120 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001086, pos = { x = 1435.492, y = 213.665, z = 1099.063 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001087, pos = { x = 1334.683, y = 200.000, z = 923.450 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001088, pos = { x = 1080.519, y = 200.966, z = 765.639 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001089, pos = { x = 2616.632, y = 227.129, z = -1123.381 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001090, pos = { x = 2550.426, y = 217.814, z = -1442.273 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001091, pos = { x = 785.928, y = 201.231, z = 542.233 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001092, pos = { x = 779.939, y = 201.231, z = 545.335 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001093, pos = { x = 1265.334, y = 200.319, z = -153.788 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001094, pos = { x = 1125.948, y = 203.194, z = -22.018 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001095, pos = { x = 2202.576, y = 228.647, z = -1254.542 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001096, pos = { x = 845.000, y = 201.000, z = -9.000 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001097, pos = { x = 1160.000, y = 204.000, z = -158.000 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001098, pos = { x = 1742.833, y = 258.641, z = 185.945 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001099, pos = { x = 1299.000, y = 200.000, z = 519.000 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001100, pos = { x = 533.317, y = 200.238, z = 502.982 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001101, pos = { x = 1341.200, y = 200.244, z = 718.374 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001102, pos = { x = 1684.291, y = 238.891, z = 790.889 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001103, pos = { x = 527.328, y = 200.238, z = 506.084 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001104, pos = { x = 1742.754, y = 258.692, z = 185.881 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001105, pos = { x = 1299.000, y = 200.000, z = 519.000 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001106, pos = { x = 1345.937, y = 200.308, z = 712.981 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001107, pos = { x = 1685.971, y = 238.457, z = 785.627 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001108, pos = { x = 1358.579, y = 200.188, z = 185.234 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001109, pos = { x = 1209.873, y = 200.478, z = 386.704 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001110, pos = { x = 941.956, y = 200.909, z = 189.449 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001111, pos = { x = 1060.472, y = 200.754, z = 203.031 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001112, pos = { x = 1360.996, y = 200.200, z = 184.228 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001113, pos = { x = 1214.376, y = 200.342, z = 383.567 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001114, pos = { x = 944.787, y = 200.812, z = 184.158 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001115, pos = { x = 1060.817, y = 200.748, z = 203.704 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001116, pos = { x = 1917.281, y = 249.932, z = -461.345 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001117, pos = { x = 1968.591, y = 221.668, z = -708.316 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001118, pos = { x = 540.657, y = 200.516, z = 583.806 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001119, pos = { x = 534.668, y = 200.516, z = 586.908 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001120, pos = { x = 308.241, y = 203.426, z = 481.119 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001121, pos = { x = 302.252, y = 203.426, z = 484.221 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001122, pos = { x = 1802.418, y = 242.488, z = -725.073 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001123, pos = { x = 1894.775, y = 250.745, z = -840.193 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001124, pos = { x = 2507.009, y = 247.676, z = -393.183 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001125, pos = { x = -740.311, y = 222.270, z = 353.253 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001126, pos = { x = -740.311, y = 222.270, z = 353.253 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001127, pos = { x = 2248.338, y = 278.690, z = -185.082 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001128, pos = { x = 2160.713, y = 276.568, z = -267.561 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001129, pos = { x = -838.273, y = 196.232, z = 747.326 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001130, pos = { x = -844.262, y = 196.232, z = 750.428 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001131, pos = { x = 1868.415, y = 203.101, z = -238.873 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001132, pos = { x = -932.440, y = 197.464, z = 771.355 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001133, pos = { x = -938.429, y = 197.464, z = 774.457 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001134, pos = { x = -846.351, y = 243.696, z = 566.862 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001135, pos = { x = -852.340, y = 243.696, z = 569.964 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001136, pos = { x = 374.681, y = 277.058, z = 1597.034 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001137, pos = { x = 368.692, y = 277.058, z = 1600.136 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001138, pos = { x = 442.679, y = 231.708, z = 1703.771 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001139, pos = { x = 436.690, y = 231.708, z = 1706.873 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001140, pos = { x = 672.356, y = 231.007, z = 1711.037 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001141, pos = { x = 666.367, y = 231.007, z = 1714.138 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001142, pos = { x = 714.123, y = 245.255, z = 1612.367 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001143, pos = { x = 708.134, y = 245.255, z = 1615.468 }, dynamic_load = true, business = { type = 4 }, is_ignore_world_level_revise = true },
{ id = 302001144, pos = { x = 755.000, y = 202.000, z = 193.000 }, dynamic_load = true, business = { type = 4 } },
{ id = 302001901, refresh_id = 1001, pos = { x = 1811.055, y = 234.560, z = -846.493 }, dynamic_load = true, business = { type = 1 } },
{ id = 302001902, refresh_id = 1001, pos = { x = 1721.236, y = 204.346, z = 89.186 }, dynamic_load = true, business = { type = 1 } },
{ id = 302001903, refresh_id = 1, pos = { x = 1135.040, y = 202.617, z = 328.575 }, dynamic_load = true, business = { type = 1 } },
{ id = 302001904, refresh_id = 1001, pos = { x = 1627.208, y = 194.665, z = -2580.227 }, dynamic_load = true, business = { type = 1 } }
}

View File

@@ -0,0 +1,81 @@
-- 基础信息
local base_info = {
group_id = 302001001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
{ config_id = 1001, npc_id = 30003, pos = { x = 2024.275, y = 205.008, z = -890.056 }, rot = { x = 0.000, y = 284.000, z = 0.000 }, area_id = 3 },
{ config_id = 1002, npc_id = 30004, pos = { x = 2029.755, y = 205.401, z = -877.558 }, rot = { x = 0.000, y = 267.300, z = 0.000 }, area_id = 3 },
{ config_id = 1003, npc_id = 30002, pos = { x = 2024.718, y = 205.223, z = -865.978 }, rot = { x = 0.000, y = 330.500, z = 0.000 }, area_id = 3 },
{ config_id = 1009, npc_id = 30018, pos = { x = 2024.662, y = 206.054, z = -861.043 }, rot = { x = 0.000, y = 183.900, z = 0.000 }, area_id = 3 },
{ config_id = 1010, npc_id = 30019, pos = { x = 2029.454, y = 206.524, z = -890.056 }, rot = { x = 0.000, y = 309.600, z = 0.000 }, area_id = 3 }
}
-- 装置
gadgets = {
{ config_id = 1004, gadget_id = 70710191, pos = { x = 2023.424, y = 204.658, z = -860.742 }, rot = { x = 0.000, y = 184.800, z = 0.000 }, level = 1, area_id = 3 },
{ config_id = 1005, gadget_id = 70710191, pos = { x = 2029.169, y = 205.127, z = -890.355 }, rot = { x = 0.000, y = 307.200, z = 0.000 }, level = 1, area_id = 3 },
{ config_id = 1006, gadget_id = 70710191, pos = { x = 2034.881, y = 204.982, z = -877.820 }, rot = { x = 0.000, y = 268.280, z = 0.000 }, level = 1, area_id = 3 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 1004, 1005, 1006 },
regions = { },
triggers = { },
npcs = { 1001, 1002, 1003, 1009, 1010 },
rand_weight = 100,
ban_refresh = true
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,80 @@
-- 基础信息
local base_info = {
group_id = 302001002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
{ config_id = 2001, npc_id = 30005, pos = { x = 925.125, y = 208.093, z = 280.618 }, rot = { x = 0.000, y = 293.100, z = 0.000 }, area_id = 5 },
{ config_id = 2002, npc_id = 30006, pos = { x = 879.118, y = 208.450, z = 269.111 }, rot = { x = 0.000, y = 42.800, z = 0.000 }, area_id = 5 },
{ config_id = 2003, npc_id = 30007, pos = { x = 877.041, y = 208.058, z = 280.704 }, rot = { x = 0.000, y = 137.200, z = 0.000 }, area_id = 5 },
{ config_id = 2010, npc_id = 30023, pos = { x = 879.596, y = 209.862, z = 265.495 }, rot = { x = 0.000, y = 18.920, z = 0.000 }, area_id = 5 }
}
-- 装置
gadgets = {
{ config_id = 2004, gadget_id = 70710191, pos = { x = 880.649, y = 208.467, z = 264.919 }, rot = { x = 0.000, y = 16.600, z = 0.000 }, level = 1, area_id = 5 },
{ config_id = 2005, gadget_id = 70710191, pos = { x = 872.717, y = 208.186, z = 283.821 }, rot = { x = 0.000, y = 165.210, z = 0.000 }, level = 1, area_id = 5 },
{ config_id = 2006, gadget_id = 70710191, pos = { x = 929.186, y = 208.442, z = 277.136 }, rot = { x = 2.000, y = 262.800, z = 357.500 }, level = 1, area_id = 5 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 2004, 2005, 2006 },
regions = { },
triggers = { },
npcs = { 2001, 2002, 2003, 2010 },
rand_weight = 100,
ban_refresh = true
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,83 @@
-- 基础信息
local base_info = {
group_id = 302001003
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
{ config_id = 3001, npc_id = 30014, pos = { x = 1715.734, y = 246.941, z = 628.132 }, rot = { x = 0.000, y = 48.120, z = 0.000 }, area_id = 5 },
{ config_id = 3002, npc_id = 30008, pos = { x = 1713.582, y = 241.578, z = 666.488 }, rot = { x = 0.000, y = 122.029, z = 0.000 }, area_id = 5 },
{ config_id = 3003, npc_id = 30009, pos = { x = 1684.684, y = 237.213, z = 650.842 }, rot = { x = 0.000, y = 178.979, z = 0.000 }, area_id = 5 },
{ config_id = 3004, npc_id = 30010, pos = { x = 1779.625, y = 253.445, z = 493.102 }, rot = { x = 0.000, y = 312.024, z = 0.000 }, area_id = 5 },
{ config_id = 3008, npc_id = 30024, pos = { x = 1709.589, y = 242.625, z = 664.497 }, rot = { x = 0.000, y = 71.500, z = 0.000 }, area_id = 5 },
{ config_id = 3009, npc_id = 30025, pos = { x = 1689.281, y = 238.537, z = 653.710 }, rot = { x = 0.000, y = 137.320, z = 0.000 }, area_id = 5 }
}
-- 装置
gadgets = {
{ config_id = 3005, gadget_id = 70710191, pos = { x = 1709.199, y = 241.232, z = 665.162 }, rot = { x = 0.000, y = 114.000, z = 0.000 }, level = 1, area_id = 5 },
{ config_id = 3006, gadget_id = 70710191, pos = { x = 1688.119, y = 237.143, z = 654.163 }, rot = { x = 0.000, y = 179.800, z = 0.000 }, level = 1, area_id = 5 },
{ config_id = 3007, gadget_id = 70710191, pos = { x = 1782.786, y = 253.214, z = 493.718 }, rot = { x = 0.000, y = 292.200, z = 0.000 }, level = 1, area_id = 5 },
{ config_id = 3010, gadget_id = 70310006, pos = { x = 1733.225, y = 247.524, z = 551.443 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 18, area_id = 5 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 3005, 3006, 3007, 3010 },
regions = { },
triggers = { },
npcs = { 3001, 3002, 3003, 3004, 3008, 3009 },
rand_weight = 100,
ban_refresh = true
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,73 @@
-- 基础信息
local base_info = {
group_id = 302001004
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
{ config_id = 4001, npc_id = 30015, pos = { x = 1955.135, y = 222.048, z = -1501.712 }, rot = { x = 0.000, y = 279.010, z = 0.000 }, area_id = 1 }
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
npcs = { 4001 },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,98 @@
-- 基础信息
local base_info = {
group_id = 302001005
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 5032, monster_id = 21020101, pos = { x = 2252.093, y = 265.140, z = -1697.156 }, rot = { x = 0.000, y = 145.163, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 401, area_id = 1 },
{ config_id = 5038, monster_id = 21020301, pos = { x = 2239.113, y = 236.934, z = -1344.315 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 401, area_id = 1 },
{ config_id = 5039, monster_id = 21011201, pos = { x = 2239.961, y = 236.890, z = -1341.494 }, rot = { x = 0.000, y = 205.197, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9016, area_id = 1 },
{ config_id = 5042, monster_id = 20010601, pos = { x = 2096.286, y = 221.318, z = -1371.997 }, rot = { x = 0.000, y = 54.799, z = 0.000 }, level = 1, drop_id = 1000100, area_id = 1 },
{ config_id = 5047, monster_id = 20010701, pos = { x = 2095.621, y = 221.259, z = -1370.799 }, rot = { x = 0.000, y = 95.799, z = 0.000 }, level = 1, drop_id = 1000100, area_id = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 5001, gadget_id = 70500000, pos = { x = 2430.736, y = 204.689, z = -1073.653 }, rot = { x = 73.432, y = 333.467, z = 336.937 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5002, gadget_id = 70500000, pos = { x = 2505.634, y = 221.665, z = -1405.557 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5003, gadget_id = 70500000, pos = { x = 2204.063, y = 227.750, z = -1140.450 }, rot = { x = 352.071, y = 351.606, z = 45.912 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5004, gadget_id = 70500000, pos = { x = 2569.562, y = 212.440, z = -1316.309 }, rot = { x = 45.258, y = 24.681, z = 351.116 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5005, gadget_id = 70500000, pos = { x = 2209.065, y = 222.956, z = -1486.281 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5006, gadget_id = 70500000, pos = { x = 2253.412, y = 265.505, z = -1699.234 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5007, gadget_id = 70500000, pos = { x = 2509.383, y = 255.671, z = -1530.619 }, rot = { x = 282.066, y = 0.000, z = 29.288 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5008, gadget_id = 70500000, pos = { x = 2402.309, y = 197.811, z = -1877.547 }, rot = { x = 327.327, y = 61.680, z = 6.234 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5009, gadget_id = 70500000, pos = { x = 2332.483, y = 213.713, z = -1191.657 }, rot = { x = 0.000, y = 144.230, z = 0.000 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5010, gadget_id = 70500000, pos = { x = 2599.631, y = 362.870, z = -1700.561 }, rot = { x = 90.000, y = 71.350, z = 0.000 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5011, gadget_id = 70500000, pos = { x = 2290.953, y = 260.666, z = -1589.812 }, rot = { x = 0.000, y = 0.000, z = 33.736 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5012, gadget_id = 70500000, pos = { x = 2608.422, y = 204.173, z = -1065.763 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5013, gadget_id = 70500000, pos = { x = 2369.930, y = 267.847, z = -1509.027 }, rot = { x = 0.000, y = 0.000, z = 333.776 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5014, gadget_id = 70500000, pos = { x = 2665.078, y = 254.797, z = -1425.164 }, rot = { x = 84.316, y = 281.924, z = 298.192 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5015, gadget_id = 70500000, pos = { x = 2138.906, y = 216.572, z = -1174.236 }, rot = { x = 14.207, y = 337.440, z = 300.573 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5017, gadget_id = 70500000, pos = { x = 2377.497, y = 285.786, z = -1706.254 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5018, gadget_id = 70500000, pos = { x = 2392.674, y = 245.111, z = -1334.501 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5019, gadget_id = 70500000, pos = { x = 2313.352, y = 250.505, z = -1471.583 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5020, gadget_id = 70500000, pos = { x = 2172.918, y = 225.202, z = -1769.832 }, rot = { x = 345.648, y = 339.609, z = 66.168 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5021, gadget_id = 70500000, pos = { x = 2048.802, y = 217.982, z = -1618.011 }, rot = { x = 285.388, y = 0.000, z = 311.298 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5022, gadget_id = 70500000, pos = { x = 2099.025, y = 220.037, z = -1371.196 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 1 },
{ config_id = 5023, gadget_id = 70500000, pos = { x = 2239.550, y = 236.872, z = -1342.362 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 5032, 5038, 5039, 5042, 5047 },
gadgets = { 5001, 5002, 5003, 5004, 5005, 5006, 5007, 5008, 5009, 5010, 5011, 5012, 5013, 5014, 5015, 5017, 5018, 5019, 5020, 5021, 5022, 5023 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,127 @@
-- 基础信息
local base_info = {
group_id = 302001006
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 6001, gadget_id = 70710226, pos = { x = 1810.121, y = 234.885, z = -873.340 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true, area_id = 3 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1006002, name = "GADGET_CREATE_6002", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_6002", action = "action_EVENT_GADGET_CREATE_6002", trigger_count = 0 },
{ config_id = 1006004, name = "SELECT_OPTION_6004", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_6004", action = "action_EVENT_SELECT_OPTION_6004" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 6001 },
regions = { },
triggers = { "GADGET_CREATE_6002", "SELECT_OPTION_6004" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_6002(context, evt)
if 6001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_6002(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 302001006, 6001, {36}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_6004(context, evt)
if 6001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_6004(context, evt)
-- 删除指定group 302001006 指定config6001物件身上指定option36
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 302001006, 6001, 36) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 6001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 通知任务系统完成条件类型"LUA通知"复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "302001006") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end

View File

@@ -0,0 +1,94 @@
-- 基础信息
local base_info = {
group_id = 302001007
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 7007, monster_id = 21010201, pos = { x = 1516.738, y = 352.588, z = -2068.016 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9016, area_id = 2 },
{ config_id = 7008, monster_id = 20011501, pos = { x = 1352.668, y = 330.968, z = -2057.415 }, rot = { x = 0.000, y = 75.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, area_id = 2 },
{ config_id = 7026, monster_id = 21010201, pos = { x = 1448.576, y = 243.956, z = -1501.003 }, rot = { x = 0.000, y = 120.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, area_id = 2 },
{ config_id = 7036, monster_id = 22010201, pos = { x = 1396.294, y = 280.062, z = -1801.675 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9013, area_id = 2 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 7005, gadget_id = 70500000, pos = { x = 1517.837, y = 352.785, z = -2067.870 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7006, gadget_id = 70500000, pos = { x = 1355.490, y = 331.543, z = -2056.967 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7009, gadget_id = 70500000, pos = { x = 1477.613, y = 308.851, z = -1945.675 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7010, gadget_id = 70500000, pos = { x = 1604.999, y = 246.410, z = -1632.314 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7011, gadget_id = 70500000, pos = { x = 1421.397, y = 259.727, z = -1687.366 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7012, gadget_id = 70500000, pos = { x = 1599.942, y = 278.166, z = -1512.171 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7023, gadget_id = 70500000, pos = { x = 1465.850, y = 328.722, z = -2005.080 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7024, gadget_id = 70500000, pos = { x = 1449.788, y = 244.482, z = -1501.648 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7027, gadget_id = 70500000, pos = { x = 1374.197, y = 252.855, z = -1570.390 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7028, gadget_id = 70500000, pos = { x = 1552.195, y = 243.413, z = -1605.689 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7029, gadget_id = 70500000, pos = { x = 1448.348, y = 264.211, z = -1611.314 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7030, gadget_id = 70500000, pos = { x = 1247.844, y = 260.364, z = -1473.458 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7031, gadget_id = 70500000, pos = { x = 1257.828, y = 257.337, z = -1543.028 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7032, gadget_id = 70500000, pos = { x = 1212.081, y = 274.150, z = -1697.597 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7033, gadget_id = 70500000, pos = { x = 1263.364, y = 258.898, z = -1683.180 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7034, gadget_id = 70500000, pos = { x = 1330.342, y = 276.049, z = -1695.134 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7035, gadget_id = 70500000, pos = { x = 1398.269, y = 280.610, z = -1801.645 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7037, gadget_id = 70500000, pos = { x = 1398.504, y = 309.324, z = -1913.749 }, rot = { x = 330.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 },
{ config_id = 7038, gadget_id = 70500000, pos = { x = 1642.930, y = 345.469, z = -2115.075 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 2 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 7007, 7008, 7026, 7036 },
gadgets = { 7005, 7006, 7009, 7010, 7011, 7012, 7023, 7024, 7027, 7028, 7029, 7030, 7031, 7032, 7033, 7034, 7035, 7037, 7038 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,96 @@
-- 基础信息
local base_info = {
group_id = 302001008
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 8014, monster_id = 21010101, pos = { x = 2877.693, y = 225.096, z = 91.948 }, rot = { x = 0.000, y = 303.974, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9016, area_id = 4 },
{ config_id = 8015, monster_id = 21010101, pos = { x = 2463.939, y = 241.804, z = 262.326 }, rot = { x = 0.000, y = 61.941, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9012, area_id = 4 },
{ config_id = 8016, monster_id = 21010101, pos = { x = 2466.257, y = 241.338, z = 263.946 }, rot = { x = 0.000, y = 232.107, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9012, area_id = 4 },
{ config_id = 8017, monster_id = 21010301, pos = { x = 2671.052, y = 211.414, z = 251.692 }, rot = { x = 0.000, y = 244.227, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9003, area_id = 4 },
{ config_id = 8018, monster_id = 22010201, pos = { x = 2769.695, y = 207.602, z = 312.929 }, rot = { x = 0.000, y = 7.572, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9013, area_id = 4 },
{ config_id = 8019, monster_id = 21010301, pos = { x = 2772.360, y = 207.519, z = 314.997 }, rot = { x = 0.000, y = 235.478, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9003, area_id = 4 },
{ config_id = 8020, monster_id = 21010301, pos = { x = 2770.165, y = 207.647, z = 316.417 }, rot = { x = 0.000, y = 192.507, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9003, area_id = 4 },
{ config_id = 8023, monster_id = 20011201, pos = { x = 2720.590, y = 207.778, z = -33.920 }, rot = { x = 0.000, y = 295.918, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, area_id = 4 },
{ config_id = 8024, monster_id = 20011201, pos = { x = 2719.975, y = 207.629, z = -32.532 }, rot = { x = 0.000, y = 242.679, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, area_id = 4 },
{ config_id = 8025, monster_id = 20011201, pos = { x = 2718.060, y = 207.362, z = -31.872 }, rot = { x = 0.000, y = 135.623, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, area_id = 4 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 8001, gadget_id = 70500000, pos = { x = 2651.506, y = 325.010, z = 135.224 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 },
{ config_id = 8002, gadget_id = 70500000, pos = { x = 2464.214, y = 262.511, z = 332.500 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 },
{ config_id = 8003, gadget_id = 70500000, pos = { x = 2577.732, y = 202.846, z = 401.819 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 },
{ config_id = 8004, gadget_id = 70500000, pos = { x = 2779.919, y = 253.151, z = 413.849 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 },
{ config_id = 8005, gadget_id = 70500000, pos = { x = 2857.127, y = 244.472, z = 265.362 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 },
{ config_id = 8006, gadget_id = 70500000, pos = { x = 2494.201, y = 218.896, z = 84.920 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 },
{ config_id = 8007, gadget_id = 70500000, pos = { x = 2698.332, y = 240.423, z = 27.617 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 },
{ config_id = 8008, gadget_id = 70500000, pos = { x = 2564.015, y = 257.447, z = 212.620 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 },
{ config_id = 8009, gadget_id = 70500000, pos = { x = 2876.906, y = 225.057, z = 92.632 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 },
{ config_id = 8010, gadget_id = 70500000, pos = { x = 2465.164, y = 241.569, z = 263.094 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 },
{ config_id = 8011, gadget_id = 70500000, pos = { x = 2669.757, y = 211.410, z = 251.282 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 },
{ config_id = 8012, gadget_id = 70500000, pos = { x = 2770.602, y = 207.671, z = 314.618 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 },
{ config_id = 8013, gadget_id = 70500000, pos = { x = 2423.560, y = 218.219, z = 5.281 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 },
{ config_id = 8021, gadget_id = 70500000, pos = { x = 2793.873, y = 249.433, z = -71.478 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 },
{ config_id = 8022, gadget_id = 70500000, pos = { x = 2718.901, y = 207.548, z = -33.317 }, rot = { x = 0.000, y = 357.690, z = 0.000 }, level = 1, point_type = 9127, area_id = 4 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 8014, 8015, 8016, 8017, 8018, 8019, 8020, 8023, 8024, 8025 },
gadgets = { 8001, 8002, 8003, 8004, 8005, 8006, 8007, 8008, 8009, 8010, 8011, 8012, 8013, 8021, 8022 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,331 @@
-- 基础信息
local base_info = {
group_id = 302001009
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001009,
gadget_id = 9011,
battle_time = 600,
auto_decline = 30,
max_energy = 300
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 9001, monster_id = 21010301, pos = { x = 734.944, y = 204.816, z = 261.690 }, rot = { x = 0.000, y = 305.214, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 9 },
{ config_id = 9002, monster_id = 21010301, pos = { x = 725.953, y = 203.634, z = 266.733 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 9 },
{ config_id = 9003, monster_id = 21010301, pos = { x = 730.083, y = 203.630, z = 270.373 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 9 },
{ config_id = 9004, monster_id = 21010301, pos = { x = 734.813, y = 204.171, z = 267.242 }, rot = { x = 0.000, y = 236.767, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 9 },
{ config_id = 9005, monster_id = 21010301, pos = { x = 727.722, y = 204.587, z = 260.466 }, rot = { x = 0.000, y = 40.783, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 9 },
{ config_id = 9010, monster_id = 21020101, pos = { x = 725.771, y = 203.022, z = 271.468 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 60, area_id = 9 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 9011, gadget_id = 70710209, pos = { x = 731.015, y = 204.346, z = 264.467 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 9 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1009006, name = "TIMER_EVENT_9006", event = EventType.EVENT_TIMER_EVENT, source = "timer1", condition = "", action = "action_EVENT_TIMER_EVENT_9006" },
{ config_id = 1009013, name = "GADGET_CREATE_9013", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_9013", action = "action_EVENT_GADGET_CREATE_9013", trigger_count = 0 },
{ config_id = 1009014, name = "SELECT_OPTION_9014", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_9014", action = "action_EVENT_SELECT_OPTION_9014", trigger_count = 0 },
{ config_id = 1009015, name = "ANY_MONSTER_LIVE_9015", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_9015", action = "action_EVENT_ANY_MONSTER_LIVE_9015", trigger_count = 0 },
{ config_id = 1009016, name = "MONSTER_TIDE_DIE_9016", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_9016", action = "action_EVENT_MONSTER_TIDE_DIE_9016", trigger_count = 0 },
{ config_id = 1009017, name = "MONSTER_TIDE_DIE_9017", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_9017", action = "action_EVENT_MONSTER_TIDE_DIE_9017", trigger_count = 0 },
{ config_id = 1009022, name = "SEAL_BATTLE_END_9022", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_9022", action = "action_EVENT_SEAL_BATTLE_END_9022", trigger_count = 0 },
{ config_id = 1009023, name = "SELECT_OPTION_9023", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_9023", action = "action_EVENT_SELECT_OPTION_9023", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "testV", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 9011 },
regions = { },
triggers = { "TIMER_EVENT_9006", "GADGET_CREATE_9013", "SELECT_OPTION_9014", "SEAL_BATTLE_END_9022", "SELECT_OPTION_9023" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 9001 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_9015", "MONSTER_TIDE_DIE_9016", "MONSTER_TIDE_DIE_9017" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 9002, 9003, 9004, 9005, 9010 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_TIMER_EVENT_9006(context, evt)
ScriptLib.KillEntityByConfigId(context, {group_id = defs.group_id, config_id = defs.gadget_id})
ScriptLib.CancelGroupTimerEvent(context, defs.group_id, "timer1")
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_9013(context, evt)
if 9011 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_9013(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 302001009, 9011, {189}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_9014(context, evt)
if 9011 ~= evt.param1 then
return false
end
-- 判断是gadgetid 9011 option_id 189
if 9011 ~= evt.param1 then
return false
end
if 189 ~= evt.param2 then
return false
end
-- 判断变量"isDone"为0
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_9014(context, evt)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.AddExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.DelWorktopOptionByGroupId(context, defs.group_id, defs.gadget_id, 189)
ScriptLib.AddQuestProgress(context, "3020010091")
ScriptLib.SetGroupVariableValue(context, "testV", 1)
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_9015(context, evt)
if 9001 ~= evt.param1 then
return false
end
-- 判断变量"isDone"为0
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_9015(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少3只最多3只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001009, {9002,9003,9003,9004}, 4, 3, 3) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_9016(context, evt)
if 4 ~= evt.param1 then
return false
end
-- 判断变量"isDone"为0
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_9016(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001009, {9010}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_9017(context, evt)
if 1 ~= evt.param1 then
return false
end
-- 判断变量"isDone"为0
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_9017(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少3只最多4只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001009, {9002,9003,9004,9005}, 4, 3, 4) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_9022(context, evt)
if 9011 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_9022(context, evt)
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.KillMonsterTide(context, defs.group_id, 1)
ScriptLib.KillMonsterTide(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 3)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
ScriptLib.SetWorktopOptionsByGroupId(context, defs.group_id, defs.gadget_id, {189})
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.KillMonsterTide(context, defs.group_id, 1)
ScriptLib.KillMonsterTide(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 3)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.AddQuestProgress(context, "302001009")
ScriptLib.CreateGroupTimerEvent(context, defs.group_id, "timer1", 3)
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_9023(context, evt)
if 9011 ~= evt.param1 then
return false
end
-- 判断是gadgetid 9011 option_id 189
if 9011 ~= evt.param1 then
return false
end
if 189 ~= evt.param2 then
return false
end
-- 判断变量"isDone"为2
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_9023(context, evt)
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.AddExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.DelWorktopOptionByGroupId(context, defs.group_id, defs.gadget_id, 189)
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
return 0
end

View File

@@ -0,0 +1,127 @@
-- 基础信息
local base_info = {
group_id = 302001010
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 10002, gadget_id = 70710226, pos = { x = 1793.687, y = 234.620, z = -843.701 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true, area_id = 3 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1010001, name = "GADGET_CREATE_10001", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_10001", action = "action_EVENT_GADGET_CREATE_10001", trigger_count = 0 },
{ config_id = 1010003, name = "SELECT_OPTION_10003", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_10003", action = "action_EVENT_SELECT_OPTION_10003" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 10002 },
regions = { },
triggers = { "GADGET_CREATE_10001", "SELECT_OPTION_10003" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_10001(context, evt)
if 10002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_10001(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 302001010, 10002, {36}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_10003(context, evt)
if 10002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_10003(context, evt)
-- 通知任务系统完成条件类型"LUA通知"复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "302001010") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
-- 删除指定group 302001010 指定config10002物件身上指定option36
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 302001010, 10002, 36) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 10002 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,317 @@
-- 基础信息
local base_info = {
group_id = 302001011
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001011,
gadget_id = 11011,
battle_time = 600,
auto_decline = 30,
max_energy = 300
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 11001, monster_id = 23010401, pos = { x = 661.188, y = 201.075, z = 334.139 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 80, area_id = 9 },
{ config_id = 11002, monster_id = 23010301, pos = { x = 657.426, y = 201.075, z = 342.204 }, rot = { x = 0.000, y = 161.835, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 80, area_id = 9 },
{ config_id = 11004, monster_id = 23010401, pos = { x = 661.601, y = 201.075, z = 339.224 }, rot = { x = 0.000, y = 242.778, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 80, area_id = 9 },
{ config_id = 11006, monster_id = 23010501, pos = { x = 654.947, y = 201.124, z = 336.475 }, rot = { x = 0.000, y = 62.956, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 80, area_id = 9 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 11011, gadget_id = 70710208, pos = { x = 658.728, y = 201.075, z = 337.832 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 9 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1011003, name = "TIMER_EVENT_11003", event = EventType.EVENT_TIMER_EVENT, source = "timer1", condition = "", action = "action_EVENT_TIMER_EVENT_11003" },
{ config_id = 1011012, name = "GADGET_CREATE_11012", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_11012", action = "action_EVENT_GADGET_CREATE_11012", trigger_count = 0 },
{ config_id = 1011013, name = "SELECT_OPTION_11013", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_11013", action = "action_EVENT_SELECT_OPTION_11013", trigger_count = 0 },
{ config_id = 1011014, name = "ANY_MONSTER_LIVE_11014", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_11014", action = "action_EVENT_ANY_MONSTER_LIVE_11014", trigger_count = 0 },
{ config_id = 1011015, name = "MONSTER_TIDE_DIE_11015", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_11015", action = "action_EVENT_MONSTER_TIDE_DIE_11015", trigger_count = 0 },
{ config_id = 1011016, name = "MONSTER_TIDE_DIE_11016", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_11016", action = "action_EVENT_MONSTER_TIDE_DIE_11016", trigger_count = 0 },
{ config_id = 1011021, name = "SEAL_BATTLE_END_11021", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_11021", action = "action_EVENT_SEAL_BATTLE_END_11021", trigger_count = 0 },
{ config_id = 1011022, name = "SELECT_OPTION_11022", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_11022", action = "action_EVENT_SELECT_OPTION_11022", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 11011 },
regions = { },
triggers = { "TIMER_EVENT_11003", "GADGET_CREATE_11012", "SELECT_OPTION_11013", "SEAL_BATTLE_END_11021", "SELECT_OPTION_11022" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 11001 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_11014", "MONSTER_TIDE_DIE_11015", "MONSTER_TIDE_DIE_11016" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 11002, 11004, 11006 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_TIMER_EVENT_11003(context, evt)
ScriptLib.KillEntityByConfigId(context, {group_id = defs.group_id, config_id = defs.gadget_id})
ScriptLib.CancelGroupTimerEvent(context, defs.group_id, "timer1")
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_11012(context, evt)
if 11011 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_11012(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 302001011, 11011, {189}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_11013(context, evt)
if 11011 ~= evt.param1 then
return false
end
-- 判断是gadgetid 11011 option_id 189
if 11011 ~= evt.param1 then
return false
end
if 189 ~= evt.param2 then
return false
end
-- 判断变量"isDone"为0
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_11013(context, evt)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.AddExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.DelWorktopOptionByGroupId(context, defs.group_id, defs.gadget_id, 189)
ScriptLib.AddQuestProgress(context, "3020010111")
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_11014(context, evt)
if 11001 ~= evt.param1 then
return false
end
-- 判断变量"isDone"为0
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_11014(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001011, {11002,11006}, 3, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_11015(context, evt)
if 3 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_11015(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001011, {11002,11004,11006}, 3, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_11016(context, evt)
if 3 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_11016(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多3只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001011, {11002,11004,11006}, 3, 1, 3) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_11021(context, evt)
if 11011 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_11021(context, evt)
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.KillMonsterTide(context, defs.group_id, 1)
ScriptLib.KillMonsterTide(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 3)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
ScriptLib.SetWorktopOptionsByGroupId(context, defs.group_id, defs.gadget_id, {189})
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.KillMonsterTide(context, defs.group_id, 1)
ScriptLib.KillMonsterTide(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 3)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.AddQuestProgress(context, "3020010112")
ScriptLib.CreateGroupTimerEvent(context, defs.group_id, "timer1", 3)
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_11022(context, evt)
if 11011 ~= evt.param1 then
return false
end
-- 判断是gadgetid 11011 option_id 189
if 11011 ~= evt.param1 then
return false
end
if 189 ~= evt.param2 then
return false
end
-- 判断变量"isDone"为2
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_11022(context, evt)
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.AddExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.DelWorktopOptionByGroupId(context, defs.group_id, defs.gadget_id, 189)
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
return 0
end

View File

@@ -0,0 +1,100 @@
-- 基础信息
local base_info = {
group_id = 302001012
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 12002, monster_id = 25030201, pos = { x = -130.072, y = 200.558, z = -675.663 }, rot = { x = 349.290, y = 173.219, z = 352.451 }, level = 1, drop_id = 1000100, pose_id = 9003, area_id = 7 },
{ config_id = 12008, monster_id = 25010601, pos = { x = -131.187, y = 200.551, z = -676.760 }, rot = { x = 0.000, y = 77.738, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9002, area_id = 7 },
{ config_id = 12012, monster_id = 21010901, pos = { x = -578.227, y = 200.776, z = -698.302 }, rot = { x = 0.000, y = 114.626, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9003, area_id = 7 },
{ config_id = 12015, monster_id = 21010101, pos = { x = -575.964, y = 200.000, z = -699.351 }, rot = { x = 0.000, y = 170.885, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9016, area_id = 7 },
{ config_id = 12017, monster_id = 21010101, pos = { x = -440.386, y = 203.964, z = -821.531 }, rot = { x = 0.000, y = 304.073, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9012, area_id = 7 },
{ config_id = 12018, monster_id = 21010101, pos = { x = -441.993, y = 203.745, z = -823.002 }, rot = { x = 0.000, y = 343.221, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9012, area_id = 7 },
{ config_id = 12026, monster_id = 21010201, pos = { x = -124.966, y = 199.657, z = -472.563 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9016, area_id = 7 },
{ config_id = 12027, monster_id = 21010201, pos = { x = -126.064, y = 199.523, z = -471.502 }, rot = { x = 0.000, y = 93.525, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9016, area_id = 7 },
{ config_id = 12028, monster_id = 22010201, pos = { x = -201.584, y = 200.755, z = -891.520 }, rot = { x = 0.000, y = 170.779, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9013, area_id = 7 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 12001, gadget_id = 70500000, pos = { x = -209.643, y = 311.456, z = -1016.828 }, rot = { x = 21.316, y = 27.097, z = 347.530 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12003, gadget_id = 70500000, pos = { x = -69.248, y = 215.929, z = -985.188 }, rot = { x = 350.185, y = 9.528, z = 350.808 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12004, gadget_id = 70500000, pos = { x = -278.444, y = 244.902, z = -947.209 }, rot = { x = 358.333, y = 359.574, z = 7.794 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12005, gadget_id = 70500000, pos = { x = -398.089, y = 208.804, z = -950.683 }, rot = { x = 24.977, y = 108.052, z = 9.322 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12006, gadget_id = 70500000, pos = { x = -344.870, y = 200.262, z = -781.264 }, rot = { x = 0.000, y = 115.811, z = 0.000 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12007, gadget_id = 70500000, pos = { x = -356.545, y = 200.595, z = -704.785 }, rot = { x = 4.803, y = 116.347, z = 2.374 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12009, gadget_id = 70500000, pos = { x = -370.905, y = 200.189, z = -588.737 }, rot = { x = 358.318, y = 273.369, z = 358.109 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12010, gadget_id = 70500000, pos = { x = -373.337, y = 206.519, z = -628.692 }, rot = { x = 359.530, y = 273.628, z = 359.786 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12011, gadget_id = 70500000, pos = { x = -125.073, y = 199.393, z = -471.501 }, rot = { x = 0.000, y = 273.704, z = 0.000 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12013, gadget_id = 70500000, pos = { x = -77.883, y = 207.084, z = -693.423 }, rot = { x = 339.107, y = 303.197, z = 356.000 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12014, gadget_id = 70500000, pos = { x = -129.789, y = 200.697, z = -676.740 }, rot = { x = 4.350, y = 261.269, z = 353.045 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12016, gadget_id = 70500000, pos = { x = -102.187, y = 209.196, z = -867.574 }, rot = { x = 358.051, y = 72.104, z = 357.057 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12019, gadget_id = 70500000, pos = { x = -201.670, y = 200.535, z = -892.785 }, rot = { x = 358.590, y = 266.639, z = 5.132 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12020, gadget_id = 70500000, pos = { x = -270.604, y = 201.474, z = -845.256 }, rot = { x = 7.659, y = 190.743, z = 357.837 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12021, gadget_id = 70500000, pos = { x = -121.998, y = 201.036, z = -565.712 }, rot = { x = 7.659, y = 190.743, z = 357.837 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12022, gadget_id = 70500000, pos = { x = -442.405, y = 204.766, z = -820.392 }, rot = { x = 359.872, y = 350.159, z = 359.959 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12023, gadget_id = 70500000, pos = { x = -208.170, y = 200.322, z = -991.907 }, rot = { x = 358.076, y = 4.486, z = 1.644 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12024, gadget_id = 70500000, pos = { x = -87.127, y = 201.039, z = -786.122 }, rot = { x = 2.126, y = 190.574, z = 323.323 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12025, gadget_id = 70500000, pos = { x = -575.840, y = 200.000, z = -700.723 }, rot = { x = 0.000, y = 4.514, z = 0.000 }, level = 1, point_type = 9127, area_id = 7 },
{ config_id = 12029, gadget_id = 70500000, pos = { x = -25.792, y = 200.199, z = -881.554 }, rot = { x = 356.340, y = 92.812, z = 1.609 }, level = 1, point_type = 9127, area_id = 7 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 12002, 12008, 12012, 12015, 12017, 12018, 12026, 12027, 12028 },
gadgets = { 12001, 12003, 12004, 12005, 12006, 12007, 12009, 12010, 12011, 12013, 12014, 12016, 12019, 12020, 12021, 12022, 12023, 12024, 12025, 12029 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,104 @@
-- 基础信息
local base_info = {
group_id = 302001013
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 13006, monster_id = 25010501, pos = { x = 1701.328, y = 205.360, z = 845.385 }, rot = { x = 0.000, y = 298.717, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9002, area_id = 5 },
{ config_id = 13007, monster_id = 25010201, pos = { x = 1700.983, y = 205.294, z = 846.832 }, rot = { x = 0.000, y = 244.579, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9003, area_id = 5 },
{ config_id = 13015, monster_id = 21010101, pos = { x = 1444.878, y = 200.128, z = 764.712 }, rot = { x = 0.000, y = 18.951, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9012, area_id = 5 },
{ config_id = 13018, monster_id = 21010101, pos = { x = 1446.887, y = 200.000, z = 764.922 }, rot = { x = 0.000, y = 319.288, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9012, area_id = 5 },
{ config_id = 13020, monster_id = 25010701, pos = { x = 1525.706, y = 250.046, z = 436.092 }, rot = { x = 0.000, y = 325.170, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9008, area_id = 5 },
{ config_id = 13023, monster_id = 25010401, pos = { x = 1525.434, y = 249.822, z = 437.076 }, rot = { x = 0.000, y = 338.383, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9003, area_id = 5 },
{ config_id = 13026, monster_id = 21011201, pos = { x = 1621.247, y = 283.252, z = 349.499 }, rot = { x = 0.000, y = 212.519, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9012, area_id = 5 },
{ config_id = 13027, monster_id = 21011201, pos = { x = 1618.133, y = 283.437, z = 348.899 }, rot = { x = 0.000, y = 132.539, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9012, area_id = 5 },
{ config_id = 13029, monster_id = 21011201, pos = { x = 1460.107, y = 220.630, z = 532.344 }, rot = { x = 0.000, y = 19.314, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9016, area_id = 5 },
{ config_id = 13030, monster_id = 21010201, pos = { x = 1408.740, y = 223.875, z = 582.221 }, rot = { x = 0.000, y = 17.033, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9016, area_id = 5 },
{ config_id = 13031, monster_id = 21010201, pos = { x = 1408.433, y = 223.885, z = 584.076 }, rot = { x = 0.000, y = 130.700, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9016, area_id = 5 },
{ config_id = 13034, monster_id = 25010201, pos = { x = 1463.744, y = 211.894, z = 681.250 }, rot = { x = 0.000, y = 65.226, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9003, area_id = 5 },
{ config_id = 13035, monster_id = 25060101, pos = { x = 1462.487, y = 211.532, z = 682.315 }, rot = { x = 0.000, y = 101.828, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 3, area_id = 5 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 13001, gadget_id = 70500000, pos = { x = 1675.043, y = 405.199, z = 514.377 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13002, gadget_id = 70500000, pos = { x = 1552.766, y = 212.553, z = 816.762 }, rot = { x = 0.867, y = 321.241, z = 2.487 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13003, gadget_id = 70500000, pos = { x = 1619.941, y = 283.248, z = 347.687 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13004, gadget_id = 70500000, pos = { x = 1390.681, y = 206.453, z = 436.210 }, rot = { x = 12.918, y = 359.165, z = 358.229 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13005, gadget_id = 70500000, pos = { x = 1840.741, y = 211.111, z = 606.453 }, rot = { x = 0.894, y = 0.052, z = 0.896 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13008, gadget_id = 70500000, pos = { x = 1879.761, y = 215.637, z = 638.451 }, rot = { x = 0.000, y = 13.842, z = 0.000 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13009, gadget_id = 70500000, pos = { x = 1551.402, y = 277.995, z = 367.370 }, rot = { x = 14.093, y = 259.689, z = 348.847 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13011, gadget_id = 70500000, pos = { x = 1699.827, y = 205.392, z = 846.293 }, rot = { x = 355.298, y = 165.419, z = 6.723 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13012, gadget_id = 70500000, pos = { x = 1483.354, y = 220.188, z = 458.762 }, rot = { x = 346.398, y = 152.274, z = 353.022 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13013, gadget_id = 70500000, pos = { x = 1889.594, y = 212.271, z = 750.563 }, rot = { x = 6.368, y = 79.822, z = 5.173 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13016, gadget_id = 70500000, pos = { x = 1759.792, y = 220.148, z = 865.411 }, rot = { x = 3.064, y = 145.368, z = 357.800 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13017, gadget_id = 70500000, pos = { x = 1445.734, y = 200.000, z = 766.386 }, rot = { x = 351.409, y = 145.060, z = 1.660 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13019, gadget_id = 70500000, pos = { x = 1460.573, y = 220.894, z = 533.225 }, rot = { x = 358.514, y = 145.006, z = 359.747 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13021, gadget_id = 70500000, pos = { x = 1525.044, y = 249.699, z = 437.650 }, rot = { x = 356.101, y = 317.777, z = 314.567 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13022, gadget_id = 70500000, pos = { x = 1611.642, y = 200.000, z = 889.247 }, rot = { x = 5.136, y = 321.953, z = 14.891 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13024, gadget_id = 70500000, pos = { x = 1780.747, y = 233.254, z = 796.216 }, rot = { x = 358.755, y = 321.407, z = 317.080 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13025, gadget_id = 70500000, pos = { x = 1408.845, y = 223.891, z = 583.252 }, rot = { x = 0.867, y = 321.241, z = 2.487 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13028, gadget_id = 70500000, pos = { x = 1347.598, y = 222.974, z = 511.000 }, rot = { x = 349.997, y = 0.380, z = 355.662 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13032, gadget_id = 70500000, pos = { x = 1357.424, y = 202.492, z = 660.642 }, rot = { x = 337.556, y = 1.393, z = 355.377 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 13033, gadget_id = 70500000, pos = { x = 1464.431, y = 212.175, z = 681.771 }, rot = { x = 48.463, y = 262.045, z = 5.274 }, level = 1, point_type = 9127, area_id = 5 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 13006, 13007, 13015, 13018, 13020, 13023, 13026, 13027, 13029, 13030, 13031, 13034, 13035 },
gadgets = { 13001, 13002, 13003, 13004, 13005, 13008, 13009, 13011, 13012, 13013, 13016, 13017, 13019, 13021, 13022, 13024, 13025, 13028, 13032, 13033 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,98 @@
-- 基础信息
local base_info = {
group_id = 302001014
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 14010, monster_id = 21010201, pos = { x = 730.945, y = 328.430, z = 1488.181 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9016, area_id = 6 },
{ config_id = 14011, monster_id = 21010401, pos = { x = 729.192, y = 328.239, z = 1489.289 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9010, area_id = 6 },
{ config_id = 14014, monster_id = 25030201, pos = { x = 452.557, y = 338.488, z = 1391.865 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9003, area_id = 6 },
{ config_id = 14015, monster_id = 25010201, pos = { x = 449.896, y = 338.244, z = 1390.660 }, rot = { x = 0.000, y = 120.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9006, area_id = 6 },
{ config_id = 14016, monster_id = 25060101, pos = { x = 451.613, y = 338.201, z = 1389.615 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9006, area_id = 6 },
{ config_id = 14020, monster_id = 25030201, pos = { x = 1093.865, y = 315.656, z = 1428.519 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9003, area_id = 6 },
{ config_id = 14021, monster_id = 25010201, pos = { x = 1094.675, y = 315.656, z = 1427.282 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9002, area_id = 6 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 14001, gadget_id = 70500000, pos = { x = 844.911, y = 453.755, z = 1438.516 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14002, gadget_id = 70500000, pos = { x = 937.251, y = 365.015, z = 1373.253 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14005, gadget_id = 70500000, pos = { x = 661.642, y = 431.425, z = 1846.444 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14009, gadget_id = 70500000, pos = { x = 731.172, y = 328.367, z = 1489.223 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14012, gadget_id = 70500000, pos = { x = 600.385, y = 239.855, z = 1535.177 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14013, gadget_id = 70500000, pos = { x = 451.698, y = 338.421, z = 1391.770 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14017, gadget_id = 70500000, pos = { x = 617.262, y = 234.073, z = 1649.292 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14018, gadget_id = 70500000, pos = { x = 1057.799, y = 423.061, z = 1605.869 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14019, gadget_id = 70500000, pos = { x = 1093.029, y = 315.665, z = 1428.441 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14023, gadget_id = 70500000, pos = { x = 834.575, y = 374.006, z = 1855.535 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14024, gadget_id = 70500000, pos = { x = 847.535, y = 353.744, z = 1765.241 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14025, gadget_id = 70500000, pos = { x = 873.032, y = 359.122, z = 1667.158 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14026, gadget_id = 70500000, pos = { x = 784.404, y = 331.368, z = 1637.148 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14027, gadget_id = 70500000, pos = { x = 956.961, y = 347.901, z = 1750.007 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14028, gadget_id = 70500000, pos = { x = 951.220, y = 370.649, z = 1649.794 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14030, gadget_id = 70500000, pos = { x = 1000.434, y = 342.059, z = 1585.677 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14031, gadget_id = 70500000, pos = { x = 990.267, y = 362.734, z = 1484.110 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14033, gadget_id = 70500000, pos = { x = 863.992, y = 335.499, z = 1564.615 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14035, gadget_id = 70500000, pos = { x = 718.436, y = 267.946, z = 1692.283 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 14036, gadget_id = 70500000, pos = { x = 595.919, y = 292.122, z = 1728.120 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 14010, 14011, 14014, 14015, 14016, 14020, 14021 },
gadgets = { 14001, 14002, 14005, 14009, 14012, 14013, 14017, 14018, 14019, 14023, 14024, 14025, 14026, 14027, 14028, 14030, 14031, 14033, 14035, 14036 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,92 @@
-- 基础信息
local base_info = {
group_id = 302001015
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 15004, monster_id = 20011001, pos = { x = 421.930, y = 200.350, z = -151.441 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, area_id = 9 },
{ config_id = 15005, monster_id = 20011001, pos = { x = 423.047, y = 200.448, z = -150.319 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, area_id = 9 },
{ config_id = 15010, monster_id = 21010201, pos = { x = 433.917, y = 200.669, z = -270.664 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9016, area_id = 9 },
{ config_id = 15011, monster_id = 21010401, pos = { x = 435.012, y = 200.630, z = -269.631 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9016, area_id = 9 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 15001, gadget_id = 70500000, pos = { x = 531.076, y = 236.489, z = -92.164 }, rot = { x = 0.000, y = 283.058, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15003, gadget_id = 70500000, pos = { x = 421.913, y = 200.350, z = -150.483 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15007, gadget_id = 70500000, pos = { x = 278.206, y = 200.113, z = -78.723 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15008, gadget_id = 70500000, pos = { x = 426.501, y = 215.069, z = -8.985 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15009, gadget_id = 70500000, pos = { x = 433.875, y = 200.676, z = -269.563 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15012, gadget_id = 70500000, pos = { x = 456.981, y = 214.392, z = -434.915 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15013, gadget_id = 70500000, pos = { x = 535.004, y = 201.453, z = -619.493 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15014, gadget_id = 70500000, pos = { x = 652.562, y = 200.732, z = 89.877 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15015, gadget_id = 70500000, pos = { x = 524.464, y = 199.159, z = 162.305 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15016, gadget_id = 70500000, pos = { x = 716.971, y = 207.151, z = 188.906 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15018, gadget_id = 70500000, pos = { x = 625.994, y = 290.246, z = -168.595 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15021, gadget_id = 70500000, pos = { x = 370.144, y = 208.858, z = -199.061 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15022, gadget_id = 70500000, pos = { x = 475.892, y = 205.704, z = -328.934 }, rot = { x = 0.000, y = 0.000, z = 330.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15026, gadget_id = 70500000, pos = { x = 552.547, y = 200.233, z = -548.522 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15027, gadget_id = 70500000, pos = { x = 619.234, y = 317.249, z = -324.826 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15028, gadget_id = 70500000, pos = { x = 636.234, y = 258.029, z = -390.638 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 9 },
{ config_id = 15030, gadget_id = 70500000, pos = { x = 611.531, y = 218.572, z = -485.440 }, rot = { x = 0.000, y = 0.000, z = 30.000 }, level = 1, point_type = 9127, area_id = 9 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 15004, 15005, 15010, 15011 },
gadgets = { 15001, 15003, 15007, 15008, 15009, 15012, 15013, 15014, 15015, 15016, 15018, 15021, 15022, 15026, 15027, 15028, 15030 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,99 @@
-- 基础信息
local base_info = {
group_id = 302001016
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 16009, monster_id = 25010201, pos = { x = -910.119, y = 198.095, z = 1153.573 }, rot = { x = 0.000, y = 185.961, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9003, area_id = 8 },
{ config_id = 16010, monster_id = 25010201, pos = { x = -910.546, y = 198.120, z = 1150.985 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9002, area_id = 8 },
{ config_id = 16018, monster_id = 25010201, pos = { x = -943.815, y = 205.125, z = 832.818 }, rot = { x = 0.000, y = 343.930, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9002, area_id = 8 },
{ config_id = 16019, monster_id = 25060101, pos = { x = -941.469, y = 204.626, z = 833.778 }, rot = { x = 0.000, y = 309.679, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, area_id = 8 },
{ config_id = 16020, monster_id = 25060101, pos = { x = -941.749, y = 203.913, z = 836.064 }, rot = { x = 0.000, y = 246.244, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, area_id = 8 },
{ config_id = 16021, monster_id = 22010301, pos = { x = -828.848, y = 191.188, z = 828.041 }, rot = { x = 0.000, y = 166.340, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9013, area_id = 8 },
{ config_id = 16022, monster_id = 21010601, pos = { x = -829.349, y = 192.489, z = 823.816 }, rot = { x = 0.000, y = 8.501, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9012, area_id = 8 },
{ config_id = 16023, monster_id = 21010601, pos = { x = -826.892, y = 191.834, z = 823.909 }, rot = { x = 0.000, y = 330.982, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9012, area_id = 8 },
{ config_id = 16024, monster_id = 21010201, pos = { x = -335.049, y = 198.829, z = 859.166 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9003, area_id = 8 },
{ config_id = 16025, monster_id = 21010401, pos = { x = -336.605, y = 198.779, z = 861.469 }, rot = { x = 0.000, y = 112.105, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9003, area_id = 8 },
{ config_id = 16026, monster_id = 21010401, pos = { x = -334.668, y = 198.357, z = 862.547 }, rot = { x = 0.000, y = 182.326, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, area_id = 8 },
{ config_id = 16027, monster_id = 28020201, pos = { x = -905.104, y = 180.280, z = 941.319 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, area_id = 8 },
{ config_id = 16028, monster_id = 28020201, pos = { x = -904.079, y = 180.686, z = 942.834 }, rot = { x = 0.000, y = 260.298, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, area_id = 8 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 16001, gadget_id = 70500000, pos = { x = -513.775, y = 257.810, z = 1282.793 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 },
{ config_id = 16002, gadget_id = 70500000, pos = { x = -480.323, y = 202.951, z = 1065.795 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 },
{ config_id = 16003, gadget_id = 70500000, pos = { x = -283.884, y = 227.976, z = 1177.727 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 },
{ config_id = 16004, gadget_id = 70500000, pos = { x = -851.576, y = 190.514, z = 1290.381 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 },
{ config_id = 16005, gadget_id = 70500000, pos = { x = -595.898, y = 167.071, z = 1104.069 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 },
{ config_id = 16006, gadget_id = 70500000, pos = { x = -292.138, y = 249.123, z = 1022.230 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 },
{ config_id = 16007, gadget_id = 70500000, pos = { x = -910.322, y = 198.101, z = 1152.444 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 },
{ config_id = 16008, gadget_id = 70500000, pos = { x = -742.856, y = 205.445, z = 1247.036 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 },
{ config_id = 16011, gadget_id = 70500000, pos = { x = -905.196, y = 180.475, z = 942.350 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 },
{ config_id = 16012, gadget_id = 70500000, pos = { x = -159.005, y = 202.294, z = 879.826 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 },
{ config_id = 16013, gadget_id = 70500000, pos = { x = -644.326, y = 283.442, z = 812.705 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 },
{ config_id = 16014, gadget_id = 70500000, pos = { x = -335.242, y = 198.674, z = 861.026 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 },
{ config_id = 16015, gadget_id = 70500000, pos = { x = -828.514, y = 191.573, z = 826.359 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 },
{ config_id = 16016, gadget_id = 70500000, pos = { x = -944.871, y = 204.499, z = 835.479 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 },
{ config_id = 16017, gadget_id = 70500000, pos = { x = -763.433, y = 166.018, z = 867.003 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 8 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 16009, 16010, 16018, 16019, 16020, 16021, 16022, 16023, 16024, 16025, 16026, 16027, 16028 },
gadgets = { 16001, 16002, 16003, 16004, 16005, 16006, 16007, 16008, 16011, 16012, 16013, 16014, 16015, 16016, 16017 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,97 @@
-- 基础信息
local base_info = {
group_id = 302001017
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 17007, monster_id = 26030101, pos = { x = 1206.856, y = 248.622, z = 1048.269 }, rot = { x = 0.000, y = 334.812, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, area_id = 6 },
{ config_id = 17010, monster_id = 25030201, pos = { x = 1137.911, y = 210.300, z = 850.273 }, rot = { x = 0.000, y = 222.196, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9003, area_id = 6 },
{ config_id = 17011, monster_id = 25030201, pos = { x = 1138.180, y = 210.286, z = 848.587 }, rot = { x = 0.000, y = 314.761, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9003, area_id = 6 },
{ config_id = 17012, monster_id = 25010301, pos = { x = 1136.157, y = 210.269, z = 852.187 }, rot = { x = 0.000, y = 154.674, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9002, area_id = 6 },
{ config_id = 17013, monster_id = 25010301, pos = { x = 1135.912, y = 209.809, z = 846.405 }, rot = { x = 0.000, y = 30.715, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9002, area_id = 6 },
{ config_id = 17024, monster_id = 21010101, pos = { x = 847.904, y = 245.484, z = 994.324 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9016, area_id = 6 },
{ config_id = 17025, monster_id = 21010101, pos = { x = 846.710, y = 245.484, z = 995.128 }, rot = { x = 0.000, y = 63.786, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9016, area_id = 6 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 17001, gadget_id = 70500000, pos = { x = 964.923, y = 266.215, z = 738.533 }, rot = { x = 0.000, y = 0.000, z = 281.942 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17002, gadget_id = 70500000, pos = { x = 1613.699, y = 225.567, z = 1253.541 }, rot = { x = 351.317, y = 359.637, z = 0.000 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 17003, gadget_id = 70500000, pos = { x = 1240.291, y = 254.787, z = 1195.258 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17004, gadget_id = 70500000, pos = { x = 1069.914, y = 251.843, z = 1073.211 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17005, gadget_id = 70500000, pos = { x = 1166.715, y = 258.052, z = 1249.804 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17006, gadget_id = 70500000, pos = { x = 1206.001, y = 248.866, z = 1049.808 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17008, gadget_id = 70500000, pos = { x = 1121.253, y = 210.671, z = 972.828 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17009, gadget_id = 70500000, pos = { x = 1137.562, y = 210.185, z = 849.363 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17014, gadget_id = 70500000, pos = { x = 1040.930, y = 231.292, z = 959.009 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17015, gadget_id = 70500000, pos = { x = 1053.974, y = 200.460, z = 667.798 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17016, gadget_id = 70500000, pos = { x = 1050.372, y = 212.760, z = 853.334 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17017, gadget_id = 70500000, pos = { x = 856.572, y = 247.177, z = 927.053 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17018, gadget_id = 70500000, pos = { x = 984.362, y = 200.231, z = 629.816 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17019, gadget_id = 70500000, pos = { x = 1469.521, y = 228.283, z = 1244.409 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 17020, gadget_id = 70500000, pos = { x = 1364.834, y = 215.039, z = 1127.925 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17021, gadget_id = 70500000, pos = { x = 1344.587, y = 204.432, z = 952.745 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 5 },
{ config_id = 17022, gadget_id = 70500000, pos = { x = 757.828, y = 276.261, z = 943.635 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17023, gadget_id = 70500000, pos = { x = 847.586, y = 245.484, z = 995.259 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 },
{ config_id = 17026, gadget_id = 70500000, pos = { x = 1327.439, y = 227.585, z = 1264.495 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 9127, area_id = 6 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 17007, 17010, 17011, 17012, 17013, 17024, 17025 },
gadgets = { 17001, 17002, 17003, 17004, 17005, 17006, 17008, 17009, 17014, 17015, 17016, 17017, 17018, 17019, 17020, 17021, 17022, 17023, 17026 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,328 @@
-- 基础信息
local base_info = {
group_id = 302001018
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001018,
gadget_id = 18011,
battle_time = 600,
auto_decline = 30,
max_energy = 300
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 18001, monster_id = 25010201, pos = { x = 1891.579, y = 221.018, z = 575.130 }, rot = { x = 0.000, y = 338.761, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 5 },
{ config_id = 18002, monster_id = 25010201, pos = { x = 1885.090, y = 219.861, z = 580.203 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 5 },
{ config_id = 18003, monster_id = 25010201, pos = { x = 1893.779, y = 221.098, z = 579.401 }, rot = { x = 0.000, y = 262.273, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 5 },
{ config_id = 18004, monster_id = 25010201, pos = { x = 1891.617, y = 220.580, z = 583.506 }, rot = { x = 0.000, y = 194.444, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 5 },
{ config_id = 18008, monster_id = 25060101, pos = { x = 1893.264, y = 221.139, z = 577.309 }, rot = { x = 0.000, y = 306.109, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 60, area_id = 5 },
{ config_id = 18009, monster_id = 25070101, pos = { x = 1887.196, y = 220.360, z = 576.295 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 60, area_id = 5 },
{ config_id = 18010, monster_id = 25030201, pos = { x = 1887.964, y = 220.128, z = 582.582 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 60, area_id = 5 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 18011, gadget_id = 70710208, pos = { x = 1890.326, y = 220.622, z = 579.436 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 5 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1018005, name = "TIMER_EVENT_18005", event = EventType.EVENT_TIMER_EVENT, source = "timer1", condition = "", action = "action_EVENT_TIMER_EVENT_18005" },
{ config_id = 1018012, name = "GADGET_CREATE_18012", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_18012", action = "action_EVENT_GADGET_CREATE_18012", trigger_count = 0 },
{ config_id = 1018013, name = "SELECT_OPTION_18013", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_18013", action = "action_EVENT_SELECT_OPTION_18013", trigger_count = 0 },
{ config_id = 1018014, name = "ANY_MONSTER_LIVE_18014", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_18014", action = "action_EVENT_ANY_MONSTER_LIVE_18014", trigger_count = 0 },
{ config_id = 1018015, name = "MONSTER_TIDE_DIE_18015", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_18015", action = "action_EVENT_MONSTER_TIDE_DIE_18015", trigger_count = 0 },
{ config_id = 1018016, name = "MONSTER_TIDE_DIE_18016", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_18016", action = "action_EVENT_MONSTER_TIDE_DIE_18016", trigger_count = 0 },
{ config_id = 1018021, name = "SEAL_BATTLE_END_18021", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_18021", action = "action_EVENT_SEAL_BATTLE_END_18021", trigger_count = 0 },
{ config_id = 1018022, name = "SELECT_OPTION_18022", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_18022", action = "action_EVENT_SELECT_OPTION_18022", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 18011 },
regions = { },
triggers = { "TIMER_EVENT_18005", "GADGET_CREATE_18012", "SELECT_OPTION_18013", "SEAL_BATTLE_END_18021", "SELECT_OPTION_18022" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 18001 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_18014", "MONSTER_TIDE_DIE_18015", "MONSTER_TIDE_DIE_18016" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 18002, 18003, 18004, 18008, 18009, 18010 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_TIMER_EVENT_18005(context, evt)
ScriptLib.KillEntityByConfigId(context, {group_id = defs.group_id, config_id = defs.gadget_id})
ScriptLib.CancelGroupTimerEvent(context, defs.group_id, "timer1")
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_18012(context, evt)
if 18011 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_18012(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 302001018, 18011, {189}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_18013(context, evt)
if 18011 ~= evt.param1 then
return false
end
-- 判断是gadgetid 18011 option_id 189
if 18011 ~= evt.param1 then
return false
end
if 189 ~= evt.param2 then
return false
end
-- 判断变量"isDone"为0
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_18013(context, evt)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.AddExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.DelWorktopOptionByGroupId(context, defs.group_id, defs.gadget_id, 189)
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_18014(context, evt)
if 18001 ~= evt.param1 then
return false
end
-- 判断变量"isDone"为0
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_18014(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001018, {18002,18003}, 3, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_18015(context, evt)
if 3 ~= evt.param1 then
return false
end
-- 判断变量"isDone"为0
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_18015(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多3只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001018, {18008,18009,18010}, 3, 1, 3) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_18016(context, evt)
if 3 ~= evt.param1 then
return false
end
-- 判断变量"isDone"为0
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_18016(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多3只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001018, {18002,18003,18004}, 3, 1, 3) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_18021(context, evt)
if 18011 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_18021(context, evt)
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.KillMonsterTide(context, defs.group_id, 1)
ScriptLib.KillMonsterTide(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 3)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
ScriptLib.SetWorktopOptionsByGroupId(context, defs.group_id, defs.gadget_id, {189})
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.KillMonsterTide(context, defs.group_id, 1)
ScriptLib.KillMonsterTide(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 3)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.AddQuestProgress(context, "302001018")
ScriptLib.CreateGroupTimerEvent(context, defs.group_id, "timer1", 3)
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_18022(context, evt)
if 18011 ~= evt.param1 then
return false
end
-- 判断是gadgetid 18011 option_id 189
if 18011 ~= evt.param1 then
return false
end
if 189 ~= evt.param2 then
return false
end
-- 判断变量"isDone"为2
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_18022(context, evt)
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.AddExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.DelWorktopOptionByGroupId(context, defs.group_id, defs.gadget_id, 189)
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
return 0
end

View File

@@ -0,0 +1,327 @@
-- 基础信息
local base_info = {
group_id = 302001019
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001019,
gadget_id = 19011,
battle_time = 600,
auto_decline = 30,
max_energy = 300
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 19001, monster_id = 20010501, pos = { x = 1776.370, y = 216.746, z = 708.374 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 5 },
{ config_id = 19002, monster_id = 20010501, pos = { x = 1771.183, y = 216.746, z = 711.098 }, rot = { x = 0.000, y = 92.816, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 5 },
{ config_id = 19003, monster_id = 20010501, pos = { x = 1773.912, y = 216.746, z = 713.639 }, rot = { x = 0.000, y = 162.369, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 5 },
{ config_id = 19004, monster_id = 20010501, pos = { x = 1777.042, y = 216.746, z = 708.764 }, rot = { x = 0.000, y = 309.397, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 5 },
{ config_id = 19006, monster_id = 20010601, pos = { x = 1778.732, y = 216.746, z = 709.262 }, rot = { x = 0.000, y = 274.644, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 5 },
{ config_id = 19007, monster_id = 20010701, pos = { x = 1777.994, y = 216.746, z = 713.961 }, rot = { x = 0.000, y = 244.198, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 5 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 19011, gadget_id = 70710208, pos = { x = 1774.749, y = 216.691, z = 710.904 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 5 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1019005, name = "TIMER_EVENT_19005", event = EventType.EVENT_TIMER_EVENT, source = "timer1", condition = "", action = "action_EVENT_TIMER_EVENT_19005" },
{ config_id = 1019012, name = "GADGET_CREATE_19012", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_19012", action = "action_EVENT_GADGET_CREATE_19012", trigger_count = 0 },
{ config_id = 1019013, name = "SELECT_OPTION_19013", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_19013", action = "action_EVENT_SELECT_OPTION_19013", trigger_count = 0 },
{ config_id = 1019014, name = "ANY_MONSTER_LIVE_19014", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_19014", action = "action_EVENT_ANY_MONSTER_LIVE_19014", trigger_count = 0 },
{ config_id = 1019015, name = "MONSTER_TIDE_DIE_19015", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_19015", action = "action_EVENT_MONSTER_TIDE_DIE_19015", trigger_count = 0 },
{ config_id = 1019016, name = "MONSTER_TIDE_DIE_19016", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_19016", action = "action_EVENT_MONSTER_TIDE_DIE_19016", trigger_count = 0 },
{ config_id = 1019021, name = "SEAL_BATTLE_END_19021", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_19021", action = "action_EVENT_SEAL_BATTLE_END_19021", trigger_count = 0 },
{ config_id = 1019022, name = "SELECT_OPTION_19022", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_19022", action = "action_EVENT_SELECT_OPTION_19022", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 19011 },
regions = { },
triggers = { "TIMER_EVENT_19005", "GADGET_CREATE_19012", "SELECT_OPTION_19013", "SEAL_BATTLE_END_19021", "SELECT_OPTION_19022" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 19001 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_19014", "MONSTER_TIDE_DIE_19015", "MONSTER_TIDE_DIE_19016" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 19002, 19003, 19004, 19006, 19007 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_TIMER_EVENT_19005(context, evt)
ScriptLib.KillEntityByConfigId(context, {group_id = defs.group_id, config_id = defs.gadget_id})
ScriptLib.CancelGroupTimerEvent(context, defs.group_id, "timer1")
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_19012(context, evt)
if 19011 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_19012(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 302001019, 19011, {189}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_19013(context, evt)
if 19011 ~= evt.param1 then
return false
end
-- 判断是gadgetid 19011 option_id 189
if 19011 ~= evt.param1 then
return false
end
if 189 ~= evt.param2 then
return false
end
-- 判断变量"isDone"为0
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_19013(context, evt)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.AddExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.DelWorktopOptionByGroupId(context, defs.group_id, defs.gadget_id, 189)
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_19014(context, evt)
if 19001 ~= evt.param1 then
return false
end
-- 判断变量"isDone"为0
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_19014(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001019, {19002,19003}, 3, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_19015(context, evt)
if 3 ~= evt.param1 then
return false
end
-- 判断变量"isDone"为0
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_19015(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001019, {19006,19007}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_19016(context, evt)
if 2 ~= evt.param1 then
return false
end
-- 判断变量"isDone"为0
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_19016(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多3只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001019, {19002,19003,19004}, 3, 1, 3) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_19021(context, evt)
if 19011 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_19021(context, evt)
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.KillMonsterTide(context, defs.group_id, 1)
ScriptLib.KillMonsterTide(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 3)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
ScriptLib.SetWorktopOptionsByGroupId(context, defs.group_id, defs.gadget_id, {189})
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.KillMonsterTide(context, defs.group_id, 1)
ScriptLib.KillMonsterTide(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.RemoveExtraGroupSuite(context, defs.group_id, 3)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.AddQuestProgress(context, "302001019")
ScriptLib.CreateGroupTimerEvent(context, defs.group_id, "timer1", 3)
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_19022(context, evt)
if 19011 ~= evt.param1 then
return false
end
-- 判断是gadgetid 19011 option_id 189
if 19011 ~= evt.param1 then
return false
end
if 189 ~= evt.param2 then
return false
end
-- 判断变量"isDone"为2
if ScriptLib.GetGroupVariableValue(context, "isDone") ~= 2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_19022(context, evt)
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.AddExtraGroupSuite(context, defs.group_id, 2)
ScriptLib.DelWorktopOptionByGroupId(context, defs.group_id, defs.gadget_id, 189)
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
return 0
end

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001020
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001058,
gadget_id = 20021,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 20022,
difficulty1_suite = 1,
difficulty2_suite = 3,
empty_suite = 5
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 20021, gadget_id = 70950015, pos = { x = 1534.410, y = 335.521, z = -2110.276 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 2 },
{ config_id = 20022, gadget_id = 70950021, pos = { x = 1534.410, y = 335.521, z = -2110.276 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 2 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1020001, name = "SEAL_BATTLE_PROGRESS_DECREASE_20001", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_20001", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_20001", trigger_count = 0 },
{ config_id = 1020030, name = "SEAL_BATTLE_END_20030", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_20030", action = "action_EVENT_SEAL_BATTLE_END_20030", trigger_count = 0 },
{ config_id = 1020031, name = "SELECT_DIFFICULTY_20031", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_20031", action = "action_EVENT_SELECT_DIFFICULTY_20031", trigger_count = 0 },
{ config_id = 1020039, name = "GENERAL_REWARD_DIE_20039", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_20039", action = "action_EVENT_GENERAL_REWARD_DIE_20039" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 20021 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_20001", "SEAL_BATTLE_END_20030", "SELECT_DIFFICULTY_20031", "GENERAL_REWARD_DIE_20039" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_20001(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_20001(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_20030(context, evt)
if 20021 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_20030(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_20031(context, evt)
if 20021 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_20031(context, evt)
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_20039(context, evt)
if 20022 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_20039(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 20021 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001021
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001065,
gadget_id = 21021,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 21022,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 21021, gadget_id = 70950015, pos = { x = 1256.224, y = 306.576, z = -1772.465 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 2 },
{ config_id = 21022, gadget_id = 70950021, pos = { x = 1256.224, y = 306.576, z = -1772.465 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 2 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1021001, name = "SEAL_BATTLE_PROGRESS_DECREASE_21001", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_21001", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_21001", trigger_count = 0 },
{ config_id = 1021030, name = "SEAL_BATTLE_END_21030", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_21030", action = "action_EVENT_SEAL_BATTLE_END_21030", trigger_count = 0 },
{ config_id = 1021031, name = "SELECT_DIFFICULTY_21031", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_21031", action = "action_EVENT_SELECT_DIFFICULTY_21031", trigger_count = 0 },
{ config_id = 1021039, name = "GENERAL_REWARD_DIE_21039", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_21039", action = "action_EVENT_GENERAL_REWARD_DIE_21039" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 21021 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_21001", "SEAL_BATTLE_END_21030", "SELECT_DIFFICULTY_21031", "GENERAL_REWARD_DIE_21039" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_21001(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_21001(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_21030(context, evt)
if 21021 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_21030(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_21031(context, evt)
if 21021 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_21031(context, evt)
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_21039(context, evt)
if 21022 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_21039(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 21021 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,428 @@
-- 基础信息
local base_info = {
group_id = 302001022
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 22001, monster_id = 21010201, pos = { x = 1447.951, y = 269.774, z = -1650.400 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22002, monster_id = 21010201, pos = { x = 1457.681, y = 269.613, z = -1659.272 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22003, monster_id = 21010201, pos = { x = 1448.017, y = 269.613, z = -1648.021 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22004, monster_id = 21010201, pos = { x = 1451.464, y = 269.877, z = -1648.248 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22005, monster_id = 21010201, pos = { x = 1460.639, y = 269.891, z = -1653.569 }, rot = { x = 0.000, y = 276.008, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22006, monster_id = 21010201, pos = { x = 1447.197, y = 269.592, z = -1656.146 }, rot = { x = 0.000, y = 65.566, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22007, monster_id = 21010601, pos = { x = 1459.970, y = 269.569, z = -1658.589 }, rot = { x = 0.000, y = 301.332, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22008, monster_id = 21010601, pos = { x = 1445.608, y = 269.556, z = -1652.050 }, rot = { x = 0.000, y = 94.574, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22009, monster_id = 21020201, pos = { x = 1453.558, y = 269.441, z = -1661.548 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 2 },
{ config_id = 22010, monster_id = 21030301, pos = { x = 1448.870, y = 269.574, z = -1658.142 }, rot = { x = 0.000, y = 47.639, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22011, monster_id = 21020201, pos = { x = 1459.564, y = 269.708, z = -1646.866 }, rot = { x = 0.000, y = 202.349, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 2 },
{ config_id = 22012, monster_id = 21010201, pos = { x = 1455.182, y = 269.798, z = -1646.350 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22013, monster_id = 21010201, pos = { x = 1457.209, y = 269.759, z = -1646.092 }, rot = { x = 0.000, y = 202.290, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22014, monster_id = 21010201, pos = { x = 1447.256, y = 269.707, z = -1654.370 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22015, monster_id = 21010603, pos = { x = 1453.648, y = 269.748, z = -1646.246 }, rot = { x = 0.000, y = 171.118, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22016, monster_id = 21010603, pos = { x = 1449.968, y = 269.447, z = -1659.797 }, rot = { x = 0.000, y = 32.783, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22017, monster_id = 21020202, pos = { x = 1457.001, y = 269.419, z = -1660.922 }, rot = { x = 0.000, y = 327.930, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 2 },
{ config_id = 22018, monster_id = 21030304, pos = { x = 1451.488, y = 269.539, z = -1660.151 }, rot = { x = 0.000, y = 26.269, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22019, monster_id = 21020202, pos = { x = 1450.631, y = 269.321, z = -1644.497 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 2 },
{ config_id = 22020, monster_id = 21010201, pos = { x = 1459.283, y = 269.728, z = -1657.553 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 22040, monster_id = 21030303, pos = { x = 1460.524, y = 269.870, z = -1650.809 }, rot = { x = 0.000, y = 252.134, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1022023, name = "ANY_MONSTER_LIVE_22023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_22023", action = "action_EVENT_ANY_MONSTER_LIVE_22023", trigger_count = 0 },
{ config_id = 1022024, name = "MONSTER_TIDE_DIE_22024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_22024", action = "action_EVENT_MONSTER_TIDE_DIE_22024", trigger_count = 0 },
{ config_id = 1022025, name = "MONSTER_TIDE_DIE_22025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_22025", action = "action_EVENT_MONSTER_TIDE_DIE_22025", trigger_count = 0 },
{ config_id = 1022026, name = "MONSTER_TIDE_DIE_22026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_22026", action = "action_EVENT_MONSTER_TIDE_DIE_22026", trigger_count = 0 },
{ config_id = 1022027, name = "MONSTER_TIDE_DIE_22027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_22027", action = "action_EVENT_MONSTER_TIDE_DIE_22027", trigger_count = 0 },
{ config_id = 1022028, name = "MONSTER_TIDE_DIE_22028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_22028", action = "action_EVENT_MONSTER_TIDE_DIE_22028", trigger_count = 0 },
{ config_id = 1022029, name = "MONSTER_TIDE_DIE_22029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_22029", action = "action_EVENT_MONSTER_TIDE_DIE_22029", trigger_count = 0 },
{ config_id = 1022032, name = "ANY_MONSTER_LIVE_22032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_22032", action = "action_EVENT_ANY_MONSTER_LIVE_22032", trigger_count = 0 },
{ config_id = 1022033, name = "MONSTER_TIDE_DIE_22033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_22033", action = "action_EVENT_MONSTER_TIDE_DIE_22033", trigger_count = 0 },
{ config_id = 1022034, name = "MONSTER_TIDE_DIE_22034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_22034", action = "action_EVENT_MONSTER_TIDE_DIE_22034", trigger_count = 0 },
{ config_id = 1022035, name = "MONSTER_TIDE_DIE_22035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_22035", action = "action_EVENT_MONSTER_TIDE_DIE_22035", trigger_count = 0 },
{ config_id = 1022036, name = "MONSTER_TIDE_DIE_22036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_22036", action = "action_EVENT_MONSTER_TIDE_DIE_22036", trigger_count = 0 },
{ config_id = 1022037, name = "MONSTER_TIDE_DIE_22037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_22037", action = "action_EVENT_MONSTER_TIDE_DIE_22037", trigger_count = 0 },
{ config_id = 1022038, name = "MONSTER_TIDE_DIE_22038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_22038", action = "action_EVENT_MONSTER_TIDE_DIE_22038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 22002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_22023", "MONSTER_TIDE_DIE_22024", "MONSTER_TIDE_DIE_22025", "MONSTER_TIDE_DIE_22026", "MONSTER_TIDE_DIE_22027", "MONSTER_TIDE_DIE_22028", "MONSTER_TIDE_DIE_22029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 22003, 22004, 22005, 22006, 22007, 22008, 22009, 22010, 22011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 22020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_22032", "MONSTER_TIDE_DIE_22033", "MONSTER_TIDE_DIE_22034", "MONSTER_TIDE_DIE_22035", "MONSTER_TIDE_DIE_22036", "MONSTER_TIDE_DIE_22037", "MONSTER_TIDE_DIE_22038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 22001, 22012, 22013, 22014, 22015, 22016, 22017, 22018, 22019, 22040 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_22023(context, evt)
if 22002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_22023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001022, {22003,22004}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001022, {22005,22006}, 2, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001022, {22007,22008}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_22024(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_22024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001022, {22009,22011}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_22025(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_22025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001022, {22010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_22026(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_22026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001022, {22007,22008}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_22027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_22027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001022, {22003,22004}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_22028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_22028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001022, {22005,22006}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_22029(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_22029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001022, {22007,22008}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_22032(context, evt)
if 22020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_22032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001022, {22001,22012}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001022, {22013,22014}, 2, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001022, {22015,22016}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_22033(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_22033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001022, {22017,22019}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_22034(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_22034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001022, {22018,22040}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_22035(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_22035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001022, {22015,22016}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_22036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_22036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001022, {22001,22012}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_22037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_22037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001022, {22013,22014}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_22038(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_22038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001022, {22015,22016}, 2, 2, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,281 @@
-- 基础信息
local base_info = {
group_id = 302001023
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 23001, monster_id = 25030201, pos = { x = 1403.762, y = 283.541, z = -1398.220 }, rot = { x = 0.000, y = 108.999, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 23002, monster_id = 25010701, pos = { x = 1412.252, y = 284.876, z = -1403.420 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 23003, monster_id = 25030201, pos = { x = 1404.421, y = 283.357, z = -1396.421 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 23004, monster_id = 25030301, pos = { x = 1413.852, y = 283.108, z = -1395.225 }, rot = { x = 0.000, y = 224.039, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 23005, monster_id = 25010701, pos = { x = 1407.532, y = 284.795, z = -1403.883 }, rot = { x = 0.000, y = 17.305, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 23006, monster_id = 25010701, pos = { x = 1404.304, y = 284.006, z = -1400.323 }, rot = { x = 0.000, y = 58.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 23009, monster_id = 25030301, pos = { x = 1413.848, y = 284.264, z = -1401.844 }, rot = { x = 0.000, y = 297.969, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 23010, monster_id = 25030201, pos = { x = 1405.645, y = 283.093, z = -1394.244 }, rot = { x = 0.000, y = 150.587, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 23012, monster_id = 25030301, pos = { x = 1408.261, y = 282.958, z = -1393.034 }, rot = { x = 0.000, y = 179.564, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 23013, monster_id = 25010701, pos = { x = 1411.734, y = 283.084, z = -1393.593 }, rot = { x = 0.000, y = 202.290, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 23014, monster_id = 25010701, pos = { x = 1405.547, y = 284.486, z = -1402.469 }, rot = { x = 0.000, y = 46.542, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 23015, monster_id = 25030301, pos = { x = 1415.068, y = 283.698, z = -1399.739 }, rot = { x = 0.000, y = 272.713, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 23016, monster_id = 25030201, pos = { x = 1409.667, y = 284.859, z = -1403.942 }, rot = { x = 0.000, y = 338.883, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 23020, monster_id = 25010701, pos = { x = 1414.665, y = 283.336, z = -1397.304 }, rot = { x = 0.000, y = 241.487, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1023023, name = "ANY_MONSTER_LIVE_23023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_23023", action = "action_EVENT_ANY_MONSTER_LIVE_23023", trigger_count = 0 },
{ config_id = 1023024, name = "MONSTER_TIDE_DIE_23024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_23024", action = "action_EVENT_MONSTER_TIDE_DIE_23024", trigger_count = 0 },
{ config_id = 1023025, name = "MONSTER_TIDE_DIE_23025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_23025", action = "action_EVENT_MONSTER_TIDE_DIE_23025", trigger_count = 0 },
{ config_id = 1023026, name = "MONSTER_TIDE_DIE_23026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_23026", action = "action_EVENT_MONSTER_TIDE_DIE_23026", trigger_count = 0 },
{ config_id = 1023032, name = "ANY_MONSTER_LIVE_23032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_23032", action = "action_EVENT_ANY_MONSTER_LIVE_23032", trigger_count = 0 },
{ config_id = 1023033, name = "MONSTER_TIDE_DIE_23033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "7", condition = "condition_EVENT_MONSTER_TIDE_DIE_23033", action = "action_EVENT_MONSTER_TIDE_DIE_23033", trigger_count = 0 },
{ config_id = 1023034, name = "MONSTER_TIDE_DIE_23034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "8", condition = "condition_EVENT_MONSTER_TIDE_DIE_23034", action = "action_EVENT_MONSTER_TIDE_DIE_23034", trigger_count = 0 },
{ config_id = 1023035, name = "MONSTER_TIDE_DIE_23035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "9", condition = "condition_EVENT_MONSTER_TIDE_DIE_23035", action = "action_EVENT_MONSTER_TIDE_DIE_23035", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 23002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_23023", "MONSTER_TIDE_DIE_23024", "MONSTER_TIDE_DIE_23025", "MONSTER_TIDE_DIE_23026" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 23003, 23004, 23005, 23006, 23009, 23010 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 23020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_23032", "MONSTER_TIDE_DIE_23033", "MONSTER_TIDE_DIE_23034", "MONSTER_TIDE_DIE_23035" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 23001, 23012, 23013, 23014, 23015, 23016 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_23023(context, evt)
if 23002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_23023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001023, {23003,23004}, 3, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_23024(context, evt)
if 3 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_23024(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多3只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001023, {23005,23009,23003}, 3, 1, 3) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_23025(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_23025(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少3只最多3只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001023, {23010,23009,23005}, 3, 3, 3) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_23026(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_23026(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少3只最多3只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001023, {23003,23004,23005}, 3, 3, 3) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_23032(context, evt)
if 23020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_23032(context, evt)
-- 创建编号为7该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 7, 302001023, {23001,23012}, 3, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_23033(context, evt)
if 3 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_23033(context, evt)
-- 创建编号为8该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多3只
if 0 ~= ScriptLib.AutoMonsterTide(context, 8, 302001023, {23013,23015,23001}, 3, 1, 3) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_23034(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_23034(context, evt)
-- 创建编号为9该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少3只最多3只
if 0 ~= ScriptLib.AutoMonsterTide(context, 9, 302001023, {23001,23012,23014}, 3, 3, 3) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_23035(context, evt)
if 3 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_23035(context, evt)
-- 创建编号为7该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少3只最多3只
if 0 ~= ScriptLib.AutoMonsterTide(context, 7, 302001023, {23001,23012,23013}, 3, 3, 3) then
return -1
end
return 0
end

View File

@@ -0,0 +1,428 @@
-- 基础信息
local base_info = {
group_id = 302001024
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 24001, monster_id = 25010701, pos = { x = -262.973, y = 201.059, z = -881.499 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4109, 4108 }, kill_score = 50, area_id = 7 },
{ config_id = 24002, monster_id = 25010201, pos = { x = -256.115, y = 201.008, z = -881.505 }, rot = { x = 0.000, y = 330.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 24003, monster_id = 25010701, pos = { x = -262.973, y = 201.059, z = -881.499 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 24004, monster_id = 25010701, pos = { x = -259.000, y = 200.662, z = -866.407 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 24005, monster_id = 25060101, pos = { x = -256.080, y = 200.397, z = -866.704 }, rot = { x = 0.000, y = 202.290, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 24006, monster_id = 25060101, pos = { x = -268.971, y = 200.824, z = -877.143 }, rot = { x = 0.000, y = 60.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 24007, monster_id = 25010301, pos = { x = -250.782, y = 200.572, z = -876.248 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 24008, monster_id = 25010501, pos = { x = -253.702, y = 200.821, z = -879.626 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 24009, monster_id = 25030301, pos = { x = -258.999, y = 201.047, z = -882.620 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 24010, monster_id = 25070101, pos = { x = -258.300, y = 200.996, z = -879.758 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 24011, monster_id = 25030201, pos = { x = -267.531, y = 200.656, z = -871.856 }, rot = { x = 0.000, y = 100.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 24012, monster_id = 25010701, pos = { x = -259.000, y = 200.662, z = -866.407 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4109, 4108 }, kill_score = 50, area_id = 7 },
{ config_id = 24013, monster_id = 25060101, pos = { x = -256.080, y = 200.397, z = -866.704 }, rot = { x = 0.000, y = 202.290, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4109, 4108 }, kill_score = 50, area_id = 7 },
{ config_id = 24014, monster_id = 25060101, pos = { x = -268.971, y = 200.824, z = -877.143 }, rot = { x = 0.000, y = 60.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4109, 4108 }, kill_score = 50, area_id = 7 },
{ config_id = 24015, monster_id = 25010301, pos = { x = -250.782, y = 200.572, z = -876.248 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4109, 4108 }, kill_score = 20, area_id = 7 },
{ config_id = 24016, monster_id = 25010501, pos = { x = -253.702, y = 200.821, z = -879.626 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4109, 4108 }, kill_score = 20, area_id = 7 },
{ config_id = 24017, monster_id = 25030301, pos = { x = -258.999, y = 201.047, z = -882.620 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4109, 4108 }, kill_score = 50, area_id = 7 },
{ config_id = 24018, monster_id = 25070101, pos = { x = -258.300, y = 200.996, z = -879.758 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4109, 4108 }, kill_score = 50, area_id = 7 },
{ config_id = 24019, monster_id = 25030201, pos = { x = -267.531, y = 200.656, z = -871.856 }, rot = { x = 0.000, y = 100.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4109, 4108 }, kill_score = 50, area_id = 7 },
{ config_id = 24020, monster_id = 25010201, pos = { x = -256.115, y = 201.008, z = -881.505 }, rot = { x = 0.000, y = 330.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 24040, monster_id = 25030301, pos = { x = -252.543, y = 200.167, z = -870.117 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4109, 4108 }, kill_score = 50, area_id = 7 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1024023, name = "ANY_MONSTER_LIVE_24023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_24023", action = "action_EVENT_ANY_MONSTER_LIVE_24023", trigger_count = 0 },
{ config_id = 1024024, name = "MONSTER_TIDE_DIE_24024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_24024", action = "action_EVENT_MONSTER_TIDE_DIE_24024", trigger_count = 0 },
{ config_id = 1024025, name = "MONSTER_TIDE_DIE_24025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_24025", action = "action_EVENT_MONSTER_TIDE_DIE_24025", trigger_count = 0 },
{ config_id = 1024026, name = "MONSTER_TIDE_DIE_24026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_24026", action = "action_EVENT_MONSTER_TIDE_DIE_24026", trigger_count = 0 },
{ config_id = 1024027, name = "MONSTER_TIDE_DIE_24027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_24027", action = "action_EVENT_MONSTER_TIDE_DIE_24027", trigger_count = 0 },
{ config_id = 1024028, name = "MONSTER_TIDE_DIE_24028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_24028", action = "action_EVENT_MONSTER_TIDE_DIE_24028", trigger_count = 0 },
{ config_id = 1024029, name = "MONSTER_TIDE_DIE_24029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_24029", action = "action_EVENT_MONSTER_TIDE_DIE_24029", trigger_count = 0 },
{ config_id = 1024032, name = "ANY_MONSTER_LIVE_24032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_24032", action = "action_EVENT_ANY_MONSTER_LIVE_24032", trigger_count = 0 },
{ config_id = 1024033, name = "MONSTER_TIDE_DIE_24033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_24033", action = "action_EVENT_MONSTER_TIDE_DIE_24033", trigger_count = 0 },
{ config_id = 1024034, name = "MONSTER_TIDE_DIE_24034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_24034", action = "action_EVENT_MONSTER_TIDE_DIE_24034", trigger_count = 0 },
{ config_id = 1024035, name = "MONSTER_TIDE_DIE_24035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_24035", action = "action_EVENT_MONSTER_TIDE_DIE_24035", trigger_count = 0 },
{ config_id = 1024036, name = "MONSTER_TIDE_DIE_24036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_24036", action = "action_EVENT_MONSTER_TIDE_DIE_24036", trigger_count = 0 },
{ config_id = 1024037, name = "MONSTER_TIDE_DIE_24037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_24037", action = "action_EVENT_MONSTER_TIDE_DIE_24037", trigger_count = 0 },
{ config_id = 1024038, name = "MONSTER_TIDE_DIE_24038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_24038", action = "action_EVENT_MONSTER_TIDE_DIE_24038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 24002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_24023", "MONSTER_TIDE_DIE_24024", "MONSTER_TIDE_DIE_24025", "MONSTER_TIDE_DIE_24026", "MONSTER_TIDE_DIE_24027", "MONSTER_TIDE_DIE_24028", "MONSTER_TIDE_DIE_24029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 24003, 24004, 24005, 24006, 24007, 24008, 24009, 24010, 24011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 24020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_24032", "MONSTER_TIDE_DIE_24033", "MONSTER_TIDE_DIE_24034", "MONSTER_TIDE_DIE_24035", "MONSTER_TIDE_DIE_24036", "MONSTER_TIDE_DIE_24037", "MONSTER_TIDE_DIE_24038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 24001, 24012, 24013, 24014, 24015, 24016, 24017, 24018, 24019, 24040 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_24023(context, evt)
if 24002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_24023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001024, {24003,24004}, 4, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001024, {24005,24006}, 3, 1, 1) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001024, {24007,24008}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_24024(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_24024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001024, {24009}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_24025(context, evt)
if 3 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_24025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001024, {24010}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_24026(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_24026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001024, {24011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_24027(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_24027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001024, {24003,24004}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_24028(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_24028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001024, {24005,24006}, 3, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_24029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_24029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001024, {24007,24008}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_24032(context, evt)
if 24020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_24032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001024, {24001,24012}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001024, {24013,24014}, 3, 1, 1) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001024, {24015,24016}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_24033(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_24033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001024, {24017,24040}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_24034(context, evt)
if 3 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_24034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001024, {24018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_24035(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_24035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001024, {24019}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_24036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_24036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001024, {24001,24012}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_24037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_24037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001024, {24013,24014}, 3, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_24038(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_24038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001024, {24015,24016}, 4, 2, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001025
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 25001, monster_id = 21010201, pos = { x = -149.363, y = 200.943, z = -898.265 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25002, monster_id = 21010201, pos = { x = -148.475, y = 200.747, z = -904.318 }, rot = { x = 0.000, y = 75.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25003, monster_id = 21010201, pos = { x = -149.363, y = 200.943, z = -898.265 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25004, monster_id = 21010201, pos = { x = -145.498, y = 200.832, z = -895.178 }, rot = { x = 0.000, y = 150.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25005, monster_id = 21011201, pos = { x = -133.732, y = 201.068, z = -900.960 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25006, monster_id = 21010301, pos = { x = -134.235, y = 200.794, z = -905.134 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25007, monster_id = 21010901, pos = { x = -140.364, y = 200.919, z = -893.576 }, rot = { x = 0.000, y = 200.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25008, monster_id = 21010901, pos = { x = -137.601, y = 201.063, z = -894.627 }, rot = { x = 0.000, y = 220.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25009, monster_id = 21020101, pos = { x = -149.308, y = 200.632, z = -908.072 }, rot = { x = 0.000, y = 60.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 25010, monster_id = 21020301, pos = { x = -143.697, y = 200.620, z = -911.324 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 25011, monster_id = 21030301, pos = { x = -138.946, y = 200.989, z = -892.661 }, rot = { x = 0.000, y = 200.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25012, monster_id = 21010201, pos = { x = -145.498, y = 200.832, z = -895.178 }, rot = { x = 0.000, y = 150.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25013, monster_id = 21010301, pos = { x = -133.732, y = 201.068, z = -900.960 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25014, monster_id = 21011201, pos = { x = -134.235, y = 200.794, z = -905.134 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25015, monster_id = 21010902, pos = { x = -140.364, y = 200.919, z = -893.576 }, rot = { x = 0.000, y = 200.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25016, monster_id = 21010902, pos = { x = -137.601, y = 201.063, z = -894.627 }, rot = { x = 0.000, y = 220.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25017, monster_id = 21020101, pos = { x = -149.308, y = 200.632, z = -908.072 }, rot = { x = 0.000, y = 60.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 25018, monster_id = 21020301, pos = { x = -143.697, y = 200.620, z = -911.324 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 25019, monster_id = 21030304, pos = { x = -138.946, y = 200.989, z = -892.661 }, rot = { x = 0.000, y = 200.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 25020, monster_id = 21010201, pos = { x = -148.475, y = 200.747, z = -904.318 }, rot = { x = 0.000, y = 75.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1025023, name = "ANY_MONSTER_LIVE_25023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_25023", action = "action_EVENT_ANY_MONSTER_LIVE_25023", trigger_count = 0 },
{ config_id = 1025024, name = "MONSTER_TIDE_DIE_25024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_25024", action = "action_EVENT_MONSTER_TIDE_DIE_25024", trigger_count = 0 },
{ config_id = 1025025, name = "MONSTER_TIDE_DIE_25025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_25025", action = "action_EVENT_MONSTER_TIDE_DIE_25025", trigger_count = 0 },
{ config_id = 1025026, name = "MONSTER_TIDE_DIE_25026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_25026", action = "action_EVENT_MONSTER_TIDE_DIE_25026", trigger_count = 0 },
{ config_id = 1025027, name = "MONSTER_TIDE_DIE_25027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_25027", action = "action_EVENT_MONSTER_TIDE_DIE_25027", trigger_count = 0 },
{ config_id = 1025028, name = "MONSTER_TIDE_DIE_25028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_25028", action = "action_EVENT_MONSTER_TIDE_DIE_25028", trigger_count = 0 },
{ config_id = 1025029, name = "MONSTER_TIDE_DIE_25029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_25029", action = "action_EVENT_MONSTER_TIDE_DIE_25029", trigger_count = 0 },
{ config_id = 1025032, name = "ANY_MONSTER_LIVE_25032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_25032", action = "action_EVENT_ANY_MONSTER_LIVE_25032", trigger_count = 0 },
{ config_id = 1025033, name = "MONSTER_TIDE_DIE_25033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_25033", action = "action_EVENT_MONSTER_TIDE_DIE_25033", trigger_count = 0 },
{ config_id = 1025034, name = "MONSTER_TIDE_DIE_25034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_25034", action = "action_EVENT_MONSTER_TIDE_DIE_25034", trigger_count = 0 },
{ config_id = 1025035, name = "MONSTER_TIDE_DIE_25035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_25035", action = "action_EVENT_MONSTER_TIDE_DIE_25035", trigger_count = 0 },
{ config_id = 1025036, name = "MONSTER_TIDE_DIE_25036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_25036", action = "action_EVENT_MONSTER_TIDE_DIE_25036", trigger_count = 0 },
{ config_id = 1025037, name = "MONSTER_TIDE_DIE_25037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_25037", action = "action_EVENT_MONSTER_TIDE_DIE_25037", trigger_count = 0 },
{ config_id = 1025038, name = "MONSTER_TIDE_DIE_25038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_25038", action = "action_EVENT_MONSTER_TIDE_DIE_25038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 25002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_25023", "MONSTER_TIDE_DIE_25024", "MONSTER_TIDE_DIE_25025", "MONSTER_TIDE_DIE_25026", "MONSTER_TIDE_DIE_25027", "MONSTER_TIDE_DIE_25028", "MONSTER_TIDE_DIE_25029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 25003, 25004, 25005, 25006, 25007, 25008, 25009, 25010, 25011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 25020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_25032", "MONSTER_TIDE_DIE_25033", "MONSTER_TIDE_DIE_25034", "MONSTER_TIDE_DIE_25035", "MONSTER_TIDE_DIE_25036", "MONSTER_TIDE_DIE_25037", "MONSTER_TIDE_DIE_25038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 25001, 25012, 25013, 25014, 25015, 25016, 25017, 25018, 25019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_25023(context, evt)
if 25002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_25023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001025, {25003,25004}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001025, {25005,25006}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001025, {25007,25008}, 4, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_25024(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_25024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001025, {25009}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_25025(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_25025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001025, {25010}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_25026(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_25026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001025, {25011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_25027(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_25027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001025, {25003,25004}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_25028(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_25028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001025, {25005,25006}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_25029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_25029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001025, {25007,25008}, 4, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_25032(context, evt)
if 25020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_25032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001025, {25001,25012}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001025, {25013,25014}, 4, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001025, {25015,25016}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_25033(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_25033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001025, {25017}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_25034(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_25034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001025, {25018}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_25035(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_25035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001025, {25019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_25036(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_25036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001025, {25001,25012}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_25037(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_25037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001025, {25013,25014}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_25038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_25038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001025, {25015,25016}, 4, 2, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001026
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 26001, monster_id = 20010901, pos = { x = -101.322, y = 200.178, z = -738.379 }, rot = { x = 0.000, y = 60.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26002, monster_id = 20010801, pos = { x = -93.943, y = 200.368, z = -729.010 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 26003, monster_id = 20010901, pos = { x = -101.322, y = 200.178, z = -738.379 }, rot = { x = 0.000, y = 60.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26004, monster_id = 20010901, pos = { x = -100.194, y = 200.291, z = -731.666 }, rot = { x = 0.000, y = 120.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26005, monster_id = 20010801, pos = { x = -89.851, y = 200.306, z = -738.501 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 26006, monster_id = 20010801, pos = { x = -89.636, y = 200.154, z = -731.524 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 26007, monster_id = 20010901, pos = { x = -91.933, y = 200.419, z = -742.417 }, rot = { x = 0.000, y = 340.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26008, monster_id = 20010901, pos = { x = -97.286, y = 200.205, z = -742.479 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26009, monster_id = 20010901, pos = { x = -92.291, y = 200.271, z = -726.426 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26010, monster_id = 20010901, pos = { x = -94.365, y = 200.291, z = -743.319 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26011, monster_id = 20010901, pos = { x = -95.336, y = 200.330, z = -726.039 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26012, monster_id = 20010901, pos = { x = -100.194, y = 200.291, z = -731.666 }, rot = { x = 0.000, y = 120.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26013, monster_id = 20010901, pos = { x = -89.851, y = 200.306, z = -738.501 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26014, monster_id = 20010901, pos = { x = -89.636, y = 200.154, z = -731.524 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26015, monster_id = 20010901, pos = { x = -91.933, y = 200.419, z = -742.417 }, rot = { x = 0.000, y = 340.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26016, monster_id = 20010901, pos = { x = -97.286, y = 200.205, z = -742.479 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26017, monster_id = 20010904, pos = { x = -92.291, y = 200.271, z = -726.426 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26018, monster_id = 20010904, pos = { x = -94.365, y = 200.291, z = -743.319 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26019, monster_id = 20010904, pos = { x = -95.336, y = 200.330, z = -726.039 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 7 },
{ config_id = 26020, monster_id = 20010801, pos = { x = -93.943, y = 200.368, z = -729.010 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1026023, name = "ANY_MONSTER_LIVE_26023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_26023", action = "action_EVENT_ANY_MONSTER_LIVE_26023", trigger_count = 0 },
{ config_id = 1026024, name = "MONSTER_TIDE_DIE_26024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_26024", action = "action_EVENT_MONSTER_TIDE_DIE_26024", trigger_count = 0 },
{ config_id = 1026025, name = "MONSTER_TIDE_DIE_26025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_26025", action = "action_EVENT_MONSTER_TIDE_DIE_26025", trigger_count = 0 },
{ config_id = 1026026, name = "MONSTER_TIDE_DIE_26026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_26026", action = "action_EVENT_MONSTER_TIDE_DIE_26026", trigger_count = 0 },
{ config_id = 1026027, name = "MONSTER_TIDE_DIE_26027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_26027", action = "action_EVENT_MONSTER_TIDE_DIE_26027", trigger_count = 0 },
{ config_id = 1026028, name = "MONSTER_TIDE_DIE_26028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_26028", action = "action_EVENT_MONSTER_TIDE_DIE_26028", trigger_count = 0 },
{ config_id = 1026029, name = "MONSTER_TIDE_DIE_26029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_26029", action = "action_EVENT_MONSTER_TIDE_DIE_26029", trigger_count = 0 },
{ config_id = 1026032, name = "ANY_MONSTER_LIVE_26032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_26032", action = "action_EVENT_ANY_MONSTER_LIVE_26032", trigger_count = 0 },
{ config_id = 1026033, name = "MONSTER_TIDE_DIE_26033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_26033", action = "action_EVENT_MONSTER_TIDE_DIE_26033", trigger_count = 0 },
{ config_id = 1026034, name = "MONSTER_TIDE_DIE_26034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_26034", action = "action_EVENT_MONSTER_TIDE_DIE_26034", trigger_count = 0 },
{ config_id = 1026035, name = "MONSTER_TIDE_DIE_26035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_26035", action = "action_EVENT_MONSTER_TIDE_DIE_26035", trigger_count = 0 },
{ config_id = 1026036, name = "MONSTER_TIDE_DIE_26036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_26036", action = "action_EVENT_MONSTER_TIDE_DIE_26036", trigger_count = 0 },
{ config_id = 1026037, name = "MONSTER_TIDE_DIE_26037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_26037", action = "action_EVENT_MONSTER_TIDE_DIE_26037", trigger_count = 0 },
{ config_id = 1026038, name = "MONSTER_TIDE_DIE_26038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_26038", action = "action_EVENT_MONSTER_TIDE_DIE_26038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 26002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_26023", "MONSTER_TIDE_DIE_26024", "MONSTER_TIDE_DIE_26025", "MONSTER_TIDE_DIE_26026", "MONSTER_TIDE_DIE_26027", "MONSTER_TIDE_DIE_26028", "MONSTER_TIDE_DIE_26029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 26003, 26004, 26005, 26006, 26007, 26008, 26009, 26010, 26011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 26020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_26032", "MONSTER_TIDE_DIE_26033", "MONSTER_TIDE_DIE_26034", "MONSTER_TIDE_DIE_26035", "MONSTER_TIDE_DIE_26036", "MONSTER_TIDE_DIE_26037", "MONSTER_TIDE_DIE_26038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 26001, 26012, 26013, 26014, 26015, 26016, 26017, 26018, 26019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_26023(context, evt)
if 26002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_26023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001026, {26003,26004}, 4, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为8场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001026, {26005,26006}, 8, 1, 1) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001026, {26007,26008}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_26024(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_26024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001026, {26009}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_26025(context, evt)
if 8 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_26025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001026, {26010}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_26026(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_26026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001026, {26011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_26027(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_26027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001026, {26003,26004}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_26028(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_26028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为8场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001026, {26005,26006}, 8, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_26029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_26029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001026, {26007,26008}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_26032(context, evt)
if 26020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_26032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001026, {26001,26012}, 4, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001026, {26013,26014}, 4, 1, 1) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001026, {26015,26016}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_26033(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_26033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001026, {26017}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_26034(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_26034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001026, {26018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_26035(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_26035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001026, {26019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_26036(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_26036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001026, {26001,26012}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_26037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_26037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001026, {26013,26014}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_26038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_26038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001026, {26015,26016}, 4, 1, 1) then
return -1
end
return 0
end

View File

@@ -0,0 +1,240 @@
-- 基础信息
local base_info = {
group_id = 302001028
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 28001, monster_id = 23020101, pos = { x = -153.285, y = 201.584, z = -442.415 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 7 },
{ config_id = 28002, monster_id = 23020101, pos = { x = -153.285, y = 201.584, z = -442.415 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 7 },
{ config_id = 28003, monster_id = 23020101, pos = { x = -141.509, y = 200.489, z = -458.995 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 7 },
{ config_id = 28004, monster_id = 23020101, pos = { x = -156.802, y = 202.045, z = -468.941 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 7 },
{ config_id = 28005, monster_id = 23020101, pos = { x = -147.853, y = 200.849, z = -467.896 }, rot = { x = 0.000, y = 320.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 7 },
{ config_id = 28006, monster_id = 23020101, pos = { x = -145.451, y = 200.938, z = -443.246 }, rot = { x = 0.000, y = 210.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 7 },
{ config_id = 28007, monster_id = 23020101, pos = { x = -141.509, y = 200.489, z = -458.995 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 7 },
{ config_id = 28008, monster_id = 23020101, pos = { x = -156.802, y = 202.045, z = -468.941 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 7 },
{ config_id = 28009, monster_id = 23020101, pos = { x = -147.853, y = 200.849, z = -467.896 }, rot = { x = 0.000, y = 320.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 7 },
{ config_id = 28010, monster_id = 23020101, pos = { x = -145.451, y = 200.938, z = -443.246 }, rot = { x = 0.000, y = 210.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 7 },
{ config_id = 28011, monster_id = 23020101, pos = { x = -142.060, y = 201.236, z = -452.007 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 7 },
{ config_id = 28012, monster_id = 23020101, pos = { x = -164.047, y = 203.940, z = -448.985 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 7 },
{ config_id = 28020, monster_id = 23020101, pos = { x = -154.531, y = 201.771, z = -440.046 }, rot = { x = 0.000, y = 160.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 7 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1028023, name = "ANY_MONSTER_DIE_28023", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_28023", action = "action_EVENT_ANY_MONSTER_DIE_28023" },
{ config_id = 1028024, name = "MONSTER_TIDE_DIE_28024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_28024", action = "action_EVENT_MONSTER_TIDE_DIE_28024", trigger_count = 0 },
{ config_id = 1028027, name = "MONSTER_TIDE_DIE_28027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_28027", action = "action_EVENT_MONSTER_TIDE_DIE_28027", trigger_count = 0 },
{ config_id = 1028032, name = "ANY_MONSTER_DIE_28032", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_28032", action = "action_EVENT_ANY_MONSTER_DIE_28032" },
{ config_id = 1028033, name = "MONSTER_TIDE_DIE_28033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_28033", action = "action_EVENT_MONSTER_TIDE_DIE_28033", trigger_count = 0 },
{ config_id = 1028036, name = "MONSTER_TIDE_DIE_28036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_28036", action = "action_EVENT_MONSTER_TIDE_DIE_28036", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 28002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_28023", "MONSTER_TIDE_DIE_28024", "MONSTER_TIDE_DIE_28027" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 28003, 28004, 28005, 28006 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 28001 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_28032", "MONSTER_TIDE_DIE_28033", "MONSTER_TIDE_DIE_28036" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 28007, 28008, 28009, 28010, 28011, 28012, 28020 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_28023(context, evt)
if 28002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_28023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001028, {28003,28004}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_28024(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_28024(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001028, {28005,28006}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_28027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_28027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001028, {28003,28004}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_28032(context, evt)
if 28001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_28032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001028, {28012,28011,28010,28020}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_28033(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_28033(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001028, {28009,28008,28007}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_28036(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_28036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001028, {28012,28011,28010,28020}, 2, 2, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001029
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 29001, monster_id = 20010801, pos = { x = 1822.408, y = 194.600, z = -1381.916 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 29002, monster_id = 20010901, pos = { x = 1837.443, y = 194.742, z = -1387.521 }, rot = { x = 0.000, y = 289.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 29003, monster_id = 20010801, pos = { x = 1824.967, y = 194.600, z = -1379.463 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 29004, monster_id = 20010801, pos = { x = 1831.652, y = 194.600, z = -1375.692 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 29005, monster_id = 20010801, pos = { x = 1835.653, y = 194.809, z = -1375.474 }, rot = { x = 0.000, y = 218.791, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 29006, monster_id = 20010801, pos = { x = 1821.675, y = 194.600, z = -1388.026 }, rot = { x = 0.000, y = 61.031, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 29007, monster_id = 21030101, pos = { x = 1825.045, y = 194.855, z = -1390.928 }, rot = { x = 0.000, y = 7.267, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 29008, monster_id = 21030101, pos = { x = 1837.850, y = 195.159, z = -1378.897 }, rot = { x = 0.000, y = 258.344, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 29009, monster_id = 20010901, pos = { x = 1832.763, y = 194.658, z = -1392.896 }, rot = { x = 0.000, y = 333.160, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 29010, monster_id = 20010901, pos = { x = 1828.162, y = 194.856, z = -1389.035 }, rot = { x = 0.000, y = 6.097, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 29011, monster_id = 21020101, pos = { x = 1833.926, y = 194.671, z = -1391.528 }, rot = { x = 0.000, y = 329.639, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 29012, monster_id = 20010801, pos = { x = 1829.641, y = 194.600, z = -1375.078 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 29013, monster_id = 20010801, pos = { x = 1835.667, y = 195.052, z = -1377.651 }, rot = { x = 0.000, y = 229.799, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 29014, monster_id = 20010801, pos = { x = 1823.932, y = 194.702, z = -1387.548 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 29015, monster_id = 21030103, pos = { x = 1829.938, y = 194.856, z = -1391.678 }, rot = { x = 0.000, y = 349.497, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 29016, monster_id = 21030103, pos = { x = 1837.130, y = 194.941, z = -1383.613 }, rot = { x = 0.000, y = 286.606, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 29017, monster_id = 20010904, pos = { x = 1833.741, y = 194.770, z = -1390.007 }, rot = { x = 0.000, y = 323.127, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 29018, monster_id = 20010904, pos = { x = 1822.872, y = 194.600, z = -1384.304 }, rot = { x = 0.000, y = 71.717, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 29019, monster_id = 21020101, pos = { x = 1826.500, y = 194.600, z = -1376.062 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 29020, monster_id = 20010904, pos = { x = 1837.394, y = 194.600, z = -1390.169 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1029023, name = "ANY_MONSTER_LIVE_29023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_29023", action = "action_EVENT_ANY_MONSTER_LIVE_29023", trigger_count = 0 },
{ config_id = 1029024, name = "MONSTER_TIDE_DIE_29024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_29024", action = "action_EVENT_MONSTER_TIDE_DIE_29024", trigger_count = 0 },
{ config_id = 1029025, name = "MONSTER_TIDE_DIE_29025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_29025", action = "action_EVENT_MONSTER_TIDE_DIE_29025", trigger_count = 0 },
{ config_id = 1029026, name = "MONSTER_TIDE_DIE_29026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_29026", action = "action_EVENT_MONSTER_TIDE_DIE_29026", trigger_count = 0 },
{ config_id = 1029027, name = "MONSTER_TIDE_DIE_29027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_29027", action = "action_EVENT_MONSTER_TIDE_DIE_29027", trigger_count = 0 },
{ config_id = 1029028, name = "MONSTER_TIDE_DIE_29028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_29028", action = "action_EVENT_MONSTER_TIDE_DIE_29028", trigger_count = 0 },
{ config_id = 1029029, name = "MONSTER_TIDE_DIE_29029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_29029", action = "action_EVENT_MONSTER_TIDE_DIE_29029", trigger_count = 0 },
{ config_id = 1029032, name = "ANY_MONSTER_LIVE_29032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_29032", action = "action_EVENT_ANY_MONSTER_LIVE_29032", trigger_count = 0 },
{ config_id = 1029033, name = "MONSTER_TIDE_DIE_29033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_29033", action = "action_EVENT_MONSTER_TIDE_DIE_29033", trigger_count = 0 },
{ config_id = 1029034, name = "MONSTER_TIDE_DIE_29034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_29034", action = "action_EVENT_MONSTER_TIDE_DIE_29034", trigger_count = 0 },
{ config_id = 1029035, name = "MONSTER_TIDE_DIE_29035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_29035", action = "action_EVENT_MONSTER_TIDE_DIE_29035", trigger_count = 0 },
{ config_id = 1029036, name = "MONSTER_TIDE_DIE_29036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_29036", action = "action_EVENT_MONSTER_TIDE_DIE_29036", trigger_count = 0 },
{ config_id = 1029037, name = "MONSTER_TIDE_DIE_29037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_29037", action = "action_EVENT_MONSTER_TIDE_DIE_29037", trigger_count = 0 },
{ config_id = 1029038, name = "MONSTER_TIDE_DIE_29038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_29038", action = "action_EVENT_MONSTER_TIDE_DIE_29038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 29002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_29023", "MONSTER_TIDE_DIE_29024", "MONSTER_TIDE_DIE_29025", "MONSTER_TIDE_DIE_29026", "MONSTER_TIDE_DIE_29027", "MONSTER_TIDE_DIE_29028", "MONSTER_TIDE_DIE_29029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 29003, 29004, 29005, 29006, 29007, 29008, 29009, 29010, 29011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 29020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_29032", "MONSTER_TIDE_DIE_29033", "MONSTER_TIDE_DIE_29034", "MONSTER_TIDE_DIE_29035", "MONSTER_TIDE_DIE_29036", "MONSTER_TIDE_DIE_29037", "MONSTER_TIDE_DIE_29038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 29001, 29012, 29013, 29014, 29015, 29016, 29017, 29018, 29019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_29023(context, evt)
if 29002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_29023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001029, {29003,29004}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001029, {29005,29006}, 2, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001029, {29007,29008}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_29024(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_29024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001029, {29009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_29025(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_29025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001029, {29010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_29026(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_29026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001029, {29011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_29027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_29027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001029, {29003,29004}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_29028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_29028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001029, {29005,29006}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_29029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_29029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001029, {29007,29008}, 4, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_29032(context, evt)
if 29020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_29032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001029, {29001,29012}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001029, {29013,29014}, 2, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001029, {29015,29016}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_29033(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_29033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001029, {29017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_29034(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_29034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001029, {29018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_29035(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_29035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001029, {29019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_29036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_29036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001029, {29001,29012}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_29037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_29037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001029, {29013,29014}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_29038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_29038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001029, {29015,29016}, 2, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001030
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 30001, monster_id = 21010701, pos = { x = 2211.923, y = 236.953, z = -1413.531 }, rot = { x = 0.000, y = 83.234, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 1 },
{ config_id = 30002, monster_id = 21010701, pos = { x = 2221.834, y = 238.155, z = -1417.153 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 1 },
{ config_id = 30003, monster_id = 21010701, pos = { x = 2213.932, y = 236.682, z = -1407.682 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 1 },
{ config_id = 30004, monster_id = 21010701, pos = { x = 2222.925, y = 236.954, z = -1403.221 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 1 },
{ config_id = 30005, monster_id = 21010701, pos = { x = 2225.953, y = 237.982, z = -1406.901 }, rot = { x = 0.000, y = 240.925, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 1 },
{ config_id = 30006, monster_id = 21010701, pos = { x = 2215.102, y = 237.668, z = -1419.302 }, rot = { x = 0.000, y = 28.765, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 1 },
{ config_id = 30007, monster_id = 21010901, pos = { x = 2217.104, y = 236.395, z = -1402.050 }, rot = { x = 0.000, y = 165.024, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4109, 4108, 4107 }, pose_id = 32, kill_score = 20, area_id = 1 },
{ config_id = 30008, monster_id = 21011001, pos = { x = 2220.456, y = 238.153, z = -1419.960 }, rot = { x = 0.000, y = 346.389, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4109, 4108, 4107 }, pose_id = 32, kill_score = 20, area_id = 1 },
{ config_id = 30009, monster_id = 21020201, pos = { x = 2224.007, y = 238.648, z = -1419.785 }, rot = { x = 0.000, y = 323.472, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 1 },
{ config_id = 30010, monster_id = 21020201, pos = { x = 2211.153, y = 237.153, z = -1418.458 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 1 },
{ config_id = 30011, monster_id = 21020201, pos = { x = 2215.597, y = 236.537, z = -1405.044 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 1 },
{ config_id = 30012, monster_id = 21010701, pos = { x = 2219.212, y = 236.634, z = -1403.330 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 1 },
{ config_id = 30013, monster_id = 21010701, pos = { x = 2224.487, y = 238.047, z = -1412.202 }, rot = { x = 0.000, y = 280.424, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 1 },
{ config_id = 30014, monster_id = 21010701, pos = { x = 2213.583, y = 237.183, z = -1417.083 }, rot = { x = 0.000, y = 51.987, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 1 },
{ config_id = 30015, monster_id = 21010902, pos = { x = 2216.947, y = 238.001, z = -1421.065 }, rot = { x = 0.000, y = 3.003, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 1 },
{ config_id = 30016, monster_id = 21011002, pos = { x = 2224.279, y = 237.356, z = -1405.218 }, rot = { x = 0.000, y = 235.884, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 1 },
{ config_id = 30017, monster_id = 21020202, pos = { x = 2217.452, y = 238.310, z = -1423.950 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 1 },
{ config_id = 30018, monster_id = 21020202, pos = { x = 2227.040, y = 238.400, z = -1410.412 }, rot = { x = 0.000, y = 263.915, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 1 },
{ config_id = 30019, monster_id = 21020202, pos = { x = 2211.660, y = 236.860, z = -1410.042 }, rot = { x = 0.000, y = 105.558, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 1 },
{ config_id = 30020, monster_id = 21010701, pos = { x = 2223.086, y = 238.198, z = -1415.685 }, rot = { x = 0.000, y = 307.772, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1030023, name = "ANY_MONSTER_LIVE_30023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_30023", action = "action_EVENT_ANY_MONSTER_LIVE_30023", trigger_count = 0 },
{ config_id = 1030024, name = "MONSTER_TIDE_DIE_30024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_30024", action = "action_EVENT_MONSTER_TIDE_DIE_30024", trigger_count = 0 },
{ config_id = 1030025, name = "MONSTER_TIDE_DIE_30025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_30025", action = "action_EVENT_MONSTER_TIDE_DIE_30025", trigger_count = 0 },
{ config_id = 1030026, name = "MONSTER_TIDE_DIE_30026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_30026", action = "action_EVENT_MONSTER_TIDE_DIE_30026", trigger_count = 0 },
{ config_id = 1030027, name = "MONSTER_TIDE_DIE_30027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_30027", action = "action_EVENT_MONSTER_TIDE_DIE_30027", trigger_count = 0 },
{ config_id = 1030028, name = "MONSTER_TIDE_DIE_30028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_30028", action = "action_EVENT_MONSTER_TIDE_DIE_30028", trigger_count = 0 },
{ config_id = 1030029, name = "MONSTER_TIDE_DIE_30029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_30029", action = "action_EVENT_MONSTER_TIDE_DIE_30029", trigger_count = 0 },
{ config_id = 1030032, name = "ANY_MONSTER_LIVE_30032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_30032", action = "action_EVENT_ANY_MONSTER_LIVE_30032", trigger_count = 0 },
{ config_id = 1030033, name = "MONSTER_TIDE_DIE_30033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_30033", action = "action_EVENT_MONSTER_TIDE_DIE_30033", trigger_count = 0 },
{ config_id = 1030034, name = "MONSTER_TIDE_DIE_30034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_30034", action = "action_EVENT_MONSTER_TIDE_DIE_30034", trigger_count = 0 },
{ config_id = 1030035, name = "MONSTER_TIDE_DIE_30035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_30035", action = "action_EVENT_MONSTER_TIDE_DIE_30035", trigger_count = 0 },
{ config_id = 1030036, name = "MONSTER_TIDE_DIE_30036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_30036", action = "action_EVENT_MONSTER_TIDE_DIE_30036", trigger_count = 0 },
{ config_id = 1030037, name = "MONSTER_TIDE_DIE_30037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_30037", action = "action_EVENT_MONSTER_TIDE_DIE_30037", trigger_count = 0 },
{ config_id = 1030038, name = "MONSTER_TIDE_DIE_30038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_30038", action = "action_EVENT_MONSTER_TIDE_DIE_30038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 30002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_30023", "MONSTER_TIDE_DIE_30024", "MONSTER_TIDE_DIE_30025", "MONSTER_TIDE_DIE_30026", "MONSTER_TIDE_DIE_30027", "MONSTER_TIDE_DIE_30028", "MONSTER_TIDE_DIE_30029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 30003, 30004, 30005, 30006, 30007, 30008, 30009, 30010, 30011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 30020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_30032", "MONSTER_TIDE_DIE_30033", "MONSTER_TIDE_DIE_30034", "MONSTER_TIDE_DIE_30035", "MONSTER_TIDE_DIE_30036", "MONSTER_TIDE_DIE_30037", "MONSTER_TIDE_DIE_30038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 30001, 30012, 30013, 30014, 30015, 30016, 30017, 30018, 30019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_30023(context, evt)
if 30002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_30023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001030, {30003,30004}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001030, {30005,30006}, 2, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001030, {30007,30008}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_30024(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_30024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001030, {30009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_30025(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_30025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001030, {30010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_30026(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_30026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001030, {30011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_30027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_30027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001030, {30003,30004}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_30028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_30028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001030, {30005,30006}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_30029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_30029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001030, {30007,30008}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_30032(context, evt)
if 30020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_30032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001030, {30001,30012}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001030, {30013,30014}, 2, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001030, {30015,30016}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_30033(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_30033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001030, {30017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_30034(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_30034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001030, {30018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_30035(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_30035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001030, {30019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_30036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_30036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001030, {30001,30012}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_30037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_30037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001030, {30013,30014}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_30038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_30038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001030, {30015,30016}, 2, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,195 @@
-- 基础信息
local base_info = {
group_id = 302001031
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 31001, monster_id = 23020101, pos = { x = 2085.115, y = 210.295, z = -1285.541 }, rot = { x = 0.000, y = 213.512, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 180, area_id = 1 },
{ config_id = 31002, monster_id = 23020101, pos = { x = 2087.153, y = 211.522, z = -1304.132 }, rot = { x = 0.000, y = 303.508, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 180, area_id = 1 },
{ config_id = 31003, monster_id = 23020101, pos = { x = 2067.002, y = 208.046, z = -1291.039 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 180, area_id = 1 },
{ config_id = 31020, monster_id = 23020101, pos = { x = 2067.895, y = 208.702, z = -1312.973 }, rot = { x = 0.000, y = 29.191, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 180, area_id = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1031004, name = "ANY_MONSTER_DIE_31004", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_31004", action = "action_EVENT_ANY_MONSTER_DIE_31004", trigger_count = 0 },
{ config_id = 1031005, name = "ANY_MONSTER_DIE_31005", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_31005", action = "action_EVENT_ANY_MONSTER_DIE_31005", trigger_count = 0 },
{ config_id = 1031023, name = "ANY_MONSTER_DIE_31023", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_31023", action = "action_EVENT_ANY_MONSTER_DIE_31023", trigger_count = 0 },
{ config_id = 1031032, name = "ANY_MONSTER_DIE_31032", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_31032", action = "action_EVENT_ANY_MONSTER_DIE_31032", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 31002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_31004", "ANY_MONSTER_DIE_31023" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 31003 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 31020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_31005", "ANY_MONSTER_DIE_31032" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 31001 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_31004(context, evt)
if 31003 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_31004(context, evt)
-- 延迟1秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 31002, delay_time = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_31005(context, evt)
if 31001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_31005(context, evt)
-- 延迟1秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 31020, delay_time = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_31023(context, evt)
if 31002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_31023(context, evt)
-- 延迟1秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 31003, delay_time = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_31032(context, evt)
if 31020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_31032(context, evt)
-- 延迟1秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 31001, delay_time = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001032
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 32001, monster_id = 25010201, pos = { x = 2068.638, y = 199.078, z = -1138.901 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 32002, monster_id = 25010201, pos = { x = 2077.006, y = 200.059, z = -1147.047 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 32003, monster_id = 25010201, pos = { x = 2067.665, y = 198.938, z = -1139.411 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 32004, monster_id = 25010201, pos = { x = 2075.251, y = 199.835, z = -1137.153 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 32005, monster_id = 25010201, pos = { x = 2079.212, y = 200.179, z = -1141.275 }, rot = { x = 0.000, y = 257.740, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 32006, monster_id = 25010201, pos = { x = 2069.930, y = 199.577, z = -1148.142 }, rot = { x = 0.000, y = 41.340, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 32007, monster_id = 25010601, pos = { x = 2084.519, y = 200.520, z = -1145.721 }, rot = { x = 0.000, y = 283.195, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 32008, monster_id = 25010401, pos = { x = 2072.340, y = 199.704, z = -1133.929 }, rot = { x = 0.000, y = 173.916, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 32009, monster_id = 25060101, pos = { x = 2072.815, y = 199.673, z = -1149.371 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 2 },
{ config_id = 32010, monster_id = 25070101, pos = { x = 2068.341, y = 199.105, z = -1142.213 }, rot = { x = 0.000, y = 93.964, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 2 },
{ config_id = 32011, monster_id = 25030201, pos = { x = 2077.770, y = 200.132, z = -1138.590 }, rot = { x = 0.000, y = 222.656, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 2 },
{ config_id = 32012, monster_id = 25010201, pos = { x = 2071.775, y = 199.526, z = -1137.116 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 32013, monster_id = 25010201, pos = { x = 2078.885, y = 200.181, z = -1139.588 }, rot = { x = 0.000, y = 244.749, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 32014, monster_id = 25010201, pos = { x = 2068.507, y = 199.316, z = -1145.771 }, rot = { x = 0.000, y = 63.498, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 32015, monster_id = 25010401, pos = { x = 2076.950, y = 200.072, z = -1134.236 }, rot = { x = 0.000, y = 202.026, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 32016, monster_id = 25010601, pos = { x = 2081.702, y = 200.240, z = -1150.636 }, rot = { x = 0.000, y = 323.146, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 },
{ config_id = 32017, monster_id = 25070101, pos = { x = 2074.164, y = 199.801, z = -1149.340 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 2 },
{ config_id = 32018, monster_id = 25060101, pos = { x = 2077.606, y = 200.060, z = -1136.733 }, rot = { x = 0.000, y = 219.694, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 2 },
{ config_id = 32019, monster_id = 25030201, pos = { x = 2067.794, y = 199.133, z = -1143.842 }, rot = { x = 0.000, y = 75.630, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 50, area_id = 2 },
{ config_id = 32020, monster_id = 25010201, pos = { x = 2075.945, y = 199.975, z = -1147.964 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4109, 4108, 4107 }, kill_score = 20, area_id = 2 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1032023, name = "ANY_MONSTER_LIVE_32023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_32023", action = "action_EVENT_ANY_MONSTER_LIVE_32023", trigger_count = 0 },
{ config_id = 1032024, name = "MONSTER_TIDE_DIE_32024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_32024", action = "action_EVENT_MONSTER_TIDE_DIE_32024", trigger_count = 0 },
{ config_id = 1032025, name = "MONSTER_TIDE_DIE_32025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_32025", action = "action_EVENT_MONSTER_TIDE_DIE_32025", trigger_count = 0 },
{ config_id = 1032026, name = "MONSTER_TIDE_DIE_32026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_32026", action = "action_EVENT_MONSTER_TIDE_DIE_32026", trigger_count = 0 },
{ config_id = 1032027, name = "MONSTER_TIDE_DIE_32027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_32027", action = "action_EVENT_MONSTER_TIDE_DIE_32027", trigger_count = 0 },
{ config_id = 1032028, name = "MONSTER_TIDE_DIE_32028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_32028", action = "action_EVENT_MONSTER_TIDE_DIE_32028", trigger_count = 0 },
{ config_id = 1032029, name = "MONSTER_TIDE_DIE_32029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_32029", action = "action_EVENT_MONSTER_TIDE_DIE_32029", trigger_count = 0 },
{ config_id = 1032032, name = "ANY_MONSTER_LIVE_32032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_32032", action = "action_EVENT_ANY_MONSTER_LIVE_32032", trigger_count = 0 },
{ config_id = 1032033, name = "MONSTER_TIDE_DIE_32033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_32033", action = "action_EVENT_MONSTER_TIDE_DIE_32033", trigger_count = 0 },
{ config_id = 1032034, name = "MONSTER_TIDE_DIE_32034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_32034", action = "action_EVENT_MONSTER_TIDE_DIE_32034", trigger_count = 0 },
{ config_id = 1032035, name = "MONSTER_TIDE_DIE_32035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_32035", action = "action_EVENT_MONSTER_TIDE_DIE_32035", trigger_count = 0 },
{ config_id = 1032036, name = "MONSTER_TIDE_DIE_32036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_32036", action = "action_EVENT_MONSTER_TIDE_DIE_32036", trigger_count = 0 },
{ config_id = 1032037, name = "MONSTER_TIDE_DIE_32037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_32037", action = "action_EVENT_MONSTER_TIDE_DIE_32037", trigger_count = 0 },
{ config_id = 1032038, name = "MONSTER_TIDE_DIE_32038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_32038", action = "action_EVENT_MONSTER_TIDE_DIE_32038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 32002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_32023", "MONSTER_TIDE_DIE_32024", "MONSTER_TIDE_DIE_32025", "MONSTER_TIDE_DIE_32026", "MONSTER_TIDE_DIE_32027", "MONSTER_TIDE_DIE_32028", "MONSTER_TIDE_DIE_32029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 32003, 32004, 32005, 32006, 32007, 32008, 32009, 32010, 32011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 32020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_32032", "MONSTER_TIDE_DIE_32033", "MONSTER_TIDE_DIE_32034", "MONSTER_TIDE_DIE_32035", "MONSTER_TIDE_DIE_32036", "MONSTER_TIDE_DIE_32037", "MONSTER_TIDE_DIE_32038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 32001, 32012, 32013, 32014, 32015, 32016, 32017, 32018, 32019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_32023(context, evt)
if 32002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_32023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001032, {32003,32004}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001032, {32005,32006}, 2, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001032, {32007,32008}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_32024(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_32024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001032, {32009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_32025(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_32025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001032, {32010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_32026(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_32026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001032, {32011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_32027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_32027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001032, {32003,32004}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_32028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_32028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001032, {32005,32006}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_32029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_32029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001032, {32007,32008}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_32032(context, evt)
if 32020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_32032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001032, {32001,32012}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001032, {32013,32014}, 2, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001032, {32015,32016}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_32033(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_32033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001032, {32017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_32034(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_32034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001032, {32018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_32035(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_32035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001032, {32019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_32036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_32036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001032, {32001,32012}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_32037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_32037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001032, {32013,32014}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_32038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_32038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001032, {32015,32016}, 2, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001033
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 33001, monster_id = 20011201, pos = { x = 2807.269, y = 263.933, z = -1703.589 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 33002, monster_id = 20011201, pos = { x = 2819.616, y = 264.879, z = -1709.671 }, rot = { x = 0.000, y = 292.401, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 33003, monster_id = 20011201, pos = { x = 2807.269, y = 263.933, z = -1703.589 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 33004, monster_id = 20011201, pos = { x = 2817.434, y = 263.652, z = -1701.674 }, rot = { x = 0.000, y = 218.137, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 33005, monster_id = 21010701, pos = { x = 2809.014, y = 265.075, z = -1712.709 }, rot = { x = 0.000, y = 35.348, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 33006, monster_id = 21010701, pos = { x = 2816.908, y = 265.305, z = -1713.158 }, rot = { x = 0.000, y = 335.500, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 33007, monster_id = 21011001, pos = { x = 2814.822, y = 263.132, z = -1697.465 }, rot = { x = 0.000, y = 198.760, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 33008, monster_id = 21011001, pos = { x = 2819.364, y = 265.544, z = -1714.621 }, rot = { x = 0.000, y = 311.561, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 33009, monster_id = 20011301, pos = { x = 2812.758, y = 265.376, z = -1714.138 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 1 },
{ config_id = 33010, monster_id = 20011301, pos = { x = 2820.026, y = 264.182, z = -1705.234 }, rot = { x = 0.000, y = 260.134, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 1 },
{ config_id = 33011, monster_id = 21020201, pos = { x = 2811.490, y = 263.487, z = -1700.214 }, rot = { x = 0.000, y = 171.662, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 1 },
{ config_id = 33012, monster_id = 20011201, pos = { x = 2817.434, y = 263.652, z = -1701.674 }, rot = { x = 0.000, y = 218.137, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 33013, monster_id = 21010701, pos = { x = 2809.014, y = 265.075, z = -1712.709 }, rot = { x = 0.000, y = 35.348, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 33014, monster_id = 21010701, pos = { x = 2816.908, y = 265.305, z = -1713.158 }, rot = { x = 0.000, y = 335.500, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 33015, monster_id = 21011001, pos = { x = 2814.822, y = 263.132, z = -1697.465 }, rot = { x = 0.000, y = 198.760, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 33016, monster_id = 21011001, pos = { x = 2819.364, y = 265.544, z = -1714.621 }, rot = { x = 0.000, y = 311.561, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 33017, monster_id = 20011301, pos = { x = 2812.758, y = 265.376, z = -1714.138 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 1 },
{ config_id = 33018, monster_id = 20011301, pos = { x = 2820.026, y = 264.182, z = -1705.234 }, rot = { x = 0.000, y = 260.134, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 1 },
{ config_id = 33019, monster_id = 21020201, pos = { x = 2811.490, y = 263.487, z = -1700.214 }, rot = { x = 0.000, y = 171.662, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 1 },
{ config_id = 33020, monster_id = 20011201, pos = { x = 2819.616, y = 264.879, z = -1709.671 }, rot = { x = 0.000, y = 292.401, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1033023, name = "ANY_MONSTER_LIVE_33023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_33023", action = "action_EVENT_ANY_MONSTER_LIVE_33023", trigger_count = 0 },
{ config_id = 1033024, name = "MONSTER_TIDE_DIE_33024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_33024", action = "action_EVENT_MONSTER_TIDE_DIE_33024", trigger_count = 0 },
{ config_id = 1033025, name = "MONSTER_TIDE_DIE_33025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_33025", action = "action_EVENT_MONSTER_TIDE_DIE_33025", trigger_count = 0 },
{ config_id = 1033026, name = "MONSTER_TIDE_DIE_33026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_33026", action = "action_EVENT_MONSTER_TIDE_DIE_33026", trigger_count = 0 },
{ config_id = 1033027, name = "MONSTER_TIDE_DIE_33027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_33027", action = "action_EVENT_MONSTER_TIDE_DIE_33027", trigger_count = 0 },
{ config_id = 1033028, name = "MONSTER_TIDE_DIE_33028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_33028", action = "action_EVENT_MONSTER_TIDE_DIE_33028", trigger_count = 0 },
{ config_id = 1033029, name = "MONSTER_TIDE_DIE_33029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_33029", action = "action_EVENT_MONSTER_TIDE_DIE_33029", trigger_count = 0 },
{ config_id = 1033032, name = "ANY_MONSTER_LIVE_33032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_33032", action = "action_EVENT_ANY_MONSTER_LIVE_33032", trigger_count = 0 },
{ config_id = 1033033, name = "MONSTER_TIDE_DIE_33033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_33033", action = "action_EVENT_MONSTER_TIDE_DIE_33033", trigger_count = 0 },
{ config_id = 1033034, name = "MONSTER_TIDE_DIE_33034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_33034", action = "action_EVENT_MONSTER_TIDE_DIE_33034", trigger_count = 0 },
{ config_id = 1033035, name = "MONSTER_TIDE_DIE_33035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_33035", action = "action_EVENT_MONSTER_TIDE_DIE_33035", trigger_count = 0 },
{ config_id = 1033036, name = "MONSTER_TIDE_DIE_33036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_33036", action = "action_EVENT_MONSTER_TIDE_DIE_33036", trigger_count = 0 },
{ config_id = 1033037, name = "MONSTER_TIDE_DIE_33037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_33037", action = "action_EVENT_MONSTER_TIDE_DIE_33037", trigger_count = 0 },
{ config_id = 1033038, name = "MONSTER_TIDE_DIE_33038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_33038", action = "action_EVENT_MONSTER_TIDE_DIE_33038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 33002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_33023", "MONSTER_TIDE_DIE_33024", "MONSTER_TIDE_DIE_33025", "MONSTER_TIDE_DIE_33026", "MONSTER_TIDE_DIE_33027", "MONSTER_TIDE_DIE_33028", "MONSTER_TIDE_DIE_33029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 33003, 33004, 33005, 33006, 33007, 33008, 33009, 33010, 33011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 33020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_33032", "MONSTER_TIDE_DIE_33033", "MONSTER_TIDE_DIE_33034", "MONSTER_TIDE_DIE_33035", "MONSTER_TIDE_DIE_33036", "MONSTER_TIDE_DIE_33037", "MONSTER_TIDE_DIE_33038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 33001, 33012, 33013, 33014, 33015, 33016, 33017, 33018, 33019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_33023(context, evt)
if 33002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_33023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001033, {33003,33004}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001033, {33005,33006}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001033, {33007,33008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_33024(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_33024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001033, {33009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_33025(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_33025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001033, {33010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_33026(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_33026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001033, {33011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_33027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_33027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001033, {33003,33004}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_33028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_33028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001033, {33005,33006}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_33029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_33029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001033, {33007,33008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_33032(context, evt)
if 33020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_33032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001033, {33001,33012}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001033, {33013,33014}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001033, {33015,33016}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_33033(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_33033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001033, {33017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_33034(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_33034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001033, {33018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_33035(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_33035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001033, {33019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_33036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_33036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001033, {33001,33012}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_33037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_33037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001033, {33013,33014}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_33038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_33038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001033, {33015,33016}, 6, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001034
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 34001, monster_id = 21010101, pos = { x = 2607.050, y = 227.310, z = -1114.188 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 34002, monster_id = 21010101, pos = { x = 2617.108, y = 227.395, z = -1123.882 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 1 },
{ config_id = 34003, monster_id = 21010101, pos = { x = 2607.050, y = 227.310, z = -1114.188 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 1 },
{ config_id = 34004, monster_id = 21010101, pos = { x = 2615.137, y = 227.334, z = -1111.472 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 1 },
{ config_id = 34005, monster_id = 21010201, pos = { x = 2619.689, y = 227.069, z = -1115.618 }, rot = { x = 0.000, y = 229.288, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 1 },
{ config_id = 34006, monster_id = 21010201, pos = { x = 2607.069, y = 226.183, z = -1122.734 }, rot = { x = 0.000, y = 72.399, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 1 },
{ config_id = 34007, monster_id = 21010601, pos = { x = 2621.535, y = 227.117, z = -1119.672 }, rot = { x = 0.000, y = 278.916, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 1 },
{ config_id = 34008, monster_id = 21010601, pos = { x = 2605.166, y = 226.254, z = -1124.023 }, rot = { x = 0.000, y = 33.433, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 1 },
{ config_id = 34009, monster_id = 21020201, pos = { x = 2617.627, y = 227.692, z = -1124.832 }, rot = { x = 0.000, y = 325.617, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 30, area_id = 1 },
{ config_id = 34010, monster_id = 21020201, pos = { x = 2609.314, y = 226.031, z = -1124.763 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 30, area_id = 1 },
{ config_id = 34011, monster_id = 20011301, pos = { x = 2618.300, y = 227.193, z = -1112.807 }, rot = { x = 0.000, y = 226.231, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 30, area_id = 1 },
{ config_id = 34012, monster_id = 21010101, pos = { x = 2615.137, y = 227.334, z = -1111.472 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 34013, monster_id = 21010201, pos = { x = 2619.689, y = 227.069, z = -1115.618 }, rot = { x = 0.000, y = 229.288, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 34014, monster_id = 21010201, pos = { x = 2607.069, y = 226.183, z = -1122.734 }, rot = { x = 0.000, y = 72.399, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 34015, monster_id = 21010601, pos = { x = 2621.535, y = 227.117, z = -1119.672 }, rot = { x = 0.000, y = 278.916, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 34016, monster_id = 21010601, pos = { x = 2605.166, y = 226.254, z = -1124.023 }, rot = { x = 0.000, y = 33.433, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 34017, monster_id = 21020201, pos = { x = 2617.627, y = 227.692, z = -1124.832 }, rot = { x = 0.000, y = 325.617, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 1 },
{ config_id = 34018, monster_id = 21020201, pos = { x = 2609.314, y = 226.031, z = -1124.763 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 1 },
{ config_id = 34019, monster_id = 20011301, pos = { x = 2618.300, y = 227.193, z = -1112.807 }, rot = { x = 0.000, y = 226.231, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 1 },
{ config_id = 34020, monster_id = 21010101, pos = { x = 2617.108, y = 227.395, z = -1123.882 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1034023, name = "ANY_MONSTER_LIVE_34023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_34023", action = "action_EVENT_ANY_MONSTER_LIVE_34023", trigger_count = 0 },
{ config_id = 1034024, name = "MONSTER_TIDE_DIE_34024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_34024", action = "action_EVENT_MONSTER_TIDE_DIE_34024", trigger_count = 0 },
{ config_id = 1034025, name = "MONSTER_TIDE_DIE_34025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_34025", action = "action_EVENT_MONSTER_TIDE_DIE_34025", trigger_count = 0 },
{ config_id = 1034026, name = "MONSTER_TIDE_DIE_34026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_34026", action = "action_EVENT_MONSTER_TIDE_DIE_34026", trigger_count = 0 },
{ config_id = 1034027, name = "MONSTER_TIDE_DIE_34027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_34027", action = "action_EVENT_MONSTER_TIDE_DIE_34027", trigger_count = 0 },
{ config_id = 1034028, name = "MONSTER_TIDE_DIE_34028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_34028", action = "action_EVENT_MONSTER_TIDE_DIE_34028", trigger_count = 0 },
{ config_id = 1034029, name = "MONSTER_TIDE_DIE_34029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_34029", action = "action_EVENT_MONSTER_TIDE_DIE_34029", trigger_count = 0 },
{ config_id = 1034032, name = "ANY_MONSTER_LIVE_34032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_34032", action = "action_EVENT_ANY_MONSTER_LIVE_34032", trigger_count = 0 },
{ config_id = 1034033, name = "MONSTER_TIDE_DIE_34033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_34033", action = "action_EVENT_MONSTER_TIDE_DIE_34033", trigger_count = 0 },
{ config_id = 1034034, name = "MONSTER_TIDE_DIE_34034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_34034", action = "action_EVENT_MONSTER_TIDE_DIE_34034", trigger_count = 0 },
{ config_id = 1034035, name = "MONSTER_TIDE_DIE_34035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_34035", action = "action_EVENT_MONSTER_TIDE_DIE_34035", trigger_count = 0 },
{ config_id = 1034036, name = "MONSTER_TIDE_DIE_34036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_34036", action = "action_EVENT_MONSTER_TIDE_DIE_34036", trigger_count = 0 },
{ config_id = 1034037, name = "MONSTER_TIDE_DIE_34037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_34037", action = "action_EVENT_MONSTER_TIDE_DIE_34037", trigger_count = 0 },
{ config_id = 1034038, name = "MONSTER_TIDE_DIE_34038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_34038", action = "action_EVENT_MONSTER_TIDE_DIE_34038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 34002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_34023", "MONSTER_TIDE_DIE_34024", "MONSTER_TIDE_DIE_34025", "MONSTER_TIDE_DIE_34026", "MONSTER_TIDE_DIE_34027", "MONSTER_TIDE_DIE_34028", "MONSTER_TIDE_DIE_34029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 34003, 34004, 34005, 34006, 34007, 34008, 34009, 34010, 34011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 34020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_34032", "MONSTER_TIDE_DIE_34033", "MONSTER_TIDE_DIE_34034", "MONSTER_TIDE_DIE_34035", "MONSTER_TIDE_DIE_34036", "MONSTER_TIDE_DIE_34037", "MONSTER_TIDE_DIE_34038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 34001, 34012, 34013, 34014, 34015, 34016, 34017, 34018, 34019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_34023(context, evt)
if 34002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_34023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001034, {34003,34004}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001034, {34005,34006}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001034, {34007,34008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_34024(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_34024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001034, {34009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_34025(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_34025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001034, {34010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_34026(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_34026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001034, {34011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_34027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_34027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001034, {34003,34004}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_34028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_34028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001034, {34005,34006}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_34029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_34029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001034, {34007,34008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_34032(context, evt)
if 34020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_34032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001034, {34001,34012}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001034, {34013,34014}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001034, {34015,34016}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_34033(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_34033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001034, {34017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_34034(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_34034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001034, {34018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_34035(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_34035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001034, {34019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_34036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_34036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001034, {34001,34012}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_34037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_34037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001034, {34013,34014}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_34038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_34038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001034, {34015,34016}, 6, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001035
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 35001, monster_id = 25010201, pos = { x = 2540.745, y = 218.887, z = -1432.914 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 35002, monster_id = 25010201, pos = { x = 2548.990, y = 217.948, z = -1441.712 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 35003, monster_id = 25010201, pos = { x = 2540.745, y = 218.887, z = -1432.914 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 35004, monster_id = 25010201, pos = { x = 2546.773, y = 218.510, z = -1431.625 }, rot = { x = 0.000, y = 199.621, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 35005, monster_id = 25060101, pos = { x = 2549.406, y = 218.262, z = -1433.663 }, rot = { x = 0.000, y = 233.468, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 35006, monster_id = 25060101, pos = { x = 2540.237, y = 219.054, z = -1439.168 }, rot = { x = 0.000, y = 54.754, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 35007, monster_id = 25010301, pos = { x = 2553.138, y = 217.632, z = -1434.817 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 35008, monster_id = 25010501, pos = { x = 2537.080, y = 219.249, z = -1434.145 }, rot = { x = 0.000, y = 102.013, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 35009, monster_id = 25010701, pos = { x = 2545.857, y = 218.512, z = -1442.683 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 1 },
{ config_id = 35010, monster_id = 25030301, pos = { x = 2544.075, y = 218.338, z = -1431.575 }, rot = { x = 0.000, y = 131.317, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 1 },
{ config_id = 35011, monster_id = 25070101, pos = { x = 2550.352, y = 217.813, z = -1438.717 }, rot = { x = 0.000, y = 287.248, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 1 },
{ config_id = 35012, monster_id = 25010201, pos = { x = 2546.773, y = 218.510, z = -1431.625 }, rot = { x = 0.000, y = 199.621, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 35013, monster_id = 25060101, pos = { x = 2549.406, y = 218.262, z = -1433.663 }, rot = { x = 0.000, y = 233.468, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 35014, monster_id = 25060101, pos = { x = 2540.237, y = 219.054, z = -1439.168 }, rot = { x = 0.000, y = 54.754, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 35015, monster_id = 25010301, pos = { x = 2553.138, y = 217.632, z = -1434.817 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 35016, monster_id = 25010501, pos = { x = 2537.080, y = 219.249, z = -1434.145 }, rot = { x = 0.000, y = 102.013, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 35017, monster_id = 25010701, pos = { x = 2545.857, y = 218.512, z = -1442.683 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 1 },
{ config_id = 35018, monster_id = 25030301, pos = { x = 2544.075, y = 218.338, z = -1431.575 }, rot = { x = 0.000, y = 131.317, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 1 },
{ config_id = 35019, monster_id = 25070101, pos = { x = 2550.352, y = 217.813, z = -1438.717 }, rot = { x = 0.000, y = 287.248, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 1 },
{ config_id = 35020, monster_id = 25010201, pos = { x = 2548.990, y = 217.948, z = -1441.712 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1035023, name = "ANY_MONSTER_LIVE_35023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_35023", action = "action_EVENT_ANY_MONSTER_LIVE_35023", trigger_count = 0 },
{ config_id = 1035024, name = "MONSTER_TIDE_DIE_35024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_35024", action = "action_EVENT_MONSTER_TIDE_DIE_35024", trigger_count = 0 },
{ config_id = 1035025, name = "MONSTER_TIDE_DIE_35025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_35025", action = "action_EVENT_MONSTER_TIDE_DIE_35025", trigger_count = 0 },
{ config_id = 1035026, name = "MONSTER_TIDE_DIE_35026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_35026", action = "action_EVENT_MONSTER_TIDE_DIE_35026", trigger_count = 0 },
{ config_id = 1035027, name = "MONSTER_TIDE_DIE_35027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_35027", action = "action_EVENT_MONSTER_TIDE_DIE_35027", trigger_count = 0 },
{ config_id = 1035028, name = "MONSTER_TIDE_DIE_35028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_35028", action = "action_EVENT_MONSTER_TIDE_DIE_35028", trigger_count = 0 },
{ config_id = 1035029, name = "MONSTER_TIDE_DIE_35029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_35029", action = "action_EVENT_MONSTER_TIDE_DIE_35029", trigger_count = 0 },
{ config_id = 1035032, name = "ANY_MONSTER_LIVE_35032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_35032", action = "action_EVENT_ANY_MONSTER_LIVE_35032", trigger_count = 0 },
{ config_id = 1035033, name = "MONSTER_TIDE_DIE_35033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_35033", action = "action_EVENT_MONSTER_TIDE_DIE_35033", trigger_count = 0 },
{ config_id = 1035034, name = "MONSTER_TIDE_DIE_35034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_35034", action = "action_EVENT_MONSTER_TIDE_DIE_35034", trigger_count = 0 },
{ config_id = 1035035, name = "MONSTER_TIDE_DIE_35035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_35035", action = "action_EVENT_MONSTER_TIDE_DIE_35035", trigger_count = 0 },
{ config_id = 1035036, name = "MONSTER_TIDE_DIE_35036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_35036", action = "action_EVENT_MONSTER_TIDE_DIE_35036", trigger_count = 0 },
{ config_id = 1035037, name = "MONSTER_TIDE_DIE_35037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_35037", action = "action_EVENT_MONSTER_TIDE_DIE_35037", trigger_count = 0 },
{ config_id = 1035038, name = "MONSTER_TIDE_DIE_35038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_35038", action = "action_EVENT_MONSTER_TIDE_DIE_35038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 35002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_35023", "MONSTER_TIDE_DIE_35024", "MONSTER_TIDE_DIE_35025", "MONSTER_TIDE_DIE_35026", "MONSTER_TIDE_DIE_35027", "MONSTER_TIDE_DIE_35028", "MONSTER_TIDE_DIE_35029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 35003, 35004, 35005, 35006, 35007, 35008, 35009, 35010, 35011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 35020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_35032", "MONSTER_TIDE_DIE_35033", "MONSTER_TIDE_DIE_35034", "MONSTER_TIDE_DIE_35035", "MONSTER_TIDE_DIE_35036", "MONSTER_TIDE_DIE_35037", "MONSTER_TIDE_DIE_35038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 35001, 35012, 35013, 35014, 35015, 35016, 35017, 35018, 35019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_35023(context, evt)
if 35002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_35023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001035, {35003,35004}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001035, {35005,35006}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001035, {35007,35008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_35024(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_35024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001035, {35009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_35025(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_35025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001035, {35010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_35026(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_35026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001035, {35011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_35027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_35027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001035, {35003,35004}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_35028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_35028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001035, {35005,35006}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_35029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_35029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001035, {35007,35008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_35032(context, evt)
if 35020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_35032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001035, {35001,35012}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001035, {35013,35014}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001035, {35015,35016}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_35033(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_35033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001035, {35017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_35034(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_35034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001035, {35018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_35035(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_35035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001035, {35019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_35036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_35036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001035, {35001,35012}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_35037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_35037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001035, {35013,35014}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_35038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_35038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001035, {35015,35016}, 6, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,159 @@
-- 基础信息
local base_info = {
group_id = 302001036
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 36001, monster_id = 23020101, pos = { x = 1605.070, y = 225.647, z = 1269.952 }, rot = { x = 0.000, y = 63.547, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 36002, monster_id = 23020101, pos = { x = 1615.821, y = 226.589, z = 1284.219 }, rot = { x = 0.000, y = 191.985, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 36003, monster_id = 23020101, pos = { x = 1605.070, y = 225.647, z = 1269.952 }, rot = { x = 0.000, y = 54.739, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 36004, monster_id = 23020101, pos = { x = 1625.204, y = 224.610, z = 1273.282 }, rot = { x = 0.000, y = 268.441, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 36005, monster_id = 23020101, pos = { x = 1606.209, y = 226.758, z = 1279.254 }, rot = { x = 0.000, y = 91.983, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 36006, monster_id = 23020101, pos = { x = 1622.597, y = 225.658, z = 1281.375 }, rot = { x = 0.000, y = 246.248, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 36007, monster_id = 23020101, pos = { x = 1606.209, y = 226.758, z = 1279.254 }, rot = { x = 0.000, y = 91.983, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 1006, 4103, 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 36008, monster_id = 23020101, pos = { x = 1622.597, y = 225.658, z = 1281.375 }, rot = { x = 0.000, y = 246.248, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 1006, 4103, 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 36012, monster_id = 23020101, pos = { x = 1625.204, y = 224.610, z = 1273.282 }, rot = { x = 0.000, y = 256.040, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 36020, monster_id = 23020101, pos = { x = 1615.821, y = 226.589, z = 1284.219 }, rot = { x = 0.000, y = 195.216, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 150, area_id = 5 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1036023, name = "ANY_MONSTER_DIE_36023", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_36023", action = "action_EVENT_ANY_MONSTER_DIE_36023", trigger_count = 0 },
{ config_id = 1036032, name = "ANY_MONSTER_DIE_36032", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_36032", action = "action_EVENT_ANY_MONSTER_DIE_36032", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 36002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_36023" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 36003, 36004, 36005, 36006 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 36020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_36032" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 36001, 36007, 36008, 36012 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_36023(context, evt)
if 36002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_36023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001036, {36003,36004,36005,36006}, 99999, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_36032(context, evt)
if 36020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_36032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001036, {36001,36012,36007,36008}, 99999, 1, 1) then
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001037
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 37001, monster_id = 21010701, pos = { x = 2190.519, y = 227.101, z = -1246.804 }, rot = { x = 0.000, y = 103.479, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 37002, monster_id = 21010701, pos = { x = 2205.115, y = 228.748, z = -1253.709 }, rot = { x = 0.000, y = 298.645, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 37003, monster_id = 21010701, pos = { x = 2190.519, y = 227.101, z = -1246.804 }, rot = { x = 0.000, y = 103.479, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 37004, monster_id = 21010701, pos = { x = 2202.456, y = 229.177, z = -1242.471 }, rot = { x = 0.000, y = 207.714, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 37005, monster_id = 21010701, pos = { x = 2190.360, y = 227.053, z = -1248.554 }, rot = { x = 0.000, y = 118.753, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 37006, monster_id = 21010701, pos = { x = 2194.519, y = 228.536, z = -1256.871 }, rot = { x = 0.000, y = 28.806, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 37007, monster_id = 21011001, pos = { x = 2197.834, y = 228.823, z = -1257.557 }, rot = { x = 0.000, y = 342.793, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 37008, monster_id = 21011001, pos = { x = 2196.660, y = 227.907, z = -1239.905 }, rot = { x = 0.000, y = 179.755, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 37009, monster_id = 21030301, pos = { x = 2206.113, y = 228.948, z = -1247.681 }, rot = { x = 0.000, y = 257.262, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 1 },
{ config_id = 37010, monster_id = 21020201, pos = { x = 2203.974, y = 229.624, z = -1257.250 }, rot = { x = 0.000, y = 323.341, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 1 },
{ config_id = 37011, monster_id = 21020201, pos = { x = 2193.391, y = 227.362, z = -1242.840 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 1 },
{ config_id = 37012, monster_id = 21010701, pos = { x = 2202.456, y = 229.177, z = -1242.471 }, rot = { x = 0.000, y = 207.714, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 37013, monster_id = 21010701, pos = { x = 2190.360, y = 227.053, z = -1248.554 }, rot = { x = 0.000, y = 118.753, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 37014, monster_id = 21010701, pos = { x = 2194.519, y = 228.536, z = -1256.871 }, rot = { x = 0.000, y = 28.806, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 37015, monster_id = 21011001, pos = { x = 2197.834, y = 228.823, z = -1257.557 }, rot = { x = 0.000, y = 342.793, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 37016, monster_id = 21011001, pos = { x = 2196.660, y = 227.907, z = -1239.905 }, rot = { x = 0.000, y = 179.755, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 },
{ config_id = 37017, monster_id = 21030301, pos = { x = 2206.113, y = 228.948, z = -1247.681 }, rot = { x = 0.000, y = 257.262, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 1 },
{ config_id = 37018, monster_id = 21020201, pos = { x = 2203.974, y = 229.624, z = -1257.250 }, rot = { x = 0.000, y = 323.341, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 1 },
{ config_id = 37019, monster_id = 21020201, pos = { x = 2193.391, y = 227.362, z = -1242.840 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 1 },
{ config_id = 37020, monster_id = 21010701, pos = { x = 2205.115, y = 228.748, z = -1253.709 }, rot = { x = 0.000, y = 298.645, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1037023, name = "ANY_MONSTER_LIVE_37023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_37023", action = "action_EVENT_ANY_MONSTER_LIVE_37023", trigger_count = 0 },
{ config_id = 1037024, name = "MONSTER_TIDE_DIE_37024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_37024", action = "action_EVENT_MONSTER_TIDE_DIE_37024", trigger_count = 0 },
{ config_id = 1037025, name = "MONSTER_TIDE_DIE_37025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_37025", action = "action_EVENT_MONSTER_TIDE_DIE_37025", trigger_count = 0 },
{ config_id = 1037026, name = "MONSTER_TIDE_DIE_37026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_37026", action = "action_EVENT_MONSTER_TIDE_DIE_37026", trigger_count = 0 },
{ config_id = 1037027, name = "MONSTER_TIDE_DIE_37027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_37027", action = "action_EVENT_MONSTER_TIDE_DIE_37027", trigger_count = 0 },
{ config_id = 1037028, name = "MONSTER_TIDE_DIE_37028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_37028", action = "action_EVENT_MONSTER_TIDE_DIE_37028", trigger_count = 0 },
{ config_id = 1037029, name = "MONSTER_TIDE_DIE_37029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_37029", action = "action_EVENT_MONSTER_TIDE_DIE_37029", trigger_count = 0 },
{ config_id = 1037032, name = "ANY_MONSTER_LIVE_37032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_37032", action = "action_EVENT_ANY_MONSTER_LIVE_37032", trigger_count = 0 },
{ config_id = 1037033, name = "MONSTER_TIDE_DIE_37033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_37033", action = "action_EVENT_MONSTER_TIDE_DIE_37033", trigger_count = 0 },
{ config_id = 1037034, name = "MONSTER_TIDE_DIE_37034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_37034", action = "action_EVENT_MONSTER_TIDE_DIE_37034", trigger_count = 0 },
{ config_id = 1037035, name = "MONSTER_TIDE_DIE_37035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_37035", action = "action_EVENT_MONSTER_TIDE_DIE_37035", trigger_count = 0 },
{ config_id = 1037036, name = "MONSTER_TIDE_DIE_37036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_37036", action = "action_EVENT_MONSTER_TIDE_DIE_37036", trigger_count = 0 },
{ config_id = 1037037, name = "MONSTER_TIDE_DIE_37037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_37037", action = "action_EVENT_MONSTER_TIDE_DIE_37037", trigger_count = 0 },
{ config_id = 1037038, name = "MONSTER_TIDE_DIE_37038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_37038", action = "action_EVENT_MONSTER_TIDE_DIE_37038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 37002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_37023", "MONSTER_TIDE_DIE_37024", "MONSTER_TIDE_DIE_37025", "MONSTER_TIDE_DIE_37026", "MONSTER_TIDE_DIE_37027", "MONSTER_TIDE_DIE_37028", "MONSTER_TIDE_DIE_37029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 37003, 37004, 37005, 37006, 37007, 37008, 37009, 37010, 37011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 37020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_37032", "MONSTER_TIDE_DIE_37033", "MONSTER_TIDE_DIE_37034", "MONSTER_TIDE_DIE_37035", "MONSTER_TIDE_DIE_37036", "MONSTER_TIDE_DIE_37037", "MONSTER_TIDE_DIE_37038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 37001, 37012, 37013, 37014, 37015, 37016, 37017, 37018, 37019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_37023(context, evt)
if 37002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_37023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001037, {37003,37004}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001037, {37005,37006}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001037, {37007,37008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_37024(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_37024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001037, {37009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_37025(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_37025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001037, {37010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_37026(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_37026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001037, {37011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_37027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_37027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001037, {37003,37004}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_37028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_37028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001037, {37005,37006}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_37029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_37029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001037, {37007,37008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_37032(context, evt)
if 37020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_37032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001037, {37001,37012}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001037, {37013,37014}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001037, {37015,37016}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_37033(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_37033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001037, {37017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_37034(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_37034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001037, {37018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_37035(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_37035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001037, {37019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_37036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_37036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001037, {37001,37012}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_37037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_37037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001037, {37013,37014}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_37038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_37038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001037, {37015,37016}, 6, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,191 @@
-- 基础信息
local base_info = {
group_id = 302001038
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 38001, monster_id = 21011201, pos = { x = 1426.050, y = 212.856, z = 1107.484 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38002, monster_id = 21011201, pos = { x = 1434.075, y = 213.670, z = 1099.998 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38003, monster_id = 21011201, pos = { x = 1426.050, y = 212.856, z = 1107.484 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38004, monster_id = 21011201, pos = { x = 1433.642, y = 213.792, z = 1107.103 }, rot = { x = 0.000, y = 207.264, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38005, monster_id = 21011001, pos = { x = 1432.871, y = 214.255, z = 1112.523 }, rot = { x = 0.000, y = 180.836, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38006, monster_id = 21010501, pos = { x = 1436.900, y = 214.505, z = 1110.182 }, rot = { x = 0.000, y = 233.732, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38007, monster_id = 21010501, pos = { x = 1427.221, y = 213.055, z = 1099.034 }, rot = { x = 0.000, y = 42.829, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38008, monster_id = 21011001, pos = { x = 1436.431, y = 213.587, z = 1097.970 }, rot = { x = 0.000, y = 301.673, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38009, monster_id = 21011201, pos = { x = 1435.857, y = 213.953, z = 1104.155 }, rot = { x = 0.000, y = 249.992, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38010, monster_id = 21011201, pos = { x = 1429.539, y = 213.195, z = 1097.823 }, rot = { x = 0.000, y = 14.289, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38011, monster_id = 21020301, pos = { x = 1425.253, y = 212.753, z = 1102.139 }, rot = { x = 0.000, y = 76.711, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 38012, monster_id = 21011201, pos = { x = 1433.642, y = 213.792, z = 1107.103 }, rot = { x = 0.000, y = 207.264, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38013, monster_id = 21011002, pos = { x = 1432.871, y = 214.255, z = 1112.523 }, rot = { x = 0.000, y = 180.836, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38014, monster_id = 21010502, pos = { x = 1436.900, y = 214.505, z = 1110.182 }, rot = { x = 0.000, y = 171.191, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38015, monster_id = 21010502, pos = { x = 1427.221, y = 213.055, z = 1099.034 }, rot = { x = 0.000, y = 42.907, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38016, monster_id = 21011002, pos = { x = 1436.431, y = 213.587, z = 1097.970 }, rot = { x = 0.000, y = 236.476, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38017, monster_id = 21011201, pos = { x = 1435.856, y = 213.953, z = 1104.155 }, rot = { x = 0.000, y = 277.523, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38018, monster_id = 21011201, pos = { x = 1429.539, y = 213.195, z = 1097.823 }, rot = { x = 0.000, y = 14.289, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38019, monster_id = 21020301, pos = { x = 1423.520, y = 212.561, z = 1103.035 }, rot = { x = 0.000, y = 96.656, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 38020, monster_id = 21011201, pos = { x = 1434.075, y = 213.670, z = 1099.998 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 38024, monster_id = 21020301, pos = { x = 1437.840, y = 213.957, z = 1103.460 }, rot = { x = 0.000, y = 262.160, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 38025, monster_id = 21020301, pos = { x = 1437.752, y = 213.937, z = 1103.272 }, rot = { x = 0.000, y = 259.682, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 50, area_id = 5 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1038023, name = "ANY_MONSTER_LIVE_38023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_38023", action = "action_EVENT_ANY_MONSTER_LIVE_38023", trigger_count = 0 },
{ config_id = 1038032, name = "ANY_MONSTER_LIVE_38032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_38032", action = "action_EVENT_ANY_MONSTER_LIVE_38032", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 38002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_38023" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 38003, 38004, 38005, 38006, 38007, 38008, 38009, 38010, 38011, 38024 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 38020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_38032" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 38001, 38012, 38013, 38014, 38015, 38016, 38017, 38018, 38019, 38025 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_38023(context, evt)
if 38002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_38023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001038, {38003,38004,38009,38010}, 99999, 1, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001038, {38005,38006,38007,38008}, 99999, 1, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001038, {38011,38024}, 99999, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_38032(context, evt)
if 38020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_38032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少2只最多3只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001038, {38001,38012,38017,38018}, 99999, 2, 3) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001038, {38013,38014,38015,38016}, 99999, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001038, {38019,38025}, 99999, 1, 1) then
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,175 @@
-- 基础信息
local base_info = {
group_id = 302001039
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 39001, monster_id = 25060101, pos = { x = 1325.117, y = 200.029, z = 930.706 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 39002, monster_id = 25030301, pos = { x = 1334.271, y = 200.006, z = 928.530 }, rot = { x = 0.000, y = 297.857, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 39003, monster_id = 25060101, pos = { x = 1325.117, y = 200.029, z = 930.706 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 39004, monster_id = 25010201, pos = { x = 1327.744, y = 200.068, z = 924.039 }, rot = { x = 0.000, y = 40.978, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 39005, monster_id = 25010201, pos = { x = 1330.669, y = 200.425, z = 934.426 }, rot = { x = 0.000, y = 176.429, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 39006, monster_id = 25030301, pos = { x = 1330.637, y = 200.000, z = 925.003 }, rot = { x = 0.000, y = 313.421, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 39007, monster_id = 25010501, pos = { x = 1338.151, y = 200.000, z = 930.234 }, rot = { x = 0.000, y = 257.932, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 39008, monster_id = 25010601, pos = { x = 1332.155, y = 200.634, z = 937.916 }, rot = { x = 0.000, y = 167.419, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 39009, monster_id = 25010501, pos = { x = 1331.731, y = 200.000, z = 921.638 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 39010, monster_id = 25010601, pos = { x = 1321.412, y = 200.000, z = 929.323 }, rot = { x = 0.000, y = 83.741, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 39012, monster_id = 25010201, pos = { x = 1327.744, y = 200.068, z = 924.039 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 39013, monster_id = 25010201, pos = { x = 1330.669, y = 200.425, z = 934.426 }, rot = { x = 0.000, y = 158.012, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 39014, monster_id = 25030301, pos = { x = 1330.830, y = 200.000, z = 924.529 }, rot = { x = 0.000, y = 321.872, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 39015, monster_id = 25010501, pos = { x = 1338.151, y = 200.000, z = 930.234 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 39016, monster_id = 25010601, pos = { x = 1332.155, y = 200.634, z = 937.916 }, rot = { x = 0.000, y = 236.476, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 39017, monster_id = 25010501, pos = { x = 1331.731, y = 200.000, z = 921.638 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 39018, monster_id = 25010601, pos = { x = 1321.412, y = 200.000, z = 929.323 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 39020, monster_id = 25030301, pos = { x = 1334.271, y = 200.006, z = 928.530 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 50, area_id = 5 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1039023, name = "ANY_MONSTER_LIVE_39023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_39023", action = "action_EVENT_ANY_MONSTER_LIVE_39023", trigger_count = 0 },
{ config_id = 1039032, name = "ANY_MONSTER_LIVE_39032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_39032", action = "action_EVENT_ANY_MONSTER_LIVE_39032", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 39002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_39023" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 39003, 39004, 39005, 39006, 39007, 39008, 39009, 39010 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 39020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_39032" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 39001, 39012, 39013, 39014, 39015, 39016, 39017, 39018 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_39023(context, evt)
if 39002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_39023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001039, {39003,39004,39005,39006}, 99999, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001039, {39007,39008,39009,39010}, 99999, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_39032(context, evt)
if 39020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_39032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001039, {39001,39012,39013,39014}, 99999, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001039, {39015,39016,39017,39018}, 99999, 1, 1) then
return -1
end
return 0
end

View File

@@ -0,0 +1,179 @@
-- 基础信息
local base_info = {
group_id = 302001040
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 40001, monster_id = 23010301, pos = { x = 1072.929, y = 200.708, z = 767.771 }, rot = { x = 0.000, y = 39.106, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 80, area_id = 6 },
{ config_id = 40002, monster_id = 23010301, pos = { x = 1080.000, y = 200.992, z = 765.775 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 80, area_id = 6 },
{ config_id = 40003, monster_id = 23010301, pos = { x = 1072.929, y = 200.708, z = 767.771 }, rot = { x = 0.000, y = 39.106, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 80, area_id = 6 },
{ config_id = 40004, monster_id = 23010301, pos = { x = 1079.136, y = 200.623, z = 775.704 }, rot = { x = 0.000, y = 211.515, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 80, area_id = 6 },
{ config_id = 40005, monster_id = 23010101, pos = { x = 1084.351, y = 201.052, z = 765.577 }, rot = { x = 0.000, y = 315.902, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 6 },
{ config_id = 40006, monster_id = 23010101, pos = { x = 1077.391, y = 201.199, z = 762.804 }, rot = { x = 0.000, y = 0.112, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 6 },
{ config_id = 40007, monster_id = 23010301, pos = { x = 1081.995, y = 200.578, z = 770.185 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 80, area_id = 6 },
{ config_id = 40008, monster_id = 23010301, pos = { x = 1075.721, y = 200.802, z = 766.432 }, rot = { x = 0.000, y = 2.115, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 80, area_id = 6 },
{ config_id = 40009, monster_id = 21020101, pos = { x = 1080.784, y = 200.182, z = 743.896 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 30, area_id = 6 },
{ config_id = 40010, monster_id = 21020201, pos = { x = 1061.507, y = 200.833, z = 749.125 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 30, area_id = 6 },
{ config_id = 40011, monster_id = 22010201, pos = { x = 1071.348, y = 200.788, z = 770.340 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 6 },
{ config_id = 40012, monster_id = 23010301, pos = { x = 1079.136, y = 200.623, z = 775.704 }, rot = { x = 0.000, y = 211.515, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 80, area_id = 6 },
{ config_id = 40013, monster_id = 23010101, pos = { x = 1084.351, y = 201.052, z = 765.577 }, rot = { x = 0.000, y = 315.902, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 50, area_id = 6 },
{ config_id = 40014, monster_id = 23010101, pos = { x = 1077.391, y = 201.199, z = 762.804 }, rot = { x = 0.000, y = 0.112, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 50, area_id = 6 },
{ config_id = 40015, monster_id = 23010301, pos = { x = 1081.995, y = 200.578, z = 770.185 }, rot = { x = 0.000, y = 292.760, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 80, area_id = 6 },
{ config_id = 40016, monster_id = 23010301, pos = { x = 1075.721, y = 200.802, z = 766.432 }, rot = { x = 0.000, y = 2.115, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 80, area_id = 6 },
{ config_id = 40017, monster_id = 21020101, pos = { x = 1080.784, y = 200.182, z = 743.896 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 30, area_id = 6 },
{ config_id = 40018, monster_id = 21020202, pos = { x = 1061.507, y = 200.833, z = 749.125 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 30, area_id = 6 },
{ config_id = 40019, monster_id = 22010202, pos = { x = 1071.348, y = 200.788, z = 770.340 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 6 },
{ config_id = 40020, monster_id = 23010301, pos = { x = 1080.000, y = 200.992, z = 765.775 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 80, area_id = 6 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1040023, name = "ANY_MONSTER_DIE_40023", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_40023", action = "action_EVENT_ANY_MONSTER_DIE_40023", trigger_count = 0 },
{ config_id = 1040032, name = "ANY_MONSTER_DIE_40032", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_40032", action = "action_EVENT_ANY_MONSTER_DIE_40032", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 40002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_40023" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 40003, 40004, 40005, 40006, 40007, 40008, 40009, 40010, 40011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 40020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_40032" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 40001, 40012, 40013, 40014, 40015, 40016, 40017, 40018, 40019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_40023(context, evt)
if 40002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_40023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001040, {40003,40004,40007,40008}, 99999, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001040, {40005,40006}, 99999, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_40032(context, evt)
if 40020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_40032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001040, {40001,40012,40015,40016}, 99999, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001040, {40013,40014}, 99999, 1, 1) then
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,88 @@
-- 基础信息
local base_info = {
group_id = 302001041
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
{ config_id = 41001, npc_id = 30030, pos = { x = 2022.967, y = 206.051, z = -861.372 }, rot = { x = 0.000, y = 144.000, z = 0.000 }, area_id = 3 },
{ config_id = 41002, npc_id = 30031, pos = { x = 2034.301, y = 206.375, z = -879.068 }, rot = { x = 0.000, y = 220.500, z = 0.000 }, area_id = 3 },
{ config_id = 41003, npc_id = 30011, pos = { x = 2022.642, y = 204.827, z = -864.836 }, rot = { x = 0.000, y = 106.800, z = 0.000 }, area_id = 3 },
{ config_id = 41004, npc_id = 30017, pos = { x = 2031.266, y = 205.286, z = -873.891 }, rot = { x = 0.000, y = 257.300, z = 0.000 }, area_id = 3 }
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = NPC睡着,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
npcs = { 41001, 41002 },
rand_weight = 100,
ban_refresh = true
},
{
-- suite_id = 2,
-- description = NPC醒来,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
npcs = { 41003, 41004 },
rand_weight = 100,
ban_refresh = true
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,92 @@
-- 基础信息
local base_info = {
group_id = 302001042
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
{ config_id = 42001, npc_id = 30032, pos = { x = 928.776, y = 209.815, z = 277.476 }, rot = { x = 3.470, y = 269.850, z = 0.000 }, area_id = 5 },
{ config_id = 42002, npc_id = 30033, pos = { x = 881.051, y = 209.863, z = 264.823 }, rot = { x = 0.000, y = 20.590, z = 0.000 }, area_id = 5 },
{ config_id = 42003, npc_id = 30034, pos = { x = 872.465, y = 209.579, z = 283.168 }, rot = { x = 0.000, y = 121.690, z = 0.000 }, area_id = 5 },
{ config_id = 42004, npc_id = 30020, pos = { x = 927.275, y = 208.066, z = 282.566 }, rot = { x = 0.000, y = 264.100, z = 0.000 }, area_id = 5 },
{ config_id = 42005, npc_id = 30021, pos = { x = 885.593, y = 208.655, z = 266.445 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, area_id = 5 },
{ config_id = 42006, npc_id = 30022, pos = { x = 878.668, y = 208.276, z = 282.690 }, rot = { x = 0.000, y = 195.670, z = 0.000 }, area_id = 5 }
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = NPC睡着,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
npcs = { 42001, 42002, 42003 },
rand_weight = 100,
ban_refresh = true
},
{
-- suite_id = 2,
-- description = NPC醒来,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
npcs = { 42004, 42005, 42006 },
rand_weight = 100,
ban_refresh = true
}
}
--================================================================
--
-- 触发器
--
--================================================================
require "AsterMiddle"

View File

@@ -0,0 +1,86 @@
-- 基础信息
local base_info = {
group_id = 302001043
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
{ config_id = 43001, npc_id = 30035, pos = { x = 1782.358, y = 254.608, z = 494.324 }, rot = { x = 0.000, y = 251.900, z = 0.000 }, area_id = 5 },
{ config_id = 43002, npc_id = 30026, pos = { x = 1779.647, y = 253.639, z = 495.521 }, rot = { x = 0.000, y = 298.010, z = 0.000 }, area_id = 5 }
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = NPC睡着,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
npcs = { 43001 },
rand_weight = 100,
ban_refresh = true
},
{
-- suite_id = 2,
-- description = NPC醒来,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
npcs = { 43002 },
rand_weight = 100,
ban_refresh = true
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,428 @@
-- 基础信息
local base_info = {
group_id = 302001044
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 44001, monster_id = 25010701, pos = { x = -115.011, y = 252.653, z = -98.051 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 44002, monster_id = 25010201, pos = { x = -101.636, y = 254.678, z = -109.511 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 44003, monster_id = 25010701, pos = { x = -115.011, y = 252.653, z = -98.051 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 44004, monster_id = 25010701, pos = { x = -108.082, y = 253.490, z = -93.728 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 44005, monster_id = 25060101, pos = { x = -98.382, y = 254.862, z = -95.708 }, rot = { x = 0.000, y = 230.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 44006, monster_id = 25060101, pos = { x = -117.971, y = 252.710, z = -104.669 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 44007, monster_id = 25010301, pos = { x = -97.978, y = 254.975, z = -101.230 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 44008, monster_id = 25010501, pos = { x = -98.262, y = 255.035, z = -105.742 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 44009, monster_id = 25030301, pos = { x = -107.313, y = 253.799, z = -111.674 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 44010, monster_id = 25070101, pos = { x = -114.104, y = 252.975, z = -111.336 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 44011, monster_id = 25030201, pos = { x = -111.774, y = 253.045, z = -92.391 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 44012, monster_id = 25010701, pos = { x = -108.082, y = 253.490, z = -93.728 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 44013, monster_id = 25060101, pos = { x = -98.382, y = 254.862, z = -95.708 }, rot = { x = 0.000, y = 230.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 44014, monster_id = 25060101, pos = { x = -117.971, y = 252.710, z = -104.669 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 44015, monster_id = 25010301, pos = { x = -97.978, y = 254.975, z = -101.230 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 44016, monster_id = 25010501, pos = { x = -98.262, y = 255.035, z = -105.742 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 44017, monster_id = 25030301, pos = { x = -107.313, y = 253.799, z = -111.674 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 44018, monster_id = 25070101, pos = { x = -114.104, y = 252.975, z = -111.336 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 44019, monster_id = 25030201, pos = { x = -111.774, y = 253.045, z = -92.391 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 },
{ config_id = 44020, monster_id = 25010201, pos = { x = -101.636, y = 254.678, z = -109.511 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4109, 4108 }, kill_score = 20, area_id = 7 },
{ config_id = 44040, monster_id = 25030301, pos = { x = -103.080, y = 254.205, z = -94.792 }, rot = { x = 0.000, y = 210.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 7 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1044023, name = "ANY_MONSTER_LIVE_44023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_44023", action = "action_EVENT_ANY_MONSTER_LIVE_44023", trigger_count = 0 },
{ config_id = 1044024, name = "MONSTER_TIDE_DIE_44024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_44024", action = "action_EVENT_MONSTER_TIDE_DIE_44024", trigger_count = 0 },
{ config_id = 1044025, name = "MONSTER_TIDE_DIE_44025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_44025", action = "action_EVENT_MONSTER_TIDE_DIE_44025", trigger_count = 0 },
{ config_id = 1044026, name = "MONSTER_TIDE_DIE_44026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_44026", action = "action_EVENT_MONSTER_TIDE_DIE_44026", trigger_count = 0 },
{ config_id = 1044027, name = "MONSTER_TIDE_DIE_44027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_44027", action = "action_EVENT_MONSTER_TIDE_DIE_44027", trigger_count = 0 },
{ config_id = 1044028, name = "MONSTER_TIDE_DIE_44028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_44028", action = "action_EVENT_MONSTER_TIDE_DIE_44028", trigger_count = 0 },
{ config_id = 1044029, name = "MONSTER_TIDE_DIE_44029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_44029", action = "action_EVENT_MONSTER_TIDE_DIE_44029", trigger_count = 0 },
{ config_id = 1044032, name = "ANY_MONSTER_LIVE_44032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_44032", action = "action_EVENT_ANY_MONSTER_LIVE_44032", trigger_count = 0 },
{ config_id = 1044033, name = "MONSTER_TIDE_DIE_44033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_44033", action = "action_EVENT_MONSTER_TIDE_DIE_44033", trigger_count = 0 },
{ config_id = 1044034, name = "MONSTER_TIDE_DIE_44034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_44034", action = "action_EVENT_MONSTER_TIDE_DIE_44034", trigger_count = 0 },
{ config_id = 1044035, name = "MONSTER_TIDE_DIE_44035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_44035", action = "action_EVENT_MONSTER_TIDE_DIE_44035", trigger_count = 0 },
{ config_id = 1044036, name = "MONSTER_TIDE_DIE_44036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_44036", action = "action_EVENT_MONSTER_TIDE_DIE_44036", trigger_count = 0 },
{ config_id = 1044037, name = "MONSTER_TIDE_DIE_44037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_44037", action = "action_EVENT_MONSTER_TIDE_DIE_44037", trigger_count = 0 },
{ config_id = 1044038, name = "MONSTER_TIDE_DIE_44038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_44038", action = "action_EVENT_MONSTER_TIDE_DIE_44038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 44002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_44023", "MONSTER_TIDE_DIE_44024", "MONSTER_TIDE_DIE_44025", "MONSTER_TIDE_DIE_44026", "MONSTER_TIDE_DIE_44027", "MONSTER_TIDE_DIE_44028", "MONSTER_TIDE_DIE_44029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 44003, 44004, 44005, 44006, 44007, 44008, 44009, 44010, 44011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 44020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_44032", "MONSTER_TIDE_DIE_44033", "MONSTER_TIDE_DIE_44034", "MONSTER_TIDE_DIE_44035", "MONSTER_TIDE_DIE_44036", "MONSTER_TIDE_DIE_44037", "MONSTER_TIDE_DIE_44038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 44001, 44012, 44013, 44014, 44015, 44016, 44017, 44018, 44019, 44040 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_44023(context, evt)
if 44002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_44023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001044, {44003,44004}, 3, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001044, {44005,44006}, 3, 1, 1) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001044, {44007,44008}, 4, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_44024(context, evt)
if 3 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_44024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001044, {44009}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_44025(context, evt)
if 3 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_44025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001044, {44010}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_44026(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_44026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001044, {44011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_44027(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_44027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001044, {44003,44004}, 3, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_44028(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_44028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为3场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001044, {44005,44006}, 3, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_44029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_44029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001044, {44007,44008}, 4, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_44032(context, evt)
if 44020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_44032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001044, {44001,44012}, 4, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001044, {44013,44014}, 2, 1, 1) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001044, {44015,44016}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_44033(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_44033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001044, {44017,44040}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_44034(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_44034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001044, {44018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_44035(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_44035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001044, {44019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_44036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_44036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001044, {44001,44012}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_44037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_44037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001044, {44013,44014}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_44038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_44038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001044, {44015,44016}, 4, 2, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,259 @@
-- 基础信息
local base_info = {
group_id = 302001045
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 45001, monster_id = 23020102, pos = { x = 26.491, y = 267.701, z = 120.744 }, rot = { x = 0.000, y = 160.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 7 },
{ config_id = 45002, monster_id = 23020101, pos = { x = 30.327, y = 267.366, z = 121.705 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 7 },
{ config_id = 45003, monster_id = 23020102, pos = { x = 26.491, y = 267.701, z = 120.744 }, rot = { x = 0.000, y = 160.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 7 },
{ config_id = 45004, monster_id = 23020101, pos = { x = 34.304, y = 267.966, z = 119.090 }, rot = { x = 0.000, y = 210.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 7 },
{ config_id = 45012, monster_id = 23020102, pos = { x = 34.304, y = 267.966, z = 119.090 }, rot = { x = 0.000, y = 210.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 7 },
{ config_id = 45013, monster_id = 25010301, pos = { x = 23.485, y = 268.373, z = 118.698 }, rot = { x = 0.000, y = 120.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 45014, monster_id = 25010301, pos = { x = 36.423, y = 268.148, z = 118.689 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 7 },
{ config_id = 45020, monster_id = 23020102, pos = { x = 30.327, y = 267.366, z = 121.705 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 7 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1045005, name = "ANY_MONSTER_DIE_45005", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_45005", action = "action_EVENT_ANY_MONSTER_DIE_45005" },
{ config_id = 1045023, name = "ANY_MONSTER_DIE_45023", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_45023", action = "action_EVENT_ANY_MONSTER_DIE_45023" },
{ config_id = 1045024, name = "MONSTER_TIDE_DIE_45024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_45024", action = "action_EVENT_MONSTER_TIDE_DIE_45024", trigger_count = 0 },
{ config_id = 1045025, name = "MONSTER_TIDE_DIE_45025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_45025", action = "action_EVENT_MONSTER_TIDE_DIE_45025", trigger_count = 0 },
{ config_id = 1045032, name = "ANY_MONSTER_LIVE_45032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_45032", action = "action_EVENT_ANY_MONSTER_LIVE_45032", trigger_count = 0 },
{ config_id = 1045033, name = "MONSTER_TIDE_DIE_45033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_45033", action = "action_EVENT_MONSTER_TIDE_DIE_45033", trigger_count = 0 },
{ config_id = 1045034, name = "MONSTER_TIDE_DIE_45034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_45034", action = "action_EVENT_MONSTER_TIDE_DIE_45034", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 45002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_45023", "MONSTER_TIDE_DIE_45024", "MONSTER_TIDE_DIE_45025" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 45003, 45004 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 45020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_45005", "ANY_MONSTER_LIVE_45032", "MONSTER_TIDE_DIE_45033", "MONSTER_TIDE_DIE_45034" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 45001, 45012, 45013, 45014 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_45005(context, evt)
--判断死亡怪物的configid是否为 45020
if evt.param1 ~= 45020 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_45005(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001045, {45001}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_45023(context, evt)
--判断死亡怪物的configid是否为 45002
if evt.param1 ~= 45002 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_45023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001045, {45003}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_45024(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_45024(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001045, {45004}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_45025(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_45025(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001045, {45003}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_45032(context, evt)
if 45020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_45032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为10场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001045, {45013,45014}, 10, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_45033(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_45033(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001045, {45012}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_45034(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_45034(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001045, {45001}, 1, 1, 1) then
return -1
end
return 0
end

View File

@@ -0,0 +1,332 @@
-- 基础信息
local base_info = {
group_id = 302001046
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 46001, monster_id = 21020202, pos = { x = 248.675, y = 224.595, z = 249.938 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46002, monster_id = 21011001, pos = { x = 237.356, y = 225.848, z = 244.581 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 46003, monster_id = 21020201, pos = { x = 248.675, y = 224.595, z = 249.938 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46004, monster_id = 21020201, pos = { x = 247.801, y = 224.613, z = 245.263 }, rot = { x = 0.000, y = 320.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46005, monster_id = 21020201, pos = { x = 247.750, y = 224.534, z = 255.969 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46006, monster_id = 21020201, pos = { x = 240.487, y = 225.541, z = 244.159 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46007, monster_id = 21020301, pos = { x = 244.106, y = 223.913, z = 259.034 }, rot = { x = 0.000, y = 220.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46008, monster_id = 21020301, pos = { x = 250.924, y = 224.354, z = 246.584 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46009, monster_id = 22010101, pos = { x = 244.191, y = 226.305, z = 244.602 }, rot = { x = 0.000, y = 330.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46012, monster_id = 21020202, pos = { x = 247.801, y = 224.613, z = 245.263 }, rot = { x = 0.000, y = 320.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46013, monster_id = 21020301, pos = { x = 247.750, y = 224.534, z = 255.969 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46014, monster_id = 21020301, pos = { x = 240.487, y = 225.541, z = 244.159 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46015, monster_id = 22010102, pos = { x = 244.191, y = 226.305, z = 244.602 }, rot = { x = 0.000, y = 330.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46016, monster_id = 21020202, pos = { x = 250.924, y = 224.354, z = 246.584 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46020, monster_id = 21011002, pos = { x = 237.356, y = 225.848, z = 244.581 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1046023, name = "ANY_MONSTER_LIVE_46023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_46023", action = "action_EVENT_ANY_MONSTER_LIVE_46023", trigger_count = 0 },
{ config_id = 1046024, name = "MONSTER_TIDE_DIE_46024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_46024", action = "action_EVENT_MONSTER_TIDE_DIE_46024", trigger_count = 0 },
{ config_id = 1046025, name = "MONSTER_TIDE_DIE_46025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_46025", action = "action_EVENT_MONSTER_TIDE_DIE_46025", trigger_count = 0 },
{ config_id = 1046027, name = "MONSTER_TIDE_DIE_46027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_46027", action = "action_EVENT_MONSTER_TIDE_DIE_46027", trigger_count = 0 },
{ config_id = 1046028, name = "MONSTER_TIDE_DIE_46028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_46028", action = "action_EVENT_MONSTER_TIDE_DIE_46028", trigger_count = 0 },
{ config_id = 1046032, name = "ANY_MONSTER_LIVE_46032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_46032", action = "action_EVENT_ANY_MONSTER_LIVE_46032", trigger_count = 0 },
{ config_id = 1046033, name = "MONSTER_TIDE_DIE_46033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_46033", action = "action_EVENT_MONSTER_TIDE_DIE_46033", trigger_count = 0 },
{ config_id = 1046034, name = "MONSTER_TIDE_DIE_46034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_46034", action = "action_EVENT_MONSTER_TIDE_DIE_46034", trigger_count = 0 },
{ config_id = 1046036, name = "MONSTER_TIDE_DIE_46036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_46036", action = "action_EVENT_MONSTER_TIDE_DIE_46036", trigger_count = 0 },
{ config_id = 1046037, name = "MONSTER_TIDE_DIE_46037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_46037", action = "action_EVENT_MONSTER_TIDE_DIE_46037", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 46002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_46023", "MONSTER_TIDE_DIE_46024", "MONSTER_TIDE_DIE_46025", "MONSTER_TIDE_DIE_46027", "MONSTER_TIDE_DIE_46028" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 46003, 46004, 46005, 46006, 46007, 46008, 46009 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 46020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_46032", "MONSTER_TIDE_DIE_46033", "MONSTER_TIDE_DIE_46034", "MONSTER_TIDE_DIE_46036", "MONSTER_TIDE_DIE_46037" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 46001, 46012, 46013, 46014, 46015, 46016 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_46023(context, evt)
if 46002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_46023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001046, {46003,46004}, 2, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001046, {46005,46006}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46024(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001046, {46007,46008}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46025(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001046, {46009}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001046, {46003,46004}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46028(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001046, {46005,46006}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_46032(context, evt)
if 46020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_46032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001046, {46001,46012}, 4, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001046, {46013,46014}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46033(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001046, {46015}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46034(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001046, {46016}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46036(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001046, {46001,46012}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46037(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001046, {46013,46014}, 2, 1, 1) then
return -1
end
return 0
end

View File

@@ -0,0 +1,167 @@
-- 基础信息
local base_info = {
group_id = 302001047
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 47001, monster_id = 23020101, pos = { x = 1254.938, y = 200.049, z = -142.256 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 180, area_id = 5 },
{ config_id = 47002, monster_id = 23020101, pos = { x = 1266.461, y = 200.410, z = -155.281 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 5 },
{ config_id = 47003, monster_id = 23020101, pos = { x = 1254.938, y = 200.049, z = -142.256 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 5 },
{ config_id = 47004, monster_id = 23020101, pos = { x = 1261.583, y = 200.354, z = -138.041 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 5 },
{ config_id = 47005, monster_id = 21010201, pos = { x = 1267.869, y = 200.161, z = -142.327 }, rot = { x = 0.000, y = 235.918, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 10, area_id = 5 },
{ config_id = 47006, monster_id = 21010201, pos = { x = 1252.843, y = 200.237, z = -154.678 }, rot = { x = 0.000, y = 53.823, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 10, area_id = 5 },
{ config_id = 47007, monster_id = 21010201, pos = { x = 1269.608, y = 200.243, z = -146.256 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 10, area_id = 5 },
{ config_id = 47008, monster_id = 20010301, pos = { x = 1270.728, y = 200.060, z = -143.612 }, rot = { x = 0.000, y = 247.353, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 15, area_id = 5 },
{ config_id = 47009, monster_id = 21010601, pos = { x = 1260.147, y = 200.908, z = -156.990 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 15, area_id = 5 },
{ config_id = 47010, monster_id = 21020201, pos = { x = 1254.972, y = 200.881, z = -160.955 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 30, area_id = 5 },
{ config_id = 47011, monster_id = 21020201, pos = { x = 1259.150, y = 200.129, z = -135.469 }, rot = { x = 0.000, y = 170.163, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 30, area_id = 5 },
{ config_id = 47012, monster_id = 23020101, pos = { x = 1261.583, y = 200.354, z = -138.041 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 180, area_id = 5 },
{ config_id = 47013, monster_id = 21010201, pos = { x = 1267.869, y = 200.161, z = -142.327 }, rot = { x = 0.000, y = 235.918, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 10, area_id = 5 },
{ config_id = 47014, monster_id = 21010201, pos = { x = 1252.843, y = 200.237, z = -154.678 }, rot = { x = 0.000, y = 53.823, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 10, area_id = 5 },
{ config_id = 47015, monster_id = 21010201, pos = { x = 1269.608, y = 200.243, z = -146.256 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 10, area_id = 5 },
{ config_id = 47016, monster_id = 20010301, pos = { x = 1270.728, y = 200.060, z = -143.612 }, rot = { x = 0.000, y = 247.353, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 15, area_id = 5 },
{ config_id = 47017, monster_id = 21010601, pos = { x = 1260.147, y = 200.908, z = -156.990 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 15, area_id = 5 },
{ config_id = 47018, monster_id = 21020201, pos = { x = 1254.972, y = 200.881, z = -160.955 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 30, area_id = 5 },
{ config_id = 47019, monster_id = 21020201, pos = { x = 1259.150, y = 200.129, z = -135.469 }, rot = { x = 0.000, y = 170.163, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 30, area_id = 5 },
{ config_id = 47020, monster_id = 23020101, pos = { x = 1266.461, y = 200.410, z = -155.281 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 180, area_id = 5 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1047023, name = "ANY_MONSTER_DIE_47023", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_47023", action = "action_EVENT_ANY_MONSTER_DIE_47023", trigger_count = 0 },
{ config_id = 1047032, name = "ANY_MONSTER_DIE_47032", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_47032", action = "action_EVENT_ANY_MONSTER_DIE_47032", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 47002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_47023" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 47003, 47004, 47005, 47006, 47007, 47008, 47009, 47010, 47011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 47020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_47032" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 47001, 47012, 47013, 47014, 47015, 47016, 47017, 47018, 47019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_47023(context, evt)
if 47002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_47023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001047, {47003,47004}, 99999, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_47032(context, evt)
if 47020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_47032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001047, {47001,47012}, 99999, 1, 1) then
return -1
end
return 0
end

View File

@@ -0,0 +1,177 @@
-- 基础信息
local base_info = {
group_id = 302001048
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 48001, monster_id = 23010401, pos = { x = 1119.631, y = 201.480, z = -13.658 }, rot = { x = 0.000, y = 134.819, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 50, area_id = 9 },
{ config_id = 48002, monster_id = 23010301, pos = { x = 1115.862, y = 201.971, z = -23.869 }, rot = { x = 0.000, y = 75.465, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 80, area_id = 9 },
{ config_id = 48003, monster_id = 23010401, pos = { x = 1119.631, y = 201.480, z = -13.658 }, rot = { x = 0.000, y = 134.819, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 50, area_id = 9 },
{ config_id = 48004, monster_id = 23010401, pos = { x = 1119.661, y = 201.674, z = -20.692 }, rot = { x = 0.000, y = 90.986, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 50, area_id = 9 },
{ config_id = 48005, monster_id = 23010301, pos = { x = 1125.262, y = 200.509, z = -10.235 }, rot = { x = 0.000, y = 156.261, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 80, area_id = 9 },
{ config_id = 48006, monster_id = 23010301, pos = { x = 1120.030, y = 201.584, z = -17.403 }, rot = { x = 0.000, y = 76.048, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 80, area_id = 9 },
{ config_id = 48007, monster_id = 23010301, pos = { x = 1125.856, y = 201.159, z = -24.253 }, rot = { x = 0.000, y = 35.187, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 80, area_id = 9 },
{ config_id = 48008, monster_id = 23010301, pos = { x = 1121.221, y = 201.210, z = -12.543 }, rot = { x = 0.000, y = 124.880, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 80, area_id = 9 },
{ config_id = 48009, monster_id = 23010301, pos = { x = 1121.395, y = 201.502, z = -21.674 }, rot = { x = 0.000, y = 42.506, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 80, area_id = 9 },
{ config_id = 48010, monster_id = 23010301, pos = { x = 1118.222, y = 201.682, z = -14.206 }, rot = { x = 0.000, y = 98.919, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 80, area_id = 9 },
{ config_id = 48011, monster_id = 22010201, pos = { x = 1116.010, y = 201.430, z = -4.564 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 },
{ config_id = 48012, monster_id = 23010401, pos = { x = 1119.661, y = 201.674, z = -20.692 }, rot = { x = 0.000, y = 90.986, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 50, area_id = 9 },
{ config_id = 48013, monster_id = 23010301, pos = { x = 1125.262, y = 200.509, z = -10.235 }, rot = { x = 0.000, y = 156.261, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 80, area_id = 9 },
{ config_id = 48014, monster_id = 23010301, pos = { x = 1120.030, y = 201.584, z = -17.403 }, rot = { x = 0.000, y = 76.048, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 80, area_id = 9 },
{ config_id = 48015, monster_id = 23010301, pos = { x = 1125.856, y = 201.159, z = -24.253 }, rot = { x = 0.000, y = 35.187, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 80, area_id = 9 },
{ config_id = 48016, monster_id = 23010301, pos = { x = 1121.221, y = 201.210, z = -12.543 }, rot = { x = 0.000, y = 124.880, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 80, area_id = 9 },
{ config_id = 48017, monster_id = 23010301, pos = { x = 1121.395, y = 201.502, z = -21.674 }, rot = { x = 0.000, y = 42.506, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 80, area_id = 9 },
{ config_id = 48018, monster_id = 23010301, pos = { x = 1118.222, y = 201.682, z = -14.206 }, rot = { x = 0.000, y = 98.919, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 80, area_id = 9 },
{ config_id = 48019, monster_id = 22010202, pos = { x = 1116.010, y = 201.430, z = -4.564 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 },
{ config_id = 48020, monster_id = 23010301, pos = { x = 1115.862, y = 201.971, z = -23.869 }, rot = { x = 0.000, y = 75.465, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 80, area_id = 9 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1048023, name = "ANY_MONSTER_DIE_48023", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_48023", action = "action_EVENT_ANY_MONSTER_DIE_48023", trigger_count = 0 },
{ config_id = 1048032, name = "ANY_MONSTER_DIE_48032", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_48032", action = "action_EVENT_ANY_MONSTER_DIE_48032", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 48002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_48023" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 48003, 48004, 48005, 48006, 48007, 48008, 48009, 48010, 48011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 48020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_48032" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 48001, 48012, 48013, 48014, 48015, 48016, 48017, 48018, 48019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_48023(context, evt)
if 48002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_48023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001048, {48003,48004}, 99999, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001048, {48005,48006,48007,48008,48009,48010}, 99999, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_48032(context, evt)
if 48020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_48032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001048, {48001,48012}, 99999, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001048, {48013,48014,48015,48016,48017,48018}, 99999, 1, 1) then
return -1
end
return 0
end

View File

@@ -0,0 +1,187 @@
-- 基础信息
local base_info = {
group_id = 302001049
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 49001, monster_id = 25060101, pos = { x = 841.108, y = 200.592, z = -6.183 }, rot = { x = 0.000, y = 100.807, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 },
{ config_id = 49002, monster_id = 25060101, pos = { x = 842.731, y = 201.231, z = -10.774 }, rot = { x = 0.000, y = 60.983, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 },
{ config_id = 49003, monster_id = 25060101, pos = { x = 841.108, y = 200.592, z = -6.183 }, rot = { x = 0.000, y = 100.807, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 },
{ config_id = 49004, monster_id = 25070101, pos = { x = 845.398, y = 200.764, z = -2.963 }, rot = { x = 0.000, y = 158.270, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 },
{ config_id = 49005, monster_id = 25070101, pos = { x = 850.203, y = 201.466, z = -3.758 }, rot = { x = 0.000, y = 202.290, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 },
{ config_id = 49006, monster_id = 25010201, pos = { x = 840.934, y = 200.825, z = -8.553 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 },
{ config_id = 49007, monster_id = 25010201, pos = { x = 842.742, y = 200.563, z = -4.145 }, rot = { x = 0.000, y = 123.538, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 },
{ config_id = 49008, monster_id = 25010201, pos = { x = 847.840, y = 201.072, z = -2.888 }, rot = { x = 0.000, y = 179.909, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 },
{ config_id = 49009, monster_id = 25010501, pos = { x = 843.187, y = 202.087, z = -16.128 }, rot = { x = 0.000, y = 317.454, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 },
{ config_id = 49010, monster_id = 25010301, pos = { x = 851.811, y = 202.898, z = -14.437 }, rot = { x = 0.000, y = 308.521, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 },
{ config_id = 49011, monster_id = 25010501, pos = { x = 836.714, y = 200.632, z = -7.918 }, rot = { x = 0.000, y = 97.050, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 },
{ config_id = 49012, monster_id = 25070101, pos = { x = 845.398, y = 200.764, z = -2.963 }, rot = { x = 0.000, y = 158.270, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 },
{ config_id = 49013, monster_id = 25070101, pos = { x = 850.203, y = 201.466, z = -3.758 }, rot = { x = 0.000, y = 202.290, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 },
{ config_id = 49014, monster_id = 25010201, pos = { x = 840.934, y = 200.825, z = -8.553 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 },
{ config_id = 49015, monster_id = 25010201, pos = { x = 842.742, y = 200.563, z = -4.145 }, rot = { x = 0.000, y = 123.538, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 },
{ config_id = 49016, monster_id = 25010201, pos = { x = 847.840, y = 201.072, z = -2.888 }, rot = { x = 0.000, y = 179.909, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 },
{ config_id = 49017, monster_id = 25010501, pos = { x = 842.940, y = 202.091, z = -16.349 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 },
{ config_id = 49018, monster_id = 25010301, pos = { x = 851.811, y = 202.898, z = -14.437 }, rot = { x = 0.000, y = 308.521, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 },
{ config_id = 49019, monster_id = 25010501, pos = { x = 836.714, y = 200.632, z = -7.918 }, rot = { x = 0.000, y = 97.050, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 },
{ config_id = 49020, monster_id = 25060101, pos = { x = 842.731, y = 201.231, z = -10.774 }, rot = { x = 0.000, y = 60.983, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1049023, name = "ANY_MONSTER_LIVE_49023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_49023", action = "action_EVENT_ANY_MONSTER_LIVE_49023", trigger_count = 0 },
{ config_id = 1049032, name = "ANY_MONSTER_LIVE_49032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_49032", action = "action_EVENT_ANY_MONSTER_LIVE_49032", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 49002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_49023" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 49003, 49004, 49005, 49006, 49007, 49008, 49009, 49010, 49011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 49020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_49032" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 49001, 49012, 49013, 49014, 49015, 49016, 49017, 49018, 49019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_49023(context, evt)
if 49002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_49023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001049, {49003,49004,49005}, 99999, 1, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001049, {49006,49007,49008}, 99999, 1, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001049, {49009,49010,49011}, 99999, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_49032(context, evt)
if 49020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_49032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001049, {49001,49012,49013}, 99999, 1, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001049, {49014,49015,49016}, 99999, 1, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001049, {49017,49018,49019}, 99999, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001050
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 50001, monster_id = 20011301, pos = { x = 131.664, y = 238.137, z = 281.065 }, rot = { x = 0.000, y = 120.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50002, monster_id = 21011001, pos = { x = 134.031, y = 238.111, z = 269.722 }, rot = { x = 0.000, y = 20.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 50003, monster_id = 20011301, pos = { x = 131.664, y = 238.137, z = 281.065 }, rot = { x = 0.000, y = 120.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50004, monster_id = 20011301, pos = { x = 131.494, y = 238.307, z = 272.898 }, rot = { x = 0.000, y = 70.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50005, monster_id = 20011301, pos = { x = 141.258, y = 236.934, z = 281.328 }, rot = { x = 0.000, y = 220.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50006, monster_id = 20011301, pos = { x = 144.839, y = 236.514, z = 279.555 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50007, monster_id = 20011301, pos = { x = 138.493, y = 237.726, z = 269.360 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50008, monster_id = 20011301, pos = { x = 146.526, y = 236.300, z = 275.837 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50009, monster_id = 20011301, pos = { x = 130.728, y = 238.324, z = 277.095 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50010, monster_id = 20011301, pos = { x = 137.692, y = 237.509, z = 284.007 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50011, monster_id = 20011304, pos = { x = 143.828, y = 237.071, z = 271.185 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50012, monster_id = 20011301, pos = { x = 131.494, y = 238.307, z = 272.898 }, rot = { x = 0.000, y = 70.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50013, monster_id = 20011301, pos = { x = 141.258, y = 236.934, z = 281.328 }, rot = { x = 0.000, y = 220.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50014, monster_id = 20011301, pos = { x = 144.839, y = 236.514, z = 279.555 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50015, monster_id = 20011301, pos = { x = 138.493, y = 237.726, z = 269.360 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50016, monster_id = 20011301, pos = { x = 146.526, y = 236.300, z = 275.837 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50017, monster_id = 20011301, pos = { x = 130.728, y = 238.324, z = 277.095 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50018, monster_id = 20011301, pos = { x = 137.692, y = 237.509, z = 284.007 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50019, monster_id = 20011304, pos = { x = 143.828, y = 237.071, z = 271.185 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 40, area_id = 9 },
{ config_id = 50020, monster_id = 21011002, pos = { x = 134.031, y = 238.111, z = 269.722 }, rot = { x = 0.000, y = 20.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1050023, name = "ANY_MONSTER_LIVE_50023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_50023", action = "action_EVENT_ANY_MONSTER_LIVE_50023", trigger_count = 0 },
{ config_id = 1050024, name = "MONSTER_TIDE_DIE_50024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_50024", action = "action_EVENT_MONSTER_TIDE_DIE_50024", trigger_count = 0 },
{ config_id = 1050025, name = "MONSTER_TIDE_DIE_50025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_50025", action = "action_EVENT_MONSTER_TIDE_DIE_50025", trigger_count = 0 },
{ config_id = 1050026, name = "MONSTER_TIDE_DIE_50026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_50026", action = "action_EVENT_MONSTER_TIDE_DIE_50026", trigger_count = 0 },
{ config_id = 1050027, name = "MONSTER_TIDE_DIE_50027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_50027", action = "action_EVENT_MONSTER_TIDE_DIE_50027", trigger_count = 0 },
{ config_id = 1050028, name = "MONSTER_TIDE_DIE_50028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_50028", action = "action_EVENT_MONSTER_TIDE_DIE_50028", trigger_count = 0 },
{ config_id = 1050029, name = "MONSTER_TIDE_DIE_50029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_50029", action = "action_EVENT_MONSTER_TIDE_DIE_50029", trigger_count = 0 },
{ config_id = 1050032, name = "ANY_MONSTER_LIVE_50032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_50032", action = "action_EVENT_ANY_MONSTER_LIVE_50032", trigger_count = 0 },
{ config_id = 1050033, name = "MONSTER_TIDE_DIE_50033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_50033", action = "action_EVENT_MONSTER_TIDE_DIE_50033", trigger_count = 0 },
{ config_id = 1050034, name = "MONSTER_TIDE_DIE_50034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_50034", action = "action_EVENT_MONSTER_TIDE_DIE_50034", trigger_count = 0 },
{ config_id = 1050035, name = "MONSTER_TIDE_DIE_50035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_50035", action = "action_EVENT_MONSTER_TIDE_DIE_50035", trigger_count = 0 },
{ config_id = 1050036, name = "MONSTER_TIDE_DIE_50036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_50036", action = "action_EVENT_MONSTER_TIDE_DIE_50036", trigger_count = 0 },
{ config_id = 1050037, name = "MONSTER_TIDE_DIE_50037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_50037", action = "action_EVENT_MONSTER_TIDE_DIE_50037", trigger_count = 0 },
{ config_id = 1050038, name = "MONSTER_TIDE_DIE_50038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_50038", action = "action_EVENT_MONSTER_TIDE_DIE_50038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 50002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_50023", "MONSTER_TIDE_DIE_50024", "MONSTER_TIDE_DIE_50025", "MONSTER_TIDE_DIE_50026", "MONSTER_TIDE_DIE_50027", "MONSTER_TIDE_DIE_50028", "MONSTER_TIDE_DIE_50029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 50003, 50004, 50005, 50006, 50007, 50008, 50009, 50010, 50011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 50020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_50032", "MONSTER_TIDE_DIE_50033", "MONSTER_TIDE_DIE_50034", "MONSTER_TIDE_DIE_50035", "MONSTER_TIDE_DIE_50036", "MONSTER_TIDE_DIE_50037", "MONSTER_TIDE_DIE_50038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 50001, 50012, 50013, 50014, 50015, 50016, 50017, 50018, 50019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_50023(context, evt)
if 50002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_50023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001050, {50003,50004}, 2, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001050, {50005,50006}, 2, 1, 1) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001050, {50007,50008}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_50024(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_50024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001050, {50009}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_50025(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_50025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001050, {50010}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_50026(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_50026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001050, {50011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_50027(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_50027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001050, {50003,50004}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_50028(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_50028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001050, {50005,50006}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_50029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_50029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001050, {50007,50008}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_50032(context, evt)
if 50020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_50032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001050, {50001,50012}, 2, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001050, {50013,50014}, 2, 1, 1) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001050, {50015,50016}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_50033(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_50033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001050, {50017}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_50034(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_50034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001050, {50018}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_50035(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_50035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001050, {50019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_50036(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_50036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001050, {50001,50012}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_50037(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_50037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001050, {50013,50014}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_50038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_50038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001050, {50015,50016}, 2, 1, 1) then
return -1
end
return 0
end

View File

@@ -0,0 +1,167 @@
-- 基础信息
local base_info = {
group_id = 302001051
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 51001, monster_id = 21020201, pos = { x = 1154.380, y = 204.442, z = -159.467 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 50, area_id = 5 },
{ config_id = 51002, monster_id = 21020201, pos = { x = 1158.134, y = 204.589, z = -166.028 }, rot = { x = 0.000, y = 7.228, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 51003, monster_id = 21020201, pos = { x = 1154.380, y = 204.442, z = -159.467 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 51004, monster_id = 21020501, pos = { x = 1160.442, y = 203.895, z = -149.838 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 250, area_id = 5 },
{ config_id = 51005, monster_id = 21020201, pos = { x = 1164.602, y = 204.259, z = -165.209 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 51006, monster_id = 21010301, pos = { x = 1142.051, y = 205.610, z = -161.185 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 10, area_id = 5 },
{ config_id = 51007, monster_id = 21010501, pos = { x = 1177.106, y = 202.654, z = -152.417 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 10, area_id = 5 },
{ config_id = 51008, monster_id = 21011001, pos = { x = 1175.865, y = 202.878, z = -148.913 }, rot = { x = 0.000, y = 236.476, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 10, area_id = 5 },
{ config_id = 51009, monster_id = 21020101, pos = { x = 1162.304, y = 205.277, z = -173.005 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 30, area_id = 5 },
{ config_id = 51010, monster_id = 21020201, pos = { x = 1143.029, y = 206.187, z = -167.776 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 30, area_id = 5 },
{ config_id = 51011, monster_id = 22010201, pos = { x = 1152.873, y = 206.227, z = -146.557 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 5 },
{ config_id = 51012, monster_id = 21020501, pos = { x = 1160.442, y = 203.895, z = -149.838 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 250, area_id = 5 },
{ config_id = 51013, monster_id = 21020201, pos = { x = 1164.602, y = 204.259, z = -165.209 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 50, area_id = 5 },
{ config_id = 51014, monster_id = 21010301, pos = { x = 1142.051, y = 205.610, z = -161.185 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 10, area_id = 5 },
{ config_id = 51015, monster_id = 21010502, pos = { x = 1177.106, y = 202.654, z = -152.417 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 10, area_id = 5 },
{ config_id = 51016, monster_id = 21011002, pos = { x = 1175.865, y = 202.878, z = -148.913 }, rot = { x = 0.000, y = 236.476, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 10, area_id = 5 },
{ config_id = 51017, monster_id = 21020101, pos = { x = 1162.304, y = 205.277, z = -173.005 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 30, area_id = 5 },
{ config_id = 51018, monster_id = 21020202, pos = { x = 1143.029, y = 206.187, z = -167.776 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 30, area_id = 5 },
{ config_id = 51019, monster_id = 22010202, pos = { x = 1152.873, y = 206.227, z = -146.557 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 5 },
{ config_id = 51020, monster_id = 21020201, pos = { x = 1158.134, y = 204.589, z = -166.028 }, rot = { x = 0.000, y = 7.228, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 50, area_id = 5 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1051023, name = "ANY_MONSTER_DIE_51023", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_51023", action = "action_EVENT_ANY_MONSTER_DIE_51023", trigger_count = 0 },
{ config_id = 1051032, name = "ANY_MONSTER_DIE_51032", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_51032", action = "action_EVENT_ANY_MONSTER_DIE_51032", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 51002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_51023" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 51003, 51004, 51005, 51006, 51007, 51008, 51009, 51010, 51011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 51020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_51032" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 51001, 51012, 51013, 51014, 51015, 51016, 51017, 51018, 51019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_51023(context, evt)
if 51002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_51023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001051, {51003,51004}, 99999, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_51032(context, evt)
if 51020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_51032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001051, {51001,51012}, 99999, 1, 1) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001052
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 52001, monster_id = 20010901, pos = { x = 388.620, y = 200.509, z = -361.712 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52002, monster_id = 20010801, pos = { x = 401.219, y = 200.632, z = -372.325 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 52003, monster_id = 20010901, pos = { x = 388.620, y = 200.509, z = -361.712 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52004, monster_id = 20010901, pos = { x = 389.338, y = 200.504, z = -369.566 }, rot = { x = 0.000, y = 60.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52005, monster_id = 20010901, pos = { x = 405.501, y = 201.036, z = -366.038 }, rot = { x = 0.000, y = 280.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52006, monster_id = 20010901, pos = { x = 395.995, y = 200.506, z = -372.350 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52007, monster_id = 20010801, pos = { x = 404.492, y = 200.941, z = -370.303 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 52008, monster_id = 20010801, pos = { x = 403.447, y = 200.983, z = -361.446 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 52009, monster_id = 20010901, pos = { x = 387.457, y = 200.493, z = -366.561 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52010, monster_id = 20010901, pos = { x = 398.541, y = 201.056, z = -356.761 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52011, monster_id = 20010901, pos = { x = 393.540, y = 200.559, z = -358.654 }, rot = { x = 0.000, y = 160.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52012, monster_id = 20010901, pos = { x = 389.338, y = 200.504, z = -369.566 }, rot = { x = 0.000, y = 60.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52013, monster_id = 20010901, pos = { x = 405.501, y = 201.036, z = -366.038 }, rot = { x = 0.000, y = 280.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52014, monster_id = 20010901, pos = { x = 395.995, y = 200.506, z = -372.350 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52015, monster_id = 20010901, pos = { x = 404.492, y = 200.941, z = -370.303 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52016, monster_id = 20010901, pos = { x = 403.447, y = 200.983, z = -361.446 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52017, monster_id = 20010904, pos = { x = 393.540, y = 200.559, z = -358.654 }, rot = { x = 0.000, y = 160.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52018, monster_id = 20010901, pos = { x = 387.457, y = 200.493, z = -366.561 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52019, monster_id = 20010901, pos = { x = 398.541, y = 201.056, z = -356.761 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 9 },
{ config_id = 52020, monster_id = 20010801, pos = { x = 401.219, y = 200.632, z = -372.325 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1052023, name = "ANY_MONSTER_LIVE_52023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_52023", action = "action_EVENT_ANY_MONSTER_LIVE_52023", trigger_count = 0 },
{ config_id = 1052024, name = "MONSTER_TIDE_DIE_52024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_52024", action = "action_EVENT_MONSTER_TIDE_DIE_52024", trigger_count = 0 },
{ config_id = 1052025, name = "MONSTER_TIDE_DIE_52025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_52025", action = "action_EVENT_MONSTER_TIDE_DIE_52025", trigger_count = 0 },
{ config_id = 1052026, name = "MONSTER_TIDE_DIE_52026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_52026", action = "action_EVENT_MONSTER_TIDE_DIE_52026", trigger_count = 0 },
{ config_id = 1052027, name = "MONSTER_TIDE_DIE_52027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_52027", action = "action_EVENT_MONSTER_TIDE_DIE_52027", trigger_count = 0 },
{ config_id = 1052028, name = "MONSTER_TIDE_DIE_52028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_52028", action = "action_EVENT_MONSTER_TIDE_DIE_52028", trigger_count = 0 },
{ config_id = 1052029, name = "MONSTER_TIDE_DIE_52029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_52029", action = "action_EVENT_MONSTER_TIDE_DIE_52029", trigger_count = 0 },
{ config_id = 1052032, name = "ANY_MONSTER_LIVE_52032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_52032", action = "action_EVENT_ANY_MONSTER_LIVE_52032", trigger_count = 0 },
{ config_id = 1052033, name = "MONSTER_TIDE_DIE_52033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_52033", action = "action_EVENT_MONSTER_TIDE_DIE_52033", trigger_count = 0 },
{ config_id = 1052034, name = "MONSTER_TIDE_DIE_52034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_52034", action = "action_EVENT_MONSTER_TIDE_DIE_52034", trigger_count = 0 },
{ config_id = 1052035, name = "MONSTER_TIDE_DIE_52035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_52035", action = "action_EVENT_MONSTER_TIDE_DIE_52035", trigger_count = 0 },
{ config_id = 1052036, name = "MONSTER_TIDE_DIE_52036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_52036", action = "action_EVENT_MONSTER_TIDE_DIE_52036", trigger_count = 0 },
{ config_id = 1052037, name = "MONSTER_TIDE_DIE_52037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_52037", action = "action_EVENT_MONSTER_TIDE_DIE_52037", trigger_count = 0 },
{ config_id = 1052038, name = "MONSTER_TIDE_DIE_52038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_52038", action = "action_EVENT_MONSTER_TIDE_DIE_52038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 52002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_52023", "MONSTER_TIDE_DIE_52024", "MONSTER_TIDE_DIE_52025", "MONSTER_TIDE_DIE_52026", "MONSTER_TIDE_DIE_52027", "MONSTER_TIDE_DIE_52028", "MONSTER_TIDE_DIE_52029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 52003, 52004, 52005, 52006, 52007, 52008, 52009, 52010, 52011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 52020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_52032", "MONSTER_TIDE_DIE_52033", "MONSTER_TIDE_DIE_52034", "MONSTER_TIDE_DIE_52035", "MONSTER_TIDE_DIE_52036", "MONSTER_TIDE_DIE_52037", "MONSTER_TIDE_DIE_52038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 52001, 52012, 52013, 52014, 52015, 52016, 52017, 52018, 52019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_52023(context, evt)
if 52002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_52023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001052, {52003,52004}, 2, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001052, {52005,52006}, 2, 1, 1) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001052, {52007,52008}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_52024(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_52024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001052, {52009}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_52025(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_52025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001052, {52010}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_52026(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_52026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001052, {52011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_52027(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_52027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001052, {52003,52004}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_52028(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_52028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001052, {52005,52006}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_52029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_52029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001052, {52007,52008}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_52032(context, evt)
if 52020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_52032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001052, {52001,52012}, 2, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001052, {52013,52014}, 2, 1, 1) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001052, {52015,52016}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_52033(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_52033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001052, {52017}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_52034(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_52034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001052, {52018}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_52035(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_52035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001052, {52019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_52036(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_52036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001052, {52001,52012}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_52037(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_52037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001052, {52013,52014}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_52038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_52038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001052, {52015,52016}, 2, 1, 1) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001053
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 53001, monster_id = 21010201, pos = { x = 1903.822, y = 247.011, z = -448.302 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53002, monster_id = 21010201, pos = { x = 1922.612, y = 249.536, z = -459.054 }, rot = { x = 0.000, y = 293.861, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53003, monster_id = 21010201, pos = { x = 1903.822, y = 247.011, z = -448.302 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53004, monster_id = 21010201, pos = { x = 1914.919, y = 247.654, z = -443.710 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53005, monster_id = 20010801, pos = { x = 1923.350, y = 249.381, z = -447.925 }, rot = { x = 0.000, y = 202.290, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53006, monster_id = 20010801, pos = { x = 1905.075, y = 247.538, z = -459.036 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53007, monster_id = 21030301, pos = { x = 1920.087, y = 248.345, z = -444.207 }, rot = { x = 0.000, y = 220.561, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 3 },
{ config_id = 53008, monster_id = 21011001, pos = { x = 1906.414, y = 247.776, z = -461.708 }, rot = { x = 0.000, y = 32.375, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53009, monster_id = 21010301, pos = { x = 1903.004, y = 247.168, z = -454.746 }, rot = { x = 0.000, y = 82.781, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53010, monster_id = 21010301, pos = { x = 1910.616, y = 249.299, z = -464.584 }, rot = { x = 0.000, y = 27.529, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53011, monster_id = 20010901, pos = { x = 1908.567, y = 247.246, z = -444.823 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 3 },
{ config_id = 53012, monster_id = 21010201, pos = { x = 1914.919, y = 247.654, z = -443.710 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53013, monster_id = 20010801, pos = { x = 1923.350, y = 249.381, z = -447.925 }, rot = { x = 0.000, y = 202.290, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53014, monster_id = 20010801, pos = { x = 1905.075, y = 247.538, z = -459.036 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53015, monster_id = 21030301, pos = { x = 1920.087, y = 248.345, z = -444.207 }, rot = { x = 0.000, y = 220.561, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 3 },
{ config_id = 53016, monster_id = 21011001, pos = { x = 1906.414, y = 247.776, z = -461.708 }, rot = { x = 0.000, y = 32.375, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53017, monster_id = 21010301, pos = { x = 1903.004, y = 247.168, z = -454.746 }, rot = { x = 0.000, y = 82.781, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53018, monster_id = 21010301, pos = { x = 1910.616, y = 249.299, z = -464.584 }, rot = { x = 0.000, y = 27.529, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 53019, monster_id = 20010901, pos = { x = 1908.567, y = 247.246, z = -444.823 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 60, area_id = 3 },
{ config_id = 53020, monster_id = 21010201, pos = { x = 1922.612, y = 249.536, z = -459.054 }, rot = { x = 0.000, y = 293.861, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1053023, name = "ANY_MONSTER_LIVE_53023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_53023", action = "action_EVENT_ANY_MONSTER_LIVE_53023", trigger_count = 0 },
{ config_id = 1053024, name = "MONSTER_TIDE_DIE_53024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_53024", action = "action_EVENT_MONSTER_TIDE_DIE_53024", trigger_count = 0 },
{ config_id = 1053025, name = "MONSTER_TIDE_DIE_53025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_53025", action = "action_EVENT_MONSTER_TIDE_DIE_53025", trigger_count = 0 },
{ config_id = 1053026, name = "MONSTER_TIDE_DIE_53026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_53026", action = "action_EVENT_MONSTER_TIDE_DIE_53026", trigger_count = 0 },
{ config_id = 1053027, name = "MONSTER_TIDE_DIE_53027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_53027", action = "action_EVENT_MONSTER_TIDE_DIE_53027", trigger_count = 0 },
{ config_id = 1053028, name = "MONSTER_TIDE_DIE_53028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_53028", action = "action_EVENT_MONSTER_TIDE_DIE_53028", trigger_count = 0 },
{ config_id = 1053029, name = "MONSTER_TIDE_DIE_53029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_53029", action = "action_EVENT_MONSTER_TIDE_DIE_53029", trigger_count = 0 },
{ config_id = 1053032, name = "ANY_MONSTER_LIVE_53032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_53032", action = "action_EVENT_ANY_MONSTER_LIVE_53032", trigger_count = 0 },
{ config_id = 1053033, name = "MONSTER_TIDE_DIE_53033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_53033", action = "action_EVENT_MONSTER_TIDE_DIE_53033", trigger_count = 0 },
{ config_id = 1053034, name = "MONSTER_TIDE_DIE_53034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_53034", action = "action_EVENT_MONSTER_TIDE_DIE_53034", trigger_count = 0 },
{ config_id = 1053035, name = "MONSTER_TIDE_DIE_53035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_53035", action = "action_EVENT_MONSTER_TIDE_DIE_53035", trigger_count = 0 },
{ config_id = 1053036, name = "MONSTER_TIDE_DIE_53036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_53036", action = "action_EVENT_MONSTER_TIDE_DIE_53036", trigger_count = 0 },
{ config_id = 1053037, name = "MONSTER_TIDE_DIE_53037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_53037", action = "action_EVENT_MONSTER_TIDE_DIE_53037", trigger_count = 0 },
{ config_id = 1053038, name = "MONSTER_TIDE_DIE_53038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_53038", action = "action_EVENT_MONSTER_TIDE_DIE_53038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 53002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_53023", "MONSTER_TIDE_DIE_53024", "MONSTER_TIDE_DIE_53025", "MONSTER_TIDE_DIE_53026", "MONSTER_TIDE_DIE_53027", "MONSTER_TIDE_DIE_53028", "MONSTER_TIDE_DIE_53029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 53003, 53004, 53005, 53006, 53007, 53008, 53009, 53010, 53011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 53020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_53032", "MONSTER_TIDE_DIE_53033", "MONSTER_TIDE_DIE_53034", "MONSTER_TIDE_DIE_53035", "MONSTER_TIDE_DIE_53036", "MONSTER_TIDE_DIE_53037", "MONSTER_TIDE_DIE_53038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 53001, 53012, 53013, 53014, 53015, 53016, 53017, 53018, 53019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_53023(context, evt)
if 53002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_53023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001053, {53003,53004}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001053, {53005,53006}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001053, {53007,53008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_53024(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_53024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001053, {53009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_53025(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_53025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001053, {53010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_53026(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_53026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001053, {53011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_53027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_53027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001053, {53003,53004}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_53028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_53028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001053, {53005,53006}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_53029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_53029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001053, {53007,53008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_53032(context, evt)
if 53020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_53032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001053, {53001,53012}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001053, {53013,53014}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001053, {53015,53016}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_53033(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_53033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001053, {53017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_53034(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_53034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001053, {53018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_53035(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_53035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001053, {53019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_53036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_53036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001053, {53001,53012}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_53037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_53037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001053, {53013,53014}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_53038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_53038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001053, {53015,53016}, 6, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001054
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 54001, monster_id = 25010201, pos = { x = 1963.596, y = 222.802, z = -709.056 }, rot = { x = 0.000, y = 342.937, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 54002, monster_id = 25010201, pos = { x = 1967.552, y = 221.903, z = -707.869 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 54003, monster_id = 25010201, pos = { x = 1963.596, y = 222.802, z = -709.056 }, rot = { x = 0.000, y = 342.937, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 54004, monster_id = 25010201, pos = { x = 1969.516, y = 221.619, z = -705.000 }, rot = { x = 0.000, y = 301.138, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 54005, monster_id = 25060101, pos = { x = 1968.375, y = 221.694, z = -699.285 }, rot = { x = 0.000, y = 232.604, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 54006, monster_id = 25060101, pos = { x = 1969.589, y = 221.840, z = -701.678 }, rot = { x = 0.000, y = 253.463, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 54007, monster_id = 25070101, pos = { x = 1958.369, y = 222.917, z = -701.576 }, rot = { x = 0.000, y = 93.488, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 54008, monster_id = 25070101, pos = { x = 1961.553, y = 221.839, z = -697.631 }, rot = { x = 0.000, y = 134.428, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 54009, monster_id = 25010701, pos = { x = 1959.632, y = 223.273, z = -707.128 }, rot = { x = 0.000, y = 30.815, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 54010, monster_id = 25010701, pos = { x = 1965.783, y = 221.662, z = -696.505 }, rot = { x = 0.000, y = 163.431, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 54011, monster_id = 25030201, pos = { x = 1971.233, y = 222.126, z = -702.095 }, rot = { x = 0.000, y = 245.552, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 54012, monster_id = 25010201, pos = { x = 1969.516, y = 221.619, z = -705.000 }, rot = { x = 0.000, y = 301.138, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 54013, monster_id = 25060101, pos = { x = 1968.375, y = 221.694, z = -699.285 }, rot = { x = 0.000, y = 232.604, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 54014, monster_id = 25060101, pos = { x = 1969.589, y = 221.840, z = -701.678 }, rot = { x = 0.000, y = 253.463, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 54015, monster_id = 25070101, pos = { x = 1958.369, y = 222.917, z = -701.576 }, rot = { x = 0.000, y = 93.488, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 54016, monster_id = 25070101, pos = { x = 1961.553, y = 221.839, z = -697.631 }, rot = { x = 0.000, y = 134.428, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 54017, monster_id = 25010701, pos = { x = 1959.632, y = 223.273, z = -707.128 }, rot = { x = 0.000, y = 30.815, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 54018, monster_id = 25010701, pos = { x = 1965.783, y = 221.662, z = -696.505 }, rot = { x = 0.000, y = 163.431, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 54019, monster_id = 25030201, pos = { x = 1971.233, y = 222.126, z = -702.095 }, rot = { x = 0.000, y = 245.552, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 54020, monster_id = 25010201, pos = { x = 1967.552, y = 221.903, z = -707.869 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1054023, name = "ANY_MONSTER_LIVE_54023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_54023", action = "action_EVENT_ANY_MONSTER_LIVE_54023", trigger_count = 0 },
{ config_id = 1054024, name = "MONSTER_TIDE_DIE_54024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_54024", action = "action_EVENT_MONSTER_TIDE_DIE_54024", trigger_count = 0 },
{ config_id = 1054025, name = "MONSTER_TIDE_DIE_54025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_54025", action = "action_EVENT_MONSTER_TIDE_DIE_54025", trigger_count = 0 },
{ config_id = 1054026, name = "MONSTER_TIDE_DIE_54026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_54026", action = "action_EVENT_MONSTER_TIDE_DIE_54026", trigger_count = 0 },
{ config_id = 1054027, name = "MONSTER_TIDE_DIE_54027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_54027", action = "action_EVENT_MONSTER_TIDE_DIE_54027", trigger_count = 0 },
{ config_id = 1054028, name = "MONSTER_TIDE_DIE_54028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_54028", action = "action_EVENT_MONSTER_TIDE_DIE_54028", trigger_count = 0 },
{ config_id = 1054029, name = "MONSTER_TIDE_DIE_54029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_54029", action = "action_EVENT_MONSTER_TIDE_DIE_54029", trigger_count = 0 },
{ config_id = 1054032, name = "ANY_MONSTER_LIVE_54032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_54032", action = "action_EVENT_ANY_MONSTER_LIVE_54032", trigger_count = 0 },
{ config_id = 1054033, name = "MONSTER_TIDE_DIE_54033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_54033", action = "action_EVENT_MONSTER_TIDE_DIE_54033", trigger_count = 0 },
{ config_id = 1054034, name = "MONSTER_TIDE_DIE_54034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_54034", action = "action_EVENT_MONSTER_TIDE_DIE_54034", trigger_count = 0 },
{ config_id = 1054035, name = "MONSTER_TIDE_DIE_54035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_54035", action = "action_EVENT_MONSTER_TIDE_DIE_54035", trigger_count = 0 },
{ config_id = 1054036, name = "MONSTER_TIDE_DIE_54036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_54036", action = "action_EVENT_MONSTER_TIDE_DIE_54036", trigger_count = 0 },
{ config_id = 1054037, name = "MONSTER_TIDE_DIE_54037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_54037", action = "action_EVENT_MONSTER_TIDE_DIE_54037", trigger_count = 0 },
{ config_id = 1054038, name = "MONSTER_TIDE_DIE_54038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_54038", action = "action_EVENT_MONSTER_TIDE_DIE_54038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 54002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_54023", "MONSTER_TIDE_DIE_54024", "MONSTER_TIDE_DIE_54025", "MONSTER_TIDE_DIE_54026", "MONSTER_TIDE_DIE_54027", "MONSTER_TIDE_DIE_54028", "MONSTER_TIDE_DIE_54029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 54003, 54004, 54005, 54006, 54007, 54008, 54009, 54010, 54011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 54020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_54032", "MONSTER_TIDE_DIE_54033", "MONSTER_TIDE_DIE_54034", "MONSTER_TIDE_DIE_54035", "MONSTER_TIDE_DIE_54036", "MONSTER_TIDE_DIE_54037", "MONSTER_TIDE_DIE_54038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 54001, 54012, 54013, 54014, 54015, 54016, 54017, 54018, 54019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_54023(context, evt)
if 54002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_54023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001054, {54003,54004}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001054, {54005,54006}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001054, {54007,54008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_54024(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_54024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001054, {54009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_54025(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_54025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001054, {54010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_54026(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_54026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001054, {54011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_54027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_54027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001054, {54003,54004}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_54028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_54028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001054, {54005,54006}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_54029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_54029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001054, {54007,54008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_54032(context, evt)
if 54020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_54032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001054, {54001,54012}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001054, {54013,54014}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 133005001, {54015,54016}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_54033(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_54033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001054, {54017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_54034(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_54034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001054, {54018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_54035(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_54035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001054, {54019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_54036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_54036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001054, {54001,54012}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_54037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_54037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001054, {54013,54014}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_54038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_54038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001054, {54015,54016}, 6, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001055
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 55001, monster_id = 20010801, pos = { x = 1790.991, y = 243.441, z = -716.074 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 55002, monster_id = 20010801, pos = { x = 1801.325, y = 243.099, z = -725.655 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 55003, monster_id = 20010801, pos = { x = 1790.991, y = 243.441, z = -716.074 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 55004, monster_id = 20010801, pos = { x = 1799.664, y = 245.249, z = -711.795 }, rot = { x = 0.000, y = 190.200, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 55005, monster_id = 20010801, pos = { x = 1804.568, y = 244.719, z = -715.855 }, rot = { x = 0.000, y = 259.984, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 55006, monster_id = 20010801, pos = { x = 1791.026, y = 242.832, z = -722.114 }, rot = { x = 0.000, y = 48.758, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 55007, monster_id = 21010901, pos = { x = 1806.060, y = 243.682, z = -725.900 }, rot = { x = 0.000, y = 307.280, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 55008, monster_id = 21011001, pos = { x = 1807.577, y = 244.832, z = -715.378 }, rot = { x = 0.000, y = 248.083, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 55009, monster_id = 20010901, pos = { x = 1797.932, y = 242.551, z = -727.052 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 55010, monster_id = 20010901, pos = { x = 1792.881, y = 242.488, z = -725.532 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 55011, monster_id = 22010201, pos = { x = 1794.848, y = 244.341, z = -712.693 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 55012, monster_id = 20010801, pos = { x = 1799.664, y = 245.249, z = -711.795 }, rot = { x = 0.000, y = 190.200, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 55013, monster_id = 20010801, pos = { x = 1804.568, y = 244.719, z = -715.855 }, rot = { x = 0.000, y = 259.984, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 55014, monster_id = 20010801, pos = { x = 1791.026, y = 242.832, z = -722.114 }, rot = { x = 0.000, y = 48.758, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 55015, monster_id = 21010901, pos = { x = 1806.060, y = 243.682, z = -725.900 }, rot = { x = 0.000, y = 307.280, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 55016, monster_id = 21011001, pos = { x = 1807.577, y = 244.832, z = -715.378 }, rot = { x = 0.000, y = 248.083, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 55017, monster_id = 20010901, pos = { x = 1797.932, y = 242.551, z = -727.052 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 55018, monster_id = 20010901, pos = { x = 1792.881, y = 242.488, z = -725.532 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 55019, monster_id = 22010201, pos = { x = 1794.848, y = 244.341, z = -712.693 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 55020, monster_id = 20010801, pos = { x = 1801.325, y = 243.099, z = -725.655 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1055023, name = "ANY_MONSTER_LIVE_55023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_55023", action = "action_EVENT_ANY_MONSTER_LIVE_55023", trigger_count = 0 },
{ config_id = 1055024, name = "MONSTER_TIDE_DIE_55024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_55024", action = "action_EVENT_MONSTER_TIDE_DIE_55024", trigger_count = 0 },
{ config_id = 1055025, name = "MONSTER_TIDE_DIE_55025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_55025", action = "action_EVENT_MONSTER_TIDE_DIE_55025", trigger_count = 0 },
{ config_id = 1055026, name = "MONSTER_TIDE_DIE_55026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_55026", action = "action_EVENT_MONSTER_TIDE_DIE_55026", trigger_count = 0 },
{ config_id = 1055027, name = "MONSTER_TIDE_DIE_55027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_55027", action = "action_EVENT_MONSTER_TIDE_DIE_55027", trigger_count = 0 },
{ config_id = 1055028, name = "MONSTER_TIDE_DIE_55028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_55028", action = "action_EVENT_MONSTER_TIDE_DIE_55028", trigger_count = 0 },
{ config_id = 1055029, name = "MONSTER_TIDE_DIE_55029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_55029", action = "action_EVENT_MONSTER_TIDE_DIE_55029", trigger_count = 0 },
{ config_id = 1055032, name = "ANY_MONSTER_LIVE_55032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_55032", action = "action_EVENT_ANY_MONSTER_LIVE_55032", trigger_count = 0 },
{ config_id = 1055033, name = "MONSTER_TIDE_DIE_55033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_55033", action = "action_EVENT_MONSTER_TIDE_DIE_55033", trigger_count = 0 },
{ config_id = 1055034, name = "MONSTER_TIDE_DIE_55034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_55034", action = "action_EVENT_MONSTER_TIDE_DIE_55034", trigger_count = 0 },
{ config_id = 1055035, name = "MONSTER_TIDE_DIE_55035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_55035", action = "action_EVENT_MONSTER_TIDE_DIE_55035", trigger_count = 0 },
{ config_id = 1055036, name = "MONSTER_TIDE_DIE_55036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_55036", action = "action_EVENT_MONSTER_TIDE_DIE_55036", trigger_count = 0 },
{ config_id = 1055037, name = "MONSTER_TIDE_DIE_55037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_55037", action = "action_EVENT_MONSTER_TIDE_DIE_55037", trigger_count = 0 },
{ config_id = 1055038, name = "MONSTER_TIDE_DIE_55038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_55038", action = "action_EVENT_MONSTER_TIDE_DIE_55038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 55002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_55023", "MONSTER_TIDE_DIE_55024", "MONSTER_TIDE_DIE_55025", "MONSTER_TIDE_DIE_55026", "MONSTER_TIDE_DIE_55027", "MONSTER_TIDE_DIE_55028", "MONSTER_TIDE_DIE_55029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 55003, 55004, 55005, 55006, 55007, 55008, 55009, 55010, 55011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 55020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_55032", "MONSTER_TIDE_DIE_55033", "MONSTER_TIDE_DIE_55034", "MONSTER_TIDE_DIE_55035", "MONSTER_TIDE_DIE_55036", "MONSTER_TIDE_DIE_55037", "MONSTER_TIDE_DIE_55038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 55001, 55012, 55013, 55014, 55015, 55016, 55017, 55018, 55019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_55023(context, evt)
if 55002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_55023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001055, {55003,55004}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001055, {55005,55006}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001055, {55007,55008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_55024(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_55024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001055, {55009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_55025(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_55025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001055, {55010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_55026(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_55026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001055, {55011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_55027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_55027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001055, {55003,55004}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_55028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_55028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001055, {55005,55006}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_55029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_55029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001055, {55007,55008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_55032(context, evt)
if 55020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_55032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001055, {55001,55012}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001055, {55013,55014}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001055, {55015,55016}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_55033(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_55033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001055, {55017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_55034(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_55034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001055, {55018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_55035(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_55035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001055, {55019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_55036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_55036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001055, {55001,55012}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_55037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_55037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001055, {55013,55014}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_55038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_55038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001055, {55015,55016}, 6, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,195 @@
-- 基础信息
local base_info = {
group_id = 302001056
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 56001, monster_id = 23020101, pos = { x = 1885.976, y = 249.033, z = -827.904 }, rot = { x = 0.000, y = 109.560, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 3 },
{ config_id = 56002, monster_id = 23020101, pos = { x = 1896.278, y = 250.913, z = -839.342 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 3 },
{ config_id = 56003, monster_id = 23020101, pos = { x = 1885.976, y = 249.033, z = -827.904 }, rot = { x = 0.000, y = 109.560, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 3 },
{ config_id = 56020, monster_id = 23020101, pos = { x = 1896.278, y = 250.913, z = -839.342 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 3 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1056023, name = "ANY_MONSTER_DIE_56023", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_56023", action = "action_EVENT_ANY_MONSTER_DIE_56023", trigger_count = 0 },
{ config_id = 1056024, name = "ANY_MONSTER_DIE_56024", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_56024", action = "action_EVENT_ANY_MONSTER_DIE_56024", trigger_count = 0 },
{ config_id = 1056032, name = "ANY_MONSTER_DIE_56032", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_56032", action = "action_EVENT_ANY_MONSTER_DIE_56032", trigger_count = 0 },
{ config_id = 1056033, name = "ANY_MONSTER_DIE_56033", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_56033", action = "action_EVENT_ANY_MONSTER_DIE_56033", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 56002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_56023", "ANY_MONSTER_DIE_56024" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 56003 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 56020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_56032", "ANY_MONSTER_DIE_56033" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 56001 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_56023(context, evt)
if 56002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_56023(context, evt)
-- 延迟1秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 56003, delay_time = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_56024(context, evt)
if 56003 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_56024(context, evt)
-- 延迟1秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 56002, delay_time = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_56032(context, evt)
if 56020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_56032(context, evt)
-- 延迟1秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 56001, delay_time = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_56033(context, evt)
if 56001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_56033(context, evt)
-- 延迟1秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 56020, delay_time = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001057
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 57001, monster_id = 21010201, pos = { x = 419.024, y = 200.934, z = -285.079 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 57002, monster_id = 21010201, pos = { x = 428.487, y = 201.175, z = -294.071 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 57003, monster_id = 21010201, pos = { x = 419.024, y = 200.934, z = -285.079 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 57004, monster_id = 21010201, pos = { x = 426.294, y = 200.822, z = -281.081 }, rot = { x = 0.000, y = 190.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 57005, monster_id = 21010301, pos = { x = 432.145, y = 201.069, z = -284.574 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 57006, monster_id = 21010301, pos = { x = 418.510, y = 201.137, z = -291.621 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 57007, monster_id = 21010501, pos = { x = 432.637, y = 201.115, z = -287.483 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 57008, monster_id = 21011001, pos = { x = 432.648, y = 201.040, z = -293.033 }, rot = { x = 0.000, y = 290.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 57009, monster_id = 21020101, pos = { x = 422.405, y = 200.598, z = -299.141 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 57010, monster_id = 21020301, pos = { x = 418.511, y = 200.821, z = -296.618 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 57011, monster_id = 22010201, pos = { x = 422.797, y = 200.897, z = -283.267 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 57012, monster_id = 21010201, pos = { x = 426.294, y = 200.822, z = -281.081 }, rot = { x = 0.000, y = 190.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 57013, monster_id = 21010301, pos = { x = 432.145, y = 201.069, z = -284.574 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 57014, monster_id = 21011201, pos = { x = 418.510, y = 201.137, z = -291.621 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 57015, monster_id = 21010502, pos = { x = 432.637, y = 201.115, z = -287.483 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 57016, monster_id = 21011002, pos = { x = 432.648, y = 201.040, z = -293.033 }, rot = { x = 0.000, y = 290.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 57017, monster_id = 21020101, pos = { x = 422.405, y = 200.598, z = -299.141 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 57018, monster_id = 21020301, pos = { x = 418.511, y = 200.821, z = -296.618 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 57019, monster_id = 22010202, pos = { x = 422.797, y = 200.897, z = -283.267 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 57020, monster_id = 21010201, pos = { x = 428.487, y = 201.175, z = -294.071 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1057023, name = "ANY_MONSTER_LIVE_57023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_57023", action = "action_EVENT_ANY_MONSTER_LIVE_57023", trigger_count = 0 },
{ config_id = 1057024, name = "MONSTER_TIDE_DIE_57024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_57024", action = "action_EVENT_MONSTER_TIDE_DIE_57024", trigger_count = 0 },
{ config_id = 1057025, name = "MONSTER_TIDE_DIE_57025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_57025", action = "action_EVENT_MONSTER_TIDE_DIE_57025", trigger_count = 0 },
{ config_id = 1057026, name = "MONSTER_TIDE_DIE_57026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_57026", action = "action_EVENT_MONSTER_TIDE_DIE_57026", trigger_count = 0 },
{ config_id = 1057027, name = "MONSTER_TIDE_DIE_57027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_57027", action = "action_EVENT_MONSTER_TIDE_DIE_57027", trigger_count = 0 },
{ config_id = 1057028, name = "MONSTER_TIDE_DIE_57028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_57028", action = "action_EVENT_MONSTER_TIDE_DIE_57028", trigger_count = 0 },
{ config_id = 1057029, name = "MONSTER_TIDE_DIE_57029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_57029", action = "action_EVENT_MONSTER_TIDE_DIE_57029", trigger_count = 0 },
{ config_id = 1057032, name = "ANY_MONSTER_LIVE_57032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_57032", action = "action_EVENT_ANY_MONSTER_LIVE_57032", trigger_count = 0 },
{ config_id = 1057033, name = "MONSTER_TIDE_DIE_57033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_57033", action = "action_EVENT_MONSTER_TIDE_DIE_57033", trigger_count = 0 },
{ config_id = 1057034, name = "MONSTER_TIDE_DIE_57034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_57034", action = "action_EVENT_MONSTER_TIDE_DIE_57034", trigger_count = 0 },
{ config_id = 1057035, name = "MONSTER_TIDE_DIE_57035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_57035", action = "action_EVENT_MONSTER_TIDE_DIE_57035", trigger_count = 0 },
{ config_id = 1057036, name = "MONSTER_TIDE_DIE_57036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_57036", action = "action_EVENT_MONSTER_TIDE_DIE_57036", trigger_count = 0 },
{ config_id = 1057037, name = "MONSTER_TIDE_DIE_57037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_57037", action = "action_EVENT_MONSTER_TIDE_DIE_57037", trigger_count = 0 },
{ config_id = 1057038, name = "MONSTER_TIDE_DIE_57038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_57038", action = "action_EVENT_MONSTER_TIDE_DIE_57038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 57002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_57023", "MONSTER_TIDE_DIE_57024", "MONSTER_TIDE_DIE_57025", "MONSTER_TIDE_DIE_57026", "MONSTER_TIDE_DIE_57027", "MONSTER_TIDE_DIE_57028", "MONSTER_TIDE_DIE_57029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 57003, 57004, 57005, 57006, 57007, 57008, 57009, 57010, 57011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 57020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_57032", "MONSTER_TIDE_DIE_57033", "MONSTER_TIDE_DIE_57034", "MONSTER_TIDE_DIE_57035", "MONSTER_TIDE_DIE_57036", "MONSTER_TIDE_DIE_57037", "MONSTER_TIDE_DIE_57038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 57001, 57012, 57013, 57014, 57015, 57016, 57017, 57018, 57019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_57023(context, evt)
if 57002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_57023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001057, {57003,57004}, 4, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001057, {57005,57006}, 4, 1, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001057, {57007,57008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_57024(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_57024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001057, {57009}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_57025(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_57025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001057, {57010}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_57026(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_57026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001057, {57011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_57027(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_57027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001057, {57003,57004}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_57028(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_57028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001057, {57005,57006}, 4, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_57029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_57029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001057, {57007,57008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_57032(context, evt)
if 57020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_57032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001057, {57001,57012}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001057, {57013,57014}, 4, 1, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001057, {57015,57016}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_57033(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_57033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001057, {57017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_57034(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_57034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001057, {57018}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_57035(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_57035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001057, {57019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_57036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_57036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001057, {57001,57012}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_57037(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_57037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001057, {57013,57014}, 4, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_57038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_57038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001057, {57015,57016}, 6, 2, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001058
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 58001, monster_id = 21010201, pos = { x = 1536.688, y = 335.521, z = -2115.045 }, rot = { x = 0.000, y = 339.216, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 58009, monster_id = 21010201, pos = { x = 1527.429, y = 335.172, z = -2105.306 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 58010, monster_id = 21010201, pos = { x = 1533.451, y = 335.279, z = -2102.739 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 58011, monster_id = 21010201, pos = { x = 1539.676, y = 335.521, z = -2112.260 }, rot = { x = 0.000, y = 303.068, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 58012, monster_id = 21010201, pos = { x = 1524.867, y = 335.158, z = -2111.211 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 58013, monster_id = 21010501, pos = { x = 1540.937, y = 335.285, z = -2106.496 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 58014, monster_id = 21011001, pos = { x = 1538.718, y = 335.245, z = -2103.442 }, rot = { x = 0.000, y = 226.592, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 58015, monster_id = 21020201, pos = { x = 1533.693, y = 335.007, z = -2120.748 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 30, area_id = 2 },
{ config_id = 58016, monster_id = 21020201, pos = { x = 1526.560, y = 334.917, z = -2116.070 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 30, area_id = 2 },
{ config_id = 58017, monster_id = 22010101, pos = { x = 1530.542, y = 335.305, z = -2102.366 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 58018, monster_id = 21010201, pos = { x = 1539.249, y = 335.521, z = -2115.592 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 58026, monster_id = 21010201, pos = { x = 1524.492, y = 335.172, z = -2101.565 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 58027, monster_id = 21010201, pos = { x = 1535.589, y = 334.913, z = -2096.973 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 58028, monster_id = 21010201, pos = { x = 1537.016, y = 335.166, z = -2101.721 }, rot = { x = 0.000, y = 202.290, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 58029, monster_id = 21010201, pos = { x = 1519.810, y = 334.430, z = -2114.873 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 58030, monster_id = 21010502, pos = { x = 1530.814, y = 334.953, z = -2120.390 }, rot = { x = 0.000, y = 13.077, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 58031, monster_id = 21011002, pos = { x = 1525.820, y = 335.098, z = -2099.057 }, rot = { x = 0.000, y = 146.944, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 58032, monster_id = 21020202, pos = { x = 1544.365, y = 335.521, z = -2113.344 }, rot = { x = 0.000, y = 280.404, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 58033, monster_id = 21020202, pos = { x = 1526.614, y = 334.997, z = -2096.843 }, rot = { x = 0.000, y = 152.611, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 58034, monster_id = 22010102, pos = { x = 1534.454, y = 335.521, z = -2115.711 }, rot = { x = 0.000, y = 356.871, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1058002, name = "ANY_MONSTER_LIVE_58002", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_58002", action = "action_EVENT_ANY_MONSTER_LIVE_58002", trigger_count = 0 },
{ config_id = 1058003, name = "MONSTER_TIDE_DIE_58003", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_58003", action = "action_EVENT_MONSTER_TIDE_DIE_58003", trigger_count = 0 },
{ config_id = 1058004, name = "MONSTER_TIDE_DIE_58004", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_58004", action = "action_EVENT_MONSTER_TIDE_DIE_58004", trigger_count = 0 },
{ config_id = 1058005, name = "MONSTER_TIDE_DIE_58005", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_58005", action = "action_EVENT_MONSTER_TIDE_DIE_58005", trigger_count = 0 },
{ config_id = 1058006, name = "MONSTER_TIDE_DIE_58006", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_58006", action = "action_EVENT_MONSTER_TIDE_DIE_58006", trigger_count = 0 },
{ config_id = 1058007, name = "MONSTER_TIDE_DIE_58007", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_58007", action = "action_EVENT_MONSTER_TIDE_DIE_58007", trigger_count = 0 },
{ config_id = 1058008, name = "MONSTER_TIDE_DIE_58008", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_58008", action = "action_EVENT_MONSTER_TIDE_DIE_58008", trigger_count = 0 },
{ config_id = 1058019, name = "ANY_MONSTER_LIVE_58019", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_58019", action = "action_EVENT_ANY_MONSTER_LIVE_58019", trigger_count = 0 },
{ config_id = 1058020, name = "MONSTER_TIDE_DIE_58020", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_58020", action = "action_EVENT_MONSTER_TIDE_DIE_58020", trigger_count = 0 },
{ config_id = 1058021, name = "MONSTER_TIDE_DIE_58021", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_58021", action = "action_EVENT_MONSTER_TIDE_DIE_58021", trigger_count = 0 },
{ config_id = 1058022, name = "MONSTER_TIDE_DIE_58022", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_58022", action = "action_EVENT_MONSTER_TIDE_DIE_58022", trigger_count = 0 },
{ config_id = 1058023, name = "MONSTER_TIDE_DIE_58023", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_58023", action = "action_EVENT_MONSTER_TIDE_DIE_58023", trigger_count = 0 },
{ config_id = 1058024, name = "MONSTER_TIDE_DIE_58024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_58024", action = "action_EVENT_MONSTER_TIDE_DIE_58024", trigger_count = 0 },
{ config_id = 1058025, name = "MONSTER_TIDE_DIE_58025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_58025", action = "action_EVENT_MONSTER_TIDE_DIE_58025", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 5,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 58001 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_58002", "MONSTER_TIDE_DIE_58003", "MONSTER_TIDE_DIE_58004", "MONSTER_TIDE_DIE_58005", "MONSTER_TIDE_DIE_58006", "MONSTER_TIDE_DIE_58007", "MONSTER_TIDE_DIE_58008" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 58009, 58010, 58011, 58012, 58013, 58014, 58015, 58016, 58017 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 58026 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_58019", "MONSTER_TIDE_DIE_58020", "MONSTER_TIDE_DIE_58021", "MONSTER_TIDE_DIE_58022", "MONSTER_TIDE_DIE_58023", "MONSTER_TIDE_DIE_58024", "MONSTER_TIDE_DIE_58025" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 58018, 58027, 58028, 58029, 58030, 58031, 58032, 58033, 58034 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_58002(context, evt)
if 58001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_58002(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001058, {58009,58010}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001058, {58011,58012}, 2, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001058, {58013,58014}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_58003(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_58003(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001058, {58015}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_58004(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_58004(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001058, {58016}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_58005(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_58005(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001058, {58017}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_58006(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_58006(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001058, {58009,58010}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_58007(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_58007(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001058, {58011,58012}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_58008(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_58008(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001058, {58013,58014}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_58019(context, evt)
if 58026 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_58019(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001058, {58018,58027}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001058, {58028,58029}, 2, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001058, {58030,58031}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_58020(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_58020(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001058, {58032}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_58021(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_58021(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001058, {58033}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_58022(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_58022(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001058, {58034}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_58023(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_58023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001058, {58018,58027}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_58024(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_58024(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001058, {58028,58029}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_58025(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_58025(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001058, {58032,58033}, 2, 2, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,428 @@
-- 基础信息
local base_info = {
group_id = 302001059
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 59001, monster_id = 25010701, pos = { x = 306.189, y = 200.904, z = 39.437 }, rot = { x = 0.000, y = 135.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 59002, monster_id = 25010201, pos = { x = 312.721, y = 200.951, z = 39.713 }, rot = { x = 0.000, y = 210.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 59003, monster_id = 25010701, pos = { x = 306.189, y = 200.904, z = 39.437 }, rot = { x = 0.000, y = 135.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 59004, monster_id = 25010701, pos = { x = 309.538, y = 200.956, z = 40.198 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 59005, monster_id = 25060101, pos = { x = 304.361, y = 200.828, z = 34.722 }, rot = { x = 0.000, y = 80.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 59006, monster_id = 25060101, pos = { x = 304.839, y = 200.751, z = 31.542 }, rot = { x = 0.000, y = 60.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 59007, monster_id = 25010301, pos = { x = 316.154, y = 200.975, z = 31.455 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 59008, monster_id = 25010501, pos = { x = 317.509, y = 201.274, z = 34.729 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 59009, monster_id = 25030301, pos = { x = 308.012, y = 200.713, z = 28.683 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 59010, monster_id = 25070101, pos = { x = 310.729, y = 200.678, z = 28.389 }, rot = { x = 0.000, y = 350.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 59011, monster_id = 25030201, pos = { x = 314.210, y = 200.757, z = 29.656 }, rot = { x = 0.000, y = 320.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 59012, monster_id = 25010701, pos = { x = 309.538, y = 200.956, z = 40.198 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 59013, monster_id = 25060101, pos = { x = 304.361, y = 200.828, z = 34.722 }, rot = { x = 0.000, y = 80.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 59014, monster_id = 25060101, pos = { x = 304.839, y = 200.751, z = 31.542 }, rot = { x = 0.000, y = 60.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 59015, monster_id = 25010301, pos = { x = 316.154, y = 200.975, z = 31.455 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 59016, monster_id = 25010501, pos = { x = 317.509, y = 201.274, z = 34.729 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 59017, monster_id = 25030301, pos = { x = 308.012, y = 200.713, z = 28.683 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 59018, monster_id = 25070101, pos = { x = 310.729, y = 200.678, z = 28.389 }, rot = { x = 0.000, y = 350.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 59019, monster_id = 25030201, pos = { x = 314.210, y = 200.757, z = 29.656 }, rot = { x = 0.000, y = 320.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 59020, monster_id = 25010201, pos = { x = 312.721, y = 200.951, z = 39.713 }, rot = { x = 0.000, y = 210.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 59040, monster_id = 25030301, pos = { x = 308.076, y = 200.961, z = 41.131 }, rot = { x = 0.000, y = 160.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1059023, name = "ANY_MONSTER_LIVE_59023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_59023", action = "action_EVENT_ANY_MONSTER_LIVE_59023", trigger_count = 0 },
{ config_id = 1059024, name = "MONSTER_TIDE_DIE_59024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_59024", action = "action_EVENT_MONSTER_TIDE_DIE_59024", trigger_count = 0 },
{ config_id = 1059025, name = "MONSTER_TIDE_DIE_59025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_59025", action = "action_EVENT_MONSTER_TIDE_DIE_59025", trigger_count = 0 },
{ config_id = 1059026, name = "MONSTER_TIDE_DIE_59026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_59026", action = "action_EVENT_MONSTER_TIDE_DIE_59026", trigger_count = 0 },
{ config_id = 1059027, name = "MONSTER_TIDE_DIE_59027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_59027", action = "action_EVENT_MONSTER_TIDE_DIE_59027", trigger_count = 0 },
{ config_id = 1059028, name = "MONSTER_TIDE_DIE_59028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_59028", action = "action_EVENT_MONSTER_TIDE_DIE_59028", trigger_count = 0 },
{ config_id = 1059029, name = "MONSTER_TIDE_DIE_59029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_59029", action = "action_EVENT_MONSTER_TIDE_DIE_59029", trigger_count = 0 },
{ config_id = 1059032, name = "ANY_MONSTER_LIVE_59032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_59032", action = "action_EVENT_ANY_MONSTER_LIVE_59032", trigger_count = 0 },
{ config_id = 1059033, name = "MONSTER_TIDE_DIE_59033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_59033", action = "action_EVENT_MONSTER_TIDE_DIE_59033", trigger_count = 0 },
{ config_id = 1059034, name = "MONSTER_TIDE_DIE_59034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_59034", action = "action_EVENT_MONSTER_TIDE_DIE_59034", trigger_count = 0 },
{ config_id = 1059035, name = "MONSTER_TIDE_DIE_59035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_59035", action = "action_EVENT_MONSTER_TIDE_DIE_59035", trigger_count = 0 },
{ config_id = 1059036, name = "MONSTER_TIDE_DIE_59036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_59036", action = "action_EVENT_MONSTER_TIDE_DIE_59036", trigger_count = 0 },
{ config_id = 1059037, name = "MONSTER_TIDE_DIE_59037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_59037", action = "action_EVENT_MONSTER_TIDE_DIE_59037", trigger_count = 0 },
{ config_id = 1059038, name = "MONSTER_TIDE_DIE_59038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_59038", action = "action_EVENT_MONSTER_TIDE_DIE_59038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 59002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_59023", "MONSTER_TIDE_DIE_59024", "MONSTER_TIDE_DIE_59025", "MONSTER_TIDE_DIE_59026", "MONSTER_TIDE_DIE_59027", "MONSTER_TIDE_DIE_59028", "MONSTER_TIDE_DIE_59029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 59003, 59004, 59005, 59006, 59007, 59008, 59009, 59010, 59011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 59020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_59032", "MONSTER_TIDE_DIE_59033", "MONSTER_TIDE_DIE_59034", "MONSTER_TIDE_DIE_59035", "MONSTER_TIDE_DIE_59036", "MONSTER_TIDE_DIE_59037", "MONSTER_TIDE_DIE_59038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 59001, 59012, 59013, 59014, 59015, 59016, 59017, 59018, 59019, 59040 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_59023(context, evt)
if 59002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_59023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001059, {59003,59004}, 2, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001059, {59005,59006}, 2, 1, 1) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001059, {59007,59008}, 4, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_59024(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_59024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001059, {59009}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_59025(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_59025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001059, {59010}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_59026(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_59026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001059, {59011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_59027(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_59027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001059, {59003,59004}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_59028(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_59028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001059, {59005,59006}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_59029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_59029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001059, {59007,59008}, 4, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_59032(context, evt)
if 59020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_59032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001059, {59001,59012}, 4, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001059, {59013,59014}, 2, 1, 1) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001059, {59015,59016}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_59033(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_59033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001059, {59017,59040}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_59034(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_59034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001059, {59018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_59035(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_59035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001059, {59019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_59036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_59036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001059, {59001,59012}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_59037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_59037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001059, {59013,59014}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_59038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_59038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001059, {59015,59016}, 4, 2, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,361 @@
-- 基础信息
local base_info = {
group_id = 302001060
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 60001, monster_id = 23010101, pos = { x = 529.944, y = 200.003, z = 137.592 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60002, monster_id = 23010101, pos = { x = 529.944, y = 200.003, z = 137.592 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60003, monster_id = 23010101, pos = { x = 527.381, y = 200.083, z = 133.938 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60004, monster_id = 23010101, pos = { x = 529.766, y = 200.272, z = 140.028 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60005, monster_id = 23010301, pos = { x = 525.375, y = 199.109, z = 152.872 }, rot = { x = 0.000, y = 210.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60006, monster_id = 23010301, pos = { x = 529.435, y = 199.764, z = 145.030 }, rot = { x = 0.000, y = 220.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60007, monster_id = 23010301, pos = { x = 527.141, y = 199.841, z = 147.927 }, rot = { x = 0.000, y = 210.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60008, monster_id = 23010101, pos = { x = 516.570, y = 200.763, z = 133.625 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60009, monster_id = 23010101, pos = { x = 513.869, y = 201.496, z = 140.065 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60010, monster_id = 23010301, pos = { x = 517.901, y = 198.856, z = 152.190 }, rot = { x = 0.000, y = 160.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60011, monster_id = 23010301, pos = { x = 515.326, y = 200.537, z = 147.305 }, rot = { x = 0.000, y = 120.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60012, monster_id = 23010101, pos = { x = 529.766, y = 200.272, z = 140.028 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60013, monster_id = 23010301, pos = { x = 527.141, y = 199.841, z = 147.927 }, rot = { x = 0.000, y = 210.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60014, monster_id = 23010301, pos = { x = 529.435, y = 199.764, z = 145.030 }, rot = { x = 0.000, y = 220.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60015, monster_id = 23010101, pos = { x = 516.570, y = 200.763, z = 133.625 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60016, monster_id = 23010101, pos = { x = 513.869, y = 201.496, z = 140.065 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60017, monster_id = 23010301, pos = { x = 517.901, y = 198.856, z = 152.190 }, rot = { x = 0.000, y = 160.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60018, monster_id = 23010301, pos = { x = 515.326, y = 200.537, z = 147.305 }, rot = { x = 0.000, y = 120.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60019, monster_id = 23010401, pos = { x = 521.646, y = 200.055, z = 132.479 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 },
{ config_id = 60020, monster_id = 23010401, pos = { x = 523.643, y = 200.177, z = 134.360 }, rot = { x = 0.000, y = 340.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 70, area_id = 9 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1060023, name = "ANY_MONSTER_DIE_60023", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_60023", action = "action_EVENT_ANY_MONSTER_DIE_60023" },
{ config_id = 1060024, name = "MONSTER_TIDE_DIE_60024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_60024", action = "action_EVENT_MONSTER_TIDE_DIE_60024", trigger_count = 0 },
{ config_id = 1060025, name = "MONSTER_TIDE_DIE_60025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_60025", action = "action_EVENT_MONSTER_TIDE_DIE_60025", trigger_count = 0 },
{ config_id = 1060026, name = "ANY_MONSTER_DIE_60026", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_60026", action = "action_EVENT_ANY_MONSTER_DIE_60026" },
{ config_id = 1060027, name = "MONSTER_TIDE_DIE_60027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_60027", action = "action_EVENT_MONSTER_TIDE_DIE_60027", trigger_count = 0 },
{ config_id = 1060028, name = "MONSTER_TIDE_DIE_60028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_60028", action = "action_EVENT_MONSTER_TIDE_DIE_60028", trigger_count = 0 },
{ config_id = 1060032, name = "ANY_MONSTER_LIVE_60032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_60032", action = "action_EVENT_ANY_MONSTER_LIVE_60032" },
{ config_id = 1060033, name = "MONSTER_TIDE_DIE_60033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_60033", action = "action_EVENT_MONSTER_TIDE_DIE_60033", trigger_count = 0 },
{ config_id = 1060034, name = "MONSTER_TIDE_DIE_60034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_60034", action = "action_EVENT_MONSTER_TIDE_DIE_60034", trigger_count = 0 },
{ config_id = 1060036, name = "MONSTER_TIDE_DIE_60036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_60036", action = "action_EVENT_MONSTER_TIDE_DIE_60036", trigger_count = 0 },
{ config_id = 1060037, name = "MONSTER_TIDE_DIE_60037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_60037", action = "action_EVENT_MONSTER_TIDE_DIE_60037", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 60002, 60007 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_60023", "MONSTER_TIDE_DIE_60024", "MONSTER_TIDE_DIE_60025", "MONSTER_TIDE_DIE_60027", "MONSTER_TIDE_DIE_60028" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 60003, 60004, 60005, 60006, 60008, 60009, 60010, 60011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 60020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_60026", "ANY_MONSTER_LIVE_60032", "MONSTER_TIDE_DIE_60033", "MONSTER_TIDE_DIE_60034", "MONSTER_TIDE_DIE_60036", "MONSTER_TIDE_DIE_60037" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 60001, 60012, 60013, 60014, 60015, 60016, 60017, 60018, 60019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_60023(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_60023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001060, {60003,60004}, 2, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001060, {60005,60006}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_60024(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_60024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001060, {60008,60009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_60025(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_60025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001060, {60010,60011}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_60026(context, evt)
--判断死亡怪物的configid是否为 60020
if evt.param1 ~= 60020 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_60026(context, evt)
-- 延迟1秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 60019, delay_time = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_60027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_60027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001060, {60003,60004}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_60028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_60028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001060, {60005,60006}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_60032(context, evt)
if 60020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_60032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001060, {60001,60012}, 2, 1, 1) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001060, {60013,60014}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_60033(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_60033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001060, {60015,60016}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_60034(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_60034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001060, {60017,60018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_60036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_60036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001060, {60001,60012}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_60037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_60037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001060, {60013,60014}, 2, 1, 1) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001061
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 61001, monster_id = 20010501, pos = { x = 2500.942, y = 247.007, z = -388.146 }, rot = { x = 341.808, y = 162.920, z = 356.028 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 4 },
{ config_id = 61002, monster_id = 20010501, pos = { x = 2510.848, y = 248.131, z = -398.504 }, rot = { x = 18.412, y = 321.803, z = 357.272 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 4 },
{ config_id = 61003, monster_id = 20010501, pos = { x = 2500.942, y = 247.007, z = -388.146 }, rot = { x = 341.808, y = 162.920, z = 356.028 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 4 },
{ config_id = 61004, monster_id = 20010501, pos = { x = 2506.540, y = 247.576, z = -384.617 }, rot = { x = 342.874, y = 174.141, z = 352.614 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 4 },
{ config_id = 61005, monster_id = 20010501, pos = { x = 2510.013, y = 247.850, z = -385.787 }, rot = { x = 348.648, y = 203.773, z = 345.160 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 4 },
{ config_id = 61006, monster_id = 20010501, pos = { x = 2499.539, y = 246.855, z = -392.658 }, rot = { x = 353.818, y = 79.151, z = 17.584 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 4 },
{ config_id = 61007, monster_id = 21010601, pos = { x = 2514.324, y = 248.491, z = -390.958 }, rot = { x = 3.759, y = 251.636, z = 341.764 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 4 },
{ config_id = 61008, monster_id = 21010601, pos = { x = 2502.802, y = 247.304, z = -397.920 }, rot = { x = 8.414, y = 34.318, z = 16.656 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 4 },
{ config_id = 61009, monster_id = 20010601, pos = { x = 2507.394, y = 247.823, z = -399.924 }, rot = { x = 16.233, y = 0.520, z = 9.218 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 30, area_id = 4 },
{ config_id = 61010, monster_id = 20010601, pos = { x = 2500.778, y = 247.048, z = -395.671 }, rot = { x = 358.244, y = 65.607, z = 18.526 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 30, area_id = 4 },
{ config_id = 61011, monster_id = 20010701, pos = { x = 2503.212, y = 247.268, z = -386.270 }, rot = { x = 341.395, y = 151.067, z = 359.781 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 4 },
{ config_id = 61012, monster_id = 20010501, pos = { x = 2506.540, y = 247.576, z = -384.617 }, rot = { x = 342.874, y = 174.141, z = 352.614 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 4 },
{ config_id = 61013, monster_id = 20010501, pos = { x = 2510.013, y = 247.850, z = -385.787 }, rot = { x = 348.648, y = 203.773, z = 345.160 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 4 },
{ config_id = 61014, monster_id = 20010501, pos = { x = 2499.539, y = 246.855, z = -392.658 }, rot = { x = 353.818, y = 79.151, z = 17.584 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 4 },
{ config_id = 61015, monster_id = 21010601, pos = { x = 2514.324, y = 248.491, z = -390.958 }, rot = { x = 3.759, y = 251.636, z = 341.764 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 4 },
{ config_id = 61016, monster_id = 21010601, pos = { x = 2502.802, y = 247.304, z = -397.920 }, rot = { x = 8.414, y = 34.318, z = 16.656 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 4 },
{ config_id = 61017, monster_id = 20010601, pos = { x = 2507.394, y = 247.823, z = -399.924 }, rot = { x = 16.233, y = 0.520, z = 9.218 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 30, area_id = 4 },
{ config_id = 61018, monster_id = 20010601, pos = { x = 2500.778, y = 247.048, z = -395.671 }, rot = { x = 358.244, y = 65.607, z = 18.526 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 30, area_id = 4 },
{ config_id = 61019, monster_id = 20010701, pos = { x = 2503.212, y = 247.268, z = -386.270 }, rot = { x = 341.395, y = 151.067, z = 359.781 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 4 },
{ config_id = 61020, monster_id = 20010501, pos = { x = 2510.848, y = 248.131, z = -398.504 }, rot = { x = 18.412, y = 321.803, z = 357.272 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 10, area_id = 4 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1061023, name = "ANY_MONSTER_LIVE_61023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_61023", action = "action_EVENT_ANY_MONSTER_LIVE_61023", trigger_count = 0 },
{ config_id = 1061024, name = "MONSTER_TIDE_DIE_61024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_61024", action = "action_EVENT_MONSTER_TIDE_DIE_61024", trigger_count = 0 },
{ config_id = 1061025, name = "MONSTER_TIDE_DIE_61025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_61025", action = "action_EVENT_MONSTER_TIDE_DIE_61025", trigger_count = 0 },
{ config_id = 1061026, name = "MONSTER_TIDE_DIE_61026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_61026", action = "action_EVENT_MONSTER_TIDE_DIE_61026", trigger_count = 0 },
{ config_id = 1061027, name = "MONSTER_TIDE_DIE_61027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_61027", action = "action_EVENT_MONSTER_TIDE_DIE_61027", trigger_count = 0 },
{ config_id = 1061028, name = "MONSTER_TIDE_DIE_61028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_61028", action = "action_EVENT_MONSTER_TIDE_DIE_61028", trigger_count = 0 },
{ config_id = 1061029, name = "MONSTER_TIDE_DIE_61029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_61029", action = "action_EVENT_MONSTER_TIDE_DIE_61029", trigger_count = 0 },
{ config_id = 1061032, name = "ANY_MONSTER_LIVE_61032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_61032", action = "action_EVENT_ANY_MONSTER_LIVE_61032", trigger_count = 0 },
{ config_id = 1061033, name = "MONSTER_TIDE_DIE_61033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_61033", action = "action_EVENT_MONSTER_TIDE_DIE_61033", trigger_count = 0 },
{ config_id = 1061034, name = "MONSTER_TIDE_DIE_61034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_61034", action = "action_EVENT_MONSTER_TIDE_DIE_61034", trigger_count = 0 },
{ config_id = 1061035, name = "MONSTER_TIDE_DIE_61035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_61035", action = "action_EVENT_MONSTER_TIDE_DIE_61035", trigger_count = 0 },
{ config_id = 1061036, name = "MONSTER_TIDE_DIE_61036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_61036", action = "action_EVENT_MONSTER_TIDE_DIE_61036", trigger_count = 0 },
{ config_id = 1061037, name = "MONSTER_TIDE_DIE_61037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_61037", action = "action_EVENT_MONSTER_TIDE_DIE_61037", trigger_count = 0 },
{ config_id = 1061038, name = "MONSTER_TIDE_DIE_61038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_61038", action = "action_EVENT_MONSTER_TIDE_DIE_61038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 61002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_61023", "MONSTER_TIDE_DIE_61024", "MONSTER_TIDE_DIE_61025", "MONSTER_TIDE_DIE_61026", "MONSTER_TIDE_DIE_61027", "MONSTER_TIDE_DIE_61028", "MONSTER_TIDE_DIE_61029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 61003, 61004, 61005, 61006, 61007, 61008, 61009, 61010, 61011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 61020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_61032", "MONSTER_TIDE_DIE_61033", "MONSTER_TIDE_DIE_61034", "MONSTER_TIDE_DIE_61035", "MONSTER_TIDE_DIE_61036", "MONSTER_TIDE_DIE_61037", "MONSTER_TIDE_DIE_61038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 61001, 61012, 61013, 61014, 61015, 61016, 61017, 61018, 61019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_61023(context, evt)
if 61002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_61023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001061, {61003,61004}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001061, {61005,61006}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001061, {61007,61008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_61024(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_61024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001061, {61009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_61025(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_61025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001061, {61010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_61026(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_61026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001061, {61011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_61027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_61027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001061, {61003,61004}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_61028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_61028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001061, {61005,61006}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_61029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_61029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001061, {61007,61008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_61032(context, evt)
if 61020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_61032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001061, {61001,61012}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001061, {61013,61014}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001061, {61015,61016}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_61033(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_61033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001061, {61017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_61034(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_61034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001061, {61018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_61035(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_61035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001061, {61019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_61036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_61036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001061, {61001,61012}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_61037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_61037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001061, {61013,61014}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_61038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_61038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001061, {61015,61016}, 6, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,195 @@
-- 基础信息
local base_info = {
group_id = 302001062
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 62001, monster_id = 23020101, pos = { x = 2237.634, y = 279.599, z = -173.449 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 3 },
{ config_id = 62002, monster_id = 23020101, pos = { x = 2248.927, y = 278.678, z = -183.841 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 3 },
{ config_id = 62003, monster_id = 23020101, pos = { x = 2237.634, y = 279.599, z = -173.449 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 3 },
{ config_id = 62020, monster_id = 23020101, pos = { x = 2248.927, y = 278.678, z = -183.841 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 180, area_id = 3 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1062023, name = "ANY_MONSTER_DIE_62023", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_62023", action = "action_EVENT_ANY_MONSTER_DIE_62023", trigger_count = 0 },
{ config_id = 1062024, name = "ANY_MONSTER_DIE_62024", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_62024", action = "action_EVENT_ANY_MONSTER_DIE_62024", trigger_count = 0 },
{ config_id = 1062032, name = "ANY_MONSTER_DIE_62032", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_62032", action = "action_EVENT_ANY_MONSTER_DIE_62032", trigger_count = 0 },
{ config_id = 1062033, name = "ANY_MONSTER_DIE_62033", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_62033", action = "action_EVENT_ANY_MONSTER_DIE_62033", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 62002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_62023", "ANY_MONSTER_DIE_62024" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 62003 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 62020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_62032", "ANY_MONSTER_DIE_62033" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 62001 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_62023(context, evt)
if 62002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_62023(context, evt)
-- 延迟1秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 62003, delay_time = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_62024(context, evt)
if 62003 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_62024(context, evt)
-- 延迟1秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 62002, delay_time = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_62032(context, evt)
if 62020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_62032(context, evt)
-- 延迟1秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 62001, delay_time = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_62033(context, evt)
if 62001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_62033(context, evt)
-- 延迟1秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 62020, delay_time = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001063
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 63001, monster_id = 21010201, pos = { x = 2150.633, y = 275.684, z = -256.244 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 63002, monster_id = 21010201, pos = { x = 2162.658, y = 276.501, z = -265.908 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 63003, monster_id = 21010201, pos = { x = 2150.633, y = 275.684, z = -256.244 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 63004, monster_id = 21010201, pos = { x = 2159.219, y = 276.968, z = -253.888 }, rot = { x = 0.000, y = 198.070, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 63005, monster_id = 21010201, pos = { x = 2164.241, y = 277.408, z = -258.984 }, rot = { x = 0.000, y = 250.288, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 63006, monster_id = 21010201, pos = { x = 2149.365, y = 275.810, z = -262.910 }, rot = { x = 0.000, y = 59.641, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 63007, monster_id = 21010901, pos = { x = 2168.446, y = 278.200, z = -260.382 }, rot = { x = 0.000, y = 276.279, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 63008, monster_id = 21011001, pos = { x = 2164.810, y = 278.315, z = -252.999 }, rot = { x = 0.000, y = 236.476, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 63009, monster_id = 21030301, pos = { x = 2157.310, y = 276.898, z = -268.774 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 3 },
{ config_id = 63010, monster_id = 21020201, pos = { x = 2150.400, y = 276.492, z = -266.341 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 63011, monster_id = 21020201, pos = { x = 2155.088, y = 276.338, z = -253.453 }, rot = { x = 0.000, y = 169.139, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 63012, monster_id = 21010201, pos = { x = 2159.219, y = 276.968, z = -253.888 }, rot = { x = 0.000, y = 198.070, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 63013, monster_id = 21010201, pos = { x = 2164.241, y = 277.408, z = -258.984 }, rot = { x = 0.000, y = 250.288, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 63014, monster_id = 21010201, pos = { x = 2149.365, y = 275.810, z = -262.910 }, rot = { x = 0.000, y = 59.641, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 63015, monster_id = 21010901, pos = { x = 2168.446, y = 278.200, z = -260.382 }, rot = { x = 0.000, y = 276.279, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 63016, monster_id = 21011001, pos = { x = 2164.810, y = 278.315, z = -252.999 }, rot = { x = 0.000, y = 236.476, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 63017, monster_id = 21030301, pos = { x = 2157.310, y = 276.898, z = -268.774 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 3 },
{ config_id = 63018, monster_id = 21020201, pos = { x = 2150.400, y = 276.492, z = -266.341 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 63019, monster_id = 21020201, pos = { x = 2155.088, y = 276.338, z = -253.453 }, rot = { x = 0.000, y = 169.139, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 63020, monster_id = 21010201, pos = { x = 2162.658, y = 276.501, z = -265.908 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1063023, name = "ANY_MONSTER_LIVE_63023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_63023", action = "action_EVENT_ANY_MONSTER_LIVE_63023", trigger_count = 0 },
{ config_id = 1063024, name = "MONSTER_TIDE_DIE_63024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_63024", action = "action_EVENT_MONSTER_TIDE_DIE_63024", trigger_count = 0 },
{ config_id = 1063025, name = "MONSTER_TIDE_DIE_63025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_63025", action = "action_EVENT_MONSTER_TIDE_DIE_63025", trigger_count = 0 },
{ config_id = 1063026, name = "MONSTER_TIDE_DIE_63026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_63026", action = "action_EVENT_MONSTER_TIDE_DIE_63026", trigger_count = 0 },
{ config_id = 1063027, name = "MONSTER_TIDE_DIE_63027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_63027", action = "action_EVENT_MONSTER_TIDE_DIE_63027", trigger_count = 0 },
{ config_id = 1063028, name = "MONSTER_TIDE_DIE_63028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_63028", action = "action_EVENT_MONSTER_TIDE_DIE_63028", trigger_count = 0 },
{ config_id = 1063029, name = "MONSTER_TIDE_DIE_63029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_63029", action = "action_EVENT_MONSTER_TIDE_DIE_63029", trigger_count = 0 },
{ config_id = 1063032, name = "ANY_MONSTER_LIVE_63032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_63032", action = "action_EVENT_ANY_MONSTER_LIVE_63032", trigger_count = 0 },
{ config_id = 1063033, name = "MONSTER_TIDE_DIE_63033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_63033", action = "action_EVENT_MONSTER_TIDE_DIE_63033", trigger_count = 0 },
{ config_id = 1063034, name = "MONSTER_TIDE_DIE_63034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_63034", action = "action_EVENT_MONSTER_TIDE_DIE_63034", trigger_count = 0 },
{ config_id = 1063035, name = "MONSTER_TIDE_DIE_63035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_63035", action = "action_EVENT_MONSTER_TIDE_DIE_63035", trigger_count = 0 },
{ config_id = 1063036, name = "MONSTER_TIDE_DIE_63036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_63036", action = "action_EVENT_MONSTER_TIDE_DIE_63036", trigger_count = 0 },
{ config_id = 1063037, name = "MONSTER_TIDE_DIE_63037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_63037", action = "action_EVENT_MONSTER_TIDE_DIE_63037", trigger_count = 0 },
{ config_id = 1063038, name = "MONSTER_TIDE_DIE_63038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_63038", action = "action_EVENT_MONSTER_TIDE_DIE_63038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 63002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_63023", "MONSTER_TIDE_DIE_63024", "MONSTER_TIDE_DIE_63025", "MONSTER_TIDE_DIE_63026", "MONSTER_TIDE_DIE_63027", "MONSTER_TIDE_DIE_63028", "MONSTER_TIDE_DIE_63029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 63003, 63004, 63005, 63006, 63007, 63008, 63009, 63010, 63011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 63020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_63032", "MONSTER_TIDE_DIE_63033", "MONSTER_TIDE_DIE_63034", "MONSTER_TIDE_DIE_63035", "MONSTER_TIDE_DIE_63036", "MONSTER_TIDE_DIE_63037", "MONSTER_TIDE_DIE_63038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 63001, 63012, 63013, 63014, 63015, 63016, 63017, 63018, 63019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_63023(context, evt)
if 63002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_63023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001063, {63003,63004}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001063, {63005,63006}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001063, {63007,63008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_63024(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_63024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001063, {63009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_63025(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_63025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001063, {63010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_63026(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_63026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001063, {63011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_63027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_63027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001063, {63003,63004}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_63028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_63028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001063, {63005,63006}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_63029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_63029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001063, {63007,63008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_63032(context, evt)
if 63020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_63032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001063, {63001,63012}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001063, {63013,63014}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001063, {63015,63016}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_63033(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_63033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001063, {63017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_63034(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_63034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001063, {63018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_63035(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_63035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001063, {63019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_63036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_63036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001063, {63001,63012}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_63037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_63037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001063, {63013,63014}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_63038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_63038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001063, {63015,63016}, 6, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001064
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 64001, monster_id = 21010201, pos = { x = 1857.284, y = 203.501, z = -227.730 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 64002, monster_id = 21010201, pos = { x = 1869.070, y = 203.261, z = -237.868 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 64003, monster_id = 21010201, pos = { x = 1857.284, y = 203.501, z = -227.730 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 64004, monster_id = 21010201, pos = { x = 1865.697, y = 202.231, z = -224.423 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 64005, monster_id = 21010701, pos = { x = 1870.747, y = 203.143, z = -228.170 }, rot = { x = 0.000, y = 233.451, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 64006, monster_id = 21010701, pos = { x = 1856.931, y = 203.652, z = -235.645 }, rot = { x = 0.000, y = 52.365, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 64007, monster_id = 21011001, pos = { x = 1874.361, y = 203.489, z = -230.844 }, rot = { x = 0.000, y = 270.335, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 64008, monster_id = 21011001, pos = { x = 1873.690, y = 203.450, z = -234.167 }, rot = { x = 0.000, y = 271.029, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 64009, monster_id = 20010701, pos = { x = 1864.168, y = 203.002, z = -240.085 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 3 },
{ config_id = 64010, monster_id = 20010601, pos = { x = 1856.042, y = 203.753, z = -232.779 }, rot = { x = 0.000, y = 92.750, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 3 },
{ config_id = 64011, monster_id = 21020201, pos = { x = 1860.793, y = 202.735, z = -224.760 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 64012, monster_id = 21010201, pos = { x = 1865.697, y = 202.231, z = -224.423 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 64013, monster_id = 21010701, pos = { x = 1870.747, y = 203.143, z = -228.170 }, rot = { x = 0.000, y = 233.451, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 64014, monster_id = 21010701, pos = { x = 1856.931, y = 203.652, z = -235.645 }, rot = { x = 0.000, y = 52.365, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 64015, monster_id = 21011001, pos = { x = 1874.361, y = 203.489, z = -230.844 }, rot = { x = 0.000, y = 270.335, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 64016, monster_id = 21011001, pos = { x = 1873.690, y = 203.450, z = -234.167 }, rot = { x = 0.000, y = 271.029, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 },
{ config_id = 64017, monster_id = 20010701, pos = { x = 1864.168, y = 203.002, z = -240.085 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 3 },
{ config_id = 64018, monster_id = 20010601, pos = { x = 1856.042, y = 203.753, z = -232.779 }, rot = { x = 0.000, y = 92.750, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 3 },
{ config_id = 64019, monster_id = 21020201, pos = { x = 1860.793, y = 202.735, z = -224.760 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 3 },
{ config_id = 64020, monster_id = 21010201, pos = { x = 1869.070, y = 203.261, z = -237.868 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 3 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1064023, name = "ANY_MONSTER_LIVE_64023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_64023", action = "action_EVENT_ANY_MONSTER_LIVE_64023", trigger_count = 0 },
{ config_id = 1064024, name = "MONSTER_TIDE_DIE_64024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_64024", action = "action_EVENT_MONSTER_TIDE_DIE_64024", trigger_count = 0 },
{ config_id = 1064025, name = "MONSTER_TIDE_DIE_64025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_64025", action = "action_EVENT_MONSTER_TIDE_DIE_64025", trigger_count = 0 },
{ config_id = 1064026, name = "MONSTER_TIDE_DIE_64026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_64026", action = "action_EVENT_MONSTER_TIDE_DIE_64026", trigger_count = 0 },
{ config_id = 1064027, name = "MONSTER_TIDE_DIE_64027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_64027", action = "action_EVENT_MONSTER_TIDE_DIE_64027", trigger_count = 0 },
{ config_id = 1064028, name = "MONSTER_TIDE_DIE_64028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_64028", action = "action_EVENT_MONSTER_TIDE_DIE_64028", trigger_count = 0 },
{ config_id = 1064029, name = "MONSTER_TIDE_DIE_64029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_64029", action = "action_EVENT_MONSTER_TIDE_DIE_64029", trigger_count = 0 },
{ config_id = 1064032, name = "ANY_MONSTER_LIVE_64032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_64032", action = "action_EVENT_ANY_MONSTER_LIVE_64032", trigger_count = 0 },
{ config_id = 1064033, name = "MONSTER_TIDE_DIE_64033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_64033", action = "action_EVENT_MONSTER_TIDE_DIE_64033", trigger_count = 0 },
{ config_id = 1064034, name = "MONSTER_TIDE_DIE_64034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_64034", action = "action_EVENT_MONSTER_TIDE_DIE_64034", trigger_count = 0 },
{ config_id = 1064035, name = "MONSTER_TIDE_DIE_64035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_64035", action = "action_EVENT_MONSTER_TIDE_DIE_64035", trigger_count = 0 },
{ config_id = 1064036, name = "MONSTER_TIDE_DIE_64036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_64036", action = "action_EVENT_MONSTER_TIDE_DIE_64036", trigger_count = 0 },
{ config_id = 1064037, name = "MONSTER_TIDE_DIE_64037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_64037", action = "action_EVENT_MONSTER_TIDE_DIE_64037", trigger_count = 0 },
{ config_id = 1064038, name = "MONSTER_TIDE_DIE_64038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_64038", action = "action_EVENT_MONSTER_TIDE_DIE_64038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 64002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_64023", "MONSTER_TIDE_DIE_64024", "MONSTER_TIDE_DIE_64025", "MONSTER_TIDE_DIE_64026", "MONSTER_TIDE_DIE_64027", "MONSTER_TIDE_DIE_64028", "MONSTER_TIDE_DIE_64029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 64003, 64004, 64005, 64006, 64007, 64008, 64009, 64010, 64011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 64020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_64032", "MONSTER_TIDE_DIE_64033", "MONSTER_TIDE_DIE_64034", "MONSTER_TIDE_DIE_64035", "MONSTER_TIDE_DIE_64036", "MONSTER_TIDE_DIE_64037", "MONSTER_TIDE_DIE_64038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 64001, 64012, 64013, 64014, 64015, 64016, 64017, 64018, 64019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_64023(context, evt)
if 64002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_64023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001064, {64003,64004}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001064, {64005,64006}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001064, {64007,64008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_64024(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_64024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001064, {64009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_64025(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_64025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001064, {64010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_64026(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_64026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001064, {64011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_64027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_64027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001064, {64003,64004}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_64028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_64028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001064, {64005,64006}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_64029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_64029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001064, {64007,64008}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_64032(context, evt)
if 64020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_64032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001064, {64001,64012}, 6, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001064, {64013,64014}, 6, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001064, {64015,64016}, 6, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_64033(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_64033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001064, {64017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_64034(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_64034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001064, {64018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_64035(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_64035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001064, {64019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_64036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_64036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001064, {64001,64012}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_64037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_64037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001064, {64013,64014}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_64038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_64038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为6场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001064, {64015,64016}, 6, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001065
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 65001, monster_id = 20011201, pos = { x = 1249.747, y = 306.499, z = -1771.007 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 65002, monster_id = 20011201, pos = { x = 1258.914, y = 306.313, z = -1776.704 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 65003, monster_id = 20011201, pos = { x = 1251.040, y = 306.667, z = -1768.910 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 65004, monster_id = 20011201, pos = { x = 1259.999, y = 307.300, z = -1765.549 }, rot = { x = 0.000, y = 207.959, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 65005, monster_id = 20011201, pos = { x = 1260.435, y = 307.078, z = -1768.251 }, rot = { x = 0.000, y = 237.755, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 65006, monster_id = 20011201, pos = { x = 1250.727, y = 306.274, z = -1774.779 }, rot = { x = 0.000, y = 61.360, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 65007, monster_id = 21030301, pos = { x = 1262.264, y = 306.862, z = -1770.292 }, rot = { x = 0.000, y = 243.745, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 65008, monster_id = 21010501, pos = { x = 1252.652, y = 306.098, z = -1777.111 }, rot = { x = 0.000, y = 29.610, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 65009, monster_id = 20011301, pos = { x = 1254.527, y = 306.169, z = -1779.011 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 2 },
{ config_id = 65010, monster_id = 20011301, pos = { x = 1256.723, y = 307.203, z = -1764.393 }, rot = { x = 0.000, y = 188.879, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 2 },
{ config_id = 65011, monster_id = 21020201, pos = { x = 1257.706, y = 306.230, z = -1778.499 }, rot = { x = 0.000, y = 333.017, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 65012, monster_id = 20011201, pos = { x = 1254.497, y = 307.058, z = -1764.943 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 65013, monster_id = 20011201, pos = { x = 1257.850, y = 307.166, z = -1766.857 }, rot = { x = 0.000, y = 202.290, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 65014, monster_id = 20011201, pos = { x = 1249.237, y = 306.249, z = -1776.990 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 65015, monster_id = 21030303, pos = { x = 1262.732, y = 306.385, z = -1775.560 }, rot = { x = 0.000, y = 285.548, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 65016, monster_id = 21010502, pos = { x = 1252.119, y = 306.288, z = -1780.323 }, rot = { x = 0.000, y = 32.783, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 },
{ config_id = 65017, monster_id = 20011304, pos = { x = 1256.929, y = 306.298, z = -1782.464 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 2 },
{ config_id = 65018, monster_id = 20011304, pos = { x = 1263.550, y = 306.604, z = -1772.833 }, rot = { x = 0.000, y = 268.750, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 2 },
{ config_id = 65019, monster_id = 21020202, pos = { x = 1253.157, y = 306.946, z = -1766.152 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 2 },
{ config_id = 65020, monster_id = 20011201, pos = { x = 1261.885, y = 306.196, z = -1778.382 }, rot = { x = 0.000, y = 322.246, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 2 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1065023, name = "ANY_MONSTER_LIVE_65023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_65023", action = "action_EVENT_ANY_MONSTER_LIVE_65023", trigger_count = 0 },
{ config_id = 1065024, name = "MONSTER_TIDE_DIE_65024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_65024", action = "action_EVENT_MONSTER_TIDE_DIE_65024", trigger_count = 0 },
{ config_id = 1065025, name = "MONSTER_TIDE_DIE_65025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_65025", action = "action_EVENT_MONSTER_TIDE_DIE_65025", trigger_count = 0 },
{ config_id = 1065026, name = "MONSTER_TIDE_DIE_65026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_65026", action = "action_EVENT_MONSTER_TIDE_DIE_65026", trigger_count = 0 },
{ config_id = 1065027, name = "MONSTER_TIDE_DIE_65027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_65027", action = "action_EVENT_MONSTER_TIDE_DIE_65027", trigger_count = 0 },
{ config_id = 1065028, name = "MONSTER_TIDE_DIE_65028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_65028", action = "action_EVENT_MONSTER_TIDE_DIE_65028", trigger_count = 0 },
{ config_id = 1065029, name = "MONSTER_TIDE_DIE_65029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_65029", action = "action_EVENT_MONSTER_TIDE_DIE_65029", trigger_count = 0 },
{ config_id = 1065032, name = "ANY_MONSTER_LIVE_65032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_65032", action = "action_EVENT_ANY_MONSTER_LIVE_65032", trigger_count = 0 },
{ config_id = 1065033, name = "MONSTER_TIDE_DIE_65033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_65033", action = "action_EVENT_MONSTER_TIDE_DIE_65033", trigger_count = 0 },
{ config_id = 1065034, name = "MONSTER_TIDE_DIE_65034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_65034", action = "action_EVENT_MONSTER_TIDE_DIE_65034", trigger_count = 0 },
{ config_id = 1065035, name = "MONSTER_TIDE_DIE_65035", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_65035", action = "action_EVENT_MONSTER_TIDE_DIE_65035", trigger_count = 0 },
{ config_id = 1065036, name = "MONSTER_TIDE_DIE_65036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_65036", action = "action_EVENT_MONSTER_TIDE_DIE_65036", trigger_count = 0 },
{ config_id = 1065037, name = "MONSTER_TIDE_DIE_65037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_65037", action = "action_EVENT_MONSTER_TIDE_DIE_65037", trigger_count = 0 },
{ config_id = 1065038, name = "MONSTER_TIDE_DIE_65038", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_65038", action = "action_EVENT_MONSTER_TIDE_DIE_65038", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 65002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_65023", "MONSTER_TIDE_DIE_65024", "MONSTER_TIDE_DIE_65025", "MONSTER_TIDE_DIE_65026", "MONSTER_TIDE_DIE_65027", "MONSTER_TIDE_DIE_65028", "MONSTER_TIDE_DIE_65029" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 65003, 65004, 65005, 65006, 65007, 65008, 65009, 65010, 65011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 65020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_65032", "MONSTER_TIDE_DIE_65033", "MONSTER_TIDE_DIE_65034", "MONSTER_TIDE_DIE_65035", "MONSTER_TIDE_DIE_65036", "MONSTER_TIDE_DIE_65037", "MONSTER_TIDE_DIE_65038" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 65001, 65012, 65013, 65014, 65015, 65016, 65017, 65018, 65019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_65023(context, evt)
if 65002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_65023(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001065, {65003,65004}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001065, {65005,65006}, 2, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001065, {65007,65008}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_65024(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_65024(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001065, {65009}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_65025(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_65025(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001065, {65010}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_65026(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_65026(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001065, {65011}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_65027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_65027(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001065, {65003,65004}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_65028(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_65028(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001065, {65005,65006}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_65029(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_65029(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001065, {65007,65008}, 2, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_65032(context, evt)
if 65020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_65032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001065, {65001,65012}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001065, {65013,65014}, 2, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001065, {65015,65016}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_65033(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_65033(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001065, {65017}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_65034(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_65034(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001065, {65018}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_65035(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_65035(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001065, {65019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_65036(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_65036(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001065, {65001,65012}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_65037(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_65037(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001065, {65013,65014}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_65038(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_65038(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001065, {65015,65016}, 2, 2, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,203 @@
-- 基础信息
local base_info = {
group_id = 302001066
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001022,
gadget_id = 66001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 66002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 66001, gadget_id = 70950015, pos = { x = 1454.276, y = 270.184, z = -1653.260 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 2 },
{ config_id = 66002, gadget_id = 70950021, pos = { x = 1454.276, y = 270.184, z = -1653.260 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 2 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1066003, name = "SEAL_BATTLE_PROGRESS_DECREASE_66003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_66003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_66003", trigger_count = 0 },
{ config_id = 1066004, name = "SEAL_BATTLE_END_66004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_66004", action = "action_EVENT_SEAL_BATTLE_END_66004", trigger_count = 0 },
{ config_id = 1066005, name = "SELECT_DIFFICULTY_66005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_66005", action = "action_EVENT_SELECT_DIFFICULTY_66005", trigger_count = 0 },
{ config_id = 1066006, name = "GENERAL_REWARD_DIE_66006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_66006", action = "action_EVENT_GENERAL_REWARD_DIE_66006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 66001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_66003", "SEAL_BATTLE_END_66004", "SELECT_DIFFICULTY_66005", "GENERAL_REWARD_DIE_66006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_66003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_66003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_66004(context, evt)
if 66001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_66004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_66005(context, evt)
if 66001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_66005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_66006(context, evt)
if 66002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_66006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 66001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,203 @@
-- 基础信息
local base_info = {
group_id = 302001067
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001023,
gadget_id = 67001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 67002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 67001, gadget_id = 70950015, pos = { x = 1409.097, y = 283.916, z = -1398.586 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 2 },
{ config_id = 67002, gadget_id = 70950021, pos = { x = 1409.097, y = 283.916, z = -1398.586 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 2 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1067003, name = "SEAL_BATTLE_PROGRESS_DECREASE_67003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_67003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_67003", trigger_count = 0 },
{ config_id = 1067004, name = "SEAL_BATTLE_END_67004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_67004", action = "action_EVENT_SEAL_BATTLE_END_67004", trigger_count = 0 },
{ config_id = 1067005, name = "SELECT_DIFFICULTY_67005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_67005", action = "action_EVENT_SELECT_DIFFICULTY_67005", trigger_count = 0 },
{ config_id = 1067006, name = "GENERAL_REWARD_DIE_67006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_67006", action = "action_EVENT_GENERAL_REWARD_DIE_67006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 67001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_67003", "SEAL_BATTLE_END_67004", "SELECT_DIFFICULTY_67005", "GENERAL_REWARD_DIE_67006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_67003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_67003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_67004(context, evt)
if 67001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_67004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_67005(context, evt)
if 67001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_67005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_67006(context, evt)
if 67002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_67006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 67001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001068
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001029,
gadget_id = 68001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 68002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 68001, gadget_id = 70950020, pos = { x = 1829.033, y = 194.780, z = -1381.672 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 2 },
{ config_id = 68002, gadget_id = 70950021, pos = { x = 1829.033, y = 194.780, z = -1381.672 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 2 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1068003, name = "SEAL_BATTLE_PROGRESS_DECREASE_68003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_68003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_68003", trigger_count = 0 },
{ config_id = 1068004, name = "SEAL_BATTLE_END_68004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_68004", action = "action_EVENT_SEAL_BATTLE_END_68004", trigger_count = 0 },
{ config_id = 1068005, name = "SELECT_DIFFICULTY_68005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_68005", action = "action_EVENT_SELECT_DIFFICULTY_68005", trigger_count = 0 },
{ config_id = 1068006, name = "GENERAL_REWARD_DIE_68006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_68006", action = "action_EVENT_GENERAL_REWARD_DIE_68006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 68001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_68003", "SEAL_BATTLE_END_68004", "SELECT_DIFFICULTY_68005", "GENERAL_REWARD_DIE_68006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_68003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_68003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_68004(context, evt)
if 68001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_68004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_68005(context, evt)
if 68001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_68005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_68006(context, evt)
if 68002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_68006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 68001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001069
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001030,
gadget_id = 69001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 69002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 69001, gadget_id = 70950020, pos = { x = 2218.956, y = 237.565, z = -1411.798 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 1 },
{ config_id = 69002, gadget_id = 70950021, pos = { x = 2218.988, y = 238.887, z = -1411.794 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1069003, name = "SEAL_BATTLE_PROGRESS_DECREASE_69003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_69003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_69003", trigger_count = 0 },
{ config_id = 1069004, name = "SEAL_BATTLE_END_69004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_69004", action = "action_EVENT_SEAL_BATTLE_END_69004", trigger_count = 0 },
{ config_id = 1069005, name = "SELECT_DIFFICULTY_69005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_69005", action = "action_EVENT_SELECT_DIFFICULTY_69005", trigger_count = 0 },
{ config_id = 1069006, name = "GENERAL_REWARD_DIE_69006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_69006", action = "action_EVENT_GENERAL_REWARD_DIE_69006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 69001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_69003", "SEAL_BATTLE_END_69004", "SELECT_DIFFICULTY_69005", "GENERAL_REWARD_DIE_69006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_69003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_69003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_69004(context, evt)
if 69001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_69004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_69005(context, evt)
if 69001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_69005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_69006(context, evt)
if 69002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_69006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 69001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001070
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001031,
gadget_id = 70001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 70002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 70001, gadget_id = 70950020, pos = { x = 2077.577, y = 209.766, z = -1298.861 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 1 },
{ config_id = 70002, gadget_id = 70950021, pos = { x = 2077.577, y = 209.766, z = -1298.861 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1070003, name = "SEAL_BATTLE_PROGRESS_DECREASE_70003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_70003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_70003", trigger_count = 0 },
{ config_id = 1070004, name = "SEAL_BATTLE_END_70004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_70004", action = "action_EVENT_SEAL_BATTLE_END_70004", trigger_count = 0 },
{ config_id = 1070005, name = "SELECT_DIFFICULTY_70005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_70005", action = "action_EVENT_SELECT_DIFFICULTY_70005", trigger_count = 0 },
{ config_id = 1070006, name = "GENERAL_REWARD_DIE_70006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_70006", action = "action_EVENT_GENERAL_REWARD_DIE_70006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 70001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_70003", "SEAL_BATTLE_END_70004", "SELECT_DIFFICULTY_70005", "GENERAL_REWARD_DIE_70006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_70003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_70003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_70004(context, evt)
if 70001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_70004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_70005(context, evt)
if 70001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_70005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_70006(context, evt)
if 70002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_70006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 70001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001071
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001032,
gadget_id = 71001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 71002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 71001, gadget_id = 70950020, pos = { x = 2073.438, y = 199.729, z = -1143.271 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 2 },
{ config_id = 71002, gadget_id = 70950021, pos = { x = 2073.438, y = 199.896, z = -1143.271 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 2 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1071003, name = "SEAL_BATTLE_PROGRESS_DECREASE_71003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_71003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_71003", trigger_count = 0 },
{ config_id = 1071004, name = "SEAL_BATTLE_END_71004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_71004", action = "action_EVENT_SEAL_BATTLE_END_71004", trigger_count = 0 },
{ config_id = 1071005, name = "SELECT_DIFFICULTY_71005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_71005", action = "action_EVENT_SELECT_DIFFICULTY_71005", trigger_count = 0 },
{ config_id = 1071006, name = "GENERAL_REWARD_DIE_71006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_71006", action = "action_EVENT_GENERAL_REWARD_DIE_71006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 71001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_71003", "SEAL_BATTLE_END_71004", "SELECT_DIFFICULTY_71005", "GENERAL_REWARD_DIE_71006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_71003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_71003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_71004(context, evt)
if 71001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_71004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_71005(context, evt)
if 71001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_71005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_71006(context, evt)
if 71002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_71006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 71001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001072
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001024,
gadget_id = 72001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 72002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 72001, gadget_id = 70950020, pos = { x = -259.912, y = 200.841, z = -873.201 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 7 },
{ config_id = 72002, gadget_id = 70950021, pos = { x = -259.912, y = 200.841, z = -873.201 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 7 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1072003, name = "SEAL_BATTLE_PROGRESS_DECREASE_72003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_72003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_72003", trigger_count = 0 },
{ config_id = 1072004, name = "SEAL_BATTLE_END_72004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_72004", action = "action_EVENT_SEAL_BATTLE_END_72004", trigger_count = 0 },
{ config_id = 1072005, name = "SELECT_DIFFICULTY_72005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_72005", action = "action_EVENT_SELECT_DIFFICULTY_72005", trigger_count = 0 },
{ config_id = 1072006, name = "GENERAL_REWARD_DIE_72006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_72006", action = "action_EVENT_GENERAL_REWARD_DIE_72006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 72001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_72003", "SEAL_BATTLE_END_72004", "SELECT_DIFFICULTY_72005", "GENERAL_REWARD_DIE_72006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_72003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_72003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_72004(context, evt)
if 72001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_72004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_72005(context, evt)
if 72001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_72005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_72006(context, evt)
if 72002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_72006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 72001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001073
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001025,
gadget_id = 73001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 73002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 73001, gadget_id = 70950020, pos = { x = -141.456, y = 200.798, z = -901.960 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 7 },
{ config_id = 73002, gadget_id = 70950021, pos = { x = -141.456, y = 200.798, z = -901.960 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 7 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1073003, name = "SEAL_BATTLE_PROGRESS_DECREASE_73003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_73003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_73003", trigger_count = 0 },
{ config_id = 1073004, name = "SEAL_BATTLE_END_73004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_73004", action = "action_EVENT_SEAL_BATTLE_END_73004", trigger_count = 0 },
{ config_id = 1073005, name = "SELECT_DIFFICULTY_73005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_73005", action = "action_EVENT_SELECT_DIFFICULTY_73005", trigger_count = 0 },
{ config_id = 1073006, name = "GENERAL_REWARD_DIE_73006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_73006", action = "action_EVENT_GENERAL_REWARD_DIE_73006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 73001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_73003", "SEAL_BATTLE_END_73004", "SELECT_DIFFICULTY_73005", "GENERAL_REWARD_DIE_73006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_73003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_73003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_73004(context, evt)
if 73001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_73004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_73005(context, evt)
if 73001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_73005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_73006(context, evt)
if 73002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_73006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 73001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001074
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001026,
gadget_id = 74001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 74002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 74001, gadget_id = 70950020, pos = { x = -94.248, y = 200.525, z = -735.258 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 7 },
{ config_id = 74002, gadget_id = 70950021, pos = { x = -94.248, y = 200.525, z = -735.258 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 7 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1074003, name = "SEAL_BATTLE_PROGRESS_DECREASE_74003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_74003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_74003", trigger_count = 0 },
{ config_id = 1074004, name = "SEAL_BATTLE_END_74004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_74004", action = "action_EVENT_SEAL_BATTLE_END_74004", trigger_count = 0 },
{ config_id = 1074005, name = "SELECT_DIFFICULTY_74005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_74005", action = "action_EVENT_SELECT_DIFFICULTY_74005", trigger_count = 0 },
{ config_id = 1074006, name = "GENERAL_REWARD_DIE_74006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_74006", action = "action_EVENT_GENERAL_REWARD_DIE_74006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 74001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_74003", "SEAL_BATTLE_END_74004", "SELECT_DIFFICULTY_74005", "GENERAL_REWARD_DIE_74006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_74003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_74003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_74004(context, evt)
if 74001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_74004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_74005(context, evt)
if 74001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_74005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_74006(context, evt)
if 74002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_74006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 74001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001075
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001028,
gadget_id = 75001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 75002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 75001, gadget_id = 70950020, pos = { x = -155.748, y = 201.830, z = -455.900 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 7 },
{ config_id = 75002, gadget_id = 70950021, pos = { x = -155.748, y = 201.830, z = -455.900 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 7 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1075003, name = "SEAL_BATTLE_PROGRESS_DECREASE_75003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_75003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_75003", trigger_count = 0 },
{ config_id = 1075004, name = "SEAL_BATTLE_END_75004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_75004", action = "action_EVENT_SEAL_BATTLE_END_75004", trigger_count = 0 },
{ config_id = 1075005, name = "SELECT_DIFFICULTY_75005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_75005", action = "action_EVENT_SELECT_DIFFICULTY_75005", trigger_count = 0 },
{ config_id = 1075006, name = "GENERAL_REWARD_DIE_75006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_75006", action = "action_EVENT_GENERAL_REWARD_DIE_75006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 75001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_75003", "SEAL_BATTLE_END_75004", "SELECT_DIFFICULTY_75005", "GENERAL_REWARD_DIE_75006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_75003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_75003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_75004(context, evt)
if 75001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_75004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_75005(context, evt)
if 75001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_75005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_75006(context, evt)
if 75002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_75006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 75001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,203 @@
-- 基础信息
local base_info = {
group_id = 302001076
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001044,
gadget_id = 76001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 76002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 76001, gadget_id = 70950015, pos = { x = -108.028, y = 253.675, z = -103.079 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 7 },
{ config_id = 76002, gadget_id = 70950021, pos = { x = -108.028, y = 253.675, z = -103.079 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 7 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1076003, name = "SEAL_BATTLE_PROGRESS_DECREASE_76003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_76003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_76003", trigger_count = 0 },
{ config_id = 1076004, name = "SEAL_BATTLE_END_76004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_76004", action = "action_EVENT_SEAL_BATTLE_END_76004", trigger_count = 0 },
{ config_id = 1076005, name = "SELECT_DIFFICULTY_76005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_76005", action = "action_EVENT_SELECT_DIFFICULTY_76005", trigger_count = 0 },
{ config_id = 1076006, name = "GENERAL_REWARD_DIE_76006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_76006", action = "action_EVENT_GENERAL_REWARD_DIE_76006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 76001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_76003", "SEAL_BATTLE_END_76004", "SELECT_DIFFICULTY_76005", "GENERAL_REWARD_DIE_76006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_76003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_76003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_76004(context, evt)
if 76001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_76004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_76005(context, evt)
if 76001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_76005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_76006(context, evt)
if 76002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_76006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 76001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,203 @@
-- 基础信息
local base_info = {
group_id = 302001077
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001045,
gadget_id = 77001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 77002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 77001, gadget_id = 70950015, pos = { x = 29.648, y = 267.420, z = 114.905 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 7 },
{ config_id = 77002, gadget_id = 70950021, pos = { x = 29.648, y = 267.420, z = 114.905 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 7 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1077003, name = "SEAL_BATTLE_PROGRESS_DECREASE_77003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_77003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_77003", trigger_count = 0 },
{ config_id = 1077004, name = "SEAL_BATTLE_END_77004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_77004", action = "action_EVENT_SEAL_BATTLE_END_77004", trigger_count = 0 },
{ config_id = 1077005, name = "SELECT_DIFFICULTY_77005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_77005", action = "action_EVENT_SELECT_DIFFICULTY_77005", trigger_count = 0 },
{ config_id = 1077006, name = "GENERAL_REWARD_DIE_77006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_77006", action = "action_EVENT_GENERAL_REWARD_DIE_77006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 77001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_77003", "SEAL_BATTLE_END_77004", "SELECT_DIFFICULTY_77005", "GENERAL_REWARD_DIE_77006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_77003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_77003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_77004(context, evt)
if 77001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_77004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_77005(context, evt)
if 77001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_77005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_77006(context, evt)
if 77002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_77006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 77001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,203 @@
-- 基础信息
local base_info = {
group_id = 302001078
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001046,
gadget_id = 78001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 78002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 78001, gadget_id = 70950015, pos = { x = 240.725, y = 224.751, z = 251.260 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 9 },
{ config_id = 78002, gadget_id = 70950021, pos = { x = 240.725, y = 224.751, z = 251.260 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 9 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1078003, name = "SEAL_BATTLE_PROGRESS_DECREASE_78003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_78003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_78003", trigger_count = 0 },
{ config_id = 1078004, name = "SEAL_BATTLE_END_78004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_78004", action = "action_EVENT_SEAL_BATTLE_END_78004", trigger_count = 0 },
{ config_id = 1078005, name = "SELECT_DIFFICULTY_78005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_78005", action = "action_EVENT_SELECT_DIFFICULTY_78005", trigger_count = 0 },
{ config_id = 1078006, name = "GENERAL_REWARD_DIE_78006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_78006", action = "action_EVENT_GENERAL_REWARD_DIE_78006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 78001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_78003", "SEAL_BATTLE_END_78004", "SELECT_DIFFICULTY_78005", "GENERAL_REWARD_DIE_78006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_78003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_78003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_78004(context, evt)
if 78001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_78004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_78005(context, evt)
if 78001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_78005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_78006(context, evt)
if 78002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_78006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 78001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,203 @@
-- 基础信息
local base_info = {
group_id = 302001079
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001050,
gadget_id = 79001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 79002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 79001, gadget_id = 70950015, pos = { x = 137.413, y = 237.368, z = 277.058 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 9 },
{ config_id = 79002, gadget_id = 70950021, pos = { x = 137.413, y = 237.368, z = 277.058 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 9 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1079003, name = "SEAL_BATTLE_PROGRESS_DECREASE_79003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_79003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_79003", trigger_count = 0 },
{ config_id = 1079004, name = "SEAL_BATTLE_END_79004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_79004", action = "action_EVENT_SEAL_BATTLE_END_79004", trigger_count = 0 },
{ config_id = 1079005, name = "SELECT_DIFFICULTY_79005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_79005", action = "action_EVENT_SELECT_DIFFICULTY_79005", trigger_count = 0 },
{ config_id = 1079006, name = "GENERAL_REWARD_DIE_79006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_79006", action = "action_EVENT_GENERAL_REWARD_DIE_79006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 79001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_79003", "SEAL_BATTLE_END_79004", "SELECT_DIFFICULTY_79005", "GENERAL_REWARD_DIE_79006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_79003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_79003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_79004(context, evt)
if 79001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_79004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_79005(context, evt)
if 79001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_79005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_79006(context, evt)
if 79002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_79006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 79001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001080
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001052,
gadget_id = 80001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 80002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 80001, gadget_id = 70950020, pos = { x = 396.872, y = 200.593, z = -364.855 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 9 },
{ config_id = 80002, gadget_id = 70950021, pos = { x = 396.872, y = 200.593, z = -364.855 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 9 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1080003, name = "SEAL_BATTLE_PROGRESS_DECREASE_80003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_80003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_80003", trigger_count = 0 },
{ config_id = 1080004, name = "SEAL_BATTLE_END_80004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_80004", action = "action_EVENT_SEAL_BATTLE_END_80004", trigger_count = 0 },
{ config_id = 1080005, name = "SELECT_DIFFICULTY_80005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_80005", action = "action_EVENT_SELECT_DIFFICULTY_80005", trigger_count = 0 },
{ config_id = 1080006, name = "GENERAL_REWARD_DIE_80006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_80006", action = "action_EVENT_GENERAL_REWARD_DIE_80006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 80001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_80003", "SEAL_BATTLE_END_80004", "SELECT_DIFFICULTY_80005", "GENERAL_REWARD_DIE_80006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_80003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_80003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_80004(context, evt)
if 80001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_80004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_80005(context, evt)
if 80001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_80005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_80006(context, evt)
if 80002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_80006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 80001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001081
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001057,
gadget_id = 81001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 81002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 81001, gadget_id = 70950020, pos = { x = 425.514, y = 201.283, z = -289.803 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 9 },
{ config_id = 81002, gadget_id = 70950021, pos = { x = 425.514, y = 201.283, z = -289.803 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 9 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1081003, name = "SEAL_BATTLE_PROGRESS_DECREASE_81003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_81003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_81003", trigger_count = 0 },
{ config_id = 1081004, name = "SEAL_BATTLE_END_81004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_81004", action = "action_EVENT_SEAL_BATTLE_END_81004", trigger_count = 0 },
{ config_id = 1081005, name = "SELECT_DIFFICULTY_81005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_81005", action = "action_EVENT_SELECT_DIFFICULTY_81005", trigger_count = 0 },
{ config_id = 1081006, name = "GENERAL_REWARD_DIE_81006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_81006", action = "action_EVENT_GENERAL_REWARD_DIE_81006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 81001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_81003", "SEAL_BATTLE_END_81004", "SELECT_DIFFICULTY_81005", "GENERAL_REWARD_DIE_81006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_81003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_81003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_81004(context, evt)
if 81001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_81004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_81005(context, evt)
if 81001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_81005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_81006(context, evt)
if 81002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_81006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 81001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001082
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001059,
gadget_id = 82001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 82002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 82001, gadget_id = 70950020, pos = { x = 310.512, y = 200.776, z = 35.462 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 9 },
{ config_id = 82002, gadget_id = 70950021, pos = { x = 310.512, y = 200.776, z = 35.462 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 9 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1082003, name = "SEAL_BATTLE_PROGRESS_DECREASE_82003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_82003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_82003", trigger_count = 0 },
{ config_id = 1082004, name = "SEAL_BATTLE_END_82004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_82004", action = "action_EVENT_SEAL_BATTLE_END_82004", trigger_count = 0 },
{ config_id = 1082005, name = "SELECT_DIFFICULTY_82005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_82005", action = "action_EVENT_SELECT_DIFFICULTY_82005", trigger_count = 0 },
{ config_id = 1082006, name = "GENERAL_REWARD_DIE_82006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_82006", action = "action_EVENT_GENERAL_REWARD_DIE_82006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 82001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_82003", "SEAL_BATTLE_END_82004", "SELECT_DIFFICULTY_82005", "GENERAL_REWARD_DIE_82006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_82003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_82003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_82004(context, evt)
if 82001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_82004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_82005(context, evt)
if 82001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_82005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_82006(context, evt)
if 82002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_82006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 82001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001083
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001060,
gadget_id = 83001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 83002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 83001, gadget_id = 70950020, pos = { x = 522.227, y = 200.177, z = 141.627 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 9 },
{ config_id = 83002, gadget_id = 70950021, pos = { x = 522.227, y = 200.177, z = 141.627 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 9 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1083003, name = "SEAL_BATTLE_PROGRESS_DECREASE_83003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_83003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_83003", trigger_count = 0 },
{ config_id = 1083004, name = "SEAL_BATTLE_END_83004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_83004", action = "action_EVENT_SEAL_BATTLE_END_83004", trigger_count = 0 },
{ config_id = 1083005, name = "SELECT_DIFFICULTY_83005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_83005", action = "action_EVENT_SELECT_DIFFICULTY_83005", trigger_count = 0 },
{ config_id = 1083006, name = "GENERAL_REWARD_DIE_83006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_83006", action = "action_EVENT_GENERAL_REWARD_DIE_83006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 83001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_83003", "SEAL_BATTLE_END_83004", "SELECT_DIFFICULTY_83005", "GENERAL_REWARD_DIE_83006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_83003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_83003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_83004(context, evt)
if 83001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_83004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_83005(context, evt)
if 83001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_83005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_83006(context, evt)
if 83002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_83006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 83001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,203 @@
-- 基础信息
local base_info = {
group_id = 302001084
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001033,
gadget_id = 84001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 84002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 84001, gadget_id = 70950015, pos = { x = 2813.781, y = 264.617, z = -1707.316 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 1 },
{ config_id = 84002, gadget_id = 70950021, pos = { x = 2813.781, y = 264.617, z = -1707.316 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1084003, name = "SEAL_BATTLE_PROGRESS_DECREASE_84003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_84003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_84003", trigger_count = 0 },
{ config_id = 1084004, name = "SEAL_BATTLE_END_84004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_84004", action = "action_EVENT_SEAL_BATTLE_END_84004", trigger_count = 0 },
{ config_id = 1084005, name = "SELECT_DIFFICULTY_84005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_84005", action = "action_EVENT_SELECT_DIFFICULTY_84005", trigger_count = 0 },
{ config_id = 1084006, name = "GENERAL_REWARD_DIE_84006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_84006", action = "action_EVENT_GENERAL_REWARD_DIE_84006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 84001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_84003", "SEAL_BATTLE_END_84004", "SELECT_DIFFICULTY_84005", "GENERAL_REWARD_DIE_84006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_84003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_84003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_84004(context, evt)
if 84001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_84004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_84005(context, evt)
if 84001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_84005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_84006(context, evt)
if 84002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_84006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 84001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001085
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001036,
gadget_id = 85001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 85002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 85001, gadget_id = 70950019, pos = { x = 1614.925, y = 225.725, z = 1274.538 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 5 },
{ config_id = 85002, gadget_id = 70950021, pos = { x = 1614.925, y = 225.725, z = 1274.538 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 5 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1085003, name = "SEAL_BATTLE_PROGRESS_DECREASE_85003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_85003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_85003", trigger_count = 0 },
{ config_id = 1085004, name = "SEAL_BATTLE_END_85004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_85004", action = "action_EVENT_SEAL_BATTLE_END_85004", trigger_count = 0 },
{ config_id = 1085005, name = "SELECT_DIFFICULTY_85005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_85005", action = "action_EVENT_SELECT_DIFFICULTY_85005", trigger_count = 0 },
{ config_id = 1085006, name = "GENERAL_REWARD_DIE_85006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_85006", action = "action_EVENT_GENERAL_REWARD_DIE_85006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 85001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_85003", "SEAL_BATTLE_END_85004", "SELECT_DIFFICULTY_85005", "GENERAL_REWARD_DIE_85006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_85003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_85003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_85004(context, evt)
if 85001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_85004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_85005(context, evt)
if 85001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_85005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_85006(context, evt)
if 85002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_85006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 85001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001086
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001038,
gadget_id = 86001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 86002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 86001, gadget_id = 70950019, pos = { x = 1431.366, y = 213.519, z = 1104.475 }, rot = { x = 0.000, y = 181.252, z = 0.000 }, level = 15, persistent = true, area_id = 5 },
{ config_id = 86002, gadget_id = 70950021, pos = { x = 1431.366, y = 213.519, z = 1104.475 }, rot = { x = 0.000, y = 181.252, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 5 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1086003, name = "SEAL_BATTLE_PROGRESS_DECREASE_86003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_86003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_86003", trigger_count = 0 },
{ config_id = 1086004, name = "SEAL_BATTLE_END_86004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_86004", action = "action_EVENT_SEAL_BATTLE_END_86004", trigger_count = 0 },
{ config_id = 1086005, name = "SELECT_DIFFICULTY_86005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_86005", action = "action_EVENT_SELECT_DIFFICULTY_86005", trigger_count = 0 },
{ config_id = 1086006, name = "GENERAL_REWARD_DIE_86006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_86006", action = "action_EVENT_GENERAL_REWARD_DIE_86006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 86001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_86003", "SEAL_BATTLE_END_86004", "SELECT_DIFFICULTY_86005", "GENERAL_REWARD_DIE_86006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_86003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_86003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_86004(context, evt)
if 86001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_86004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_86005(context, evt)
if 86001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_86005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_86006(context, evt)
if 86002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_86006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 86001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001087
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001039,
gadget_id = 87001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 87002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 87001, gadget_id = 70950019, pos = { x = 1330.540, y = 200.283, z = 928.869 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 5 },
{ config_id = 87002, gadget_id = 70950021, pos = { x = 1330.540, y = 200.283, z = 928.869 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 5 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1087003, name = "SEAL_BATTLE_PROGRESS_DECREASE_87003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_87003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_87003", trigger_count = 0 },
{ config_id = 1087004, name = "SEAL_BATTLE_END_87004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_87004", action = "action_EVENT_SEAL_BATTLE_END_87004", trigger_count = 0 },
{ config_id = 1087005, name = "SELECT_DIFFICULTY_87005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_87005", action = "action_EVENT_SELECT_DIFFICULTY_87005", trigger_count = 0 },
{ config_id = 1087006, name = "GENERAL_REWARD_DIE_87006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_87006", action = "action_EVENT_GENERAL_REWARD_DIE_87006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 87001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_87003", "SEAL_BATTLE_END_87004", "SELECT_DIFFICULTY_87005", "GENERAL_REWARD_DIE_87006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_87003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_87003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_87004(context, evt)
if 87001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_87004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_87005(context, evt)
if 87001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_87005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_87006(context, evt)
if 87002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_87006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 87001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,201 @@
-- 基础信息
local base_info = {
group_id = 302001088
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001040,
gadget_id = 88001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 88002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 88001, gadget_id = 70950019, pos = { x = 1076.375, y = 200.646, z = 771.058 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 6 },
{ config_id = 88002, gadget_id = 70950021, pos = { x = 1076.375, y = 200.646, z = 771.058 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 6 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1088003, name = "SEAL_BATTLE_PROGRESS_DECREASE_88003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_88003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_88003", trigger_count = 0 },
{ config_id = 1088004, name = "SEAL_BATTLE_END_88004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_88004", action = "action_EVENT_SEAL_BATTLE_END_88004", trigger_count = 0 },
{ config_id = 1088005, name = "SELECT_DIFFICULTY_88005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_88005", action = "action_EVENT_SELECT_DIFFICULTY_88005", trigger_count = 0 },
{ config_id = 1088006, name = "GENERAL_REWARD_DIE_88006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_88006", action = "action_EVENT_GENERAL_REWARD_DIE_88006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 88001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_88003", "SEAL_BATTLE_END_88004", "SELECT_DIFFICULTY_88005", "GENERAL_REWARD_DIE_88006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_88003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_88003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_88004(context, evt)
if 88001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_88004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_88005(context, evt)
if 88001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_88005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_88006(context, evt)
if 88002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_88006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 88001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,203 @@
-- 基础信息
local base_info = {
group_id = 302001089
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001034,
gadget_id = 89001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 89002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 89001, gadget_id = 70950015, pos = { x = 2612.404, y = 226.675, z = -1118.507 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 1 },
{ config_id = 89002, gadget_id = 70950021, pos = { x = 2612.404, y = 226.675, z = -1118.507 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1089003, name = "SEAL_BATTLE_PROGRESS_DECREASE_89003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_89003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_89003", trigger_count = 0 },
{ config_id = 1089004, name = "SEAL_BATTLE_END_89004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_89004", action = "action_EVENT_SEAL_BATTLE_END_89004", trigger_count = 0 },
{ config_id = 1089005, name = "SELECT_DIFFICULTY_89005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_89005", action = "action_EVENT_SELECT_DIFFICULTY_89005", trigger_count = 0 },
{ config_id = 1089006, name = "GENERAL_REWARD_DIE_89006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_89006", action = "action_EVENT_GENERAL_REWARD_DIE_89006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 89001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_89003", "SEAL_BATTLE_END_89004", "SELECT_DIFFICULTY_89005", "GENERAL_REWARD_DIE_89006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_89003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_89003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_89004(context, evt)
if 89001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_89004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_89005(context, evt)
if 89001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_89005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_89006(context, evt)
if 89002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_89006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 89001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,203 @@
-- 基础信息
local base_info = {
group_id = 302001090
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001035,
gadget_id = 90001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 90002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 90001, gadget_id = 70950015, pos = { x = 2545.642, y = 218.399, z = -1437.041 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 1 },
{ config_id = 90002, gadget_id = 70950021, pos = { x = 2546.281, y = 219.166, z = -1436.854 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1090003, name = "SEAL_BATTLE_PROGRESS_DECREASE_90003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_90003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_90003", trigger_count = 0 },
{ config_id = 1090004, name = "SEAL_BATTLE_END_90004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_90004", action = "action_EVENT_SEAL_BATTLE_END_90004", trigger_count = 0 },
{ config_id = 1090005, name = "SELECT_DIFFICULTY_90005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_90005", action = "action_EVENT_SELECT_DIFFICULTY_90005", trigger_count = 0 },
{ config_id = 1090006, name = "GENERAL_REWARD_DIE_90006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_90006", action = "action_EVENT_GENERAL_REWARD_DIE_90006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 90001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_90003", "SEAL_BATTLE_END_90004", "SELECT_DIFFICULTY_90005", "GENERAL_REWARD_DIE_90006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_90003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_90003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_90004(context, evt)
if 90001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_90004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_90005(context, evt)
if 90001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_90005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_90006(context, evt)
if 90002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_90006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 90001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,200 @@
-- 基础信息
local base_info = {
group_id = 302001091
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001092,
gadget_id = 91001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 91002,
difficulty1_suite = 1,
difficulty2_suite = 3
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 91001, gadget_id = 70950019, pos = { x = 781.819, y = 201.321, z = 545.989 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 6 },
{ config_id = 91002, gadget_id = 70950021, pos = { x = 781.819, y = 201.321, z = 545.989 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 6 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1091003, name = "SEAL_BATTLE_END_91003", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_91003", action = "action_EVENT_SEAL_BATTLE_END_91003", trigger_count = 0 },
{ config_id = 1091004, name = "SELECT_DIFFICULTY_91004", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_91004", action = "action_EVENT_SELECT_DIFFICULTY_91004", trigger_count = 0 },
{ config_id = 1091005, name = "GENERAL_REWARD_DIE_91005", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_91005", action = "action_EVENT_GENERAL_REWARD_DIE_91005" },
{ config_id = 1091006, name = "SEAL_BATTLE_PROGRESS_DECREASE_91006", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_91006", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_91006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 91001 },
regions = { },
triggers = { "SEAL_BATTLE_END_91003", "SELECT_DIFFICULTY_91004", "GENERAL_REWARD_DIE_91005", "SEAL_BATTLE_PROGRESS_DECREASE_91006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_91003(context, evt)
if 91001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_91003(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_91004(context, evt)
if 91001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_91004(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_91005(context, evt)
if 91002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_91005(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 91001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_91006(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_91006(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end

View File

@@ -0,0 +1,427 @@
-- 基础信息
local base_info = {
group_id = 302001092
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 92001, monster_id = 21010201, pos = { x = 783.383, y = 201.812, z = 540.573 }, rot = { x = 0.000, y = 339.216, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92002, monster_id = 21010201, pos = { x = 775.185, y = 200.411, z = 549.177 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92003, monster_id = 21010201, pos = { x = 782.663, y = 201.070, z = 553.070 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92004, monster_id = 21010301, pos = { x = 787.345, y = 201.821, z = 543.549 }, rot = { x = 0.000, y = 303.068, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92005, monster_id = 21010301, pos = { x = 773.706, y = 200.491, z = 544.598 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92006, monster_id = 21010501, pos = { x = 789.313, y = 201.612, z = 548.663 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92007, monster_id = 21011001, pos = { x = 787.139, y = 201.418, z = 552.367 }, rot = { x = 0.000, y = 226.592, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92008, monster_id = 21020201, pos = { x = 779.472, y = 201.499, z = 537.270 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 6 },
{ config_id = 92009, monster_id = 21020101, pos = { x = 775.578, y = 200.826, z = 539.739 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 6 },
{ config_id = 92010, monster_id = 21030301, pos = { x = 777.644, y = 200.513, z = 552.657 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92011, monster_id = 21010201, pos = { x = 775.185, y = 200.411, z = 549.177 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92012, monster_id = 21010201, pos = { x = 783.383, y = 201.812, z = 540.573 }, rot = { x = 0.000, y = 339.216, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92013, monster_id = 21010201, pos = { x = 782.663, y = 201.070, z = 553.070 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92014, monster_id = 21010301, pos = { x = 787.345, y = 201.821, z = 543.549 }, rot = { x = 0.000, y = 303.068, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92015, monster_id = 21010301, pos = { x = 773.706, y = 200.491, z = 544.598 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92016, monster_id = 21010502, pos = { x = 789.313, y = 201.612, z = 548.663 }, rot = { x = 0.000, y = 252.239, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92017, monster_id = 21011002, pos = { x = 787.139, y = 201.418, z = 552.367 }, rot = { x = 0.000, y = 226.592, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 },
{ config_id = 92018, monster_id = 21020202, pos = { x = 779.472, y = 201.499, z = 537.270 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 6 },
{ config_id = 92019, monster_id = 21020101, pos = { x = 775.578, y = 200.826, z = 539.739 }, rot = { x = 0.000, y = 46.593, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 6 },
{ config_id = 92020, monster_id = 21030303, pos = { x = 777.644, y = 200.513, z = 552.657 }, rot = { x = 0.000, y = 151.032, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 6 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1092021, name = "ANY_MONSTER_LIVE_92021", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_92021", action = "action_EVENT_ANY_MONSTER_LIVE_92021", trigger_count = 0 },
{ config_id = 1092022, name = "MONSTER_TIDE_DIE_92022", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_92022", action = "action_EVENT_MONSTER_TIDE_DIE_92022", trigger_count = 0 },
{ config_id = 1092023, name = "MONSTER_TIDE_DIE_92023", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_92023", action = "action_EVENT_MONSTER_TIDE_DIE_92023", trigger_count = 0 },
{ config_id = 1092024, name = "MONSTER_TIDE_DIE_92024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_92024", action = "action_EVENT_MONSTER_TIDE_DIE_92024", trigger_count = 0 },
{ config_id = 1092025, name = "MONSTER_TIDE_DIE_92025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_92025", action = "action_EVENT_MONSTER_TIDE_DIE_92025", trigger_count = 0 },
{ config_id = 1092026, name = "MONSTER_TIDE_DIE_92026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_92026", action = "action_EVENT_MONSTER_TIDE_DIE_92026", trigger_count = 0 },
{ config_id = 1092027, name = "MONSTER_TIDE_DIE_92027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_92027", action = "action_EVENT_MONSTER_TIDE_DIE_92027", trigger_count = 0 },
{ config_id = 1092028, name = "ANY_MONSTER_LIVE_92028", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_92028", action = "action_EVENT_ANY_MONSTER_LIVE_92028", trigger_count = 0 },
{ config_id = 1092029, name = "MONSTER_TIDE_DIE_92029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_92029", action = "action_EVENT_MONSTER_TIDE_DIE_92029", trigger_count = 0 },
{ config_id = 1092030, name = "MONSTER_TIDE_DIE_92030", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_92030", action = "action_EVENT_MONSTER_TIDE_DIE_92030", trigger_count = 0 },
{ config_id = 1092031, name = "MONSTER_TIDE_DIE_92031", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_92031", action = "action_EVENT_MONSTER_TIDE_DIE_92031", trigger_count = 0 },
{ config_id = 1092032, name = "MONSTER_TIDE_DIE_92032", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_92032", action = "action_EVENT_MONSTER_TIDE_DIE_92032", trigger_count = 0 },
{ config_id = 1092033, name = "MONSTER_TIDE_DIE_92033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_92033", action = "action_EVENT_MONSTER_TIDE_DIE_92033", trigger_count = 0 },
{ config_id = 1092034, name = "MONSTER_TIDE_DIE_92034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_92034", action = "action_EVENT_MONSTER_TIDE_DIE_92034", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 5,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 92001 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_92021", "MONSTER_TIDE_DIE_92022", "MONSTER_TIDE_DIE_92023", "MONSTER_TIDE_DIE_92024", "MONSTER_TIDE_DIE_92025", "MONSTER_TIDE_DIE_92026", "MONSTER_TIDE_DIE_92027" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 92002, 92003, 92004, 92005, 92006, 92007, 92008, 92009, 92010 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 92012 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_92028", "MONSTER_TIDE_DIE_92029", "MONSTER_TIDE_DIE_92030", "MONSTER_TIDE_DIE_92031", "MONSTER_TIDE_DIE_92032", "MONSTER_TIDE_DIE_92033", "MONSTER_TIDE_DIE_92034" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 92011, 92013, 92014, 92015, 92016, 92017, 92018, 92019, 92020 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_92021(context, evt)
if 92001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_92021(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001092, {92002,92003}, 4, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001092, {92004,92005}, 4, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001092, {92006,92007}, 4, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_92022(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_92022(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001092, {92008}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_92023(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_92023(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001092, {92009}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_92024(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_92024(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001092, {92010}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_92025(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_92025(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001092, {92002,92003}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_92026(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_92026(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001092, {92004,92005}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_92027(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_92027(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001092, {92006,92007}, 4, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_92028(context, evt)
if 92012 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_92028(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001092, {92011,92013}, 2, 2, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001092, {92014,92015}, 2, 2, 2) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001092, {92016,92017}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_92029(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_92029(context, evt)
-- 创建编号为4该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001092, {92018}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_92030(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_92030(context, evt)
-- 创建编号为5该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001092, {92019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_92031(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_92031(context, evt)
-- 创建编号为6该怪物潮的识别id)的怪物潮创建怪物总数为1场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001092, {92020}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_92032(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_92032(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001092, {92011,92013}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_92033(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_92033(context, evt)
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为2场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001092, {92014,92015}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_92034(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_92034(context, evt)
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为4场上怪物最少2只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001092, {92016,92017}, 4, 2, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,203 @@
-- 基础信息
local base_info = {
group_id = 302001093
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001047,
gadget_id = 93001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 93002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 93001, gadget_id = 70950015, pos = { x = 1261.190, y = 200.600, z = -148.369 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 5 },
{ config_id = 93002, gadget_id = 70950021, pos = { x = 1261.190, y = 200.600, z = -148.369 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 5 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1093003, name = "SEAL_BATTLE_PROGRESS_DECREASE_93003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_93003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_93003", trigger_count = 0 },
{ config_id = 1093004, name = "SEAL_BATTLE_END_93004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_93004", action = "action_EVENT_SEAL_BATTLE_END_93004", trigger_count = 0 },
{ config_id = 1093005, name = "SELECT_DIFFICULTY_93005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_93005", action = "action_EVENT_SELECT_DIFFICULTY_93005", trigger_count = 0 },
{ config_id = 1093006, name = "GENERAL_REWARD_DIE_93006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_93006", action = "action_EVENT_GENERAL_REWARD_DIE_93006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 93001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_93003", "SEAL_BATTLE_END_93004", "SELECT_DIFFICULTY_93005", "GENERAL_REWARD_DIE_93006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_93003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_93003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_93004(context, evt)
if 93001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_93004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_93005(context, evt)
if 93001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_93005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_93006(context, evt)
if 93002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_93006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 93001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,203 @@
-- 基础信息
local base_info = {
group_id = 302001094
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001048,
gadget_id = 94001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 94002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 94001, gadget_id = 70950015, pos = { x = 1127.609, y = 201.146, z = -19.432 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 9 },
{ config_id = 94002, gadget_id = 70950021, pos = { x = 1127.609, y = 201.146, z = -19.432 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 9 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1094003, name = "SEAL_BATTLE_PROGRESS_DECREASE_94003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_94003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_94003", trigger_count = 0 },
{ config_id = 1094004, name = "SEAL_BATTLE_END_94004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_94004", action = "action_EVENT_SEAL_BATTLE_END_94004", trigger_count = 0 },
{ config_id = 1094005, name = "SELECT_DIFFICULTY_94005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_94005", action = "action_EVENT_SELECT_DIFFICULTY_94005", trigger_count = 0 },
{ config_id = 1094006, name = "GENERAL_REWARD_DIE_94006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_94006", action = "action_EVENT_GENERAL_REWARD_DIE_94006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 94001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_94003", "SEAL_BATTLE_END_94004", "SELECT_DIFFICULTY_94005", "GENERAL_REWARD_DIE_94006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_94003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_94003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_94004(context, evt)
if 94001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_94004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_94005(context, evt)
if 94001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_94005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_94006(context, evt)
if 94002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_94006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 94001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,203 @@
-- 基础信息
local base_info = {
group_id = 302001095
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001037,
gadget_id = 95001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 95002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 95001, gadget_id = 70950015, pos = { x = 2198.239, y = 228.043, z = -1249.907 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 1 },
{ config_id = 95002, gadget_id = 70950021, pos = { x = 2198.239, y = 228.043, z = -1249.907 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1095003, name = "SEAL_BATTLE_PROGRESS_DECREASE_95003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_95003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_95003", trigger_count = 0 },
{ config_id = 1095004, name = "SEAL_BATTLE_END_95004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_95004", action = "action_EVENT_SEAL_BATTLE_END_95004", trigger_count = 0 },
{ config_id = 1095005, name = "SELECT_DIFFICULTY_95005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_95005", action = "action_EVENT_SELECT_DIFFICULTY_95005", trigger_count = 0 },
{ config_id = 1095006, name = "GENERAL_REWARD_DIE_95006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_95006", action = "action_EVENT_GENERAL_REWARD_DIE_95006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 95001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_95003", "SEAL_BATTLE_END_95004", "SELECT_DIFFICULTY_95005", "GENERAL_REWARD_DIE_95006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_95003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_95003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_95004(context, evt)
if 95001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_95004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_95005(context, evt)
if 95001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_95005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_95006(context, evt)
if 95002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_95006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 95001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,203 @@
-- 基础信息
local base_info = {
group_id = 302001096
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001049,
gadget_id = 96001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 96002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 96001, gadget_id = 70950015, pos = { x = 845.000, y = 201.153, z = -9.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 9 },
{ config_id = 96002, gadget_id = 70950021, pos = { x = 845.000, y = 201.153, z = -9.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 9 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1096003, name = "SEAL_BATTLE_PROGRESS_DECREASE_96003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_96003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_96003", trigger_count = 0 },
{ config_id = 1096004, name = "SEAL_BATTLE_END_96004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_96004", action = "action_EVENT_SEAL_BATTLE_END_96004", trigger_count = 0 },
{ config_id = 1096005, name = "SELECT_DIFFICULTY_96005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_96005", action = "action_EVENT_SELECT_DIFFICULTY_96005", trigger_count = 0 },
{ config_id = 1096006, name = "GENERAL_REWARD_DIE_96006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_96006", action = "action_EVENT_GENERAL_REWARD_DIE_96006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 96001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_96003", "SEAL_BATTLE_END_96004", "SELECT_DIFFICULTY_96005", "GENERAL_REWARD_DIE_96006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_96003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_96003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_96004(context, evt)
if 96001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_96004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_96005(context, evt)
if 96001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_96005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_96006(context, evt)
if 96002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_96006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 96001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,203 @@
-- 基础信息
local base_info = {
group_id = 302001097
}
-- Trigger变量
local defs = {
radius = 10,
group_id = 302001051,
gadget_id = 97001,
battle_time = 600,
auto_decline = 30,
max_energy = 300,
reward_gadget_id = 97002,
difficulty1_suite = 2,
difficulty2_suite = 4,
empty_suite = 1
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 97001, gadget_id = 70950015, pos = { x = 1160.000, y = 204.320, z = -158.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, area_id = 5 },
{ config_id = 97002, gadget_id = 70950021, pos = { x = 1160.000, y = 204.320, z = -158.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 15, persistent = true, autopick = true, area_id = 5 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1097003, name = "SEAL_BATTLE_PROGRESS_DECREASE_97003", event = EventType.EVENT_SEAL_BATTLE_PROGRESS_DECREASE, source = "", condition = "condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_97003", action = "action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_97003", trigger_count = 0 },
{ config_id = 1097004, name = "SEAL_BATTLE_END_97004", event = EventType.EVENT_SEAL_BATTLE_END, source = "", condition = "condition_EVENT_SEAL_BATTLE_END_97004", action = "action_EVENT_SEAL_BATTLE_END_97004", trigger_count = 0 },
{ config_id = 1097005, name = "SELECT_DIFFICULTY_97005", event = EventType.EVENT_SELECT_DIFFICULTY, source = "", condition = "condition_EVENT_SELECT_DIFFICULTY_97005", action = "action_EVENT_SELECT_DIFFICULTY_97005", trigger_count = 0 },
{ config_id = 1097006, name = "GENERAL_REWARD_DIE_97006", event = EventType.EVENT_GENERAL_REWARD_DIE, source = "", condition = "condition_EVENT_GENERAL_REWARD_DIE_97006", action = "action_EVENT_GENERAL_REWARD_DIE_97006" }
}
-- 变量
variables = {
{ config_id = 1, name = "isDone", value = 0, no_refresh = false },
{ config_id = 2, name = "difficulty", value = 0, no_refresh = false },
{ config_id = 3, name = "isShow", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 97001 },
regions = { },
triggers = { "SEAL_BATTLE_PROGRESS_DECREASE_97003", "SEAL_BATTLE_END_97004", "SELECT_DIFFICULTY_97005", "GENERAL_REWARD_DIE_97006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_97003(context, evt)
-- 判断变量"isShow"为0
if ScriptLib.GetGroupVariableValue(context, "isShow") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_PROGRESS_DECREASE_97003(context, evt)
ScriptLib.ShowTemplateReminder(context, 4,{10,5})
ScriptLib.SetGroupVariableValue(context, "isShow", 1)
return 0
end
-- 触发条件
function condition_EVENT_SEAL_BATTLE_END_97004(context, evt)
if 97001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SEAL_BATTLE_END_97004(context, evt)
--SealBattle结束后处理成功和失败逻辑
local diff = ScriptLib.GetGroupVariableValue(context, "difficulty")
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
if evt.param2 == 0 then
ScriptLib.SetGroupVariableValue(context, "isDone", 2)
ScriptLib.SetGroupVariableValue(context, "isShow", 0)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.Default)
elseif evt.param2 == 1 then
ScriptLib.SetGroupVariableValue(context, "isDone", 1)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.empty_suite})
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStop)
ScriptLib.CreateAsterMidGeneralRewardGadget(context, {config_id=defs.reward_gadget_id, difficulty_id=diff})
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_DIFFICULTY_97005(context, evt)
if 97001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_DIFFICULTY_97005(context, evt)
--选难度后开启SealBattle创建怪物Group
local diff = evt.param2
local state = ScriptLib.GetGroupVariableValue(context, "isDone")
local monster_level = evt.param3
ScriptLib.SetGroupVariableValue(context, "difficulty", diff)
if state == 2 then
ScriptLib.SetGroupVariableValue(context, "isDone", 0)
end
if diff < 5 then
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty1_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
else
ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_id, GadgetState.GearStart)
ScriptLib.RefreshGroup(context, { group_id = defs.group_id, suite = defs.difficulty2_suite, refresh_level_revise = monster_level, exclude_prev = true })
local ret = ScriptLib.StartSealBattle(context,defs.gadget_id, {radius = defs.radius, battle_time = defs.battle_time, monster_group_id = defs.group_id, default_kill_charge = 0, auto_charge = 0, auto_decline= defs.auto_decline, max_energy = defs.max_energy, battle_type = SealBattleType.ENERGY_CHARGE})
end
return 0
end
-- 触发条件
function condition_EVENT_GENERAL_REWARD_DIE_97006(context, evt)
if 97002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GENERAL_REWARD_DIE_97006(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 97001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
require "AsterMiddle"

View File

@@ -0,0 +1,187 @@
-- 基础信息
local base_info = {
group_id = 302001098
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 98001, monster_id = 25060101, pos = { x = 1737.625, y = 256.887, z = 188.956 }, rot = { x = 0.000, y = 100.807, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 50, area_id = 5 },
{ config_id = 98002, monster_id = 25060101, pos = { x = 1737.982, y = 257.735, z = 183.428 }, rot = { x = 0.000, y = 60.983, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 98003, monster_id = 25060101, pos = { x = 1737.625, y = 256.887, z = 188.956 }, rot = { x = 0.000, y = 100.807, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 98004, monster_id = 25070101, pos = { x = 1741.298, y = 256.505, z = 191.811 }, rot = { x = 0.000, y = 158.270, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 98005, monster_id = 25070101, pos = { x = 1745.258, y = 257.332, z = 191.640 }, rot = { x = 0.000, y = 202.290, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 5 },
{ config_id = 98006, monster_id = 25020201, pos = { x = 1738.844, y = 258.333, z = 179.058 }, rot = { x = 0.000, y = 21.052, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 98007, monster_id = 25010201, pos = { x = 1746.082, y = 257.641, z = 184.055 }, rot = { x = 0.000, y = 302.728, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 98008, monster_id = 25010201, pos = { x = 1746.985, y = 258.006, z = 188.646 }, rot = { x = 0.000, y = 246.537, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 98009, monster_id = 25010301, pos = { x = 1743.728, y = 258.577, z = 177.117 }, rot = { x = 0.000, y = 339.078, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 98010, monster_id = 25010301, pos = { x = 1747.371, y = 258.136, z = 180.201 }, rot = { x = 0.000, y = 308.521, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 98011, monster_id = 25010501, pos = { x = 1737.021, y = 258.015, z = 181.456 }, rot = { x = 0.000, y = 57.700, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 5 },
{ config_id = 98012, monster_id = 25070101, pos = { x = 1741.298, y = 256.505, z = 191.811 }, rot = { x = 0.000, y = 158.270, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 50, area_id = 5 },
{ config_id = 98013, monster_id = 25070101, pos = { x = 1745.258, y = 257.332, z = 191.640 }, rot = { x = 0.000, y = 202.290, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 50, area_id = 5 },
{ config_id = 98014, monster_id = 25020201, pos = { x = 1738.844, y = 258.333, z = 179.058 }, rot = { x = 0.000, y = 21.052, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 20, area_id = 5 },
{ config_id = 98015, monster_id = 25010201, pos = { x = 1746.082, y = 257.641, z = 184.055 }, rot = { x = 0.000, y = 302.728, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 20, area_id = 5 },
{ config_id = 98016, monster_id = 25010201, pos = { x = 1746.985, y = 258.006, z = 188.646 }, rot = { x = 0.000, y = 246.537, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 20, area_id = 5 },
{ config_id = 98017, monster_id = 25010301, pos = { x = 1743.725, y = 258.568, z = 177.201 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 20, area_id = 5 },
{ config_id = 98018, monster_id = 25010301, pos = { x = 1747.371, y = 258.136, z = 180.201 }, rot = { x = 0.000, y = 308.521, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 20, area_id = 5 },
{ config_id = 98019, monster_id = 25010501, pos = { x = 1737.021, y = 258.015, z = 181.456 }, rot = { x = 0.000, y = 57.700, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 20, area_id = 5 },
{ config_id = 98020, monster_id = 25060101, pos = { x = 1737.982, y = 257.735, z = 183.428 }, rot = { x = 0.000, y = 60.983, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109, 4103 }, kill_score = 50, area_id = 5 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1098021, name = "ANY_MONSTER_LIVE_98021", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_98021", action = "action_EVENT_ANY_MONSTER_LIVE_98021", trigger_count = 0 },
{ config_id = 1098022, name = "ANY_MONSTER_LIVE_98022", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_98022", action = "action_EVENT_ANY_MONSTER_LIVE_98022", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 98002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_98021" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 98003, 98004, 98005, 98006, 98007, 98008, 98009, 98010, 98011 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 98020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_98022" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 98001, 98012, 98013, 98014, 98015, 98016, 98017, 98018, 98019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_98021(context, evt)
if 98002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_98021(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001098, {98003,98004,98005}, 99999, 1, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001098, {98006,98007,98008}, 99999, 1, 1) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001098, {98009,98010,98011}, 99999, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_98022(context, evt)
if 98020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_98022(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001098, {98001,98012,98013}, 99999, 1, 2) then
return -1
end
-- 创建编号为2该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001098, {98014,98015,98016}, 99999, 1, 1) then
return -1
end
-- 创建编号为3该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001098, {98017,98018,98019}, 99999, 1, 2) then
return -1
end
return 0
end

View File

@@ -0,0 +1,157 @@
-- 基础信息
local base_info = {
group_id = 302001099
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 99001, monster_id = 23020101, pos = { x = 1304.881, y = 200.824, z = 513.330 }, rot = { x = 0.000, y = 313.069, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 99002, monster_id = 23020101, pos = { x = 1304.209, y = 200.000, z = 528.880 }, rot = { x = 0.000, y = 227.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 99003, monster_id = 23020101, pos = { x = 1304.881, y = 200.824, z = 513.330 }, rot = { x = 0.000, y = 304.261, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 99004, monster_id = 23020101, pos = { x = 1308.873, y = 200.757, z = 518.651 }, rot = { x = 0.000, y = 285.479, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 99005, monster_id = 23020101, pos = { x = 1296.199, y = 200.206, z = 511.501 }, rot = { x = 0.000, y = 333.986, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 99006, monster_id = 23020101, pos = { x = 1309.048, y = 200.691, z = 522.494 }, rot = { x = 0.000, y = 246.248, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 99007, monster_id = 23020101, pos = { x = 1308.117, y = 200.835, z = 518.284 }, rot = { x = 0.000, y = 278.386, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 1006, 4103, 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 99008, monster_id = 23020101, pos = { x = 1296.067, y = 200.202, z = 512.035 }, rot = { x = 0.000, y = 346.818, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 1006, 4103, 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 99009, monster_id = 23020101, pos = { x = 1308.238, y = 200.693, z = 522.785 }, rot = { x = 0.000, y = 256.040, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 150, area_id = 5 },
{ config_id = 99010, monster_id = 23020101, pos = { x = 1304.103, y = 200.000, z = 528.378 }, rot = { x = 0.000, y = 231.069, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4103, 4107, 4108, 4109 }, kill_score = 150, area_id = 5 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1099011, name = "ANY_MONSTER_DIE_99011", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_99011", action = "action_EVENT_ANY_MONSTER_DIE_99011", trigger_count = 0 },
{ config_id = 1099012, name = "ANY_MONSTER_DIE_99012", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_99012", action = "action_EVENT_ANY_MONSTER_DIE_99012", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 99002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_99011" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 99003, 99004, 99005, 99006 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 99010 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_99012" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 99001, 99007, 99008, 99009 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_99011(context, evt)
if 99002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_99011(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001099, {99003,99004,99005,99006}, 99999, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_99012(context, evt)
if 99010 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_99012(context, evt)
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为99999场上怪物最少1只最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001099, {99001,99009,99007,99008}, 99999, 1, 1) then
return -1
end
return 0
end

Some files were not shown because too many files have changed in this diff Show More