Scripts/Nexus: Remove a few warnings from the Malygos script

Signed-off-by: click <[email protected]>
This commit is contained in:
Manuel
2011-05-31 06:26:37 +02:00
committed by click
parent 7f7c5c4c89
commit 507dcdf563
@@ -150,51 +150,51 @@ enum MalygosSays
#define MAX_HOVER_DISK_WAYPOINTS 18 #define MAX_HOVER_DISK_WAYPOINTS 18
// Sniffed data // Sniffed data (x,y,z)
const Position HoverDiskWaypoints[MAX_HOVER_DISK_WAYPOINTS] = const Position HoverDiskWaypoints[MAX_HOVER_DISK_WAYPOINTS] =
{ {
{782.9821f, 1296.652f, 282.1114f}, {782.9821f, 1296.652f, 282.1114f, 0.0f},
{779.5459f, 1287.228f, 282.1393f}, {779.5459f, 1287.228f, 282.1393f, 0.0f},
{773.0028f, 1279.52f, 282.4164f}, {773.0028f, 1279.52f, 282.4164f, 0.0f},
{764.3626f, 1274.476f, 282.4731f}, {764.3626f, 1274.476f, 282.4731f, 0.0f},
{754.3961f, 1272.639f, 282.4171f}, {754.3961f, 1272.639f, 282.4171f, 0.0f},
{744.4422f, 1274.412f, 282.222f}, {744.4422f, 1274.412f, 282.222f, 0.0f},
{735.575f, 1279.742f, 281.9674f}, {735.575f, 1279.742f, 281.9674f, 0.0f},
{729.2788f, 1287.187f, 281.9943f}, {729.2788f, 1287.187f, 281.9943f, 0.0f},
{726.1191f, 1296.688f, 282.2997f}, {726.1191f, 1296.688f, 282.2997f, 0.0f},
{725.9396f, 1306.531f, 282.2448f}, {725.9396f, 1306.531f, 282.2448f, 0.0f},
{729.3045f, 1316.122f, 281.9108f}, {729.3045f, 1316.122f, 281.9108f, 0.0f},
{735.8322f, 1323.633f, 282.1887f}, {735.8322f, 1323.633f, 282.1887f, 0.0f},
{744.4616f, 1328.999f, 281.9948f}, {744.4616f, 1328.999f, 281.9948f, 0.0f},
{754.4739f, 1330.666f, 282.049f}, {754.4739f, 1330.666f, 282.049f, 0.0f},
{764.074f, 1329.053f, 281.9949f}, {764.074f, 1329.053f, 281.9949f, 0.0f},
{772.8409f, 1323.951f, 282.077f}, {772.8409f, 1323.951f, 282.077f, 0.0f},
{779.5085f, 1316.412f, 281.9145f}, {779.5085f, 1316.412f, 281.9145f, 0.0f},
{782.8365f, 1306.778f, 282.3035f}, {782.8365f, 1306.778f, 282.3035f, 0.0f},
}; };
#define GROUND_Z 268 #define GROUND_Z 268
// Source: Sniffs // Source: Sniffs (x,y,z)
#define MALYGOS_MAX_WAYPOINTS 16 #define MALYGOS_MAX_WAYPOINTS 16
const Position MalygosPhaseTwoWaypoints[MALYGOS_MAX_WAYPOINTS] = const Position MalygosPhaseTwoWaypoints[MALYGOS_MAX_WAYPOINTS] =
{ {
{812.7299f, 1391.672f, 283.2763f}, {812.7299f, 1391.672f, 283.2763f, 0.0f},
{848.2912f, 1358.61f, 283.2763f}, {848.2912f, 1358.61f, 283.2763f, 0.0f},
{853.9227f, 1307.911f, 283.2763f}, {853.9227f, 1307.911f, 283.2763f, 0.0f},
{847.1437f, 1265.538f, 283.2763f}, {847.1437f, 1265.538f, 283.2763f, 0.0f},
{839.9229f, 1245.245f, 283.2763f}, {839.9229f, 1245.245f, 283.2763f, 0.0f},
{827.3463f, 1221.818f, 283.2763f}, {827.3463f, 1221.818f, 283.2763f, 0.0f},
{803.2727f, 1203.851f, 283.2763f}, {803.2727f, 1203.851f, 283.2763f, 0.0f},
{772.9372f, 1197.981f, 283.2763f}, {772.9372f, 1197.981f, 283.2763f, 0.0f},
{732.1138f, 1200.647f, 283.2763f}, {732.1138f, 1200.647f, 283.2763f, 0.0f},
{693.8761f, 1217.995f, 283.2763f}, {693.8761f, 1217.995f, 283.2763f, 0.0f},
{664.5038f, 1256.539f, 283.2763f}, {664.5038f, 1256.539f, 283.2763f, 0.0f},
{650.1497f, 1303.485f, 283.2763f}, {650.1497f, 1303.485f, 283.2763f, 0.0f},
{662.9109f, 1350.291f, 283.2763f}, {662.9109f, 1350.291f, 283.2763f, 0.0f},
{677.6391f, 1377.607f, 283.2763f}, {677.6391f, 1377.607f, 283.2763f, 0.0f},
{704.8198f, 1401.162f, 283.2763f}, {704.8198f, 1401.162f, 283.2763f, 0.0f},
{755.2642f, 1417.1f, 283.2763f}, {755.2642f, 1417.1f, 283.2763f, 0.0f},
}; };
#define MAX_SUMMONS_PHASE_TWO 4 #define MAX_SUMMONS_PHASE_TWO 4
@@ -202,8 +202,8 @@ const Position MalygosPhaseTwoWaypoints[MALYGOS_MAX_WAYPOINTS] =
#define MAX_MALYGOS_POS 2 #define MAX_MALYGOS_POS 2
const Position MalygosPositions[MAX_MALYGOS_POS] = const Position MalygosPositions[MAX_MALYGOS_POS] =
{ {
{754.544f, 1301.71f, 320.0f}, {754.544f, 1301.71f, 320.0f, 0.0f},
{754.39f, 1301.27f, 292.91f} {754.39f, 1301.27f, 292.91f, 0.0f},
}; };
class boss_malygos : public CreatureScript class boss_malygos : public CreatureScript