更新配置表

This commit is contained in:
flswld
2023-01-29 13:00:55 +08:00
parent 0ab4fd1d18
commit 5fbe66113e
3108 changed files with 587829 additions and 26766 deletions

View File

@@ -5663,6 +5663,116 @@
}
]
},
{
"localId": 110100131,
"name": "Route_110100131",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 2188.37329,
"y": 252.260941,
"z": -1674.28088
},
"waitTime": 5.0,
"speedLevel": 1
},
{
"pos": {
"x": 2190.02417,
"y": 250.038727,
"z": -1665.93164
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2191.26025,
"y": 249.206741,
"z": -1656.47473
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2203.47559,
"y": 249.654633,
"z": -1647.55127
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2207.09644,
"y": 249.886414,
"z": -1633.49988
},
"waitTime": 5.0,
"speedLevel": 1
}
]
},
{
"localId": 110100133,
"name": "Route_110100131",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 2186.37329,
"y": 252.260941,
"z": -1674.28088
},
"waitTime": 5.0,
"speedLevel": 1
},
{
"pos": {
"x": 2188.02417,
"y": 250.038727,
"z": -1665.93164
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2189.26025,
"y": 249.206741,
"z": -1656.47473
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2201.47559,
"y": 249.654633,
"z": -1647.55127
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2205.09644,
"y": 249.886414,
"z": -1633.49988
},
"waitTime": 5.0,
"speedLevel": 1
}
]
},
{
"localId": 110100134,
"name": "Route_110100134",
@@ -5699,6 +5809,391 @@
"targetVelocity": 1.0
}
]
},
{
"localId": 110100141,
"name": "Route_110100141",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 2241.61743,
"y": 246.471527,
"z": -1605.33826
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2238.66748,
"y": 245.351288,
"z": -1602.536
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2240.345,
"y": 244.7989,
"z": -1601.25757
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2243.84277,
"y": 245.00679,
"z": -1601.02429
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2245.66235,
"y": 245.655029,
"z": -1602.45789
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2246.66553,
"y": 246.520081,
"z": -1605.35376
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 110100142,
"name": "Route_110100142",
"type": "OneWay",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 2185.20117,
"y": 249.120926,
"z": -1645.99011
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2184.20728,
"y": 248.595108,
"z": -1643.60168
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2182.525,
"y": 248.044327,
"z": -1641.6853
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2184.19482,
"y": 248.647247,
"z": -1638.696
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 110100143,
"name": "Route_110100143",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 2175.37476,
"y": 246.983978,
"z": -1648.36792
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2178.27661,
"y": 247.531189,
"z": -1645.12329
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2179.27466,
"y": 247.412491,
"z": -1642.60791
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2177.89282,
"y": 246.890244,
"z": -1638.11829
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 110100144,
"name": "Route_110100144",
"type": "Loop",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 2177.87939,
"y": 247.855026,
"z": -1656.50464
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2174.96167,
"y": 248.798676,
"z": -1658.8623
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2170.40186,
"y": 249.3643,
"z": -1659.51917
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2170.19727,
"y": 248.1723,
"z": -1653.65247
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2171.268,
"y": 247.302948,
"z": -1647.72083
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2175.999,
"y": 247.233429,
"z": -1650.8606
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 110100145,
"name": "Route_110100145",
"type": "Loop",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 2185.9856,
"y": 246.166153,
"z": -1593.1665
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2189.706,
"y": 245.5218,
"z": -1595.22742
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2194.39258,
"y": 244.598679,
"z": -1595.32324
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2200.02734,
"y": 243.893555,
"z": -1595.33167
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2205.31714,
"y": 243.159851,
"z": -1596.654
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 110100146,
"name": "Route_110100146",
"type": "Loop",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 2199.39966,
"y": 243.825592,
"z": -1594.33472
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2199.75342,
"y": 244.152252,
"z": -1600.6897
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2199.671,
"y": 244.4741,
"z": -1605.56873
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2197.675,
"y": 245.8311,
"z": -1611.61475
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2197.94531,
"y": 246.855576,
"z": -1616.80652
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2195.435,
"y": 246.655487,
"z": -1616.32922
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 110100147,
"name": "Route_110100147",
"type": "Loop",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 2189.03247,
"y": 246.154587,
"z": -1604.08044
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2191.426,
"y": 245.18338,
"z": -1600.106
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2197.01172,
"y": 244.51503,
"z": -1599.27637
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 2202.01465,
"y": 243.87442,
"z": -1600.85791
},
"waitTime": 0.0,
"speedLevel": 1
}
]
}
]
}

View File

@@ -17,7 +17,12 @@ groups = {
{ id = 111101018, pos = { x = 2671.922, y = 247.754, z = -1267.207 }, is_replaceable = { value = true, version = 0, new_bin_only = true } },
{ id = 111101019, refresh_id = 1, pos = { x = 2547.023, y = 218.752, z = -1418.736 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101021, pos = { x = 2509.970, y = 213.428, z = -1325.103 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101023, refresh_id = 1001, pos = { x = 2194.523, y = 249.295, z = -1649.551 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101024, refresh_id = 1002, pos = { x = 2179.314, y = 258.995, z = -1731.199 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101025, pos = { x = 2199.800, y = 255.618, z = -1692.984 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101026, refresh_id = 1, pos = { x = 2307.738, y = 275.289, z = -1645.453 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101028, refresh_id = 1, pos = { x = 2987.475, y = 265.589, z = -1339.957 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101029, refresh_id = 1001, pos = { x = 2341.125, y = 283.979, z = -1746.793 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101030, refresh_id = 1, pos = { x = 2658.896, y = 269.054, z = -1563.710 }, is_replaceable = { value = false, version = 0, new_bin_only = true }, business = { type = 4 } },
{ id = 111101031, pos = { x = 2664.336, y = 247.788, z = -1259.953 }, is_replaceable = { value = true, version = 0, new_bin_only = true } },
{ id = 111101032, refresh_id = 1, pos = { x = 2455.510, y = 220.370, z = -1392.934 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
@@ -281,5 +286,23 @@ groups = {
{ id = 111101293, refresh_id = 800002, pos = { x = 2531.158, y = 204.687, z = -760.128 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101294, refresh_id = 800002, pos = { x = 2498.573, y = 204.650, z = -570.392 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101295, refresh_id = 800002, pos = { x = 2473.781, y = 204.650, z = -574.038 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101296, refresh_id = 800002, pos = { x = 2468.523, y = 204.650, z = -557.591 }, is_replaceable = { value = false, version = 0, new_bin_only = true } }
{ id = 111101296, refresh_id = 800002, pos = { x = 2468.523, y = 204.650, z = -557.591 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101306, pos = { x = 2222.909, y = 245.511, z = -1604.216 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101307, refresh_id = 1001, pos = { x = 2256.190, y = 246.782, z = -1598.704 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101308, pos = { x = 2209.485, y = 242.643, z = -1567.710 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101309, pos = { x = 2319.286, y = 274.164, z = -1659.006 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101310, pos = { x = 2228.033, y = 249.057, z = -1619.780 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101311, refresh_id = 1002, pos = { x = 2185.410, y = 248.934, z = -1643.675 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101312, refresh_id = 1002, pos = { x = 2171.257, y = 256.175, z = -1707.957 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101314, refresh_id = 1001, pos = { x = 2238.548, y = 263.957, z = -1708.743 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101315, pos = { x = 2323.445, y = 279.834, z = -1688.004 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101316, refresh_id = 1002, pos = { x = 2248.554, y = 244.120, z = -1573.159 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101317, refresh_id = 1001, pos = { x = 2197.241, y = 244.508, z = -1595.797 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101318, refresh_id = 1002, pos = { x = 2239.093, y = 270.379, z = -1746.512 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101319, refresh_id = 1002, pos = { x = 2248.820, y = 263.232, z = -1682.492 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101320, refresh_id = 1, pos = { x = 2314.352, y = 284.239, z = -1704.639 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101321, refresh_id = 1002, pos = { x = 2348.239, y = 284.719, z = -1784.963 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101363, refresh_id = 1, pos = { x = 2119.880, y = 223.591, z = -1341.913 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111101374, pos = { x = 2769.189, y = 261.294, z = -1216.718 }, dynamic_load = true, is_replaceable = { value = false, version = 0, new_bin_only = true }, business = { type = 4 } },
{ id = 111101375, pos = { x = 2773.294, y = 264.273, z = -1213.359 }, dynamic_load = true, is_replaceable = { value = false, version = 0, new_bin_only = true }, business = { type = 4 } }
}

View File

@@ -44,7 +44,7 @@ groups = {
{ id = 111102043, refresh_id = 1002, pos = { x = 1915.565, y = 194.600, z = -1657.157 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102044, refresh_id = 1001, pos = { x = 1256.401, y = 330.027, z = -1888.699 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102045, refresh_id = 1002, pos = { x = 1263.510, y = 321.640, z = -1852.608 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102046, refresh_id = 1002, pos = { x = 1419.374, y = 269.182, z = -1764.172 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102046, refresh_id = 1, pos = { x = 1419.374, y = 269.182, z = -1764.172 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102047, refresh_id = 1, pos = { x = 1284.084, y = 330.133, z = -1985.417 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102048, refresh_id = 1, pos = { x = 1216.648, y = 312.397, z = -1295.334 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102049, refresh_id = 1, pos = { x = 1172.631, y = 296.546, z = -1589.491 }, is_replaceable = { value = true, version = 0, new_bin_only = true } },
@@ -66,25 +66,37 @@ groups = {
{ id = 111102066, refresh_id = 1, pos = { x = 1309.309, y = 304.858, z = -1795.474 }, is_replaceable = { value = false, version = 0, new_bin_only = true }, vision_type = 0 },
{ id = 111102069, refresh_id = 1000, pos = { x = 1426.406, y = 241.791, z = -1422.986 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102070, refresh_id = 1, pos = { x = 1216.266, y = 313.637, z = -1808.755 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102071, refresh_id = 1, pos = { x = 1430.134, y = 266.560, z = -1110.790 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102073, refresh_id = 1001, pos = { x = 1568.289, y = 269.393, z = -1487.653 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102074, refresh_id = 1, pos = { x = 1234.502, y = 324.213, z = -1918.259 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102075, refresh_id = 1, pos = { x = 1372.170, y = 331.197, z = -2029.675 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102078, refresh_id = 1, pos = { x = 2048.010, y = 219.678, z = -1685.007 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102079, pos = { x = 1422.000, y = 258.000, z = -1692.000 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102083, pos = { x = 1283.560, y = 272.413, z = -1216.893 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102084, refresh_id = 1, pos = { x = 1159.540, y = 305.144, z = -1410.604 }, is_replaceable = { value = true, version = 0, new_bin_only = true } },
{ id = 111102085, refresh_id = 1001, pos = { x = 1560.185, y = 333.925, z = -2045.421 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102086, refresh_id = 1, pos = { x = 1260.152, y = 311.960, z = -1289.871 }, is_replaceable = { value = true, version = 0, new_bin_only = true } },
{ id = 111102087, pos = { x = 1217.075, y = 317.170, z = -1329.754 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102088, refresh_id = 1002, pos = { x = 1807.915, y = 194.906, z = -1414.053 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102089, pos = { x = 1307.326, y = 311.372, z = -1240.961 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102092, pos = { x = 1395.762, y = 276.598, z = -1440.193 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102093, refresh_id = 1, pos = { x = 1319.643, y = 274.142, z = -1726.876 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102094, refresh_id = 1, pos = { x = 1373.807, y = 279.440, z = -1803.559 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102095, pos = { x = 1983.142, y = 220.937, z = -1574.012 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102096, pos = { x = 1984.330, y = 215.578, z = -1571.636 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102097, pos = { x = 1979.272, y = 221.143, z = -1568.681 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102098, pos = { x = 1974.693, y = 221.436, z = -1569.548 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102099, pos = { x = 1975.944, y = 221.413, z = -1571.043 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102100, pos = { x = 2000.429, y = 197.673, z = -1263.695 }, dynamic_load = true, is_replaceable = { value = false, version = 0, new_bin_only = true }, business = { type = 1 } },
{ id = 111102101, refresh_id = 1, pos = { x = 1978.184, y = 207.982, z = -1412.751 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102102, pos = { x = 1983.844, y = 220.903, z = -1568.377 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102103, refresh_id = 1, pos = { x = 1983.012, y = 221.055, z = -1558.376 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102104, pos = { x = 1988.293, y = 221.971, z = -1568.193 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102105, pos = { x = 1986.661, y = 221.862, z = -1568.671 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102106, refresh_id = 1, pos = { x = 1377.206, y = 338.083, z = -2012.820 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102107, refresh_id = 1, pos = { x = 1503.767, y = 266.985, z = -1122.131 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102108, refresh_id = 1, pos = { x = 1367.777, y = 338.004, z = -2005.593 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102109, refresh_id = 1, pos = { x = 1475.045, y = 268.896, z = -1632.225 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102792, refresh_id = 1002, pos = { x = 1561.548, y = 257.833, z = -1692.325 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102793, refresh_id = 1002, pos = { x = 1513.163, y = 262.489, z = -1712.336 }, is_replaceable = { value = false, version = 0, new_bin_only = true } },
{ id = 111102794, refresh_id = 1002, pos = { x = 1539.570, y = 256.071, z = -1686.642 }, is_replaceable = { value = false, version = 0, new_bin_only = true } }

View File

@@ -0,0 +1,73 @@
-- 基础信息
local base_info = {
group_id = 111101023
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 23001, monster_id = 21010101, pos = { x = 2191.399, y = 249.344, z = -1657.894 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 23002, monster_id = 21010101, pos = { x = 2195.559, y = 249.524, z = -1659.117 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 23001, 23002 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,157 @@
-- 基础信息
local base_info = {
group_id = 111101024
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 24006, monster_id = 21010101, pos = { x = 2182.101, y = 258.977, z = -1726.138 }, rot = { x = 0.000, y = 189.118, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9012 },
{ config_id = 24007, monster_id = 21010101, pos = { x = 2180.200, y = 259.076, z = -1724.695 }, rot = { x = 0.000, y = 189.118, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9012 },
{ config_id = 24008, monster_id = 21010101, pos = { x = 2184.260, y = 259.021, z = -1725.651 }, rot = { x = 0.000, y = 189.118, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 9012 },
{ config_id = 24009, monster_id = 21020201, pos = { x = 2181.240, y = 258.997, z = -1729.805 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 401 },
{ config_id = 24012, monster_id = 21010401, pos = { x = 2190.103, y = 261.297, z = -1729.832 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 24013, monster_id = 21010401, pos = { x = 2175.202, y = 261.749, z = -1726.669 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 24014, monster_id = 21010301, pos = { x = 2184.786, y = 259.320, z = -1731.145 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 24015, monster_id = 21010301, pos = { x = 2177.618, y = 259.033, z = -1730.124 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 24001, gadget_id = 70220013, pos = { x = 2175.133, y = 258.690, z = -1727.681 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 24002, gadget_id = 70220013, pos = { x = 2175.155, y = 258.510, z = -1725.804 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 24003, gadget_id = 70220013, pos = { x = 2175.113, y = 260.129, z = -1726.562 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 24004, gadget_id = 70310001, pos = { x = 2179.502, y = 258.696, z = -1720.923 }, rot = { x = 0.000, y = 0.000, z = 0.895 }, level = 1, state = GadgetState.GearStart },
{ config_id = 24005, gadget_id = 70310001, pos = { x = 2189.122, y = 259.105, z = -1723.162 }, rot = { x = 8.796, y = 0.617, z = 8.005 }, level = 1, state = GadgetState.GearStart },
{ config_id = 24010, gadget_id = 70220013, pos = { x = 2190.182, y = 259.677, z = -1729.926 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 24011, gadget_id = 70220013, pos = { x = 2189.670, y = 259.638, z = -1727.894 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 24016, gadget_id = 70211002, pos = { x = 2183.202, y = 259.015, z = -1730.738 }, rot = { x = 0.895, y = 0.035, z = 0.896 }, level = 11, drop_tag = "战斗低级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true, vision_level = VisionLevelType.VISION_LEVEL_NORMAL }
}
-- 区域
regions = {
{ config_id = 24017, shape = RegionShape.SPHERE, radius = 9.3, pos = { x = 2182.027, y = 258.995, z = -1728.919 } }
}
-- 触发器
triggers = {
{ config_id = 1024017, name = "ENTER_REGION_24017", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_24017", trigger_count = 0 },
{ config_id = 1024018, name = "ANY_MONSTER_DIE_24018", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_24018", action = "action_EVENT_ANY_MONSTER_DIE_24018" },
-- 开箱子解锁D区域方碑
{ config_id = 1024019, name = "GADGET_STATE_CHANGE_24019", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_24019", action = "action_EVENT_GADGET_STATE_CHANGE_24019" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 24006, 24007, 24008, 24009 },
gadgets = { 24001, 24002, 24003, 24004, 24005, 24010, 24011, 24016 },
regions = { 24017 },
triggers = { "ENTER_REGION_24017", "ANY_MONSTER_DIE_24018", "GADGET_STATE_CHANGE_24019" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 24012, 24013, 24014, 24015 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_ENTER_REGION_24017(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 111101024, 2)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_24018(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_24018(context, evt)
-- 将configid为 24016 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 24016, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_24019(context, evt)
-- 检测config_id为24016的gadget是否从GadgetState.Default变为GadgetState.ChestOpened
if 24016 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_24019(context, evt)
-- 改变指定group组111101029中 configid为29002的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 111101029, 29002, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 将本组内变量名为 "open2" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValueByGroup(context, "open2", 1, 111101029) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable_by_group")
return -1
end
return 0
end

View File

@@ -0,0 +1,96 @@
-- 基础信息
local base_info = {
group_id = 111101025
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 25002, monster_id = 21010201, pos = { x = 2189.365, y = 255.806, z = -1694.218 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 25003, monster_id = 21010201, pos = { x = 2189.559, y = 255.979, z = -1695.695 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 25004, monster_id = 21010201, pos = { x = 2207.149, y = 256.547, z = -1690.517 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 25005, monster_id = 21010201, pos = { x = 2208.142, y = 256.812, z = -1693.277 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 25008, monster_id = 21010401, pos = { x = 2187.040, y = 255.834, z = -1694.998 }, rot = { x = 0.000, y = 120.000, z = 0.000 }, level = 1, drop_tag = "远程丘丘人" },
{ config_id = 25009, monster_id = 21010401, pos = { x = 2212.745, y = 259.141, z = -1693.750 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_tag = "远程丘丘人" }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
{ config_id = 25001, shape = RegionShape.SPHERE, radius = 10, pos = { x = 2199.800, y = 255.618, z = -1692.984 } }
}
-- 触发器
triggers = {
{ config_id = 1025001, name = "ENTER_REGION_25001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_25001" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { 25001 },
triggers = { "ENTER_REGION_25001" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 25002, 25003, 25004, 25005, 25008, 25009 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_ENTER_REGION_25001(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 111101025, 2)
return 0
end

View File

@@ -0,0 +1,361 @@
-- 基础信息
local base_info = {
group_id = 111101026
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 26001, gadget_id = 70310001, pos = { x = 2305.789, y = 275.464, z = -1646.839 }, rot = { x = 4.144, y = 359.948, z = 358.551 }, level = 1 },
{ config_id = 26002, gadget_id = 70310001, pos = { x = 2301.885, y = 277.280, z = -1647.060 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 26003, gadget_id = 70310001, pos = { x = 2308.072, y = 275.318, z = -1643.205 }, rot = { x = 357.124, y = 0.050, z = 358.003 }, level = 1 },
{ config_id = 26004, gadget_id = 70310001, pos = { x = 2308.104, y = 275.469, z = -1648.676 }, rot = { x = 357.838, y = 0.027, z = 358.579 }, level = 1 },
{ config_id = 26005, gadget_id = 70310001, pos = { x = 2310.169, y = 275.170, z = -1645.448 }, rot = { x = 4.864, y = 359.954, z = 358.925 }, level = 1 },
{ config_id = 26017, gadget_id = 70211001, pos = { x = 2308.019, y = 275.307, z = -1645.922 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 11, drop_tag = "战斗低级蒙德", isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- 1火把点燃增加
{ config_id = 1026006, name = "GADGET_STATE_CHANGE_26006", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_26006", action = "action_EVENT_GADGET_STATE_CHANGE_26006", trigger_count = 0 },
-- 2火把点燃增加
{ config_id = 1026007, name = "GADGET_STATE_CHANGE_26007", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_26007", action = "action_EVENT_GADGET_STATE_CHANGE_26007", trigger_count = 0 },
-- 3火把点燃增加
{ config_id = 1026008, name = "GADGET_STATE_CHANGE_26008", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_26008", action = "action_EVENT_GADGET_STATE_CHANGE_26008", trigger_count = 0 },
-- 4火把点燃增加
{ config_id = 1026009, name = "GADGET_STATE_CHANGE_26009", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_26009", action = "action_EVENT_GADGET_STATE_CHANGE_26009", trigger_count = 0 },
-- 5火把点燃增加
{ config_id = 1026010, name = "GADGET_STATE_CHANGE_26010", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_26010", action = "action_EVENT_GADGET_STATE_CHANGE_26010", trigger_count = 0 },
-- 1火把熄灭减少
{ config_id = 1026011, name = "GADGET_STATE_CHANGE_26011", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_26011", action = "action_EVENT_GADGET_STATE_CHANGE_26011", trigger_count = 0 },
-- 2火把熄灭减少
{ config_id = 1026012, name = "GADGET_STATE_CHANGE_26012", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_26012", action = "action_EVENT_GADGET_STATE_CHANGE_26012", trigger_count = 0 },
-- 3火把熄灭减少
{ config_id = 1026013, name = "GADGET_STATE_CHANGE_26013", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_26013", action = "action_EVENT_GADGET_STATE_CHANGE_26013", trigger_count = 0 },
-- 4火把熄灭减少
{ config_id = 1026014, name = "GADGET_STATE_CHANGE_26014", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_26014", action = "action_EVENT_GADGET_STATE_CHANGE_26014", trigger_count = 0 },
-- 5火把熄灭减少
{ config_id = 1026015, name = "GADGET_STATE_CHANGE_26015", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_26015", action = "action_EVENT_GADGET_STATE_CHANGE_26015", trigger_count = 0 },
{ config_id = 1026016, name = "VARIABLE_CHANGE_26016", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_26016", action = "action_EVENT_VARIABLE_CHANGE_26016", trigger_count = 0 },
-- 开箱子解锁D区域
{ config_id = 1026018, name = "GADGET_STATE_CHANGE_26018", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_26018", action = "action_EVENT_GADGET_STATE_CHANGE_26018" }
}
-- 变量
variables = {
{ config_id = 1, name = "count", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 26001, 26002, 26003, 26004, 26005 },
regions = { },
triggers = { "GADGET_STATE_CHANGE_26006", "GADGET_STATE_CHANGE_26007", "GADGET_STATE_CHANGE_26008", "GADGET_STATE_CHANGE_26009", "GADGET_STATE_CHANGE_26010", "GADGET_STATE_CHANGE_26011", "GADGET_STATE_CHANGE_26012", "GADGET_STATE_CHANGE_26013", "GADGET_STATE_CHANGE_26014", "GADGET_STATE_CHANGE_26015", "VARIABLE_CHANGE_26016", "GADGET_STATE_CHANGE_26018" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_26006(context, evt)
-- 检测config_id为26001的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 26001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_26006(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "count", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_26007(context, evt)
-- 检测config_id为26002的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 26002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_26007(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "count", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_26008(context, evt)
-- 检测config_id为26003的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 26003 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_26008(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "count", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_26009(context, evt)
-- 检测config_id为26003的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 26003 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_26009(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "count", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_26010(context, evt)
-- 检测config_id为26005的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 26005 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_26010(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "count", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_26011(context, evt)
-- 检测config_id为26001的gadget是否从GadgetState.GearStart变为GadgetState.Default
if 26001 ~= evt.param2 or GadgetState.Default ~= evt.param1 or GadgetState.GearStart ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_26011(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 -1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "count", -1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_26012(context, evt)
-- 检测config_id为26002的gadget是否从GadgetState.GearStart变为GadgetState.Default
if 26002 ~= evt.param2 or GadgetState.Default ~= evt.param1 or GadgetState.GearStart ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_26012(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 -1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "count", -1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_26013(context, evt)
-- 检测config_id为26003的gadget是否从GadgetState.GearStart变为GadgetState.Default
if 26003 ~= evt.param2 or GadgetState.Default ~= evt.param1 or GadgetState.GearStart ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_26013(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 -1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "count", -1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_26014(context, evt)
-- 检测config_id为26004的gadget是否从GadgetState.GearStart变为GadgetState.Default
if 26004 ~= evt.param2 or GadgetState.Default ~= evt.param1 or GadgetState.GearStart ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_26014(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 -1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "count", -1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_26015(context, evt)
-- 检测config_id为26005的gadget是否从GadgetState.GearStart变为GadgetState.Default
if 26005 ~= evt.param2 or GadgetState.Default ~= evt.param1 or GadgetState.GearStart ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_26015(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 -1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "count", -1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_26016(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"count"为5
if ScriptLib.GetGroupVariableValue(context, "count") ~= 5 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_26016(context, evt)
-- 创建id为26017的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 26017 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_26018(context, evt)
-- 检测config_id为26017的gadget是否从GadgetState.Default变为GadgetState.ChestOpened
if 26017 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_26018(context, evt)
-- 改变指定group组111101029中 configid为29003的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 111101029, 29003, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 将本组内变量名为 "open3" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValueByGroup(context, "open3", 1, 111101029) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable_by_group")
return -1
end
return 0
end

View File

@@ -0,0 +1,311 @@
-- 基础信息
local base_info = {
group_id = 111101029
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
-- 第一波
{ config_id = 29004, monster_id = 21010101, pos = { x = 2336.445, y = 284.052, z = -1743.955 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
-- 第一波
{ config_id = 29005, monster_id = 21010101, pos = { x = 2337.418, y = 283.923, z = -1746.980 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
-- 第一波
{ config_id = 29006, monster_id = 21010101, pos = { x = 2338.372, y = 283.962, z = -1749.633 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
-- 第二波
{ config_id = 29012, monster_id = 21010101, pos = { x = 2342.478, y = 283.898, z = -1742.110 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
-- 第二波
{ config_id = 29013, monster_id = 21010101, pos = { x = 2344.187, y = 283.898, z = -1745.355 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
-- 第二波
{ config_id = 29014, monster_id = 21010101, pos = { x = 2345.706, y = 283.898, z = -1748.065 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 29001, gadget_id = 70900007, pos = { x = 2339.093, y = 283.898, z = -1742.949 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStop },
{ config_id = 29002, gadget_id = 70900007, pos = { x = 2341.114, y = 283.987, z = -1746.567 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStop },
{ config_id = 29003, gadget_id = 70900007, pos = { x = 2343.065, y = 283.898, z = -1751.346 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStop },
{ config_id = 29015, gadget_id = 70211001, pos = { x = 2336.915, y = 283.922, z = -1748.220 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 11, drop_tag = "战斗低级蒙德", isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- 方碑全部解锁
{ config_id = 1029007, name = "VARIABLE_CHANGE_29007", event = EventType.EVENT_VARIABLE_CHANGE, source = "numBox", condition = "condition_EVENT_VARIABLE_CHANGE_29007", action = "action_EVENT_VARIABLE_CHANGE_29007", trigger_count = 3 },
-- 解锁方碑+1
{ config_id = 1029008, name = "GADGET_STATE_CHANGE_29008", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_29008", action = "action_EVENT_GADGET_STATE_CHANGE_29008" },
-- 解锁方碑+1
{ config_id = 1029009, name = "GADGET_STATE_CHANGE_29009", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_29009", action = "action_EVENT_GADGET_STATE_CHANGE_29009" },
-- 解锁方碑+1
{ config_id = 1029010, name = "GADGET_STATE_CHANGE_29010", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_29010", action = "action_EVENT_GADGET_STATE_CHANGE_29010" },
{ config_id = 1029011, name = "ANY_MONSTER_DIE_29011", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_29011", action = "action_EVENT_ANY_MONSTER_DIE_29011" },
-- 第二波死完出宝箱
{ config_id = 1029016, name = "ANY_MONSTER_DIE_29016", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_29016", action = "action_EVENT_ANY_MONSTER_DIE_29016" },
{ config_id = 1029017, name = "VARIABLE_CHANGE_29017", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_29017", action = "action_EVENT_VARIABLE_CHANGE_29017" },
{ config_id = 1029018, name = "VARIABLE_CHANGE_29018", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_29018", action = "action_EVENT_VARIABLE_CHANGE_29018" },
{ config_id = 1029019, name = "VARIABLE_CHANGE_29019", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_29019", action = "action_EVENT_VARIABLE_CHANGE_29019" }
}
-- 变量
variables = {
{ config_id = 1, name = "numBox", value = 0, no_refresh = true },
{ config_id = 2, name = "open1", value = 0, no_refresh = true },
{ config_id = 3, name = "open2", value = 0, no_refresh = false },
{ config_id = 4, name = "open3", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 29001, 29002, 29003 },
regions = { },
triggers = { "VARIABLE_CHANGE_29007", "GADGET_STATE_CHANGE_29008", "GADGET_STATE_CHANGE_29009", "GADGET_STATE_CHANGE_29010", "VARIABLE_CHANGE_29017", "VARIABLE_CHANGE_29018", "VARIABLE_CHANGE_29019" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 29004, 29005, 29006 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_29011" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 29012, 29013, 29014 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_29016" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_29007(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"numBox"为3
if ScriptLib.GetGroupVariableValue(context, "numBox") ~= 3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_29007(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 111101029, 2)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_29008(context, evt)
if 29001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_29008(context, evt)
-- 针对当前group内变量名为 "numBox" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "numBox", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_29009(context, evt)
if 29002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_29009(context, evt)
-- 针对当前group内变量名为 "numBox" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "numBox", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_29010(context, evt)
if 29003 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_29010(context, evt)
-- 针对当前group内变量名为 "numBox" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "numBox", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_29011(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_29011(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 111101029, 3)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_29016(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_29016(context, evt)
-- 创建id为29015的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 29015 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_29017(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"open1"为1
if ScriptLib.GetGroupVariableValue(context, "open1") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_29017(context, evt)
-- 将configid为 29001 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 29001, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_29018(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"open2"为1
if ScriptLib.GetGroupVariableValue(context, "open2") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_29018(context, evt)
-- 将configid为 29002 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 29002, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_29019(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"open3"为1
if ScriptLib.GetGroupVariableValue(context, "open3") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_29019(context, evt)
-- 将configid为 29003 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 29003, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end

View File

@@ -123,7 +123,8 @@ gadgets = {
{ config_id = 86102, gadget_id = 70500000, pos = { x = 2685.228, y = 274.303, z = -1528.726 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 2053 },
{ config_id = 86103, gadget_id = 70500000, pos = { x = 2683.271, y = 275.071, z = -1529.425 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 2054 },
{ config_id = 86104, gadget_id = 70330450, pos = { x = 2705.655, y = 274.223, z = -1539.590 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 86105, gadget_id = 70500000, pos = { x = 2705.655, y = 274.223, z = -1539.590 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 3012, owner = 86104 }
{ config_id = 86105, gadget_id = 70500000, pos = { x = 2705.655, y = 274.223, z = -1539.590 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, point_type = 3012, owner = 86104 },
{ config_id = 86106, gadget_id = 70500000, pos = { x = 2712.261, y = 273.706, z = -1519.347 }, rot = { x = 355.597, y = 359.624, z = 9.753 }, level = 1, point_type = 2055 }
}
-- 区域
@@ -162,7 +163,7 @@ suites = {
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 86001, 86002, 86003, 86004, 86005, 86006, 86007, 86008, 86009, 86010, 86011, 86012, 86013, 86014, 86015, 86016, 86017, 86018, 86019, 86020, 86021, 86022, 86023, 86024, 86025, 86026, 86027, 86028, 86029, 86030, 86031, 86032, 86033, 86034, 86035, 86036, 86037, 86038, 86039, 86040, 86041, 86042, 86043, 86044, 86045, 86046, 86047, 86048, 86049, 86050, 86051, 86052, 86053, 86054, 86055, 86056, 86057, 86058, 86059, 86060, 86061, 86062, 86063, 86064, 86065, 86066, 86067, 86068, 86069, 86070, 86071, 86072, 86073, 86074, 86075, 86076, 86077, 86078, 86079, 86080, 86081, 86082, 86083, 86084, 86085, 86086, 86087, 86088, 86089, 86090, 86091, 86092, 86093, 86094, 86095, 86096, 86097, 86098, 86099, 86100, 86101, 86102, 86103, 86104, 86105 },
gadgets = { 86001, 86002, 86003, 86004, 86005, 86006, 86007, 86008, 86009, 86010, 86011, 86012, 86013, 86014, 86015, 86016, 86017, 86018, 86019, 86020, 86021, 86022, 86023, 86024, 86025, 86026, 86027, 86028, 86029, 86030, 86031, 86032, 86033, 86034, 86035, 86036, 86037, 86038, 86039, 86040, 86041, 86042, 86043, 86044, 86045, 86046, 86047, 86048, 86049, 86050, 86051, 86052, 86053, 86054, 86055, 86056, 86057, 86058, 86059, 86060, 86061, 86062, 86063, 86064, 86065, 86066, 86067, 86068, 86069, 86070, 86071, 86072, 86073, 86074, 86075, 86076, 86077, 86078, 86079, 86080, 86081, 86082, 86083, 86084, 86085, 86086, 86087, 86088, 86089, 86090, 86091, 86092, 86093, 86094, 86095, 86096, 86097, 86098, 86099, 86100, 86101, 86102, 86103, 86104, 86105, 86106 },
regions = { },
triggers = { },
rand_weight = 100

View File

@@ -0,0 +1,188 @@
-- 基础信息
local base_info = {
group_id = 111101306
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 306002, monster_id = 21020202, pos = { x = 2227.430, y = 246.373, z = -1605.900 }, rot = { x = 0.000, y = 307.370, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 306003, monster_id = 21020202, pos = { x = 2221.600, y = 245.775, z = -1607.889 }, rot = { x = 0.000, y = 0.674, z = 0.000 }, level = 1, drop_id = 1000100 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 306001, gadget_id = 70350082, pos = { x = 2223.109, y = 245.500, z = -1603.901 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 306004, gadget_id = 70211021, pos = { x = 2224.401, y = 245.926, z = -1605.497 }, rot = { x = 0.000, y = 346.910, z = 0.000 }, level = 11, drop_tag = "战斗高级蒙德", isOneoff = true, persistent = true },
{ config_id = 306005, gadget_id = 70950145, pos = { x = 2223.087, y = 245.782, z = -1603.992 }, rot = { x = 7.673, y = 359.785, z = 356.801 }, level = 1, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1306006, name = "GADGET_CREATE_306006", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_306006", action = "action_EVENT_GADGET_CREATE_306006", trigger_count = 0 },
{ config_id = 1306007, name = "SELECT_OPTION_306007", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_306007", action = "action_EVENT_SELECT_OPTION_306007", trigger_count = 0 },
{ config_id = 1306008, name = "CHALLENGE_SUCCESS_306008", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "180", condition = "", action = "action_EVENT_CHALLENGE_SUCCESS_306008", trigger_count = 0 },
{ config_id = 1306009, name = "CHALLENGE_FAIL_306009", event = EventType.EVENT_CHALLENGE_FAIL, source = "180", condition = "", action = "action_EVENT_CHALLENGE_FAIL_306009", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 306001, 306005 },
regions = { },
triggers = { "GADGET_CREATE_306006", "SELECT_OPTION_306007", "CHALLENGE_SUCCESS_306008", "CHALLENGE_FAIL_306009" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 306002, 306003 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_306006(context, evt)
if 306005 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_306006(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 111101306, 306005, {177}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_306007(context, evt)
-- 判断是gadgetid 306005 option_id 177
if 306005 ~= evt.param1 then
return false
end
if 177 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_306007(context, evt)
-- 创建编号为180该挑战的识别id),挑战内容为180的区域挑战具体参数填写方式见DungeonChallengeData表中的注释所有填写的值都必须是int类型
if 0 ~= ScriptLib.ActiveChallenge(context, 180, 180, 60, 111101306, 2, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_challenge")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 111101306, 2)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 306005 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 将configid为 306001 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 306001, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_CHALLENGE_SUCCESS_306008(context, evt)
-- 将configid为 306001 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 306001, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 创建id为306004的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 306004 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_CHALLENGE_FAIL_306009(context, evt)
-- 将configid为 306001 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 306001, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 创建id为306005的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 306005 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
-- 删除suite2的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 111101306, 2)
return 0
end

View File

@@ -0,0 +1,96 @@
-- 基础信息
local base_info = {
group_id = 111101307
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 307001, monster_id = 21010101, pos = { x = 2242.630, y = 246.971, z = -1605.809 }, rot = { x = 0.000, y = 4.544, z = 0.000 }, level = 1, drop_tag = "丘丘人", disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 307002, gadget_id = 70310001, pos = { x = 2246.902, y = 246.204, z = -1604.149 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 307003, gadget_id = 70211021, pos = { x = 2240.577, y = 248.448, z = -1609.331 }, rot = { x = 357.865, y = 359.973, z = 1.471 }, level = 11, drop_tag = "战斗高级蒙德", isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1307004, name = "ANY_MONSTER_DIE_307004", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_307004", action = "action_EVENT_ANY_MONSTER_DIE_307004" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 307001 },
gadgets = { 307002, 307003 },
regions = { },
triggers = { "ANY_MONSTER_DIE_307004" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_307004(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_307004(context, evt)
-- 将configid为 307003 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 307003, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,219 @@
-- 基础信息
local base_info = {
group_id = 111101308
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 308003, monster_id = 21010101, pos = { x = 2211.540, y = 243.005, z = -1563.711 }, rot = { x = 0.000, y = 123.508, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 308004, monster_id = 21010101, pos = { x = 2209.078, y = 242.618, z = -1562.873 }, rot = { x = 0.000, y = 308.782, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 308005, monster_id = 21010101, pos = { x = 2207.590, y = 242.285, z = -1564.094 }, rot = { x = 0.000, y = 308.782, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 308006, monster_id = 21010101, pos = { x = 2207.080, y = 242.471, z = -1566.132 }, rot = { x = 0.000, y = 308.782, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 308007, monster_id = 21010101, pos = { x = 2205.089, y = 242.398, z = -1566.221 }, rot = { x = 0.000, y = 274.538, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 308008, monster_id = 21010101, pos = { x = 2208.372, y = 242.441, z = -1561.163 }, rot = { x = 0.000, y = 354.979, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 308009, monster_id = 21010101, pos = { x = 2205.718, y = 242.122, z = -1563.122 }, rot = { x = 0.000, y = 118.431, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 308010, monster_id = 21010101, pos = { x = 2206.311, y = 242.345, z = -1561.098 }, rot = { x = 0.000, y = 42.043, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 308011, monster_id = 21010101, pos = { x = 2204.218, y = 242.188, z = -1563.753 }, rot = { x = 0.000, y = 42.043, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 308012, monster_id = 21020101, pos = { x = 2210.729, y = 242.934, z = -1561.245 }, rot = { x = 0.000, y = 242.743, z = 0.000 }, level = 1, drop_id = 1000100 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 308001, gadget_id = 70350082, pos = { x = 2209.430, y = 242.647, z = -1567.688 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 308002, gadget_id = 70360001, pos = { x = 2209.420, y = 243.666, z = -1567.685 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 308013, gadget_id = 70211001, pos = { x = 2211.528, y = 242.721, z = -1566.698 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1308014, name = "GADGET_CREATE_308014", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_308014", action = "action_EVENT_GADGET_CREATE_308014", trigger_count = 0 },
{ config_id = 1308015, name = "SELECT_OPTION_308015", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_308015", action = "action_EVENT_SELECT_OPTION_308015", trigger_count = 0 },
{ config_id = 1308016, name = "CHALLENGE_SUCCESS_308016", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "180", condition = "", action = "action_EVENT_CHALLENGE_SUCCESS_308016", trigger_count = 0 },
{ config_id = 1308017, name = "CHALLENGE_FAIL_308017", event = EventType.EVENT_CHALLENGE_FAIL, source = "180", condition = "", action = "action_EVENT_CHALLENGE_FAIL_308017", trigger_count = 0 },
{ config_id = 1308018, name = "GADGET_STATE_CHANGE_308018", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_308018", action = "action_EVENT_GADGET_STATE_CHANGE_308018" }
}
-- 变量
variables = {
{ config_id = 1, name = "chest", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 308001, 308002 },
regions = { },
triggers = { "GADGET_CREATE_308014", "SELECT_OPTION_308015", "CHALLENGE_SUCCESS_308016", "CHALLENGE_FAIL_308017", "GADGET_STATE_CHANGE_308018" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 308003, 308004, 308005, 308006, 308007, 308008, 308009, 308010, 308011, 308012 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_308014(context, evt)
if 308002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_308014(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 111101308, 308002, {177}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_308015(context, evt)
-- 判断是gadgetid 308002 option_id 177
if 308002 ~= evt.param1 then
return false
end
if 177 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_308015(context, evt)
-- 创建编号为180该挑战的识别id),挑战内容为180的区域挑战具体参数填写方式见DungeonChallengeData表中的注释所有填写的值都必须是int类型
if 0 ~= ScriptLib.ActiveChallenge(context, 180, 180, 120, 111101308, 10, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_challenge")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 111101308, 2)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 308002 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 将configid为 308001 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 308001, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_CHALLENGE_SUCCESS_308016(context, evt)
-- 将configid为 308001 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 308001, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 创建id为308013的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 308013 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_CHALLENGE_FAIL_308017(context, evt)
-- 将configid为 308001 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 308001, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 创建id为308002的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 308002 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
-- 删除suite2的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 111101308, 2)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_308018(context, evt)
-- 检测config_id为308013的gadget是否从GadgetState.Default变为GadgetState.ChestOpened
if 308013 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_308018(context, evt)
-- 将本组内变量名为 "chest1" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValueByGroup(context, "chest1", 1, 111101315) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable_by_group")
return -1
end
return 0
end

View File

@@ -0,0 +1,348 @@
-- 基础信息
local base_info = {
group_id = 111101309
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 309001, gadget_id = 70310001, pos = { x = 2322.294, y = 276.418, z = -1670.957 }, rot = { x = 0.000, y = 170.910, z = 0.000 }, level = 1, persistent = true },
{ config_id = 309002, gadget_id = 70310001, pos = { x = 2318.311, y = 275.009, z = -1670.861 }, rot = { x = 0.000, y = 170.910, z = 0.000 }, level = 1, persistent = true },
{ config_id = 309003, gadget_id = 70310001, pos = { x = 2317.375, y = 273.987, z = -1664.707 }, rot = { x = 0.000, y = 170.910, z = 0.000 }, level = 1, persistent = true },
{ config_id = 309004, gadget_id = 70310001, pos = { x = 2321.240, y = 275.016, z = -1662.876 }, rot = { x = 0.000, y = 170.910, z = 0.000 }, level = 1, persistent = true },
{ config_id = 309005, gadget_id = 70310001, pos = { x = 2325.489, y = 276.361, z = -1668.015 }, rot = { x = 0.000, y = 170.910, z = 0.000 }, level = 1, persistent = true },
{ config_id = 309006, gadget_id = 70211101, pos = { x = 2320.655, y = 275.185, z = -1665.538 }, rot = { x = 0.000, y = 162.607, z = 0.000 }, level = 11, drop_tag = "解谜低级蒙德", isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- 以下五个代表火把点燃时+1
{ config_id = 1309007, name = "GADGET_STATE_CHANGE_309007", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_309007", action = "action_EVENT_GADGET_STATE_CHANGE_309007", trigger_count = 0 },
{ config_id = 1309008, name = "GADGET_STATE_CHANGE_309008", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_309008", action = "action_EVENT_GADGET_STATE_CHANGE_309008", trigger_count = 0 },
{ config_id = 1309009, name = "GADGET_STATE_CHANGE_309009", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_309009", action = "action_EVENT_GADGET_STATE_CHANGE_309009", trigger_count = 0 },
{ config_id = 1309010, name = "GADGET_STATE_CHANGE_309010", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_309010", action = "action_EVENT_GADGET_STATE_CHANGE_309010", trigger_count = 0 },
{ config_id = 1309011, name = "GADGET_STATE_CHANGE_309011", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_309011", action = "action_EVENT_GADGET_STATE_CHANGE_309011", trigger_count = 0 },
{ config_id = 1309012, name = "VARIABLE_CHANGE_309012", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_309012", action = "action_EVENT_VARIABLE_CHANGE_309012", trigger_count = 0 },
-- 以下五个代表火把熄灭时variable-1
{ config_id = 1309013, name = "GADGET_STATE_CHANGE_309013", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_309013", action = "action_EVENT_GADGET_STATE_CHANGE_309013", trigger_count = 0 },
{ config_id = 1309014, name = "GADGET_STATE_CHANGE_309014", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_309014", action = "action_EVENT_GADGET_STATE_CHANGE_309014", trigger_count = 0 },
{ config_id = 1309015, name = "GADGET_STATE_CHANGE_309015", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_309015", action = "action_EVENT_GADGET_STATE_CHANGE_309015", trigger_count = 0 },
{ config_id = 1309016, name = "GADGET_STATE_CHANGE_309016", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_309016", action = "action_EVENT_GADGET_STATE_CHANGE_309016", trigger_count = 0 },
{ config_id = 1309017, name = "GADGET_STATE_CHANGE_309017", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_309017", action = "action_EVENT_GADGET_STATE_CHANGE_309017", trigger_count = 0 },
-- 宝箱开启方碑解锁
{ config_id = 1309018, name = "GADGET_STATE_CHANGE_309018", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_309018", action = "action_EVENT_GADGET_STATE_CHANGE_309018" }
}
-- 变量
variables = {
{ config_id = 1, name = "count", value = 0, no_refresh = true },
{ config_id = 2, name = "chest", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 309001, 309002, 309003, 309004, 309005 },
regions = { },
triggers = { "GADGET_STATE_CHANGE_309007", "GADGET_STATE_CHANGE_309008", "GADGET_STATE_CHANGE_309009", "GADGET_STATE_CHANGE_309010", "GADGET_STATE_CHANGE_309011", "VARIABLE_CHANGE_309012", "GADGET_STATE_CHANGE_309013", "GADGET_STATE_CHANGE_309014", "GADGET_STATE_CHANGE_309015", "GADGET_STATE_CHANGE_309016", "GADGET_STATE_CHANGE_309017", "GADGET_STATE_CHANGE_309018" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_309007(context, evt)
-- 检测config_id为309001的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 309001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_309007(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "count", 1, 111101309) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_309008(context, evt)
-- 检测config_id为309002的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 309002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_309008(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "count", 1, 111101309) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_309009(context, evt)
-- 检测config_id为309003的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 309003 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_309009(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "count", 1, 111101309) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_309010(context, evt)
-- 检测config_id为309004的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 309004 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_309010(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "count", 1, 111101309) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_309011(context, evt)
-- 检测config_id为309005的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 309005 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_309011(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "count", 1, 111101309) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_309012(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"count"为5
if ScriptLib.GetGroupVariableValueByGroup(context, "count", 111101309) ~= 5 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_309012(context, evt)
-- 创建id为309006的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 309006 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_309013(context, evt)
-- 检测config_id为309001的gadget是否从GadgetState.GearStart变为GadgetState.Default
if 309001 ~= evt.param2 or GadgetState.Default ~= evt.param1 or GadgetState.GearStart ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_309013(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 -1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "count", -1, 111101309) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_309014(context, evt)
-- 检测config_id为309002的gadget是否从GadgetState.GearStart变为GadgetState.Default
if 309002 ~= evt.param2 or GadgetState.Default ~= evt.param1 or GadgetState.GearStart ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_309014(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 -1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "count", -1, 111101309) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_309015(context, evt)
-- 检测config_id为309003的gadget是否从GadgetState.GearStart变为GadgetState.Default
if 309003 ~= evt.param2 or GadgetState.Default ~= evt.param1 or GadgetState.GearStart ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_309015(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 -1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "count", -1, 111101309) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_309016(context, evt)
-- 检测config_id为309004的gadget是否从GadgetState.GearStart变为GadgetState.Default
if 309004 ~= evt.param2 or GadgetState.Default ~= evt.param1 or GadgetState.GearStart ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_309016(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 -1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "count", -1, 111101309) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_309017(context, evt)
-- 检测config_id为309005的gadget是否从GadgetState.GearStart变为GadgetState.Default
if 309005 ~= evt.param2 or GadgetState.Default ~= evt.param1 or GadgetState.GearStart ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_309017(context, evt)
-- 针对当前group内变量名为 "count" 的变量进行修改变化值为 -1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "count", -1, 111101309) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_309018(context, evt)
-- 检测config_id为309006的gadget是否从GadgetState.Default变为GadgetState.ChestOpened
if 309006 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_309018(context, evt)
-- 将本组内变量名为 "chest" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "chest", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end

View File

@@ -0,0 +1,185 @@
-- 基础信息
local base_info = {
group_id = 111101310
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 310001, gadget_id = 70900039, pos = { x = 2230.382, y = 249.302, z = -1621.237 }, rot = { x = 10.589, y = 0.414, z = 4.467 }, level = 1, persistent = true },
{ config_id = 310002, gadget_id = 70900039, pos = { x = 2224.588, y = 249.305, z = -1621.194 }, rot = { x = 8.880, y = 0.070, z = 0.895 }, level = 1, persistent = true },
{ config_id = 310003, gadget_id = 70900039, pos = { x = 2229.789, y = 248.479, z = -1616.523 }, rot = { x = 6.242, y = 0.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 310004, gadget_id = 70900039, pos = { x = 2224.668, y = 248.486, z = -1616.967 }, rot = { x = 14.035, y = 0.110, z = 0.895 }, level = 1, persistent = true },
{ config_id = 310010, gadget_id = 70211001, pos = { x = 2227.034, y = 249.088, z = -1619.340 }, rot = { x = 5.634, y = 359.903, z = 0.865 }, level = 11, drop_tag = "战斗低级蒙德", isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1310005, name = "GADGET_STATE_CHANGE_310005", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_310005", action = "action_EVENT_GADGET_STATE_CHANGE_310005", trigger_count = 0 },
{ config_id = 1310006, name = "GADGET_STATE_CHANGE_310006", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_310006", action = "action_EVENT_GADGET_STATE_CHANGE_310006" },
{ config_id = 1310007, name = "GADGET_STATE_CHANGE_310007", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_310007", action = "action_EVENT_GADGET_STATE_CHANGE_310007" },
{ config_id = 1310008, name = "GADGET_STATE_CHANGE_310008", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_310008", action = "action_EVENT_GADGET_STATE_CHANGE_310008" },
{ config_id = 1310009, name = "VARIABLE_CHANGE_310009", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_310009", action = "action_EVENT_VARIABLE_CHANGE_310009", trigger_count = 4 }
}
-- 变量
variables = {
{ config_id = 1, name = "Count", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 310001, 310002, 310003, 310004 },
regions = { },
triggers = { "GADGET_STATE_CHANGE_310005", "GADGET_STATE_CHANGE_310006", "GADGET_STATE_CHANGE_310007", "GADGET_STATE_CHANGE_310008", "VARIABLE_CHANGE_310009" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_310005(context, evt)
if 310001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_310005(context, evt)
-- 针对当前group内变量名为 "Count" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "Count", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_310006(context, evt)
if 310002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_310006(context, evt)
-- 针对当前group内变量名为 "Count" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "Count", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_310007(context, evt)
if 310003 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_310007(context, evt)
-- 针对当前group内变量名为 "Count" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "Count", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_310008(context, evt)
if 310004 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_310008(context, evt)
-- 针对当前group内变量名为 "Count" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "Count", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_310009(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"Count"为4
if ScriptLib.GetGroupVariableValue(context, "Count") ~= 4 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_310009(context, evt)
-- 创建id为310010的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 310010 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end

View File

@@ -0,0 +1,74 @@
-- 基础信息
local base_info = {
group_id = 111101311
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 311001, monster_id = 21020201, pos = { x = 2179.357, y = 247.821, z = -1654.943 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘暴徒" },
{ config_id = 311003, monster_id = 21010501, pos = { x = 2185.107, y = 249.120, z = -1646.241 }, rot = { x = 0.000, y = 19.536, z = 0.000 }, level = 1, drop_tag = "远程丘丘人" },
{ config_id = 311004, monster_id = 21010501, pos = { x = 2175.079, y = 247.054, z = -1647.837 }, rot = { x = 0.000, y = 87.313, z = 0.000 }, level = 1, drop_tag = "远程丘丘人" }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 311001, 311003, 311004 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,144 @@
-- 基础信息
local base_info = {
group_id = 111101312
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 312001, monster_id = 21010501, pos = { x = 2174.850, y = 256.330, z = -1705.635 }, rot = { x = 0.000, y = 74.900, z = 0.000 }, level = 1, drop_tag = "远程丘丘人", pose_id = 9013 },
{ config_id = 312004, monster_id = 21020201, pos = { x = 2170.636, y = 256.285, z = -1711.964 }, rot = { x = 0.000, y = 358.756, z = 0.000 }, level = 1, drop_tag = "丘丘暴徒", pose_id = 401 },
{ config_id = 312010, monster_id = 21020101, pos = { x = 2172.584, y = 256.012, z = -1701.960 }, rot = { x = 0.000, y = 220.914, z = 0.000 }, level = 1, drop_tag = "丘丘暴徒" },
{ config_id = 312011, monster_id = 21010101, pos = { x = 2166.253, y = 255.217, z = -1700.730 }, rot = { x = 0.000, y = 223.901, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 312012, monster_id = 21010101, pos = { x = 2169.344, y = 255.496, z = -1699.113 }, rot = { x = 0.000, y = 148.808, z = 0.000 }, level = 1, drop_tag = "丘丘人" }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 312005, gadget_id = 70310001, pos = { x = 2175.794, y = 256.639, z = -1708.945 }, rot = { x = 0.000, y = 26.459, z = 0.000 }, level = 1 },
{ config_id = 312006, gadget_id = 70220013, pos = { x = 2167.941, y = 256.134, z = -1713.329 }, rot = { x = 0.000, y = 278.657, z = 0.000 }, level = 1 },
{ config_id = 312007, gadget_id = 70220013, pos = { x = 2173.716, y = 257.091, z = -1715.801 }, rot = { x = 0.000, y = 3.677, z = 0.000 }, level = 1 },
{ config_id = 312008, gadget_id = 70290443, pos = { x = 2170.929, y = 256.233, z = -1710.073 }, rot = { x = 0.000, y = 16.006, z = 0.000 }, level = 1 },
{ config_id = 312009, gadget_id = 70211002, pos = { x = 2172.688, y = 256.416, z = -1709.298 }, rot = { x = 3.157, y = 356.106, z = 6.899 }, level = 11, drop_tag = "战斗低级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1312013, name = "MONSTER_BATTLE_312013", event = EventType.EVENT_MONSTER_BATTLE, source = "", condition = "", action = "action_EVENT_MONSTER_BATTLE_312013", trigger_count = 0 },
{ config_id = 1312014, name = "ANY_MONSTER_DIE_312014", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_312014", action = "action_EVENT_ANY_MONSTER_DIE_312014" },
{ config_id = 1312015, name = "GADGET_STATE_CHANGE_312015", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_312015", action = "action_EVENT_GADGET_STATE_CHANGE_312015" }
}
-- 变量
variables = {
{ config_id = 1, name = "chest", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 312001, 312004 },
gadgets = { 312005, 312006, 312007, 312008, 312009 },
regions = { },
triggers = { "MONSTER_BATTLE_312013", "ANY_MONSTER_DIE_312014", "GADGET_STATE_CHANGE_312015" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 312010, 312011, 312012 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_MONSTER_BATTLE_312013(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 111101312, 2)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_312014(context, evt)
-- 判断指定group组剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCountByGroupId(context, 111101312) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_312014(context, evt)
-- 将configid为 312009 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 312009, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_312015(context, evt)
-- 检测config_id为312009的gadget是否从GadgetState.Default变为GadgetState.ChestOpened
if 312009 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_312015(context, evt)
-- 将本组内变量名为 "chest" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "chest", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end

View File

@@ -0,0 +1,93 @@
-- 基础信息
local base_info = {
group_id = 111101314
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 314001, monster_id = 21010401, pos = { x = 2241.633, y = 263.066, z = -1701.217 }, rot = { x = 0.000, y = 180.507, z = 0.000 }, level = 1, drop_tag = "远程丘丘人" },
{ config_id = 314002, monster_id = 21010401, pos = { x = 2241.993, y = 265.000, z = -1709.774 }, rot = { x = 0.000, y = 284.494, z = 0.000 }, level = 1, drop_tag = "远程丘丘人" },
{ config_id = 314003, monster_id = 20011101, pos = { x = 2239.524, y = 263.438, z = -1704.891 }, rot = { x = 0.000, y = 203.564, z = 0.000 }, level = 1, drop_tag = "大史莱姆" }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
{ config_id = 314004, shape = RegionShape.SPHERE, radius = 5, pos = { x = 2240.229, y = 263.773, z = -1705.431 } }
}
-- 触发器
triggers = {
{ config_id = 1314004, name = "ENTER_REGION_314004", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_314004" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { 314004 },
triggers = { "ENTER_REGION_314004" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 314001, 314002, 314003 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_ENTER_REGION_314004(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 111101314, 2)
return 0
end

View File

@@ -0,0 +1,304 @@
-- 基础信息
local base_info = {
group_id = 111101315
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 315009, monster_id = 21010401, pos = { x = 2327.536, y = 279.838, z = -1687.052 }, rot = { x = 0.000, y = 305.876, z = 0.000 }, level = 1, drop_tag = "远程丘丘人" },
{ config_id = 315010, monster_id = 21010401, pos = { x = 2324.214, y = 280.306, z = -1690.686 }, rot = { x = 0.000, y = 325.363, z = 0.000 }, level = 1, drop_tag = "远程丘丘人" },
{ config_id = 315011, monster_id = 21010401, pos = { x = 2318.951, y = 280.339, z = -1691.175 }, rot = { x = 0.000, y = 320.836, z = 0.000 }, level = 1, drop_tag = "远程丘丘人" },
{ config_id = 315012, monster_id = 21020101, pos = { x = 2326.389, y = 280.715, z = -1692.098 }, rot = { x = 0.000, y = 309.212, z = 0.000 }, level = 1, drop_tag = "丘丘暴徒" },
{ config_id = 315013, monster_id = 21011001, pos = { x = 2327.849, y = 280.437, z = -1690.657 }, rot = { x = 0.000, y = 334.797, z = 0.000 }, level = 1, drop_tag = "远程丘丘人" }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 315001, gadget_id = 70900039, pos = { x = 2329.096, y = 279.952, z = -1680.250 }, rot = { x = 0.000, y = 295.612, z = 0.000 }, level = 1, state = GadgetState.GearStop, persistent = true },
{ config_id = 315002, gadget_id = 70900039, pos = { x = 2323.658, y = 279.651, z = -1684.763 }, rot = { x = 0.000, y = 175.442, z = 0.000 }, level = 1, state = GadgetState.GearStop, persistent = true },
{ config_id = 315003, gadget_id = 70900039, pos = { x = 2316.583, y = 279.651, z = -1687.208 }, rot = { x = 0.000, y = 175.442, z = 0.000 }, level = 1, state = GadgetState.GearStop, persistent = true },
{ config_id = 315004, gadget_id = 70211012, pos = { x = 2324.313, y = 279.881, z = -1688.237 }, rot = { x = 350.757, y = 158.938, z = 0.660 }, level = 11, drop_tag = "战斗中级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- 方碑激活变量+1
{ config_id = 1315005, name = "GADGET_STATE_CHANGE_315005", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_315005", action = "action_EVENT_GADGET_STATE_CHANGE_315005" },
-- 方碑激活变量+1
{ config_id = 1315006, name = "GADGET_STATE_CHANGE_315006", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_315006", action = "action_EVENT_GADGET_STATE_CHANGE_315006" },
-- 方碑激活变量+1
{ config_id = 1315007, name = "GADGET_STATE_CHANGE_315007", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_315007", action = "action_EVENT_GADGET_STATE_CHANGE_315007" },
-- 三个方碑激活创建怪物
{ config_id = 1315008, name = "VARIABLE_CHANGE_315008", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_315008", action = "action_EVENT_VARIABLE_CHANGE_315008" },
{ config_id = 1315014, name = "ANY_MONSTER_DIE_315014", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_315014", action = "action_EVENT_ANY_MONSTER_DIE_315014" },
{ config_id = 1315015, name = "ANY_MONSTER_DIE_315015", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_315015", action = "action_EVENT_ANY_MONSTER_DIE_315015" },
-- 限时挑战成功方碑1解锁
{ config_id = 1315016, name = "VARIABLE_CHANGE_315016", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_315016", action = "action_EVENT_VARIABLE_CHANGE_315016" },
-- 火把解谜成功方碑2解锁
{ config_id = 1315017, name = "VARIABLE_CHANGE_315017", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_315017", action = "action_EVENT_VARIABLE_CHANGE_315017" },
-- 营地挑战成功方碑3解锁
{ config_id = 1315018, name = "VARIABLE_CHANGE_315018", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_315018", action = "action_EVENT_VARIABLE_CHANGE_315018" }
}
-- 变量
variables = {
{ config_id = 1, name = "fangbei", value = 0, no_refresh = true },
{ config_id = 2, name = "chest1", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 315001, 315002, 315003, 315004 },
regions = { },
triggers = { "GADGET_STATE_CHANGE_315005", "GADGET_STATE_CHANGE_315006", "GADGET_STATE_CHANGE_315007", "VARIABLE_CHANGE_315008", "VARIABLE_CHANGE_315016", "VARIABLE_CHANGE_315017", "VARIABLE_CHANGE_315018" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 315009, 315010, 315011 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_315014" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 315012, 315013 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_315015" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_315005(context, evt)
if 315001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_315005(context, evt)
-- 针对当前group内变量名为 "fangbei" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "fangbei", 1, 111101315) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_315006(context, evt)
if 315002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_315006(context, evt)
-- 针对当前group内变量名为 "fangbei" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "fangbei", 1, 111101315) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_315007(context, evt)
if 315003 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_315007(context, evt)
-- 针对当前group内变量名为 "fangbei" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "fangbei", 1, 111101315) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_315008(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"fangbei"为3
if ScriptLib.GetGroupVariableValue(context, "fangbei") ~= 3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_315008(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 111101315, 2)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_315014(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_315014(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 111101315, 3)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_315015(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_315015(context, evt)
-- 改变指定group组111101315中 configid为315004的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 111101315, 315004, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_315016(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"chest1"为1
if ScriptLib.GetGroupVariableValue(context, "chest1") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_315016(context, evt)
-- 将configid为 315001 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 315001, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_315017(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"chest"为1
if ScriptLib.GetGroupVariableValueByGroup(context, "chest", 111101309) ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_315017(context, evt)
-- 将configid为 315002 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 315002, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_315018(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"chest"为1
if ScriptLib.GetGroupVariableValueByGroup(context, "chest", 111101312) ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_315018(context, evt)
-- 将configid为 315003 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 315003, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,250 @@
-- 基础信息
local base_info = {
group_id = 111101316
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 316002, monster_id = 21010101, pos = { x = 2246.136, y = 244.120, z = -1578.836 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 316003, monster_id = 21010101, pos = { x = 2247.987, y = 244.120, z = -1580.141 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 316004, monster_id = 21010101, pos = { x = 2249.814, y = 244.120, z = -1579.179 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 316005, monster_id = 21020201, pos = { x = 2241.285, y = 244.120, z = -1571.255 }, rot = { x = 0.000, y = 101.392, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 316006, monster_id = 21010301, pos = { x = 2240.576, y = 244.120, z = -1573.988 }, rot = { x = 0.000, y = 87.646, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 316007, monster_id = 21010301, pos = { x = 2244.301, y = 244.120, z = -1570.071 }, rot = { x = 0.000, y = 142.145, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 316008, monster_id = 21010601, pos = { x = 2252.385, y = 244.205, z = -1565.784 }, rot = { x = 0.000, y = 214.177, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 316010, monster_id = 21010401, pos = { x = 2242.226, y = 244.120, z = -1575.563 }, rot = { x = 0.000, y = 69.364, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 316011, monster_id = 21010401, pos = { x = 2257.405, y = 244.442, z = -1569.102 }, rot = { x = 0.000, y = 248.124, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 316012, monster_id = 21020201, pos = { x = 2258.701, y = 244.798, z = -1563.562 }, rot = { x = 0.000, y = 231.953, z = 0.000 }, level = 1, drop_id = 1000100 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 316001, gadget_id = 70350082, pos = { x = 2248.952, y = 243.742, z = -1573.890 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 316013, gadget_id = 70950145, pos = { x = 2248.955, y = 244.813, z = -1573.912 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 316015, gadget_id = 70520001, pos = { x = 2253.379, y = 244.120, z = -1576.109 }, rot = { x = 0.000, y = 310.620, z = 0.000 }, level = 1, isOneoff = true, persistent = true },
{ config_id = 316019, gadget_id = 70211021, pos = { x = 2248.987, y = 243.758, z = -1571.244 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 11, drop_tag = "战斗高级蒙德", isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1316009, name = "GADGET_CREATE_316009", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_316009", action = "action_EVENT_GADGET_CREATE_316009", trigger_count = 0 },
{ config_id = 1316014, name = "SELECT_OPTION_316014", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_316014", action = "action_EVENT_SELECT_OPTION_316014", trigger_count = 0 },
{ config_id = 1316016, name = "ANY_MONSTER_DIE_316016", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_316016", action = "action_EVENT_ANY_MONSTER_DIE_316016" },
{ config_id = 1316017, name = "GADGET_STATE_CHANGE_316017", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_316017", action = "action_EVENT_GADGET_STATE_CHANGE_316017" },
{ config_id = 1316018, name = "CHALLENGE_SUCCESS_316018", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "180", condition = "", action = "action_EVENT_CHALLENGE_SUCCESS_316018" },
{ config_id = 1316020, name = "CHALLENGE_FAIL_316020", event = EventType.EVENT_CHALLENGE_FAIL, source = "180", condition = "", action = "action_EVENT_CHALLENGE_FAIL_316020" }
}
-- 变量
variables = {
{ config_id = 1, name = "MonsterDeathCount", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 316001, 316013, 316015 },
regions = { },
triggers = { "GADGET_CREATE_316009", "SELECT_OPTION_316014", "GADGET_STATE_CHANGE_316017", "CHALLENGE_SUCCESS_316018", "CHALLENGE_FAIL_316020" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 316007, 316008, 316010, 316011, 316012 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_316016" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 316002, 316003, 316004, 316005, 316006 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_316009(context, evt)
if 316013 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_316009(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 111101316, 316013, {177}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_316014(context, evt)
-- 判断是gadgetid 316013 option_id 177
if 316013 ~= evt.param1 then
return false
end
if 177 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_316014(context, evt)
-- 创建编号为180该挑战的识别id),挑战内容为180的区域挑战具体参数填写方式见DungeonChallengeData表中的注释所有填写的值都必须是int类型
if 0 ~= ScriptLib.ActiveChallenge(context, 180, 180, 120, 111101316, 10, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_challenge")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 111101316, 2)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 316013 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 将configid为 316001 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 316001, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_316016(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_316016(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 111101316, 3)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_316017(context, evt)
if 316019 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_316017(context, evt)
-- 改变指定group组111101321中 configid为321001的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 111101321, 321001, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_CHALLENGE_SUCCESS_316018(context, evt)
-- 将configid为 316001 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 316001, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 创建id为316019的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 316019 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_CHALLENGE_FAIL_316020(context, evt)
-- 创建id为316013的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 316013 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
-- 将configid为 316001 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 316001, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除suite2的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 111101316, 2)
-- 删除suite3的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 111101316, 3)
return 0
end

View File

@@ -0,0 +1,74 @@
-- 基础信息
local base_info = {
group_id = 111101317
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 317001, monster_id = 21010101, pos = { x = 2182.793, y = 246.679, z = -1591.576 }, rot = { x = 0.000, y = 116.471, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 317002, monster_id = 21010101, pos = { x = 2198.797, y = 243.554, z = -1591.555 }, rot = { x = 0.000, y = 185.277, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 317003, monster_id = 21010101, pos = { x = 2186.786, y = 246.790, z = -1605.302 }, rot = { x = 0.000, y = 52.024, z = 0.000 }, level = 1, drop_tag = "丘丘人" }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 317001, 317002, 317003 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,151 @@
-- 基础信息
local base_info = {
group_id = 111101318
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 318002, monster_id = 21010301, pos = { x = 2241.908, y = 270.209, z = -1745.283 }, rot = { x = 0.000, y = 272.263, z = 0.000 }, level = 1, drop_tag = "丘丘人", pose_id = 9003 },
{ config_id = 318003, monster_id = 21010101, pos = { x = 2236.898, y = 270.162, z = -1745.518 }, rot = { x = 0.000, y = 74.798, z = 0.000 }, level = 1, drop_tag = "丘丘人", pose_id = 9003 },
{ config_id = 318004, monster_id = 21010101, pos = { x = 2239.032, y = 269.933, z = -1743.709 }, rot = { x = 0.000, y = 175.157, z = 0.000 }, level = 1, drop_tag = "丘丘人", pose_id = 9003 },
{ config_id = 318006, monster_id = 21010401, pos = { x = 2248.136, y = 275.409, z = -1740.601 }, rot = { x = 0.000, y = 309.060, z = 0.000 }, level = 1, drop_tag = "远程丘丘人" },
{ config_id = 318015, monster_id = 21010601, pos = { x = 2231.189, y = 270.908, z = -1754.333 }, rot = { x = 0.000, y = 32.966, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 318016, monster_id = 21010601, pos = { x = 2229.693, y = 270.005, z = -1750.861 }, rot = { x = 0.000, y = 32.966, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 318017, monster_id = 21020101, pos = { x = 2231.654, y = 270.189, z = -1749.942 }, rot = { x = 0.000, y = 32.966, z = 0.000 }, level = 1, drop_tag = "丘丘暴徒" }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 318001, gadget_id = 70300107, pos = { x = 2239.124, y = 270.246, z = -1745.507 }, rot = { x = 8.004, y = 0.063, z = 0.895 }, level = 1, state = GadgetState.GearStart },
{ config_id = 318005, gadget_id = 70300090, pos = { x = 2248.263, y = 270.017, z = -1740.867 }, rot = { x = 2.540, y = 312.805, z = 358.276 }, level = 1 },
{ config_id = 318007, gadget_id = 70220013, pos = { x = 2246.373, y = 270.424, z = -1745.444 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 318008, gadget_id = 70220013, pos = { x = 2244.722, y = 270.432, z = -1746.652 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 318009, gadget_id = 70220013, pos = { x = 2244.682, y = 270.123, z = -1744.991 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 318010, gadget_id = 70220026, pos = { x = 2246.051, y = 270.226, z = -1743.778 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 318011, gadget_id = 70300081, pos = { x = 2238.368, y = 270.970, z = -1751.242 }, rot = { x = 0.000, y = 93.181, z = 0.000 }, level = 1 },
{ config_id = 318012, gadget_id = 70220005, pos = { x = 2244.141, y = 270.040, z = -1743.796 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 318013, gadget_id = 70220005, pos = { x = 2234.845, y = 270.455, z = -1748.900 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 318014, gadget_id = 70220005, pos = { x = 2234.267, y = 270.380, z = -1748.064 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 318019, gadget_id = 70211012, pos = { x = 2238.818, y = 270.723, z = -1749.450 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 11, drop_tag = "战斗中级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1318018, name = "MONSTER_BATTLE_318018", event = EventType.EVENT_MONSTER_BATTLE, source = "", condition = "", action = "action_EVENT_MONSTER_BATTLE_318018" },
{ config_id = 1318020, name = "ANY_MONSTER_DIE_318020", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_318020", action = "action_EVENT_ANY_MONSTER_DIE_318020", trigger_count = 10 },
{ config_id = 1318021, name = "GADGET_STATE_CHANGE_318021", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_318021", action = "action_EVENT_GADGET_STATE_CHANGE_318021" }
}
-- 变量
variables = {
{ config_id = 1, name = "MonsterDeath_Count", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 318002, 318003, 318004, 318006 },
gadgets = { 318001, 318005, 318007, 318008, 318009, 318010, 318011, 318012, 318013, 318014, 318019 },
regions = { },
triggers = { "MONSTER_BATTLE_318018", "GADGET_STATE_CHANGE_318021" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 318015, 318016, 318017 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_318020" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_MONSTER_BATTLE_318018(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 111101318, 2)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_318020(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_318020(context, evt)
-- 将configid为 318019 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 318019, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_318021(context, evt)
if 318019 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_318021(context, evt)
-- 改变指定group组111101321中 configid为321002的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 111101321, 321002, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end

View File

@@ -0,0 +1,94 @@
-- 基础信息
local base_info = {
group_id = 111101319
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 319002, monster_id = 22010201, pos = { x = 2246.634, y = 263.240, z = -1679.893 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "深渊法师" },
{ config_id = 319003, monster_id = 22010201, pos = { x = 2250.468, y = 263.361, z = -1681.222 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "深渊法师" },
{ config_id = 319004, monster_id = 21010701, pos = { x = 2249.617, y = 263.161, z = -1685.079 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 319005, monster_id = 21010701, pos = { x = 2243.160, y = 263.850, z = -1679.772 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
{ config_id = 319001, shape = RegionShape.SPHERE, radius = 10, pos = { x = 2249.875, y = 263.333, z = -1681.276 } }
}
-- 触发器
triggers = {
{ config_id = 1319001, name = "ENTER_REGION_319001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_319001" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { 319001 },
triggers = { "ENTER_REGION_319001" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 319002, 319003, 319004, 319005 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_ENTER_REGION_319001(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 111101319, 2)
return 0
end

View File

@@ -0,0 +1,136 @@
-- 基础信息
local base_info = {
group_id = 111101320
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 320001, gadget_id = 70310001, pos = { x = 2308.040, y = 284.316, z = -1705.437 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 320002, gadget_id = 70310001, pos = { x = 2316.344, y = 284.243, z = -1708.376 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 320003, gadget_id = 70310001, pos = { x = 2314.501, y = 284.188, z = -1700.866 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 320004, gadget_id = 70310001, pos = { x = 2311.284, y = 285.700, z = -1710.937 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 320005, gadget_id = 70310001, pos = { x = 2320.250, y = 284.210, z = -1704.544 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 320007, gadget_id = 70211002, pos = { x = 2315.813, y = 284.244, z = -1704.204 }, rot = { x = 0.000, y = 60.851, z = 0.000 }, level = 11, drop_tag = "战斗低级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1320006, name = "GADGET_STATE_CHANGE_320006", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_320006", action = "action_EVENT_GADGET_STATE_CHANGE_320006" },
{ config_id = 1320008, name = "GADGET_STATE_CHANGE_320008", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_320008", action = "action_EVENT_GADGET_STATE_CHANGE_320008" }
}
-- 变量
variables = {
{ config_id = 1, name = "Fired", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 320001, 320002, 320003, 320004, 320005, 320007 },
regions = { },
triggers = { "GADGET_STATE_CHANGE_320006", "GADGET_STATE_CHANGE_320008" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_320006(context, evt)
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 111101320, 320001) then
return false
end
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 111101320, 320002) then
return false
end
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 111101320, 320003) then
return false
end
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 111101320, 320004) then
return false
end
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 111101320, 320005) then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_320006(context, evt)
-- 将configid为 320007 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 320007, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_320008(context, evt)
if 320007 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_320008(context, evt)
-- 改变指定group组111101321中 configid为321003的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 111101321, 321003, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end

View File

@@ -0,0 +1,165 @@
-- 基础信息
local base_info = {
group_id = 111101321
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 321005, monster_id = 21011202, pos = { x = 2352.309, y = 284.388, z = -1785.303 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 321006, monster_id = 21011202, pos = { x = 2350.208, y = 284.404, z = -1783.747 }, rot = { x = 0.000, y = 29.262, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 321007, monster_id = 21011202, pos = { x = 2354.410, y = 284.454, z = -1786.304 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 321008, monster_id = 21011202, pos = { x = 2347.597, y = 284.261, z = -1781.278 }, rot = { x = 0.000, y = 44.561, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
{ config_id = 321010, monster_id = 21020401, pos = { x = 2351.701, y = 284.370, z = -1785.414 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘岩盔王" }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 321001, gadget_id = 70900039, pos = { x = 2353.099, y = 284.497, z = -1789.029 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStop, persistent = true },
{ config_id = 321002, gadget_id = 70900039, pos = { x = 2348.591, y = 284.803, z = -1786.256 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStop, persistent = true },
{ config_id = 321003, gadget_id = 70900039, pos = { x = 2343.681, y = 284.616, z = -1782.599 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStop, persistent = true },
{ config_id = 321011, gadget_id = 70211002, pos = { x = 2356.621, y = 284.400, z = -1789.607 }, rot = { x = 0.000, y = 327.879, z = 0.000 }, level = 11, drop_tag = "战斗低级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1321004, name = "GADGET_STATE_CHANGE_321004", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_321004", action = "action_EVENT_GADGET_STATE_CHANGE_321004" },
{ config_id = 1321009, name = "ANY_MONSTER_DIE_321009", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_321009", action = "action_EVENT_ANY_MONSTER_DIE_321009" },
{ config_id = 1321012, name = "ANY_MONSTER_DIE_321012", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_321012", action = "action_EVENT_ANY_MONSTER_DIE_321012" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 321001, 321002, 321003, 321011 },
regions = { },
triggers = { "GADGET_STATE_CHANGE_321004" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 321005, 321006, 321007, 321008 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_321009" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 321010 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_321012" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_321004(context, evt)
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 111101321, 321001) then
return false
end
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 111101321, 321002) then
return false
end
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 111101321, 321003) then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_321004(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 111101321, 2)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_321009(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_321009(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 111101321, 3)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_321012(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_321012(context, evt)
-- 将configid为 321011 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 321011, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,122 @@
-- 基础信息
local base_info = {
group_id = 111101363
}
-- DEFS_MISCS
local fans =
{
363001,
}
local sandpiles =
{
363002,
363003,
363004,
}
local shutters =
{
363005,
}
local shutter_switches =
{
363006,
}
local FanToPointArray =
{
[fans[1]] = 110100060
}
local FanToSandpile =
{
[sandpiles[1]] = {fan = fans[1], dir_state = 204, pos = 1},
[sandpiles[2]] = {fan = fans[1], dir_state = 202, pos = 2},
[sandpiles[3]] = {fan = fans[1], dir_state = 203, pos = 2, shutter = shutters[1]},
}
local SwitchToShutter =
{
[shutter_switches[1]] = shutters[1],
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 363001, gadget_id = 70290697, pos = { x = 2118.362, y = 222.635, z = -1338.075 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart, persistent = true, is_use_point_array = true },
{ config_id = 363002, gadget_id = 70290703, pos = { x = 2109.031, y = 222.735, z = -1338.408 }, rot = { x = 0.000, y = 262.850, z = 0.000 }, level = 1 },
{ config_id = 363003, gadget_id = 70290703, pos = { x = 2126.828, y = 225.083, z = -1353.324 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 363004, gadget_id = 70290703, pos = { x = 2116.976, y = 226.202, z = -1365.120 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 363005, gadget_id = 70290756, pos = { x = 2116.523, y = 225.088, z = -1358.693 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 363006, gadget_id = 70290757, pos = { x = 2111.104, y = 224.440, z = -1358.938 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 363001, 363002, 363003, 363004, 363005, 363006 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
require "V3_4/ScarletKingFan"

View File

@@ -0,0 +1,81 @@
-- 基础信息
local base_info = {
group_id = 111101374
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 374001, gadget_id = 70290772, pos = { x = 2774.221, y = 262.158, z = -1212.050 }, rot = { x = 0.000, y = 343.551, z = 0.000 }, level = 1 },
{ config_id = 374002, gadget_id = 70290773, pos = { x = 2767.311, y = 262.058, z = -1207.324 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1374003, name = "GROUP_LOAD_374003", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_374003", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 374001, 374002 },
regions = { },
triggers = { "GROUP_LOAD_374003" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_GROUP_LOAD_374003(context, evt)
ScriptLib.SetGadgetStateByConfigId(context,374001, GadgetState.Default)
return 0
end

View File

@@ -0,0 +1,86 @@
-- 基础信息
local base_info = {
group_id = 111101375
}
-- DEFS_MISCS
local PlayerElectrohercules = 375001
local EnemyElectrohercules = {
375002,375003,375004}
local weather_id = 3500
local Battlefield = {
group_id = 111101374
,
config_id = 374001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 375001, monster_id = 38050590, pos = { x = 2773.922, y = 263.814, z = -1210.863 }, rot = { x = 0.000, y = 163.551, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 1, isPartner = true },
{ config_id = 375002, monster_id = 28050501, pos = { x = 2774.524, y = 263.835, z = -1212.931 }, rot = { x = 0.000, y = 343.551, z = 0.000 }, level = 1, drop_tag = "魔法生物", pose_id = 1 },
{ config_id = 375003, monster_id = 28050502, pos = { x = 2774.524, y = 263.835, z = -1212.931 }, rot = { x = 0.000, y = 343.551, z = 0.000 }, level = 1, drop_tag = "魔法生物", pose_id = 1 },
{ config_id = 375004, monster_id = 28050503, pos = { x = 2774.524, y = 263.835, z = -1212.931 }, rot = { x = 0.000, y = 343.551, z = 0.000 }, level = 1, drop_tag = "魔法生物", pose_id = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--

View File

@@ -157,6 +157,7 @@ function action_EVENT_TIME_AXIS_PASS_14010(context, evt)
ScriptLib.ChangeGroupVariableValue(context, "active_count", -1)
end
end
return 0
end

View File

@@ -3,38 +3,10 @@ local base_info = {
group_id = 111102046
}
-- DEFS_MISCS
local defs =
{
-- 对应数据表中的关卡id,暂时不用管配了也没用
levelId = 1,
-- 本轮对应的gallery id
galleryId = 23099,
-- 开启挑战的场景物件id
startId = 46002,
-- todo: 临时,挑战区域进了区域之后加载操作台
maxRegion = 46027,
-- 怪物资源包configs
monsterPoolConfig = {
pool_list = {35001},
point_array_id = 0,
point_id_list = {},
affix_list = {},
param = {total_count = 99, min_count = 1, max_count = 3, tag = 0, fill_time = 0, fill_count = 0, is_ordered = false, is_tag_bit_match = false},
},
-- todo临时,从1-6种选4个数字一定是4个不同的数字否则会报错
sgvIdxTable = {1, 2, 3, 4},
-- buff持续时间通常不需要修改
buffDuration = 15,
-- 每轮中每阶段的最大时间一共有3个阶段总时长为3*30s = 90s通常不用改
stageMaxDuration = 30,
-- Trigger变量
local defs = {
target_region_config_id = 46018,
related_big_region_config_id = 46027
}
--================================================================
@@ -45,19 +17,6 @@ local defs =
-- 怪物
monsters = {
[46001] = { config_id = 46001, monster_id = 21010101, pos = { x = 1431.202, y = 268.815, z = -1764.127 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
[46003] = { config_id = 46003, monster_id = 21010101, pos = { x = 1410.350, y = 269.574, z = -1760.761 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘人" },
[46004] = { config_id = 46004, monster_id = 20010501, pos = { x = 1422.626, y = 267.732, z = -1754.950 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "史莱姆" },
[46005] = { config_id = 46005, monster_id = 20010501, pos = { x = 1416.508, y = 270.035, z = -1772.519 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "史莱姆" },
[46006] = { config_id = 46006, monster_id = 21020201, pos = { x = 1421.087, y = 270.669, z = -1774.891 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "丘丘暴徒" },
[46007] = { config_id = 46007, monster_id = 20010901, pos = { x = 1440.760, y = 269.866, z = -1764.076 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "大史莱姆" },
[46008] = { config_id = 46008, monster_id = 20010301, pos = { x = 1421.562, y = 267.890, z = -1755.957 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "史莱姆" },
[46009] = { config_id = 46009, monster_id = 20010301, pos = { x = 1419.637, y = 267.998, z = -1755.624 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "史莱姆" },
[46010] = { config_id = 46010, monster_id = 20010901, pos = { x = 1440.609, y = 268.755, z = -1760.472 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "大史莱姆" },
[46011] = { config_id = 46011, monster_id = 21010401, pos = { x = 1413.459, y = 268.104, z = -1753.550 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "远程丘丘人" },
[46012] = { config_id = 46012, monster_id = 21010401, pos = { x = 1409.597, y = 271.581, z = -1772.809 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "远程丘丘人" },
[46013] = { config_id = 46013, monster_id = 20011201, pos = { x = 1409.529, y = 269.412, z = -1759.679 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "史莱姆" },
[46014] = { config_id = 46014, monster_id = 20011201, pos = { x = 1408.667, y = 269.995, z = -1760.932 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "史莱姆" }
}
-- NPC
@@ -66,25 +25,21 @@ npcs = {
-- 装置
gadgets = {
[46002] = { config_id = 46002, gadget_id = 70220006, pos = { x = 1419.876, y = 269.060, z = -1763.693 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
[46002] = { config_id = 46002, gadget_id = 70220006, pos = { x = 1428.115, y = 269.589, z = -1768.745 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
[46027] = { config_id = 46027, shape = RegionShape.SPHERE, radius = 100, pos = { x = 1428.115, y = 269.589, z = -1768.745 } }
-- 小区域
[46018] = { config_id = 46018, shape = RegionShape.SPHERE, radius = 30, pos = { x = 1428.115, y = 269.589, z = -1768.745 } },
-- 大区域
[46027] = { config_id = 46027, shape = RegionShape.SPHERE, radius = 40, pos = { x = 1428.115, y = 269.589, z = -1768.745 } }
}
-- 触发器
triggers = {
}
-- 点位
points = {
{ config_id = 46015, pos = { x = 1412.241, y = 271.198, z = -1775.886 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
{ config_id = 46016, pos = { x = 1432.167, y = 269.843, z = -1767.538 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
{ config_id = 46017, pos = { x = 1422.355, y = 267.377, z = -1750.683 }, rot = { x = 0.000, y = 0.000, z = 0.000 } }
}
-- 变量
variables = {
}
@@ -114,7 +69,7 @@ suites = {
-- description = ,
monsters = { },
gadgets = { 46002 },
regions = { 46027 },
regions = { 46018, 46027 },
triggers = { },
rand_weight = 100
}
@@ -124,4 +79,6 @@ suites = {
--
-- 触发器
--
--================================================================
--================================================================
require "V3_3/TestEyepointLod"

View File

@@ -0,0 +1,74 @@
-- 基础信息
local base_info = {
group_id = 111102071
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 71001, gadget_id = 70290867, pos = { x = 1434.238, y = 266.426, z = -1115.370 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 71002, gadget_id = 70290867, pos = { x = 1439.710, y = 266.218, z = -1107.487 }, rot = { x = 0.000, y = 255.488, z = 0.000 }, level = 1 },
{ config_id = 71003, gadget_id = 70290866, pos = { x = 1434.203, y = 266.298, z = -1108.909 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 71001, 71002, 71003 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,83 @@
-- 基础信息
local base_info = {
group_id = 111102075
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 75001, gadget_id = 70350480, pos = { x = 1381.212, y = 332.748, z = -2027.387 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 75001 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
require "V3_6/WQ_ElfFollow"

View File

@@ -0,0 +1,85 @@
-- 基础信息
local base_info = {
group_id = 111102083
}
-- DEFS_MISCS
local JamshidRocks =
{
83001,
83002,
83003,
83004
}
local CorrectAnswer =
{
1,3,2,4
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,76 @@
-- 基础信息
local base_info = {
group_id = 111102087
}
-- Trigger变量
local defs = {
energy_worktop_id = 87001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,126 @@
-- 基础信息
local base_info = {
group_id = 111102089
}
-- Trigger变量
local defs = {
pointarray_route = 110200026
}
-- DEFS_MISCS
--向前移动的符文
local timeback_rune = 89005
local timeback_controller = 89010
--倒流操作台
local timeback_worktops =
{
89001,
89007,
89009,
89008
}
--倒流物件id
local timeback_gadgets =
{
89002, --树1
89003, --树2
89004, --石柱
89006, --瀑布
}
--符文的移动路径点阵
local rune_point_array =
{
1,2,3,4,5
}
--检查点到点阵路点的映射关系
--默认最后一个checkpoint就是终点不能再往下移动了
local checkpoints_to_route_points =
{
[1] = 2,
[2] = 3,
[3] = 4,
[4] = 5,
}
--检查点到倒流操作台的映射关系两者应该放在同一个位置上
local checkpoint_to_worktops =
{
[1] = timeback_worktops[1],
[2] = timeback_worktops[2],
[3] = timeback_worktops[3],
[4] = timeback_worktops[4]
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,107 @@
-- 基础信息
local base_info = {
group_id = 111102094
}
-- Trigger变量
local defs = {
hintTime = 30,
hintCount = 3,
coinTime = 10,
maxRegion = 94015,
challengeId = 2010071
}
-- DEFS_MISCS
local defs_miscs = {
specialCoinTable = {
-- 每项格式如下
[94005] = {94006, 94007, 94008, 94009, 94010},
[94004] = {94011, 94012, 94013, 94014},
},
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
[94001] = { config_id = 94001, gadget_id = 70220131, pos = { x = 1299.153, y = 306.915, z = -1810.673 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[94002] = { config_id = 94002, gadget_id = 70220131, pos = { x = 1276.810, y = 306.802, z = -1779.924 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[94003] = { config_id = 94003, gadget_id = 70220131, pos = { x = 1284.519, y = 308.382, z = -1805.787 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[94004] = { config_id = 94004, gadget_id = 70220132, pos = { x = 1296.979, y = 305.500, z = -1791.702 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[94005] = { config_id = 94005, gadget_id = 70220132, pos = { x = 1312.274, y = 306.532, z = -1806.929 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[94006] = { config_id = 94006, gadget_id = 70220131, pos = { x = 1309.214, y = 307.488, z = -1811.629 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[94007] = { config_id = 94007, gadget_id = 70220131, pos = { x = 1306.781, y = 306.200, z = -1806.321 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[94008] = { config_id = 94008, gadget_id = 70220131, pos = { x = 1310.646, y = 305.907, z = -1802.466 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[94009] = { config_id = 94009, gadget_id = 70220131, pos = { x = 1316.272, y = 307.887, z = -1805.130 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[94010] = { config_id = 94010, gadget_id = 70220131, pos = { x = 1314.052, y = 306.982, z = -1811.964 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[94011] = { config_id = 94011, gadget_id = 70220131, pos = { x = 1295.124, y = 304.560, z = -1786.145 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[94012] = { config_id = 94012, gadget_id = 70220131, pos = { x = 1301.350, y = 305.547, z = -1790.846 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[94013] = { config_id = 94013, gadget_id = 70220131, pos = { x = 1299.054, y = 306.170, z = -1795.870 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[94014] = { config_id = 94014, gadget_id = 70220131, pos = { x = 1292.389, y = 305.963, z = -1793.550 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
[94015] = { config_id = 94015, shape = RegionShape.SPHERE, radius = 50, pos = { x = 1291.265, y = 280.284, z = -1799.941 } }
}
-- 触发器
triggers = {
{ config_id = 1094015, name = "ENTER_REGION_94015", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 94001, 94002, 94003, 94004, 94005, 94006, 94007, 94008, 94009, 94010, 94011, 94012, 94013, 94014 },
regions = { 94015 },
triggers = { "ENTER_REGION_94015" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
require "V3_3/CoinCollect"

View File

@@ -0,0 +1,82 @@
-- 基础信息
local base_info = {
group_id = 111102100
}
-- Trigger变量
local defs = {
gallery_id = 30001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 100001, gadget_id = 70290720, pos = { x = 2003.324, y = 197.658, z = -1264.975 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 100002, gadget_id = 70290721, pos = { x = 2003.594, y = 198.096, z = -1258.957 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 100003, gadget_id = 70290713, pos = { x = 2014.376, y = 198.263, z = -1262.144 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 100004, gadget_id = 70290722, pos = { x = 2014.376, y = 198.263, z = -1262.144 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 100001, 100002, 100003, 100004 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
require "V3_3/BrickBreaker"

View File

@@ -0,0 +1,80 @@
-- 基础信息
local base_info = {
group_id = 111102101
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 101001, gadget_id = 70950095, pos = { x = 1968.748, y = 207.216, z = -1409.907 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 101002, shape = RegionShape.SPHERE, radius = 2, pos = { x = 1970.471, y = 206.815, z = -1410.270 } }
}
-- 触发器
triggers = {
{ config_id = 1101002, name = "ENTER_REGION_101002", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_101002", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 101001 },
regions = { 101002 },
triggers = { "ENTER_REGION_101002" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_ENTER_REGION_101002(context, evt)
ScriptLib.MoveAvatarByPointArrayWithTemplate(context, context.uid, 110200029, {1,2,3,4},301,{4,60})
return 0
end

View File

@@ -0,0 +1,97 @@
-- 基础信息
local base_info = {
group_id = 111102106
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 106001, gadget_id = 70290727, pos = { x = 1383.032, y = 337.993, z = -2010.729 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 106002, gadget_id = 70290729, pos = { x = 1382.315, y = 338.068, z = -2005.253 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 106003, gadget_id = 70290729, pos = { x = 1389.455, y = 337.858, z = -2010.177 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 106004, gadget_id = 70290729, pos = { x = 1387.390, y = 337.591, z = -2017.427 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 106005, gadget_id = 70290729, pos = { x = 1379.042, y = 337.929, z = -2017.418 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 106006, gadget_id = 70290729, pos = { x = 1375.687, y = 338.112, z = -2011.565 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 3,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 106001 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 106002, 106003, 106004, 106005, 106006 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
require "V3_6/PB_CollectFeatherOrb"

View File

@@ -0,0 +1,99 @@
-- 基础信息
local base_info = {
group_id = 111102107
}
-- Trigger变量
local defs = {
chest_id = 107006,
hint_gadget_id = 107007
}
-- DEFS_MISCS
local windball_worktops =
{
107001,
107002,
107003
,
107004,
107005,
107009
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 107001, gadget_id = 70290672, pos = { x = 1503.996, y = 267.016, z = -1121.877 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, worktop_config = { init_options = { 7 } } },
{ config_id = 107002, gadget_id = 70290672, pos = { x = 1503.464, y = 267.622, z = -1133.107 }, rot = { x = 355.529, y = 359.756, z = 359.127 }, level = 1 },
{ config_id = 107003, gadget_id = 70290672, pos = { x = 1494.102, y = 267.937, z = -1144.305 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 107004, gadget_id = 70290672, pos = { x = 1474.868, y = 267.266, z = -1155.386 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 107005, gadget_id = 70290672, pos = { x = 1456.647, y = 265.366, z = -1147.762 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 107006, gadget_id = 70211001, pos = { x = 1446.852, y = 265.518, z = -1140.935 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 26, drop_tag = "战斗低级蒙德", isOneoff = true, persistent = true },
{ config_id = 107007, gadget_id = 70290693, pos = { x = 1501.603, y = 267.532, z = -1132.524 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 107009, gadget_id = 70290673, pos = { x = 1448.315, y = 265.718, z = -1142.726 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 107008, shape = RegionShape.POLYGON, pos = { x = 1481.809, y = 267.781, z = -1139.144 }, height = 45.084, point_array = { { x = 1514.457, y = -1123.375 }, { x = 1510.934, y = -1109.970 }, { x = 1494.898, y = -1115.805 }, { x = 1488.166, y = -1133.768 }, { x = 1449.506, y = -1133.366 }, { x = 1449.162, y = -1159.168 }, { x = 1475.388, y = -1168.317 }, { x = 1492.488, y = -1157.567 }, { x = 1511.375, y = -1143.285 } } }
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 107001, 107002, 107003, 107004, 107005, 107009 },
regions = { 107008 },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,83 @@
-- 基础信息
local base_info = {
group_id = 111102108
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 108001, gadget_id = 70290728, pos = { x = 1362.281, y = 338.276, z = -2004.497 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 2,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 108001 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
require "V3_6/PB_ChaseFeather"

View File

@@ -0,0 +1,86 @@
-- 基础信息
local base_info = {
group_id = 111102109
}
-- DEFS_MISCS
local hook_map = {
[109001] = 109002,
[109003] = 109004,
[109005] = 109006,
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 109001, gadget_id = 70330460, pos = { x = 1479.575, y = 265.600, z = -1612.899 }, rot = { x = 0.000, y = 33.672, z = 0.000 }, level = 1 },
{ config_id = 109002, gadget_id = 70220103, pos = { x = 1480.649, y = 268.800, z = -1610.686 }, rot = { x = 0.000, y = 33.672, z = 0.000 }, level = 1 },
{ config_id = 109003, gadget_id = 70330460, pos = { x = 1475.542, y = 257.952, z = -1609.821 }, rot = { x = 0.000, y = 33.672, z = 0.000 }, level = 1 },
{ config_id = 109004, gadget_id = 70220103, pos = { x = 1476.616, y = 261.152, z = -1607.608 }, rot = { x = 0.000, y = 33.672, z = 0.000 }, level = 1 },
{ config_id = 109005, gadget_id = 70330460, pos = { x = 1482.186, y = 252.315, z = -1617.188 }, rot = { x = 0.000, y = 33.672, z = 0.000 }, level = 1 },
{ config_id = 109006, gadget_id = 70220103, pos = { x = 1483.260, y = 255.516, z = -1614.974 }, rot = { x = 0.000, y = 33.672, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 109001, 109003, 109005 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
require "V3_6/PB_LeafPlatform"

File diff suppressed because it is too large Load Diff

View File

@@ -151,5 +151,92 @@
"y": -3654.83472
}
]
},
{
"area_id": 4208,
"points": [
{
"x": 1840.00513,
"y": -1229.247
},
{
"x": 1825.09558,
"y": -1298.787
},
{
"x": 1924.18579,
"y": -1336.285
},
{
"x": 1949.4928,
"y": -1247.9585
},
{
"x": 1899.48108,
"y": -1215.861
}
]
},
{
"area_id": 4207,
"points": [
{
"x": 1857.38184,
"y": -1175.628
},
{
"x": 1788.30151,
"y": -1246.81067
},
{
"x": 1804.34375,
"y": -1335.72253
},
{
"x": 1888.124,
"y": -1383.16858
},
{
"x": 1983.55078,
"y": -1312.40356
},
{
"x": 1968.9563,
"y": -1206.92981
}
]
},
{
"area_id": 4206,
"points": [
{
"x": 1912.92407,
"y": -1126.59045
},
{
"x": 1786.0188,
"y": -1154.6228
},
{
"x": 1736.91113,
"y": -1262.099
},
{
"x": 1743.3938,
"y": -1369.01855
},
{
"x": 1892.904,
"y": -1442.17444
},
{
"x": 2042.62146,
"y": -1313.905
},
{
"x": 2008.94556,
"y": -1175.0863
}
]
}
]