Naxx40 Improvements

This commit is contained in:
郑佩茹
2022-09-05 17:43:02 -06:00
parent 17db68cf45
commit 0f6e8929ee
11 changed files with 1661 additions and 681 deletions

View File

@@ -33,3 +33,4 @@ Special thanks to all contributors of the following projects which are make this
* AzerothCore Progression Module for Vanilla content and scripts
* Wrath of the Vanilla Module for more Vanilla world adjustments
* Vmangos for Vanilla game and patch progression data
* SoglaHash for many Naxx 40 scripts and data

View File

@@ -54,177 +54,50 @@ REPLACE INTO `gameobject_loot_template` (`Entry`, `Item`, `Reference`, `Chance`,
(361000, 23027, 0, 0, 0, 2, 1, 1),
(361000, 23071, 0, 0, 0, 2, 1, 1);
DELETE FROM gameobject WHERE guid BETWEEN 351000 AND 351139;
SET @GUID := 351000;
INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
(@GUID, 181287, 533, 4, 3558.18, -3914.61, 304.42, 2.68781, 0, 0, 0.97437, 0.224951, 604800, 100, 1),
(@GUID + 1, 181287, 533, 4, 3555.52, -3863.91, 298.811, 3.59538, 0, 0, -0.97437, 0.224951, 604800, 100, 1),
(@GUID + 2, 181287, 533, 4, 3540.13, -3939.25, 311.449, 2.16421, 0, 0, 0.882947, 0.469473, 604800, 100, 1),
(@GUID + 3, 181287, 533, 4, 3538.44, -2999.7, 313.641, 2.42601, 0, 0, 0.936672, 0.350207, 604800, 100, 1),
(@GUID + 4, 181287, 533, 4, 3523.83, -3836.25, 303.563, 4.36332, 0, 0, -0.819152, 0.573577, 604800, 100, 1),
(@GUID + 5, 181287, 533, 4, 3516.1, -3022.03, 313.752, 2.37364, 0, 0, 0.927183, 0.374608, 604800, 100, 1),
(@GUID + 6, 181287, 533, 4, 3508.82, -3952.33, 311.372, 1.6057, 0, 0, 0.719339, 0.694659, 604800, 100, 1),
(@GUID + 7, 181287, 533, 4, 3477.5, -3596.25, 271.347, 4.76475, 0, 0, -0.688354, 0.725375, 604800, 100, 1),
(@GUID + 8, 181287, 533, 4, 3476.48, -3283.2, 270.716, 4.76475, 0, 0, -0.688354, 0.725375, 604800, 100, 1),
(@GUID + 9, 181287, 533, 4, 3475.93, -3195.66, 297.349, 4.7822, 0, 0, -0.681998, 0.731354, 604800, 100, 1),
(@GUID + 10, 181287, 533, 4, 3475.87, -3683.84, 298.079, 4.72984, 0, 0, -0.700909, 0.713251, 604800, 100, 1),
(@GUID + 11, 181287, 533, 4, 3475.25, -3673.08, 297.206, 1.55334, 0, 0, 0.700909, 0.713251, 604800, 100, 1),
(@GUID + 12, 181287, 533, 4, 3468.85, -3942.8, 308.034, 0.977383, 0, 0, 0.469471, 0.882948, 604800, 100, 1),
(@GUID + 13, 181287, 533, 4, 3468.27, -3842.58, 309.842, 5.39307, 0, 0, -0.43051, 0.902586, 604800, 100, 1),
(@GUID + 14, 181287, 533, 4, 3440.38, -2901.05, 313.888, 5.51524, 0, 0, -0.374606, 0.927184, 604800, 100, 1),
(@GUID + 15, 181287, 533, 4, 3432.61, -3283.2, 269.721, 4.67748, 0, 0, -0.719339, 0.694659, 604800, 100, 1),
(@GUID + 16, 181287, 533, 4, 3432.27, -3683.84, 298.252, 4.72984, 0, 0, -0.700909, 0.713251, 604800, 100, 1),
(@GUID + 17, 181287, 533, 4, 3431.06, -3585.5, 269.754, 1.58825, 0, 0, 0.71325, 0.70091, 604800, 100, 1),
(@GUID + 18, 181287, 533, 4, 3430.95, -3596.25, 270.809, 4.76475, 0, 0, -0.688354, 0.725375, 604800, 100, 1),
(@GUID + 19, 181287, 533, 4, 3430.78, -3673.08, 297.151, 1.5708, 0, 0, 0.707107, 0.707107, 604800, 100, 1),
(@GUID + 20, 181287, 533, 4, 3430.49, -3195.66, 297.557, 4.72984, 0, 0, -0.700909, 0.713251, 604800, 100, 1),
(@GUID + 21, 181287, 533, 4, 3429.4, -3794.21, 298.379, 0.785397, 0, 0, 0.382683, 0.92388, 604800, 100, 1),
(@GUID + 22, 181287, 533, 4, 3416.93, -2924.5, 313.646, 5.53269, 0, 0, -0.366501, 0.930418, 604800, 100, 1),
(@GUID + 23, 181287, 533, 4, 3398.94, -3104.99, 297.927, 5.53269, 0, 0, -0.366501, 0.930418, 604800, 100, 1),
(@GUID + 24, 181287, 533, 4, 3396.45, -3679.86, 261.582, 3.3685, 0, 0, -0.993571, 0.113208, 604800, 100, 1),
(@GUID + 25, 181287, 533, 4, 3391.16, -3771.18, 297.72, 3.927, 0, 0, -0.923879, 0.382686, 604800, 100, 1),
(@GUID + 26, 181287, 533, 4, 3390.85, -3097.89, 297.576, 2.35619, 0, 0, 0.92388, 0.382683, 604800, 100, 1),
(@GUID + 27, 181287, 533, 4, 3383.49, -3631.96, 260.801, 3.4383, 0, 0, -0.989016, 0.147811, 604800, 100, 1),
(@GUID + 28, 181287, 533, 4, 3383, -3710.67, 261.945, 1.69297, 0, 0, 0.748956, 0.66262, 604800, 100, 1),
(@GUID + 29, 181287, 533, 4, 3365.67, -3859.57, 298.005, 3.927, 0, 0, -0.923879, 0.382686, 604800, 100, 1),
(@GUID + 30, 181287, 533, 4, 3363.88, -3011, 298.441, 2.33874, 0, 0, 0.920505, 0.390732, 604800, 100, 1),
(@GUID + 31, 181287, 533, 4, 3354, -3311.42, 295.918, 3.17653, 0, 0, -0.999847, 0.0174693, 604800, 100, 1),
(@GUID + 32, 181287, 533, 4, 3345.64, -3711.01, 262.596, 1.5708, 0, 0, 0.707107, 0.707107, 604800, 100, 1),
(@GUID + 33, 181287, 533, 4, 3343.97, -3141.59, 300.261, 2.77507, 0, 0, 0.983254, 0.182238, 604800, 100, 1),
(@GUID + 34, 181287, 533, 4, 3341.95, -3820.65, 297.335, 0.837758, 0, 0, 0.406736, 0.913545, 604800, 100, 1),
(@GUID + 35, 181287, 533, 4, 3337.19, -3201.46, 299.871, 3.15906, 0, 0, -0.999962, 0.00873464, 604800, 100, 1),
(@GUID + 36, 181287, 533, 4, 3333.51, -3599.68, 262.448, 5.3058, 0, 0, -0.469471, 0.882948, 604800, 100, 1),
(@GUID + 37, 181287, 533, 4, 3325.56, -3091.36, 299.644, 3.94445, 0, 0, -0.920505, 0.390732, 604800, 100, 1),
(@GUID + 38, 181287, 533, 4, 3324.77, -3355.21, 296.687, 2.30383, 0, 0, 0.913545, 0.406738, 604800, 100, 1),
(@GUID + 39, 181287, 533, 4, 3322.82, -3632.23, 260.805, 6.12611, 0, 0, -0.0784588, 0.996917, 604800, 100, 1),
(@GUID + 40, 181287, 533, 4, 3313.99, -3439.01, 288.775, 3.71755, 0, 0, -0.958819, 0.284016, 604800, 100, 1),
(@GUID + 41, 181287, 533, 4, 3311.65, -3673.9, 262.284, 6.0912, 0, 0, -0.0958452, 0.995396, 604800, 100, 1),
(@GUID + 42, 181287, 533, 4, 3311.35, -3516.08, 288.574, 1.90241, 0, 0, 0.814116, 0.580703, 604800, 100, 1),
(@GUID + 43, 181287, 533, 4, 3291.95, -3365.12, 295.712, 1.43117, 0, 0, 0.656058, 0.75471, 604800, 100, 1),
(@GUID + 44, 181287, 533, 4, 3276.74, -3421.71, 288.405, 4.57276, 0, 0, -0.754709, 0.656059, 604800, 100, 1),
(@GUID + 45, 181287, 533, 4, 3275.86, -3530.56, 288.421, 1.88495, 0, 0, 0.809016, 0.587786, 604800, 100, 1),
(@GUID + 46, 181287, 533, 4, 3272.69, -3256.38, 296.297, 4.7473, 0, 0, -0.694658, 0.71934, 604800, 100, 1),
(@GUID + 47, 181287, 533, 4, 3262.19, -3365.04, 296.435, 1.65806, 0, 0, 0.737277, 0.675591, 604800, 100, 1),
(@GUID + 48, 181287, 533, 4, 3260.09, -3200.51, 301.307, 0.837758, 0, 0, 0.406736, 0.913545, 604800, 100, 1),
(@GUID + 49, 181287, 533, 4, 3254.56, -3009.36, 298.264, 0.0349062, 0, 0, 0.0174522, 0.999848, 604800, 100, 1),
(@GUID + 50, 181287, 533, 4, 3254.53, -2964.99, 298.207, 0.0174525, 0, 0, 0.00872612, 0.999962, 604800, 100, 1),
(@GUID + 51, 181287, 533, 4, 3254.46, -3860, 297.65, 0, 0, 0, 0, 1, 604800, 100, 1),
(@GUID + 52, 181287, 533, 4, 3243.76, -2963.55, 297.977, 3.14159, 0, 0, -1, 0, 604800, 100, 1),
(@GUID + 53, 181287, 533, 4, 3243.7, -3906.62, 297.852, 3.15906, 0, 0, -0.999962, 0.00873464, 604800, 100, 1),
(@GUID + 54, 181287, 533, 4, 3239.83, -3102.96, 299.532, 4.76475, 0, 0, -0.688354, 0.725375, 604800, 100, 1),
(@GUID + 55, 181287, 533, 4, 3238.44, -3256.44, 296.878, 4.72984, 0, 0, -0.700909, 0.713251, 604800, 100, 1),
(@GUID + 56, 181287, 533, 4, 3237.8, -3435.47, 288.58, 5.42798, 0, 0, -0.414693, 0.909962, 604800, 100, 1),
(@GUID + 57, 181287, 533, 4, 3236.94, -3516.27, 288.1, 1.02974, 0, 0, 0.492423, 0.870356, 604800, 100, 1),
(@GUID + 58, 181287, 533, 4, 3235.43, -3175.96, 300.544, 0.785397, 0, 0, 0.382683, 0.92388, 604800, 100, 1),
(@GUID + 59, 181287, 533, 4, 3233.85, -3439.01, 288.469, 5.70723, 0, 0, -0.284015, 0.95882, 604800, 100, 1),
(@GUID + 60, 181287, 533, 4, 3233.28, -3512.47, 288.327, 0.610863, 0, 0, 0.300705, 0.953717, 604800, 100, 1),
(@GUID + 61, 181287, 533, 4, 3231.03, -3145.4, 300.419, 6.26573, 0, 0, -0.00872612, 0.999962, 604800, 100, 1),
(@GUID + 62, 181287, 533, 4, 3217.54, -3256.48, 296.251, 4.66003, 0, 0, -0.725374, 0.688355, 604800, 100, 1),
(@GUID + 63, 181287, 533, 4, 3209.32, -3376.96, 295.183, 1.6057, 0, 0, 0.719339, 0.694659, 604800, 100, 1),
(@GUID + 64, 181287, 533, 4, 3166.93, -3007.22, 270.408, 0, 0, 0, 0, 1, 604800, 100, 1),
(@GUID + 65, 181287, 533, 4, 3166.88, -3860.77, 271.062, 0, 0, 0, 0, 1, 604800, 100, 1),
(@GUID + 66, 181287, 533, 4, 3156.22, -3007.15, 270.466, 3.10665, 0, 0, 0.999847, 0.0174693, 604800, 100, 1),
(@GUID + 67, 181287, 533, 4, 3156.12, -3860.38, 270.901, 3.17653, 0, 0, -0.999847, 0.0174693, 604800, 100, 1),
(@GUID + 68, 181287, 533, 4, 3134.84, -3111.73, 296.046, 3.08918, 0, 0, 0.999657, 0.0262017, 604800, 100, 1),
(@GUID + 69, 181287, 533, 4, 3133.98, -3081.41, 295.788, 3.28124, 0, 0, -0.997563, 0.0697661, 604800, 100, 1),
(@GUID + 70, 181287, 533, 4, 3070.69, -3060.77, 296.538, 5.13127, 0, 0, -0.544639, 0.838671, 604800, 100, 1),
(@GUID + 71, 181287, 533, 4, 3030.64, -3088.67, 295.943, 5.39307, 0, 0, -0.43051, 0.902586, 604800, 100, 1),
(@GUID + 72, 181287, 533, 4, 3004.56, -3116.67, 295.862, 5.84685, 0, 0, -0.216439, 0.976296, 604800, 100, 1),
(@GUID + 73, 181287, 533, 4, 2957.48, -4007.45, 275.675, 2.91469, 0, 0, 0.993571, 0.113208, 604800, 100, 1),
(@GUID + 74, 181287, 533, 4, 2952.02, -3977.35, 274.988, 3.927, 0, 0, -0.923879, 0.382686, 604800, 100, 1),
(@GUID + 75, 181287, 533, 4, 2925.51, -3949.61, 275.517, 4.38078, 0, 0, -0.814116, 0.580703, 604800, 100, 1),
(@GUID + 76, 181287, 533, 4, 2925.2, -4041.45, 275.654, 1.90241, 0, 0, 0.814116, 0.580703, 604800, 100, 1),
(@GUID + 77, 181287, 533, 4, 2888.6, -3957.09, 275.524, 5.34071, 0, 0, -0.45399, 0.891007, 604800, 100, 1),
(@GUID + 78, 181287, 533, 4, 2869.51, -4020.8, 275.707, 0.541051, 0, 0, 0.267238, 0.963631, 604800, 100, 1),
(@GUID + 79, 181287, 533, 4, 2861.64, -3984.11, 275.077, 6.02139, 0, 0, -0.130526, 0.991445, 604800, 100, 1),
(@GUID + 80, 181287, 533, 4, 2853.92, -2964.26, 271.17, 0.0698117, 0, 0, 0.0348988, 0.999391, 604800, 100, 1),
(@GUID + 81, 181287, 533, 4, 2853.86, -3904.02, 270.793, 0, 0, 0, 0, 1, 604800, 100, 1),
(@GUID + 82, 181287, 533, 4, 2843.17, -3006.81, 270.595, 3.14159, 0, 0, -1, 0, 604800, 100, 1),
(@GUID + 83, 181287, 533, 4, 2843.11, -3860.72, 270.509, 3.15906, 0, 0, -0.999962, 0.00873464, 604800, 100, 1),
(@GUID + 84, 181287, 533, 4, 2812.14, -3664.16, 274.684, 3.97936, 0, 0, -0.913545, 0.406738, 604800, 100, 1),
(@GUID + 85, 181287, 533, 4, 2800.21, -3113.44, 270.135, 3.26377, 0, 0, -0.998135, 0.0610518, 604800, 100, 1),
(@GUID + 86, 181287, 533, 4, 2800.19, -3084.99, 270.163, 3.14159, 0, 0, -1, 0, 604800, 100, 1),
(@GUID + 87, 181287, 533, 4, 2793.47, -3645.76, 274.88, 3.99681, 0, 0, -0.909961, 0.414694, 604800, 100, 1),
(@GUID + 88, 181287, 533, 4, 2790.21, -3727.97, 274.925, 2.44346, 0, 0, 0.939692, 0.342021, 604800, 100, 1),
(@GUID + 89, 181287, 533, 4, 2784.01, -3131.33, 270.06, 1.98967, 0, 0, 0.83867, 0.54464, 604800, 100, 1),
(@GUID + 90, 181287, 533, 4, 2770.18, -3134.4, 270.022, 1.5708, 0, 0, 0.707107, 0.707107, 604800, 100, 1),
(@GUID + 91, 181287, 533, 4, 2766.34, -2963.08, 243.63, 6.24828, 0, 0, -0.0174522, 0.999848, 604800, 100, 1),
(@GUID + 92, 181287, 533, 4, 2766.28, -3905.53, 297.383, 0, 0, 0, 0, 1, 604800, 100, 1),
(@GUID + 93, 181287, 533, 4, 2755.58, -3006.16, 244.187, 3.14159, 0, 0, -1, 0, 604800, 100, 1),
(@GUID + 94, 181287, 533, 4, 2755.53, -3860.9, 298.147, 3.12412, 0, 0, 0.999962, 0.00873464, 604800, 100, 1),
(@GUID + 95, 181287, 533, 4, 2754.61, -3641.24, 274.503, 4.72984, 0, 0, -0.700909, 0.713251, 604800, 100, 1),
(@GUID + 96, 181287, 533, 4, 2751.81, -3727.05, 274.773, 0.802851, 0, 0, 0.390731, 0.920505, 604800, 100, 1),
(@GUID + 97, 181287, 533, 4, 2749.94, -3367.39, 269.874, 3.14159, 0, 0, -1, 0, 604800, 100, 1),
(@GUID + 98, 181287, 533, 4, 2744.69, -3075.4, 270.214, 5.79449, 0, 0, -0.241921, 0.970296, 604800, 100, 1),
(@GUID + 99, 181287, 533, 4, 2744.3, -3122.74, 270.313, 0.750491, 0, 0, 0.366501, 0.930418, 604800, 100, 1),
(@GUID + 100, 181287, 533, 4, 2732.03, -3433.68, 270.316, 1.78023, 0, 0, 0.777145, 0.629321, 604800, 100, 1),
(@GUID + 101, 181287, 533, 4, 2731.39, -3706.87, 275.052, 0.802851, 0, 0, 0.390731, 0.920505, 604800, 100, 1),
(@GUID + 102, 181287, 533, 4, 2730.46, -3526.27, 263.35, 3.14159, 0, 0, -1, 0, 604800, 100, 1),
(@GUID + 103, 181287, 533, 4, 2727.85, -3679.01, 275.309, 6.23083, 0, 0, -0.0261765, 0.999657, 604800, 100, 1),
(@GUID + 104, 181287, 533, 4, 2712.87, -3551.62, 263.063, 1.55334, 0, 0, 0.700909, 0.713251, 604800, 100, 1),
(@GUID + 105, 181287, 533, 4, 2702.75, -3434.9, 270.325, 1.6057, 0, 0, 0.719339, 0.694659, 604800, 100, 1),
(@GUID + 106, 181287, 533, 4, 2693.59, -3455.14, 263.699, 4.69494, 0, 0, -0.71325, 0.70091, 604800, 100, 1),
(@GUID + 107, 181287, 533, 4, 2679.82, -3434.91, 270.059, 1.5708, 0, 0, 0.707107, 0.707107, 604800, 100, 1),
(@GUID + 108, 181287, 533, 4, 2678.04, -3042.79, 244.451, 0.890117, 0, 0, 0.43051, 0.902586, 604800, 100, 1),
(@GUID + 109, 181287, 533, 4, 2675.73, -3828.16, 297.674, 5.49779, 0, 0, -0.382683, 0.92388, 604800, 100, 1),
(@GUID + 110, 181287, 533, 4, 2653.39, -3551.61, 263.881, 1.64061, 0, 0, 0.731353, 0.681999, 604800, 100, 1),
(@GUID + 111, 181287, 533, 4, 2639.68, -3510.72, 263.052, 0, 0, 0, 0, 1, 604800, 100, 1),
(@GUID + 112, 181287, 533, 4, 2639.67, -3494.81, 263.271, 0.087266, 0, 0, 0.0436192, 0.999048, 604800, 100, 1),
(@GUID + 113, 181287, 533, 4, 2635.7, -3015.73, 243.351, 3.90954, 0, 0, -0.927183, 0.374608, 604800, 100, 1),
(@GUID + 114, 181287, 533, 4, 2635.63, -3417.76, 270.214, 0.261798, 0, 0, 0.130526, 0.991445, 604800, 100, 1),
(@GUID + 115, 181287, 533, 4, 2634.05, -3386.86, 270.203, 6.21337, 0, 0, -0.0348988, 0.999391, 604800, 100, 1),
(@GUID + 116, 181287, 533, 4, 2621.74, -2954.45, 243.049, 3.9619, 0, 0, -0.91706, 0.39875, 604800, 100, 1),
(@GUID + 117, 181287, 533, 4, 2620.65, -3099.32, 243.887, 0.785397, 0, 0, 0.382683, 0.92388, 604800, 100, 1),
(@GUID + 118, 181287, 533, 4, 2612.69, -3106.58, 243.4, 3.97936, 0, 0, -0.913545, 0.406738, 604800, 100, 1),
(@GUID + 119, 181287, 533, 4, 2611.26, -3363.61, 270.053, 3.14159, 0, 0, -1, 0, 604800, 100, 1),
(@GUID + 120, 181287, 533, 4, 2611.24, -3310.58, 270.449, 3.194, 0, 0, -0.999657, 0.0262017, 604800, 100, 1),
(@GUID + 121, 181287, 533, 4, 2579.41, -3683.78, 297.596, 4.69494, 0, 0, -0.71325, 0.70091, 604800, 100, 1),
(@GUID + 122, 181287, 533, 4, 2579.2, -3673.03, 298.214, 1.5708, 0, 0, 0.707107, 0.707107, 604800, 100, 1),
(@GUID + 123, 181287, 533, 4, 2579.06, -3795.72, 297.584, 2.33874, 0, 0, 0.920505, 0.390732, 604800, 100, 1),
(@GUID + 124, 181287, 533, 4, 2578.57, -3585.44, 270.532, 1.53589, 0, 0, 0.694658, 0.71934, 604800, 100, 1),
(@GUID + 125, 181287, 533, 4, 2578.55, -3272.43, 271.059, 1.5708, 0, 0, 0.707107, 0.707107, 604800, 100, 1),
(@GUID + 126, 181287, 533, 4, 2548.51, -2883.65, 244.188, 3.927, 0, 0, -0.923879, 0.382686, 604800, 100, 1),
(@GUID + 127, 181287, 533, 4, 2535.51, -3683.78, 297.495, 4.67748, 0, 0, -0.719339, 0.694659, 604800, 100, 1),
(@GUID + 128, 181287, 533, 4, 2535.1, -3585.44, 271.079, 1.5708, 0, 0, 0.707107, 0.707107, 604800, 100, 1),
(@GUID + 129, 181287, 533, 4, 2534.56, -3283.19, 270.664, 4.7473, 0, 0, -0.694658, 0.71934, 604800, 100, 1),
(@GUID + 130, 181287, 533, 4, 2534.25, -3596.2, 270.776, 4.69494, 0, 0, -0.71325, 0.70091, 604800, 100, 1),
(@GUID + 131, 181287, 533, 4, 2534.07, -3673.03, 297.744, 1.5708, 0, 0, 0.707107, 0.707107, 604800, 100, 1),
(@GUID + 132, 181287, 533, 4, 2534, -3272.43, 270.528, 1.5708, 0, 0, 0.707107, 0.707107, 604800, 100, 1),
(@GUID + 133, 181287, 533, 4, 2533.32, -3184.85, 243.705, 1.64061, 0, 0, 0.731353, 0.681999, 604800, 100, 1),
(@GUID + 134, 181287, 533, 4, 2522.65, -3048.84, 244.178, 0.767944, 0, 0, 0.374606, 0.927184, 604800, 100, 1),
(@GUID + 135, 181287, 533, 4, 2502.24, -3028.31, 243.712, 0.785397, 0, 0, 0.382683, 0.92388, 604800, 100, 1),
(@GUID + 136, 181287, 533, 4, 2496.91, -2881.18, 243.587, 5.37562, 0, 0, -0.438371, 0.898794, 604800, 100, 1),
(@GUID + 137, 181287, 533, 4, 2481.82, -2895.29, 244.105, 5.44543, 0, 0, -0.406736, 0.913545, 604800, 100, 1),
(@GUID + 138, 181287, 533, 4, 2465.86, -2911.24, 244.093, 5.63741, 0, 0, -0.317305, 0.948324, 604800, 100, 1),
(@GUID + 139, 181287, 533, 4, 2451.68, -2926.42, 243.533, 5.67232, 0, 0, -0.300705, 0.953717, 604800, 100, 1);
/* Archmage Tarsis */
DELETE FROM `gossip_menu` WHERE `MenuID` BETWEEN 64000 AND 64009;
INSERT INTO `gossip_menu` (`MenuID`, `TextID`) VALUES
(64000, 8517),
(64001, 8518),
(64002, 8519),
(64003, 8520),
(64004, 8521),
(64005, 8522),
(64006, 8523),
(64007, 8529),
(64008, 8530),
(64009, 8531);
DELETE FROM `gossip_menu_option` WHERE `MenuID` BETWEEN 60400 AND 64009;
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `OptionBroadcastTextID`, `BoxCoded`, `BoxMoney`, `BoxText`, `VerifiedBuild`) VALUES
('64000', '0', '0', 'What are you talking about, mage?', '1', '1', '64001', '0', '0', '0', '0', NULL, '0'),
('64001', '0', '0', 'Why have you done such horrible things?', '1', '1', '64002', '0', '0', '0', '0', NULL, '0'),
('64002', '0', '0', 'I still do not understand.', '1', '1', '64003', '0', '0', '0', '0', NULL, '0'),
('64003', '0', '0', 'You are talking nonsense, mage.', '1', '1', '64004', '0', '0', '0', '0', NULL, '0'),
('64004', '0', '0', 'What staff?', '1', '1', '64005', '0', '0', '0', '0', NULL, '0'),
('64005', '0', '0', 'You said you would have it back. What does that mean?', '1', '1', '64006', '0', '0', '0', '0', NULL, '0'),
('64006', '0', '0', 'What happened to the staff?', '1', '1', '64007', '0', '0', '0', '0', NULL, '0'),
('64007', '0', '0', 'So what has led you to Naxxramas?', '1', '1', '64008', '0', '0', '0', '0', NULL, '0'),
('64008', '0', '0', 'So Kel\'Thuzad holds all of the pieces?', '1', '1', '64009', '0', '0', '0', '0', NULL, '0');
UPDATE `creature_template` SET `gossip_menu_id`=64000, `npcflag`=1, `ScriptName`='npc_archmage_tarsis' WHERE `entry`=16381;
UPDATE `npc_text` SET `em0_1`='13' WHERE `ID`='8517';
-- Add Entrance transporter object. Necromantic Runestone (id: 189314, displayID: 7786)
SET @TRANSPORTER_ENTRY:= 9000;
SET @TRANSPORTER_COOLDOWN:= 5;
SET @TRANSPORTER_X:= 3123.26;
SET @TRANSPORTER_Y:= -3869.36;
SET @TRANSPORTER_Z:= 138.34;
SET @TRANSPORTER_O:= 0.2175;
DELETE FROM `gameobject_template` WHERE (`entry` = @TRANSPORTER_ENTRY);
INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`,
`IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`,
`Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`,
`Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`,
`Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `AIName`, `ScriptName`,
`VerifiedBuild`)
VALUES
(@TRANSPORTER_ENTRY, 10, 7786, 'Teleport To Naxxramas', '', '', '', 1, 0, 0, 0,
0, @TRANSPORTER_COOLDOWN, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, '', '', 12340);
DELETE FROM `gameobject` WHERE `id`=@TRANSPORTER_ENTRY AND `map`=0 AND `zoneId`=0 AND `areaID`=0;
INSERT INTO `gameobject`
(`id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`,
`position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`,
`rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`,
`ScriptName`, `VerifiedBuild`)
VALUES
(@TRANSPORTER_ENTRY, 0, 0, 0, 1, 1, @TRANSPORTER_X, @TRANSPORTER_Y,
@TRANSPORTER_Z, @TRANSPORTER_O, 0, 0,
-0.063658, -1, 1, 0, 1, '', 0);
/* Omarion */
-- UPDATE `creature_template` SET `npcflag`=3, `ScriptName`='mob_craftsman_omarion' WHERE `entry`=16365;
-- Add Floating Naxx Object (id: 181056)
-- Node 0 of PathID 436 in taxiPathNode
-- https://wow.tools/dbc/?dbc=taxipathnode&build=3.3.5.12340#page=1&colFilter%5B1%5D=436
DELETE FROM `gameobject` WHERE `id`=181056;
INSERT INTO `gameobject`
(`id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`,
`position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`,
`rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`,
`ScriptName`, `VerifiedBuild`) VALUES
(181056, 0, 0, 0, 1, 1, 3067.1255, -3533.4387, -331.89944, 0.0, 0.0,
0.0, 0, 0, 900, 100, 1, '', 0);
DELETE FROM `transports` WHERE `guid`=21 AND `entry`=181056;
INSERT INTO `transports` (`guid`, `entry`, `name`, `ScriptName`) VALUES
(21, 181056, 'Naxxramas floating in Plaguewood - Eastern Plaguelands', '');
-- https://wow.tools/dbc/?dbc=taxipathnode&build=3.3.5.12340#page=1&colFilter[1]=436
-- Set speed (Data1) and map (Data6)
UPDATE `gameobject_template` SET `Data1`=1,`Data6`=0 WHERE entry=181056;

View File

@@ -0,0 +1,79 @@
-- Add Archmage Tarsis Kir-Moldir
UPDATE `creature_template` SET `gossip_menu_id` = 7229, `npcflag` = 1, `unit_flags` = 512 WHERE (`entry` = 16381);
-- Sleep
DELETE FROM `creature_template_addon` WHERE (`entry` = 16381);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(16381, 0, 0, 3, 0, 0, 0, '');
-- CreatureText
DELETE FROM `creature_text` WHERE `CreatureID`=16381;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(16381, 0, 0, '%s gets to one knee.', 16, 0, 100, 0, 0, 0, 12295, 0, 'Archmage Tarsis Kir-Moldir - kneels'),
(16381, 1, 0, '%s sits down.', 16, 0, 100, 0, 0, 0, 12296, 0, 'Archmage Tarsis Kir-Moldir - sits down'),
(16381, 2, 0, 'You... The frame! How? You must not... It... the Destroyer...', 12, 0, 100, 0, 0, 0, 12312, 0, 'Archmage Tarsis Kir-Moldir'),
(16381, 3, 0, '%s scratches at his throat.', 16, 0, 100, 0, 0, 0, 12314, 0, 'Archmage Tarsis Kir-Moldir');
-- Menu
DELETE FROM `gossip_menu` WHERE `MenuID` IN
(7222, 7223, 7224, 7225, 7226, 7227, 7228, 7231, 7232, 7233);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`) VALUES
(7222, 8523),
(7223, 8522),
(7224, 8521),
(7225, 8520),
(7226, 8519),
(7227, 8518),
(7228, 8517),
(7231, 8531),
(7232, 8530),
(7233, 8529);
DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (7222, 7223, 7224, 7225, 7226, 7227, 7228, 7232, 7233);
INSERT INTO `gossip_menu_option`
(`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`)
VALUES
(7222, 0, 0, 'What happened to the staff?', 12304, 1, 1, 7233, 0, 0, 0, '', 0, 0),
(7223, 0, 0, 'You said you would have it back. What does that mean?', 12293, 1, 1, 7222, 0, 0, 0, '', 0, 0),
(7224, 0, 0, 'What staff?', 12291, 1, 1, 7223, 0, 0, 0, '', 0, 0),
(7225, 0, 0, 'You are talking nonsense, mage. ', 12289, 1, 1, 7224, 0, 0, 0, '', 0, 0),
(7226, 0, 0, 'I still do not understand.', 12287, 1, 1, 7225, 0, 0, 0, '', 0, 0),
(7227, 0, 0, 'Why have you done such horrible things?', 12285, 1, 1, 7226, 0, 0, 0, '', 0, 0),
(7228, 0, 0, 'What are you talking about, mage?', 12283, 1, 1, 7227, 0, 0, 0, '', 0, 0),
(7228, 1, 0, 'What is it Tarsis? I don\'t know what to do!', 12313, 1, 1, 0, 0, 0, 0, '', 0, 0),
(7232, 0, 0, 'So Kel\'Thuzad holds all of the pieces?', 12308, 1, 1, 7231, 0, 0, 0, '', 0, 0),
(7233, 0, 0, 'So what has led you to Naxxramas?', 12306, 1, 1, 7232, 0, 0, 0, '', 0, 0);
-- Different dialog option if has Splinter of Atiesh
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15) AND (`SourceGroup` = 7228);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15, 7228, 0, 0, 0, 2, 0, 22727, 1, 0, 1, 0, 0, '', 'Player does not have the Frame of Atiesh'),
(15, 7228, 1, 0, 0, 2, 0, 22727, 1, 0, 0, 0, 0, '', 'Player has the Frame of Atiesh');
-- SmartAI
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 16381;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 16381);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16381, 0, 0, 1, 64, 0, 100, 1, 0, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Gossip Hello - Remove Npc Flags Gossip (No Repeat)'),
(16381, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 67, 1, 3000, 3000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Gossip Hello - Create Timed Event (No Repeat)'),
(16381, 0, 2, 3, 59, 0, 100, 0, 1, 0, 0, 0, 0, 91, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 1 Triggered - Remove FlagStandstate Sleep'),
(16381, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 67, 2, 3000, 3000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 1 Triggered - Create Timed Event'),
(16381, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 1 Triggered - Set Flag Standstate Kneel'),
(16381, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 1 Triggered - Say Line 0'),
(16381, 0, 6, 7, 59, 0, 100, 0, 2, 0, 0, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 2 Triggered - Remove FlagStandstate Kneel'),
(16381, 0, 7, 8, 61, 0, 100, 0, 0, 0, 0, 0, 0, 67, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 2 Triggered - Create Timed Event'),
(16381, 0, 8, 9, 61, 0, 100, 0, 0, 0, 0, 0, 0, 90, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 2 Triggered - Set Flag Standstate Sit Down'),
(16381, 0, 9, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 2 Triggered - Say Line 1'),
(16381, 0, 10, 11, 59, 0, 100, 0, 3, 0, 0, 0, 0, 82, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 3 Triggered - Add Npc Flags Gossip'),
(16381, 0, 11, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 3 Triggered - Set Event Phase 1'),
(16381, 0, 12, 0, 64, 1, 100, 0, 0, 0, 0, 0, 0, 98, 7228, 8517, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Gossip Hello - Send Gossip (Phase 1)'),
(16381, 0, 13, 14, 62, 0, 100, 0, 7228, 1, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Gossip Option 1 Selected - Remove Npc Flags Gossip'),
(16381, 0, 14, 15, 61, 0, 100, 0, 0, 0, 0, 0, 0, 67, 4, 1000, 1000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Gossip Option 1 Selected - Create Timed Event'),
(16381, 0, 15, 16, 61, 0, 100, 0, 0, 0, 0, 0, 0, 67, 5, 3000, 3000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Gossip Option 1 Selected - Create Timed Event'),
(16381, 0, 16, 17, 61, 0, 100, 0, 0, 0, 0, 0, 0, 67, 6, 6000, 6000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Gossip Option 1 Selected - Create Timed Event'),
(16381, 0, 17, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 67, 7, 8000, 8000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Gossip Option 1 Selected - Create Timed Event'),
(16381, 0, 18, 19, 59, 0, 100, 0, 4, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 4 Triggered - Remove FlagStandstate Sit Down'),
(16381, 0, 19, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 4 Triggered - Set Flag Standstate Stand Up'),
(16381, 0, 20, 0, 59, 0, 100, 0, 5, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 5 Triggered - Say Line 2'),
(16381, 0, 22, 19, 59, 0, 100, 0, 6, 0, 0, 0, 0, 1, 3, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 6 Triggered - Say Line 3'),
(16381, 0, 23, 19, 59, 0, 100, 0, 7, 0, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Tarsis Kir-Moldir - On Timed Event 7 Triggered - Kill Self');

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,376 @@
--
DELETE FROM `pool_gameobject` WHERE `guid` IN
(5330334, 5330333, 5330332, 5330331, 5330330, 5330326, 5330325, 5330324, 5330323,
5330322, 5330321, 5330320, 5330316, 5330315, 5330314, 5330313, 5330312, 5330311,
5330310, 5330307, 5330306, 5330305, 5330304, 5330303, 5330302, 5330301, 5330300,
5330335, 5330336, 5330340, 5330341, 5330342, 5330343, 5330344, 5330345, 5330346,
5330350, 5330351, 5330352, 5330353, 5330354, 5330355, 5330360, 5330361, 5330362,
5330363, 5330364, 5330365, 5330366, 5330367, 5330370, 5330371, 5330372, 5330373,
5330374, 5330375, 5330376, 5330380, 5330381, 5330382, 5330383, 5330384, 5330385,
5330390, 5330391, 5330392, 5330393, 5330394, 5330395, 5330396, 5330400, 5330401,
5330402, 5330403, 5330404, 5330410, 5330411, 5330412, 5330413, 5330414, 5330415,
5330416, 5330420, 5330421, 5330422, 5330423, 5330424, 5330425, 5330426, 5330427,
5330428, 5330429, 5330430, 5330431, 5330432, 5330440, 5330441, 5330442, 5330443,
5330444, 5330445, 5330446, 5330447, 5330450, 5330451, 5330452, 5330453, 5330454,
5330455, 5330456, 5330457, 5330460, 5330461, 5330462, 5330463, 5330464, 5330465,
5330470, 5330471, 5330472, 5330473, 5330474, 5330475, 5330476, 5330477, 5330480,
5330481, 5330482, 5330483, 5330484, 5330485, 5330486, 5330487, 5330490, 5330491,
5330492, 5330493, 5330494, 5330495, 5330496, 5330500, 5330501, 5330502, 5330503,
5330504, 5330505, 5330506, 5330507, 5330508);
INSERT INTO `pool_gameobject`
(`guid`, `pool_entry`, `chance`, `description`)
VALUES
(5330334, 47853, 0.0, 'Naxxramas - Frozen Rune - Spider Wing, left (181287)'),
(5330333, 47853, 0.0, 'Naxxramas - Frozen Rune - Spider Wing, left (181287)'),
(5330332, 47853, 0.0, 'Naxxramas - Frozen Rune - Spider Wing, left (181287)'),
(5330331, 47853, 0.0, 'Naxxramas - Frozen Rune - Spider Wing, left (181287)'),
(5330330, 47853, 0.0, 'Naxxramas - Frozen Rune - Spider Wing, left (181287)'),
(5330326, 47852, 0.0, 'Naxxramas - Frozen Rune - Maexxna (181287)'),
(5330325, 47852, 0.0, 'Naxxramas - Frozen Rune - Maexxna (181287)'),
(5330324, 47852, 0.0, 'Naxxramas - Frozen Rune - Maexxna (181287)'),
(5330323, 47852, 0.0, 'Naxxramas - Frozen Rune - Maexxna (181287)'),
(5330322, 47852, 0.0, 'Naxxramas - Frozen Rune - Maexxna (181287)'),
(5330321, 47852, 0.0, 'Naxxramas - Frozen Rune - Maexxna (181287)'),
(5330320, 47852, 0.0, 'Naxxramas - Frozen Rune - Maexxna (181287)'),
(5330316, 47851, 0.0, 'Naxxramas - Frozen Rune - Grand Widow Faerlina (181287)'),
(5330315, 47851, 0.0, 'Naxxramas - Frozen Rune - Grand Widow Faerlina (181287)'),
(5330314, 47851, 0.0, 'Naxxramas - Frozen Rune - Grand Widow Faerlina (181287)'),
(5330313, 47851, 0.0, 'Naxxramas - Frozen Rune - Grand Widow Faerlina (181287)'),
(5330312, 47851, 0.0, 'Naxxramas - Frozen Rune - Grand Widow Faerlina (181287)'),
(5330311, 47851, 0.0, 'Naxxramas - Frozen Rune - Grand Widow Faerlina (181287)'),
(5330310, 47851, 0.0, 'Naxxramas - Frozen Rune - Grand Widow Faerlina (181287)'),
(5330307, 47850, 0.0, 'Naxxramas - Frozen Rune - Anub''Rekhan (181287)'),
(5330306, 47850, 0.0, 'Naxxramas - Frozen Rune - Anub''Rekhan (181287)'),
(5330305, 47850, 0.0, 'Naxxramas - Frozen Rune - Anub''Rekhan (181287)'),
(5330304, 47850, 0.0, 'Naxxramas - Frozen Rune - Anub''Rekhan (181287)'),
(5330303, 47850, 0.0, 'Naxxramas - Frozen Rune - Anub''Rekhan (181287)'),
(5330302, 47850, 0.0, 'Naxxramas - Frozen Rune - Anub''Rekhan (181287)'),
(5330301, 47850, 0.0, 'Naxxramas - Frozen Rune - Anub''Rekhan (181287)'),
(5330300, 47850, 0.0, 'Naxxramas - Frozen Rune - Anub''Rekhan (181287)'),
(5330335, 47853, 0.0, 'Naxxramas - Frozen Rune - Spider Wing, left (181287)'),
(5330336, 47853, 0.0, 'Naxxramas - Frozen Rune - Spider Wing, left (181287)'),
(5330340, 47854, 0.0, 'Naxxramas - Frozen Rune - Spider Wing, right (181287)'),
(5330341, 47854, 0.0, 'Naxxramas - Frozen Rune - Spider Wing, right (181287)'),
(5330342, 47854, 0.0, 'Naxxramas - Frozen Rune - Spider Wing, right (181287)'),
(5330343, 47854, 0.0, 'Naxxramas - Frozen Rune - Spider Wing, right (181287)'),
(5330344, 47854, 0.0, 'Naxxramas - Frozen Rune - Spider Wing, right (181287)'),
(5330345, 47854, 0.0, 'Naxxramas - Frozen Rune - Spider Wing, right (181287)'),
(5330346, 47854, 0.0, 'Naxxramas - Frozen Rune - Spider Wing, right (181287)'),
(5330350, 47855, 0.0, 'Naxxramas - Frozen Rune - Noth the Plaguebringer (181287)'),
(5330351, 47855, 0.0, 'Naxxramas - Frozen Rune - Noth the Plaguebringer (181287)'),
(5330352, 47855, 0.0, 'Naxxramas - Frozen Rune - Noth the Plaguebringer (181287)'),
(5330353, 47855, 0.0, 'Naxxramas - Frozen Rune - Noth the Plaguebringer (181287)'),
(5330354, 47855, 0.0, 'Naxxramas - Frozen Rune - Noth the Plaguebringer (181287)'),
(5330355, 47855, 0.0, 'Naxxramas - Frozen Rune - Noth the Plaguebringer (181287)'),
(5330360, 47856, 0.0, 'Naxxramas - Frozen Rune - Heigan (181287)'),
(5330361, 47856, 0.0, 'Naxxramas - Frozen Rune - Heigan (181287)'),
(5330362, 47856, 0.0, 'Naxxramas - Frozen Rune - Heigan (181287)'),
(5330363, 47856, 0.0, 'Naxxramas - Frozen Rune - Heigan (181287)'),
(5330364, 47856, 0.0, 'Naxxramas - Frozen Rune - Heigan (181287)'),
(5330365, 47856, 0.0, 'Naxxramas - Frozen Rune - Heigan (181287)'),
(5330366, 47856, 0.0, 'Naxxramas - Frozen Rune - Heigan (181287)'),
(5330367, 47856, 0.0, 'Naxxramas - Frozen Rune - Heigan (181287)'),
(5330370, 47857, 0.0, 'Naxxramas - Frozen Rune - Loatheb (181287)'),
(5330371, 47857, 0.0, 'Naxxramas - Frozen Rune - Loatheb (181287)'),
(5330372, 47857, 0.0, 'Naxxramas - Frozen Rune - Loatheb (181287)'),
(5330373, 47857, 0.0, 'Naxxramas - Frozen Rune - Loatheb (181287)'),
(5330374, 47857, 0.0, 'Naxxramas - Frozen Rune - Loatheb (181287)'),
(5330375, 47857, 0.0, 'Naxxramas - Frozen Rune - Loatheb (181287)'),
(5330376, 47857, 0.0, 'Naxxramas - Frozen Rune - Loatheb (181287)'),
(5330380, 47858, 0.0, 'Naxxramas - Frozen Rune - Plague Wing, left (181287)'),
(5330381, 47858, 0.0, 'Naxxramas - Frozen Rune - Plague Wing, left (181287)'),
(5330382, 47858, 0.0, 'Naxxramas - Frozen Rune - Plague Wing, left (181287)'),
(5330383, 47858, 0.0, 'Naxxramas - Frozen Rune - Plague Wing, left (181287)'),
(5330384, 47858, 0.0, 'Naxxramas - Frozen Rune - Plague Wing, left (181287)'),
(5330385, 47858, 0.0, 'Naxxramas - Frozen Rune - Plague Wing, left (181287)'),
(5330390, 47859, 0.0, 'Naxxramas - Frozen Rune - Plague Wing, right (181287)'),
(5330391, 47859, 0.0, 'Naxxramas - Frozen Rune - Plague Wing, right (181287)'),
(5330392, 47859, 0.0, 'Naxxramas - Frozen Rune - Plague Wing, right (181287)'),
(5330393, 47859, 0.0, 'Naxxramas - Frozen Rune - Plague Wing, right (181287)'),
(5330394, 47859, 0.0, 'Naxxramas - Frozen Rune - Plague Wing, right (181287)'),
(5330395, 47859, 0.0, 'Naxxramas - Frozen Rune - Plague Wing, right (181287)'),
(5330396, 47859, 0.0, 'Naxxramas - Frozen Rune - Plague Wing, right (181287)'),
(5330400, 47860, 0.0, 'Naxxramas - Frozen Rune - Patchwerk (181287)'),
(5330401, 47860, 0.0, 'Naxxramas - Frozen Rune - Patchwerk (181287)'),
(5330402, 47860, 0.0, 'Naxxramas - Frozen Rune - Patchwerk (181287)'),
(5330403, 47860, 0.0, 'Naxxramas - Frozen Rune - Patchwerk (181287)'),
(5330404, 47860, 0.0, 'Naxxramas - Frozen Rune - Patchwerk (181287)'),
(5330410, 47861, 0.0, 'Naxxramas - Frozen Rune - Grobbulus (181287)'),
(5330411, 47861, 0.0, 'Naxxramas - Frozen Rune - Grobbulus (181287)'),
(5330412, 47861, 0.0, 'Naxxramas - Frozen Rune - Grobbulus (181287)'),
(5330413, 47861, 0.0, 'Naxxramas - Frozen Rune - Grobbulus (181287)'),
(5330414, 47861, 0.0, 'Naxxramas - Frozen Rune - Grobbulus (181287)'),
(5330415, 47861, 0.0, 'Naxxramas - Frozen Rune - Grobbulus (181287)'),
(5330416, 47861, 0.0, 'Naxxramas - Frozen Rune - Grobbulus (181287)'),
(5330420, 47862, 0.0, 'Naxxramas - Frozen Rune - Gluth (181287)'),
(5330421, 47862, 0.0, 'Naxxramas - Frozen Rune - Gluth (181287)'),
(5330422, 47862, 0.0, 'Naxxramas - Frozen Rune - Gluth (181287)'),
(5330423, 47862, 0.0, 'Naxxramas - Frozen Rune - Gluth (181287)'),
(5330424, 47862, 0.0, 'Naxxramas - Frozen Rune - Gluth (181287)'),
(5330425, 47862, 0.0, 'Naxxramas - Frozen Rune - Gluth (181287)'),
(5330426, 47862, 0.0, 'Naxxramas - Frozen Rune - Gluth (181287)'),
(5330427, 47862, 0.0, 'Naxxramas - Frozen Rune - Gluth (181287)'),
(5330428, 47862, 0.0, 'Naxxramas - Frozen Rune - Gluth (181287)'),
(5330429, 47862, 0.0, 'Naxxramas - Frozen Rune - Gluth (181287)'),
(5330430, 47863, 0.0, 'Naxxramas - Frozen Rune - Thaddius (181287)'),
(5330431, 47863, 0.0, 'Naxxramas - Frozen Rune - Thaddius (181287)'),
(5330432, 47863, 0.0, 'Naxxramas - Frozen Rune - Thaddius (181287)'),
(5330440, 47864, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, left (181287)'),
(5330441, 47864, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, left (181287)'),
(5330442, 47864, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, left (181287)'),
(5330443, 47864, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, left (181287)'),
(5330444, 47864, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, left (181287)'),
(5330445, 47864, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, left (181287)'),
(5330446, 47864, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, left (181287)'),
(5330447, 47864, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, left (181287)'),
(5330450, 47865, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, right (181287)'),
(5330451, 47865, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, right (181287)'),
(5330452, 47865, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, right (181287)'),
(5330453, 47865, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, right (181287)'),
(5330454, 47865, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, right (181287)'),
(5330455, 47865, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, right (181287)'),
(5330456, 47865, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, right (181287)'),
(5330457, 47865, 0.0, 'Naxxramas - Frozen Rune - Abom Wing, right (181287)'),
(5330460, 47866, 0.0, 'Naxxramas - Frozen Rune - Instructor Razuvious (181287)'),
(5330461, 47866, 0.0, 'Naxxramas - Frozen Rune - Instructor Razuvious (181287)'),
(5330462, 47866, 0.0, 'Naxxramas - Frozen Rune - Instructor Razuvious (181287)'),
(5330463, 47866, 0.0, 'Naxxramas - Frozen Rune - Instructor Razuvious (181287)'),
(5330464, 47866, 0.0, 'Naxxramas - Frozen Rune - Instructor Razuvious (181287)'),
(5330465, 47866, 0.0, 'Naxxramas - Frozen Rune - Instructor Razuvious (181287)'),
(5330470, 47867, 0.0, 'Naxxramas - Frozen Rune - Gothik (181287)'),
(5330471, 47867, 0.0, 'Naxxramas - Frozen Rune - Gothik (181287)'),
(5330472, 47867, 0.0, 'Naxxramas - Frozen Rune - Gothik (181287)'),
(5330473, 47867, 0.0, 'Naxxramas - Frozen Rune - Gothik (181287)'),
(5330474, 47867, 0.0, 'Naxxramas - Frozen Rune - Gothik (181287)'),
(5330475, 47867, 0.0, 'Naxxramas - Frozen Rune - Gothik (181287)'),
(5330476, 47867, 0.0, 'Naxxramas - Frozen Rune - Gothik (181287)'),
(5330477, 47867, 0.0, 'Naxxramas - Frozen Rune - Gothik (181287)'),
(5330480, 47868, 0.0, 'Naxxramas - Frozen Rune - Four Horsemen (181287)'),
(5330481, 47868, 0.0, 'Naxxramas - Frozen Rune - Four Horsemen (181287)'),
(5330482, 47868, 0.0, 'Naxxramas - Frozen Rune - Four Horsemen (181287)'),
(5330483, 47868, 0.0, 'Naxxramas - Frozen Rune - Four Horsemen (181287)'),
(5330484, 47868, 0.0, 'Naxxramas - Frozen Rune - Four Horsemen (181287)'),
(5330485, 47868, 0.0, 'Naxxramas - Frozen Rune - Four Horsemen (181287)'),
(5330486, 47868, 0.0, 'Naxxramas - Frozen Rune - Four Horsemen (181287)'),
(5330487, 47868, 0.0, 'Naxxramas - Frozen Rune - Four Horsemen (181287)'),
(5330490, 47869, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, left (181287)'),
(5330491, 47869, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, left (181287)'),
(5330492, 47869, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, left (181287)'),
(5330493, 47869, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, left (181287)'),
(5330494, 47869, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, left (181287)'),
(5330495, 47869, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, left (181287)'),
(5330496, 47869, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, left (181287)'),
(5330500, 47870, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, right (181287)'),
(5330501, 47870, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, right (181287)'),
(5330502, 47870, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, right (181287)'),
(5330503, 47870, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, right (181287)'),
(5330504, 47870, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, right (181287)'),
(5330505, 47870, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, right (181287)'),
(5330506, 47870, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, right (181287)'),
(5330507, 47870, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, right (181287)'),
(5330508, 47870, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, right (181287)');
DELETE FROM `gameobject` WHERE `guid` IN
(5330450, 5330447, 5330446, 5330445, 5330444, 5330443, 5330442, 5330441,
5330440, 5330432, 5330431, 5330430, 5330429, 5330428, 5330427, 5330426, 5330425,
5330424, 5330423, 5330422, 5330421, 5330420, 5330416, 5330415, 5330414, 5330413,
5330412, 5330411, 5330410, 5330404, 5330403, 5330402, 5330401, 5330400, 5330396,
5330395, 5330394, 5330393, 5330392, 5330391, 5330390, 5330385, 5330384, 5330383,
5330382, 5330381, 5330380, 5330376, 5330375, 5330374, 5330373, 5330372, 5330371,
5330370, 5330367, 5330366, 5330365, 5330364, 5330363, 5330362, 5330361, 5330360,
5330355, 5330354, 5330353, 5330352, 5330351, 5330350, 5330346, 5330345, 5330453,
5330452, 5330451, 5330344, 5330343, 5330342, 5330341, 5330340, 5330336, 5330335,
5330334, 5330333, 5330332, 5330331, 5330330, 5330326, 5330325, 5330324, 5330323,
5330322, 5330321, 5330320, 5330316, 5330315, 5330314, 5330313, 5330312, 5330311,
5330310, 5330307, 5330306, 5330305, 5330304, 5330303, 5330302, 5330301, 5330300,
5330454, 5330455, 5330456, 5330457, 5330460, 5330461, 5330462, 5330463, 5330464,
5330465, 5330470, 5330471, 5330472, 5330473, 5330474, 5330475, 5330476, 5330477,
5330480, 5330481, 5330482, 5330483, 5330484, 5330485, 5330486, 5330487, 5330490,
5330491, 5330492, 5330493, 5330494, 5330495, 5330496, 5330500, 5330501, 5330502,
5330503, 5330504, 5330505, 5330506, 5330507, 5330508);
INSERT INTO `gameobject`
(`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`,
`position_x`, `position_y`, `position_z`, `orientation`, `rotation0`,
`rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`,
`ScriptName`, `VerifiedBuild`)
VALUES
(5330450, 181287, 533, 0, 0, 2, 1, 3430.49, -3195.66, 297.557, 4.72984, 0.0, 0.0, -0.700909, 0.713251, 604800, 100, 1, '', 0),
(5330447, 181287, 533, 0, 0, 2, 1, 3254.53, -2964.99, 298.207, 0.0174525, 0.0, 0.0, 0.00872612, 0.999962, 604800, 100, 1, '', 0),
(5330446, 181287, 533, 0, 0, 2, 1, 3156.22, -2963.77, 271.041, 3.14159, 0.0, 0.0, -1.0, 0.0, 604800, 100, 1, '', 0),
(5330445, 181287, 533, 0, 0, 2, 1, 3166.93, -3007.22, 270.408, 0.0, 0.0, 0.0, 0.0, 1.0, 604800, 100, 1, '', 0),
(5330444, 181287, 533, 0, 0, 2, 1, 3254.56, -3009.36, 298.265, 0.0349062, 0.0, 0.0, 0.0174522, 0.999848, 604800, 100, 1, '', 0),
(5330443, 181287, 533, 0, 0, 2, 1, 3334.26, -3040.61, 298.125, 2.37364, 0.0, 0.0, 0.927183, 0.374608, 604800, 100, 1, '', 0),
(5330442, 181287, 533, 0, 0, 2, 1, 3156.22, -3007.15, 270.466, 3.10665, 0.0, 0.0, 0.999847, 0.0174693, 604800, 100, 1, '', 0),
(5330441, 181287, 533, 0, 0, 2, 1, 3243.76, -3008.71, 298.083, 3.14159, 0.0, 0.0, -1.0, 0.0, 604800, 100, 1, '', 0),
(5330440, 181287, 533, 0, 0, 2, 1, 3243.76, -2963.55, 297.977, 3.14159, 0.0, 0.0, -1.0, 0.0, 604800, 100, 1, '', 0),
(5330432, 181287, 533, 0, 0, 2, 1, 3416.93, -2924.5, 313.646, 5.53269, 0.0, 0.0, -0.366501, 0.930418, 604800, 100, 1, '', 0),
(5330431, 181287, 533, 0, 0, 2, 1, 3516.1, -3022.03, 313.752, 2.37364, 0.0, 0.0, 0.927183, 0.374608, 604800, 100, 1, '', 0),
(5330430, 181287, 533, 0, 0, 2, 1, 3440.38, -2901.05, 313.888, 5.51524, 0.0, 0.0, -0.374606, 0.927184, 604800, 100, 1, '', 0),
(5330429, 181287, 533, 0, 0, 2, 1, 3343.97, -3141.59, 300.261, 2.77507, 0.0, 0.0, 0.983254, 0.182238, 604800, 100, 1, '', 0),
(5330428, 181287, 533, 0, 0, 2, 1, 3337.19, -3201.46, 299.871, 3.15906, 0.0, 0.0, -0.999962, 0.00873464, 604800, 100, 1, '', 0),
(5330427, 181287, 533, 0, 0, 2, 1, 3260.09, -3200.51, 301.307, 0.837757, 0.0, 0.0, 0.406736, 0.913546, 604800, 100, 1, '', 0),
(5330426, 181287, 533, 0, 0, 2, 1, 3310.23, -3209.14, 299.966, 1.53589, 0.0, 0.0, 0.694658, 0.71934, 604800, 100, 1, '', 0),
(5330425, 181287, 533, 0, 0, 2, 1, 3294.19, -3098.07, 300.411, 5.11382, 0.0, 0.0, -0.551936, 0.833886, 604800, 100, 1, '', 0),
(5330424, 181287, 533, 0, 0, 2, 1, 3231.03, -3145.4, 300.419, 6.26573, 0.0, 0.0, -0.00872612, 0.999962, 604800, 100, 1, '', 0),
(5330423, 181287, 533, 0, 0, 2, 1, 3239.83, -3102.96, 299.532, 4.76475, 0.0, 0.0, -0.688354, 0.725374, 604800, 100, 1, '', 0),
(5330422, 181287, 533, 0, 0, 2, 1, 3325.56, -3091.36, 299.644, 3.94445, 0.0, 0.0, -0.920505, 0.390732, 604800, 100, 1, '', 0),
(5330421, 181287, 533, 0, 0, 2, 1, 3235.43, -3175.96, 300.545, 0.785397, 0.0, 0.0, 0.382683, 0.92388, 604800, 100, 1, '', 0),
(5330420, 181287, 533, 0, 0, 2, 1, 3349.23, -3115.05, 299.882, 3.94445, 0.0, 0.0, -0.920505, 0.390732, 604800, 100, 1, '', 0),
(5330416, 181287, 533, 0, 0, 2, 1, 3262.19, -3365.04, 296.434, 1.65806, 0.0, 0.0, 0.737277, 0.675591, 604800, 100, 1, '', 0),
(5330415, 181287, 533, 0, 0, 2, 1, 3217.54, -3256.48, 296.251, 4.66003, 0.0, 0.0, -0.725374, 0.688355, 604800, 100, 1, '', 0),
(5330414, 181287, 533, 0, 0, 2, 1, 3209.32, -3376.95, 295.183, 1.6057, 0.0, 0.0, 0.719339, 0.694659, 604800, 100, 1, '', 0),
(5330413, 181287, 533, 0, 0, 2, 1, 3291.95, -3365.12, 295.712, 1.43117, 0.0, 0.0, 0.656058, 0.75471, 604800, 100, 1, '', 0),
(5330412, 181287, 533, 0, 0, 2, 1, 3272.69, -3256.38, 296.297, 4.7473, 0.0, 0.0, -0.694658, 0.71934, 604800, 100, 1, '', 0),
(5330411, 181287, 533, 0, 0, 2, 1, 3354.0, -3311.42, 295.918, 3.17653, 0.0, 0.0, -0.999847, 0.0174693, 604800, 100, 1, '', 0),
(5330410, 181287, 533, 0, 0, 2, 1, 3238.44, -3256.44, 296.878, 4.72984, 0.0, 0.0, -0.700909, 0.713251, 604800, 100, 1, '', 0),
(5330404, 181287, 533, 0, 0, 2, 1, 3030.64, -3088.66, 295.943, 5.39307, 0.0, 0.0, -0.430511, 0.902586, 604800, 100, 1, '', 0),
(5330403, 181287, 533, 0, 0, 2, 1, 3070.69, -3060.77, 296.538, 5.13127, 0.0, 0.0, -0.544639, 0.838671, 604800, 100, 1, '', 0),
(5330402, 181287, 533, 0, 0, 2, 1, 3134.84, -3111.73, 296.046, 3.08918, 0.0, 0.0, 0.999657, 0.0262016, 604800, 100, 1, '', 0),
(5330401, 181287, 533, 0, 0, 2, 1, 3133.98, -3081.41, 295.788, 3.28124, 0.0, 0.0, -0.997563, 0.0697661, 604800, 100, 1, '', 0),
(5330400, 181287, 533, 0, 0, 2, 1, 3004.56, -3116.67, 295.862, 5.84685, 0.0, 0.0, -0.216439, 0.976296, 604800, 100, 1, '', 0),
(5330396, 181287, 533, 0, 0, 2, 1, 2534.07, -3673.03, 297.744, 1.5708, 0.0, 0.0, 0.707107, 0.707107, 604800, 100, 1, '', 0),
(5330395, 181287, 533, 0, 0, 2, 1, 2579.06, -3795.72, 297.584, 2.33874, 0.0, 0.0, 0.920505, 0.390732, 604800, 100, 1, '', 0),
(5330394, 181287, 533, 0, 0, 2, 1, 2577.11, -3596.2, 270.465, 4.72984, 0.0, 0.0, -0.700909, 0.713251, 604800, 100, 1, '', 0),
(5330393, 181287, 533, 0, 0, 2, 1, 2611.22, -3763.56, 297.585, 2.33874, 0.0, 0.0, 0.920505, 0.390732, 604800, 100, 1, '', 0),
(5330392, 181287, 533, 0, 0, 2, 1, 2535.51, -3683.78, 297.495, 4.67748, 0.0, 0.0, -0.719339, 0.694659, 604800, 100, 1, '', 0),
(5330391, 181287, 533, 0, 0, 2, 1, 2578.57, -3585.44, 270.532, 1.53589, 0.0, 0.0, 0.694658, 0.71934, 604800, 100, 1, '', 0),
(5330390, 181287, 533, 0, 0, 2, 1, 2579.41, -3683.78, 297.596, 4.69494, 0.0, 0.0, -0.71325, 0.70091, 604800, 100, 1, '', 0),
(5330385, 181287, 533, 0, 0, 2, 1, 2766.28, -3905.53, 297.383, 0.0, 0.0, 0.0, 0.0, 1.0, 604800, 100, 1, '', 0),
(5330384, 181287, 533, 0, 0, 2, 1, 2645.26, -3858.63, 296.864, 5.46288, 0.0, 0.0, -0.398748, 0.91706, 604800, 100, 1, '', 0),
(5330383, 181287, 533, 0, 0, 2, 1, 2755.53, -3860.9, 298.147, 3.12412, 0.0, 0.0, 0.999962, 0.00873464, 604800, 100, 1, '', 0),
(5330382, 181287, 533, 0, 0, 2, 1, 2637.66, -3851.02, 297.7, 2.40855, 0.0, 0.0, 0.93358, 0.358368, 604800, 100, 1, '', 0),
(5330381, 181287, 533, 0, 0, 2, 1, 2675.73, -3828.16, 297.674, 5.49779, 0.0, 0.0, -0.382683, 0.92388, 604800, 100, 1, '', 0),
(5330380, 181287, 533, 0, 0, 2, 1, 2668.62, -3820.06, 297.702, 2.37364, 0.0, 0.0, 0.927183, 0.374608, 604800, 100, 1, '', 0),
(5330376, 181287, 533, 0, 0, 2, 1, 2888.6, -3957.09, 275.524, 5.34071, 0.0, 0.0, -0.45399, 0.891007, 604800, 100, 1, '', 0),
(5330375, 181287, 533, 0, 0, 2, 1, 2925.2, -4041.45, 275.654, 1.90241, 0.0, 0.0, 0.814116, 0.580703, 604800, 100, 1, '', 0),
(5330374, 181287, 533, 0, 0, 2, 1, 2861.64, -3984.12, 275.077, 6.02139, 0.0, 0.0, -0.130526, 0.991445, 604800, 100, 1, '', 0),
(5330373, 181287, 533, 0, 0, 2, 1, 2869.52, -4020.8, 275.707, 0.541051, 0.0, 0.0, 0.267238, 0.963631, 604800, 100, 1, '', 0),
(5330372, 181287, 533, 0, 0, 2, 1, 2925.51, -3949.61, 275.517, 4.38078, 0.0, 0.0, -0.814116, 0.580703, 604800, 100, 1, '', 0),
(5330371, 181287, 533, 0, 0, 2, 1, 2952.02, -3977.35, 274.988, 3.927, 0.0, 0.0, -0.923879, 0.382686, 604800, 100, 1, '', 0),
(5330370, 181287, 533, 0, 0, 2, 1, 2893.35, -4041.45, 274.809, 1.22173, 0.0, 0.0, 0.573576, 0.819152, 604800, 100, 1, '', 0),
(5330367, 181287, 533, 0, 0, 2, 1, 2727.85, -3679.01, 275.309, 6.23083, 0.0, 0.0, -0.0261765, 0.999657, 604800, 100, 1, '', 0),
(5330366, 181287, 533, 0, 0, 2, 1, 2734.94, -3660.31, 275.164, 5.48033, 0.0, 0.0, -0.390731, 0.920505, 604800, 100, 1, '', 0),
(5330365, 181287, 533, 0, 0, 2, 1, 2793.47, -3645.76, 274.88, 3.99681, 0.0, 0.0, -0.909961, 0.414694, 604800, 100, 1, '', 0),
(5330364, 181287, 533, 0, 0, 2, 1, 2812.14, -3664.16, 274.684, 3.97935, 0.0, 0.0, -0.913545, 0.406738, 604800, 100, 1, '', 0),
(5330363, 181287, 533, 0, 0, 2, 1, 2751.81, -3727.05, 274.773, 0.802851, 0.0, 0.0, 0.390731, 0.920505, 604800, 100, 1, '', 0),
(5330362, 181287, 533, 0, 0, 2, 1, 2790.21, -3727.97, 274.925, 2.44346, 0.0, 0.0, 0.939692, 0.34202, 604800, 100, 1, '', 0),
(5330361, 181287, 533, 0, 0, 2, 1, 2813.58, -3703.97, 275.578, 2.49582, 0.0, 0.0, 0.948323, 0.317306, 604800, 100, 1, '', 0),
(5330360, 181287, 533, 0, 0, 2, 1, 2754.61, -3641.24, 274.503, 4.72984, 0.0, 0.0, -0.700909, 0.713251, 604800, 100, 1, '', 0),
(5330355, 181287, 533, 0, 0, 2, 1, 2653.39, -3551.61, 263.881, 1.64061, 0.0, 0.0, 0.731353, 0.681999, 604800, 100, 1, '', 0),
(5330354, 181287, 533, 0, 0, 2, 1, 2639.67, -3494.81, 263.271, 0.087266, 0.0, 0.0, 0.0436192, 0.999048, 604800, 100, 1, '', 0),
(5330353, 181287, 533, 0, 0, 2, 1, 2693.59, -3455.14, 263.699, 4.69494, 0.0, 0.0, -0.71325, 0.70091, 604800, 100, 1, '', 0),
(5330352, 181287, 533, 0, 0, 2, 1, 2639.68, -3510.72, 263.052, 0.0, 0.0, 0.0, 0.0, 1.0, 604800, 100, 1, '', 0),
(5330351, 181287, 533, 0, 0, 2, 1, 2722.43, -3455.17, 263.251, 4.72984, 0.0, 0.0, -0.700909, 0.713251, 604800, 100, 1, '', 0),
(5330350, 181287, 533, 0, 0, 2, 1, 2712.87, -3551.62, 263.063, 1.55334, 0.0, 0.0, 0.700909, 0.713251, 604800, 100, 1, '', 0),
(5330346, 181287, 533, 0, 0, 2, 1, 3341.95, -3820.65, 297.335, 0.837757, 0.0, 0.0, 0.406736, 0.913546, 604800, 100, 1, '', 0),
(5330345, 181287, 533, 0, 0, 2, 1, 3166.87, -3904.34, 271.091, 0.0, 0.0, 0.0, 0.0, 1.0, 604800, 100, 1, '', 0),
(5330453, 181287, 533, 0, 0, 2, 1, 3429.71, -3074.22, 297.616, 5.55015, 0.0, 0.0, -0.358368, 0.93358, 604800, 100, 1, '', 0),
(5330452, 181287, 533, 0, 0, 2, 1, 3431.5, -3272.49, 270.195, 1.5708, 0.0, 0.0, 0.707107, 0.707107, 604800, 100, 1, '', 0),
(5330451, 181287, 533, 0, 0, 2, 1, 3431.17, -3184.86, 297.859, 1.55334, 0.0, 0.0, 0.700909, 0.713251, 604800, 100, 1, '', 0),
(5330344, 181287, 533, 0, 0, 2, 1, 3156.12, -3903.78, 270.958, 3.14159, 0.0, 0.0, -1.0, 0.0, 604800, 100, 1, '', 0),
(5330343, 181287, 533, 0, 0, 2, 1, 3156.12, -3860.38, 270.901, 3.17653, 0.0, 0.0, -0.999847, 0.0174693, 604800, 100, 1, '', 0),
(5330342, 181287, 533, 0, 0, 2, 1, 3166.87, -3860.77, 271.062, 0.0, 0.0, 0.0, 0.0, 1.0, 604800, 100, 1, '', 0),
(5330341, 181287, 533, 0, 0, 2, 1, 3254.46, -3860.0, 297.65, 0.0, 0.0, 0.0, 0.0, 1.0, 604800, 100, 1, '', 0),
(5330340, 181287, 533, 0, 0, 2, 1, 3243.7, -3906.62, 297.851, 3.15906, 0.0, 0.0, -0.999962, 0.00873464, 604800, 100, 1, '', 0),
(5330336, 181287, 533, 0, 0, 2, 1, 3477.5, -3596.25, 271.347, 4.76475, 0.0, 0.0, -0.688354, 0.725374, 604800, 100, 1, '', 0),
(5330335, 181287, 533, 0, 0, 2, 1, 3430.95, -3596.25, 270.809, 4.76475, 0.0, 0.0, -0.688354, 0.725374, 604800, 100, 1, '', 0),
(5330334, 181287, 533, 0, 0, 2, 1, 3429.4, -3794.21, 298.379, 0.785397, 0.0, 0.0, 0.382683, 0.92388, 604800, 100, 1, '', 0),
(5330333, 181287, 533, 0, 0, 2, 1, 3475.25, -3673.08, 297.206, 1.55334, 0.0, 0.0, 0.700909, 0.713251, 604800, 100, 1, '', 0),
(5330332, 181287, 533, 0, 0, 2, 1, 3475.76, -3585.5, 270.247, 1.53589, 0.0, 0.0, 0.694658, 0.71934, 604800, 100, 1, '', 0),
(5330331, 181287, 533, 0, 0, 2, 1, 3475.87, -3683.84, 298.079, 4.72984, 0.0, 0.0, -0.700909, 0.713251, 604800, 100, 1, '', 0),
(5330330, 181287, 533, 0, 0, 2, 1, 3432.27, -3683.84, 298.252, 4.72984, 0.0, 0.0, -0.700909, 0.713251, 604800, 100, 1, '', 0),
(5330326, 181287, 533, 0, 0, 2, 1, 3540.13, -3939.25, 311.449, 2.16421, 0.0, 0.0, 0.882947, 0.469473, 604800, 100, 1, '', 0),
(5330325, 181287, 533, 0, 0, 2, 1, 3468.27, -3842.58, 309.842, 5.39307, 0.0, 0.0, -0.430511, 0.902586, 604800, 100, 1, '', 0),
(5330324, 181287, 533, 0, 0, 2, 1, 3555.52, -3863.91, 298.811, 3.59538, 0.0, 0.0, -0.97437, 0.224951, 604800, 100, 1, '', 0),
(5330323, 181287, 533, 0, 0, 2, 1, 3523.83, -3836.26, 303.563, 4.36332, 0.0, 0.0, -0.819152, 0.573577, 604800, 100, 1, '', 0),
(5330322, 181287, 533, 0, 0, 2, 1, 3468.85, -3942.8, 308.034, 0.977383, 0.0, 0.0, 0.469471, 0.882948, 604800, 100, 1, '', 0),
(5330321, 181287, 533, 0, 0, 2, 1, 3442.84, -3903.16, 309.609, 0.226892, 0.0, 0.0, 0.113203, 0.993572, 604800, 100, 1, '', 0),
(5330320, 181287, 533, 0, 0, 2, 1, 3558.18, -3914.61, 304.42, 2.68781, 0.0, 0.0, 0.97437, 0.224951, 604800, 100, 1, '', 0),
(5330316, 181287, 533, 0, 0, 2, 1, 3311.65, -3673.9, 262.284, 6.0912, 0.0, 0.0, -0.0958452, 0.995396, 604800, 100, 1, '', 0),
(5330315, 181287, 533, 0, 0, 2, 1, 3345.64, -3711.01, 262.596, 1.5708, 0.0, 0.0, 0.707107, 0.707107, 604800, 100, 1, '', 0),
(5330314, 181287, 533, 0, 0, 2, 1, 3396.45, -3679.86, 261.582, 3.3685, 0.0, 0.0, -0.993571, 0.113208, 604800, 100, 1, '', 0),
(5330313, 181287, 533, 0, 0, 2, 1, 3383.49, -3631.96, 260.801, 3.4383, 0.0, 0.0, -0.989016, 0.147811, 604800, 100, 1, '', 0),
(5330312, 181287, 533, 0, 0, 2, 1, 3383.0, -3710.67, 261.945, 1.69297, 0.0, 0.0, 0.748956, 0.66262, 604800, 100, 1, '', 0),
(5330311, 181287, 533, 0, 0, 2, 1, 3333.51, -3599.68, 262.448, 5.3058, 0.0, 0.0, -0.469471, 0.882948, 604800, 100, 1, '', 0),
(5330310, 181287, 533, 0, 0, 2, 1, 3322.82, -3632.23, 260.805, 6.12611, 0.0, 0.0, -0.0784588, 0.996917, 604800, 100, 1, '', 0),
(5330307, 181287, 533, 0, 0, 2, 1, 3276.74, -3421.71, 288.405, 4.57276, 0.0, 0.0, -0.754709, 0.656059, 604800, 100, 1, '', 0),
(5330306, 181287, 533, 0, 0, 2, 1, 3275.86, -3530.56, 288.421, 1.88495, 0.0, 0.0, 0.809016, 0.587786, 604800, 100, 1, '', 0),
(5330305, 181287, 533, 0, 0, 2, 1, 3236.94, -3516.27, 288.1, 1.02974, 0.0, 0.0, 0.492423, 0.870356, 604800, 100, 1, '', 0),
(5330304, 181287, 533, 0, 0, 2, 1, 3333.69, -3462.84, 288.247, 4.67748, 0.0, 0.0, -0.719339, 0.694659, 604800, 100, 1, '', 0),
(5330303, 181287, 533, 0, 0, 2, 1, 3311.35, -3516.08, 288.574, 1.90241, 0.0, 0.0, 0.814116, 0.580703, 604800, 100, 1, '', 0),
(5330302, 181287, 533, 0, 0, 2, 1, 3233.28, -3512.47, 288.327, 0.610863, 0.0, 0.0, 0.300705, 0.953717, 604800, 100, 1, '', 0),
(5330301, 181287, 533, 0, 0, 2, 1, 3237.8, -3435.47, 288.58, 5.42797, 0.0, 0.0, -0.414693, 0.909961, 604800, 100, 1, '', 0),
(5330300, 181287, 533, 0, 0, 2, 1, 3233.85, -3439.01, 288.469, 5.70723, 0.0, 0.0, -0.284015, 0.95882, 604800, 100, 1, '', 0),
(5330454, 181287, 533, 0, 0, 2, 1, 3398.94, -3104.99, 297.927, 5.53269, 0.0, 0.0, -0.366501, 0.930418, 604800, 100, 1, '', 0),
(5330455, 181287, 533, 0, 0, 2, 1, 3476.48, -3283.2, 270.716, 4.76475, 0.0, 0.0, -0.688354, 0.725374, 604800, 100, 1, '', 0),
(5330456, 181287, 533, 0, 0, 2, 1, 3475.9, -3184.91, 297.691, 1.5708, 0.0, 0.0, 0.707107, 0.707107, 604800, 100, 1, '', 0),
(5330457, 181287, 533, 0, 0, 2, 1, 3363.88, -3011.0, 298.441, 2.33874, 0.0, 0.0, 0.920505, 0.390732, 604800, 100, 1, '', 0),
(5330460, 181287, 533, 0, 0, 2, 1, 2800.19, -3084.99, 270.163, 3.14159, 0.0, 0.0, -1.0, 0.0, 604800, 100, 1, '', 0),
(5330461, 181287, 533, 0, 0, 2, 1, 2800.21, -3113.43, 270.135, 3.26377, 0.0, 0.0, -0.998135, 0.0610518, 604800, 100, 1, '', 0),
(5330462, 181287, 533, 0, 0, 2, 1, 2784.2, -3067.59, 270.159, 4.27606, 0.0, 0.0, -0.843391, 0.5373, 604800, 100, 1, '', 0),
(5330463, 181287, 533, 0, 0, 2, 1, 2756.09, -3067.31, 270.317, 5.11382, 0.0, 0.0, -0.551936, 0.833886, 604800, 100, 1, '', 0),
(5330464, 181287, 533, 0, 0, 2, 1, 2744.3, -3122.74, 270.313, 0.750491, 0.0, 0.0, 0.366501, 0.930418, 604800, 100, 1, '', 0),
(5330465, 181287, 533, 0, 0, 2, 1, 2784.01, -3131.33, 270.06, 1.98967, 0.0, 0.0, 0.83867, 0.54464, 604800, 100, 1, '', 0),
(5330470, 181287, 533, 0, 0, 2, 1, 2634.05, -3386.86, 270.203, 6.21337, 0.0, 0.0, -0.0348988, 0.999391, 604800, 100, 1, '', 0),
(5330471, 181287, 533, 0, 0, 2, 1, 2749.94, -3367.39, 269.874, 3.14159, 0.0, 0.0, -1.0, 0.0, 604800, 100, 1, '', 0),
(5330472, 181287, 533, 0, 0, 2, 1, 2652.49, -3433.82, 270.61, 1.39626, 0.0, 0.0, 0.642787, 0.766045, 604800, 100, 1, '', 0),
(5330473, 181287, 533, 0, 0, 2, 1, 2732.03, -3433.68, 270.316, 1.78023, 0.0, 0.0, 0.777145, 0.629321, 604800, 100, 1, '', 0),
(5330474, 181287, 533, 0, 0, 2, 1, 2634.06, -3366.51, 270.017, 0.0, 0.0, 0.0, 0.0, 1.0, 604800, 100, 1, '', 0),
(5330475, 181287, 533, 0, 0, 2, 1, 2702.76, -3434.9, 270.325, 1.6057, 0.0, 0.0, 0.719339, 0.694659, 604800, 100, 1, '', 0),
(5330476, 181287, 533, 0, 0, 2, 1, 2749.92, -3409.18, 269.94, 3.10665, 0.0, 0.0, 0.999847, 0.0174693, 604800, 100, 1, '', 0),
(5330477, 181287, 533, 0, 0, 2, 1, 2679.82, -3434.91, 270.059, 1.5708, 0.0, 0.0, 0.707107, 0.707107, 604800, 100, 1, '', 0),
(5330480, 181287, 533, 0, 0, 2, 1, 2465.86, -2911.24, 244.093, 5.63741, 0.0, 0.0, -0.317305, 0.948324, 604800, 100, 1, '', 0),
(5330481, 181287, 533, 0, 0, 2, 1, 2502.24, -3028.31, 243.712, 0.785397, 0.0, 0.0, 0.382683, 0.92388, 604800, 100, 1, '', 0),
(5330482, 181287, 533, 0, 0, 2, 1, 2496.91, -2881.18, 243.587, 5.37562, 0.0, 0.0, -0.438371, 0.898794, 604800, 100, 1, '', 0),
(5330483, 181287, 533, 0, 0, 2, 1, 2621.74, -2954.45, 243.049, 3.9619, 0.0, 0.0, -0.91706, 0.39875, 604800, 100, 1, '', 0),
(5330484, 181287, 533, 0, 0, 2, 1, 2453.56, -2977.35, 244.228, 0.785397, 0.0, 0.0, 0.382683, 0.92388, 604800, 100, 1, '', 0),
(5330485, 181287, 533, 0, 0, 2, 1, 2548.51, -2883.65, 244.188, 3.927, 0.0, 0.0, -0.923879, 0.382686, 604800, 100, 1, '', 0),
(5330486, 181287, 533, 0, 0, 2, 1, 2602.19, -2935.06, 243.96, 3.927, 0.0, 0.0, -0.923879, 0.382686, 604800, 100, 1, '', 0),
(5330487, 181287, 533, 0, 0, 2, 1, 2451.68, -2926.42, 243.533, 5.67232, 0.0, 0.0, -0.300705, 0.953717, 604800, 100, 1, '', 0),
(5330490, 181287, 533, 0, 0, 2, 1, 2533.32, -3184.85, 243.705, 1.64061, 0.0, 0.0, 0.731353, 0.681999, 604800, 100, 1, '', 0),
(5330491, 181287, 533, 0, 0, 2, 1, 2534.0, -3272.43, 270.528, 1.5708, 0.0, 0.0, 0.707107, 0.707107, 604800, 100, 1, '', 0),
(5330492, 181287, 533, 0, 0, 2, 1, 2620.65, -3099.32, 243.887, 0.785397, 0.0, 0.0, 0.382683, 0.92388, 604800, 100, 1, '', 0),
(5330493, 181287, 533, 0, 0, 2, 1, 2578.55, -3272.43, 271.059, 1.5708, 0.0, 0.0, 0.707107, 0.707107, 604800, 100, 1, '', 0),
(5330494, 181287, 533, 0, 0, 2, 1, 2612.69, -3106.58, 243.4, 3.97935, 0.0, 0.0, -0.913545, 0.406738, 604800, 100, 1, '', 0),
(5330495, 181287, 533, 0, 0, 2, 1, 2579.2, -3195.61, 243.923, 4.76475, 0.0, 0.0, -0.688354, 0.725374, 604800, 100, 1, '', 0),
(5330496, 181287, 533, 0, 0, 2, 1, 2534.56, -3283.19, 270.664, 4.7473, 0.0, 0.0, -0.694658, 0.71934, 604800, 100, 1, '', 0),
(5330500, 181287, 533, 0, 0, 2, 1, 2853.92, -3008.43, 271.274, 6.26573, 0.0, 0.0, -0.00872612, 0.999962, 604800, 100, 1, '', 0),
(5330501, 181287, 533, 0, 0, 2, 1, 2755.58, -2962.93, 243.544, 3.194, 0.0, 0.0, -0.999657, 0.0262016, 604800, 100, 1, '', 0),
(5330502, 181287, 533, 0, 0, 2, 1, 2843.17, -3006.81, 270.595, 3.14159, 0.0, 0.0, -1.0, 0.0, 604800, 100, 1, '', 0),
(5330503, 181287, 533, 0, 0, 2, 1, 2755.58, -3006.16, 244.187, 3.14159, 0.0, 0.0, -1.0, 0.0, 604800, 100, 1, '', 0),
(5330504, 181287, 533, 0, 0, 2, 1, 2843.17, -2963.52, 270.986, 3.14159, 0.0, 0.0, -1.0, 0.0, 604800, 100, 1, '', 0),
(5330505, 181287, 533, 0, 0, 2, 1, 2678.04, -3042.79, 244.451, 0.890117, 0.0, 0.0, 0.430511, 0.902586, 604800, 100, 1, '', 0),
(5330506, 181287, 533, 0, 0, 2, 1, 2853.92, -2964.26, 271.17, 0.0698117, 0.0, 0.0, 0.0348988, 0.999391, 604800, 100, 1, '', 0),
(5330507, 181287, 533, 0, 0, 2, 1, 2766.34, -3007.52, 243.285, 0.104719, 0.0, 0.0, 0.0523357, 0.99863, 604800, 100, 1, '', 0),
(5330508, 181287, 533, 0, 0, 2, 1, 2635.7, -3015.73, 243.351, 3.90954, 0.0, 0.0, -0.927183, 0.374608, 604800, 100, 1, '', 0);
DELETE FROM `pool_template` WHERE `entry` IN
(47851, 47850, 47852, 47853, 47854, 47855, 47856, 47857, 47858, 47859, 47860,
47861, 47862, 47863, 47864, 47865, 47866, 47867, 47868, 47869, 47870);
INSERT INTO `pool_template`
(`entry`, `max_limit`, `description`)
VALUES
(47851, 1, 'Naxxramas - Frozen Rune - Grand Widow Faerlina (181287)'),
(47850, 1, 'Naxxramas - Frozen Rune - Anub''Rekhan (181287)'),
(47852, 1, 'Naxxramas - Frozen Rune - Maexxna (181287)'),
(47853, 1, 'Naxxramas - Frozen Rune - Spider Wing, left (181287)'),
(47854, 1, 'Naxxramas - Frozen Rune - Spider Wing, right (181287)'),
(47855, 1, 'Naxxramas - Frozen Rune - Noth the Plaguebringer (181287)'),
(47856, 1, 'Naxxramas - Frozen Rune - Heigan (181287)'),
(47857, 1, 'Naxxramas - Frozen Rune - Loatheb (181287)'),
(47858, 1, 'Naxxramas - Frozen Rune - Plague Wing, left (181287)'),
(47859, 1, 'Naxxramas - Frozen Rune - Plague Wing, right (181287)'),
(47860, 1, 'Naxxramas - Frozen Rune - Patchwerk (181287)'),
(47861, 1, 'Naxxramas - Frozen Rune - Grobbulus (181287)'),
(47862, 1, 'Naxxramas - Frozen Rune - Gluth (181287)'),
(47863, 1, 'Naxxramas - Frozen Rune - Thaddius (181287)'),
(47864, 1, 'Naxxramas - Frozen Rune - Abom Wing, left (181287)'),
(47865, 1, 'Naxxramas - Frozen Rune - Abom Wing, right (181287)'),
(47866, 1, 'Naxxramas - Frozen Rune - Instructor Razuvious (181287)'),
(47867, 1, 'Naxxramas - Frozen Rune - Gothik (181287)'),
(47868, 1, 'Naxxramas - Frozen Rune - Four Horsemen (181287)'),
(47869, 1, 'Naxxramas - Frozen Rune - Deathknight Wing, left (181287)'),
(47870, 1, 'Naxxramas - Frozen Rune - Deathknight Wing, right (181287)');
UPDATE `gameobject` SET `spawnMask` = 4 WHERE `id` IN (181287);

View File

@@ -0,0 +1,63 @@
-- Handle gossip with cpp script
UPDATE `creature_template` SET `ScriptName`='npc_omarion_gossip',`gossip_menu_id`=0 WHERE `entry` = 16365;
SET @ID:= 24400;
-- Set correct text when gossip tailor/leatherwork/blacksmith option
DELETE FROM `npc_text` WHERE `ID` in (@ID+1, @ID+2, @ID+3);
INSERT INTO `npc_text`
(`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`, `Probability0`, `em0_0`, `em0_1`, `em0_2`, `em0_3`, `em0_4`, `em0_5`, `text1_0`, `text1_1`, `BroadcastTextID1`, `lang1`, `Probability1`, `em1_0`, `em1_1`, `em1_2`, `em1_3`, `em1_4`, `em1_5`, `text2_0`, `text2_1`, `BroadcastTextID2`, `lang2`, `Probability2`, `em2_0`, `em2_1`, `em2_2`, `em2_3`, `em2_4`, `em2_5`, `text3_0`, `text3_1`, `BroadcastTextID3`, `lang3`, `Probability3`, `em3_0`, `em3_1`, `em3_2`, `em3_3`, `em3_4`, `em3_5`, `text4_0`, `text4_1`, `BroadcastTextID4`, `lang4`, `Probability4`, `em4_0`, `em4_1`, `em4_2`, `em4_3`, `em4_4`, `em4_5`, `text5_0`, `text5_1`, `BroadcastTextID5`, `lang5`, `Probability5`, `em5_0`, `em5_1`, `em5_2`, `em5_3`, `em5_4`, `em5_5`, `text6_0`, `text6_1`, `BroadcastTextID6`, `lang6`, `Probability6`, `em6_0`, `em6_1`, `em6_2`, `em6_3`, `em6_4`, `em6_5`, `text7_0`, `text7_1`, `BroadcastTextID7`, `lang7`, `Probability7`, `em7_0`, `em7_1`, `em7_2`, `em7_3`, `em7_4`, `em7_5`, `VerifiedBuild`)
VALUES
(@ID+1, 'A tailor, eh? Very well. What would you like to learn about, tailor?', '', 12252, 0, 1.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, 0),
(@ID+2, 'I have what you need, $c.', '', 12265, 0, 1.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, 0),
(@ID+3, 'Perhaps I can teach you something...', '', 12258, 0, 1.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0.0, 0, 0, 0, 0, 0, 0, 0);
DELETE FROM `gossip_menu` WHERE `MenuID` IN (@ID+1, @ID+2, @ID+3);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`)
VALUES
(@ID+1, @ID+1),
(@ID+2, @ID+2),
(@ID+3, @ID+3);
-- Set Emotes: Laugh = 11, Talk = 1, Question = 6
-- Menu intro
UPDATE `npc_text` SET `Probability0`=1, `em0_0`=0, `em0_1`=11, `em0_2`=0, `em0_3`=1, `em0_4`=0, `em0_5`=0 WHERE `ID`=8507;
UPDATE `broadcast_text` SET `EmoteID1`=11, `EmoteID2`=1, `EmoteID3`=0 WHERE `ID`=12247;
-- Non-crafter / book
UPDATE `npc_text` SET `Probability0`=1, `em0_0`=0, `em0_1`=1, `em0_2`=0, `em0_3`=0, `em0_4`=0, `em0_5`=0 WHERE `ID`=8516;
UPDATE `broadcast_text` SET `EmoteID1`=1, `EmoteID2`=0, `EmoteID3`=0 WHERE `ID`=12280;
-- Tailoring
UPDATE `npc_text` SET `Probability0`=1, `em0_0`=0, `em0_1`=6, `em0_2`=0, `em0_3`=1, `em0_4`=0, `em0_5`=0 WHERE `ID`=24401;
UPDATE `broadcast_text` SET `EmoteID1`=6, `EmoteID2`=1, `EmoteID3`=0 WHERE `ID` = 12252;
-- Blacksmithing
UPDATE `npc_text` SET `Probability0`=1, `em0_0`=0, `em0_1`=1, `em0_2`=0, `em0_3`=0, `em0_4`=0, `em0_5`=0 WHERE `ID`=24402;
UPDATE `broadcast_text` SET `EmoteID1`=1, `EmoteID2`=0, `EmoteID3`=0 WHERE `ID` = 12265;
-- Leatherworking
UPDATE `npc_text` SET `Probability0`=1, `em0_0`=0, `em0_1`=1, `em0_2`=0, `em0_3`=0, `em0_4`=0, `em0_5`=0 WHERE `ID`=24403;
UPDATE `broadcast_text` SET `EmoteID1`=1, `EmoteID2`=0, `EmoteID3`=0 WHERE `ID` = 12258;
-- Create menus
DELETE FROM `gossip_menu_option` WHERE `MenuID` IN
(@ID, @ID+1, @ID+2, @ID+3, @ID+4);
INSERT INTO `gossip_menu_option`
(`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`,
`OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`,
`BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`)
VALUES
(@ID, 1, 0, 'Thank you, Omarion. You have taken a fatal blow for the team on this day.', 12281, 1, 1, 0, 0, 0, 0, '', 0, 0),
(@ID+1, 1, 3, 'Glacial Cloak.', 12254, 1, 1, @ID+1, 0, 0, 0, '', 0, 0),
(@ID+1, 2, 3, 'Glacial Gloves.', 12255, 1, 1, @ID+1, 0, 0, 0, '', 0, 0),
(@ID+1, 3, 3, 'Glacial Wrists.', 12256, 1, 1, @ID+1, 0, 0, 0, '', 0, 0),
(@ID+1, 4, 3, 'Glacial Vest.', 12253, 1, 1, @ID+1, 0, 0, 0, '', 0, 0),
(@ID+1, 5, 0, 'I need to go. Evil stirs. Die well, Omarion.', 12270, 1, 1, 0, 0, 0, 0, '', 0, 0),
(@ID+2, 1, 3, 'Icebane Bracers.', 12268, 1, 1, @ID+2, 0, 0, 0, '', 0, 0),
(@ID+2, 2, 3, 'Icebane Gauntlets.', 12267, 1, 1, @ID+2, 0, 0, 0, '', 0, 0),
(@ID+2, 3, 3, 'Icebane Breastplate.', 12266, 1, 1, @ID+2, 0, 0, 0, '', 0, 0),
(@ID+2, 4, 0, 'I need to go. Evil stirs. Die well, Omarion.', 12270, 1, 1, 0, 0, 0, 0, '', 0, 0),
(@ID+3, 1, 3, 'Polar Bracers.', 12264, 1, 1, @ID+3, 0, 0, 0, '', 0, 0),
(@ID+3, 2, 3, 'Polar Gloves.', 12263, 1, 1, @ID+3, 0, 0, 0, '', 0, 0),
(@ID+3, 3, 3, 'Polar Tunic.', 12262, 1, 1, @ID+3, 0, 0, 0, '', 0, 0),
(@ID+3, 4, 3, 'Icy Scale Bracers.', 12261, 1, 1, @ID+3, 0, 0, 0, '', 0, 0),
(@ID+3, 5, 3, 'Icy Scale Gauntlets.', 12260, 1, 1, @ID+3, 0, 0, 0, '', 0, 0),
(@ID+3, 6, 3, 'Icy Scale Breastplate.', 12259, 1, 1, @ID+3, 0, 0, 0, '', 0, 0),
(@ID+3, 7, 0, 'I need to go. Evil stirs. Die well, Omarion.', 12270, 1, 1, 0, 0, 0, 0, '', 0, 0),
(@ID+4, 1, 0, 'I am a master leatherworker, Omarion.', 12257, 1, 1, @ID+3, 0, 0, 0, '', 0, 0),
(@ID+4, 2, 0, 'I am a master blacksmith, Omarion.', 12269, 1, 1, @ID+2, 0, 0, 0, '', 0, 0),
(@ID+4, 3, 0, 'I am a master tailor, Omarion.', 12251, 1, 1, @ID+1, 0, 0, 0, '', 0, 0),
(@ID+4, 4, 0, 'Omarion, I am not a craftsman. Can you still help me?', 12279, 1, 1, @ID, 0, 0, 0, '', 0, 0);

View File

@@ -214,3 +214,108 @@ update quest_template_addon set PrevQuestId = 9233 where ID in (
9244,
9245,
9246);
-- warrior
SET @NPC:= 16112;
SET @CLASS:= 1;
DELETE FROM `creature_queststarter` WHERE (`quest` IN (9034, 9036, 9037, 9038, 9039, 9040, 9041, 9042)) AND (`id` = @NPC);
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (@NPC, 9034), (@NPC, 9036), (@NPC, 9037), (@NPC, 9038), (@NPC, 9039), (@NPC, 9040), (@NPC, 9041), (@NPC, 9042);
DELETE FROM `creature_questender` WHERE (`quest` IN (9034, 9036, 9037, 9038, 9039, 9040, 9041, 9042)) AND (`id` = @NPC);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (@NPC, 9034), (@NPC, 9036), (@NPC, 9037), (@NPC, 9038), (@NPC, 9039), (@NPC, 9040), (@NPC, 9041), (@NPC, 9042);
UPDATE `quest_template_addon` SET `AllowableClasses` = @CLASS WHERE (`ID` IN (9034, 9036, 9037, 9038, 9039, 9040, 9041, 9042));
-- paladin
SET @NPC:= 16115;
SET @CLASS:= 2;
DELETE FROM `creature_queststarter` WHERE (`quest` IN (9043, 9044, 9045, 9046, 9047, 9048, 9049, 9050)) AND (`id` = @NPC);
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (@NPC, 9043), (@NPC, 9044), (@NPC, 9045), (@NPC, 9046), (@NPC, 9047), (@NPC, 9048), (@NPC, 9049), (@NPC, 9050);
DELETE FROM `creature_questender` WHERE (`quest` IN (9043, 9044, 9045, 9046, 9047, 9048, 9049, 9050)) AND (`id` = @NPC);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (@NPC, 9043), (@NPC, 9044), (@NPC, 9045), (@NPC, 9046), (@NPC, 9047), (@NPC, 9048), (@NPC, 9049), (@NPC, 9050);
UPDATE `quest_template_addon` SET `AllowableClasses` = @CLASS WHERE (`ID` IN (9043, 9044, 9045, 9046, 9047, 9048, 9049, 9050));
-- hunter
SET @NPC:= 16132;
SET @CLASS:= 4;
DELETE FROM `creature_queststarter` WHERE (`quest` IN (9054, 9055, 9056, 9057, 9058, 9059, 9060, 9061)) AND (`id` = @NPC);
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (@NPC, 9054), (@NPC, 9055), (@NPC, 9056), (@NPC, 9057), (@NPC, 9058), (@NPC, 9059), (@NPC, 9060), (@NPC, 9061);
DELETE FROM `creature_questender` WHERE (`quest` IN (9054, 9055, 9056, 9057, 9058, 9059, 9060, 9061)) AND (`id` = @NPC);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (@NPC, 9054), (@NPC, 9055), (@NPC, 9056), (@NPC, 9057), (@NPC, 9058), (@NPC, 9059), (@NPC, 9060), (@NPC, 9061);
UPDATE `quest_template_addon` SET `AllowableClasses` = @CLASS WHERE (`ID` IN (9054, 9055, 9056, 9057, 9058, 9059, 9060, 9061));
-- shaman
SET @NPC:= 16134;
SET @CLASS:= 64;
DELETE FROM `creature_queststarter` WHERE (`quest` IN (9068, 9069, 9070, 9071, 9072, 9073, 9074, 9075)) AND (`id` = @NPC);
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (@NPC, 9068), (@NPC, 9069), (@NPC, 9070), (@NPC, 9071), (@NPC, 9072), (@NPC, 9073), (@NPC, 9074), (@NPC, 9075);
DELETE FROM `creature_questender` WHERE (`quest` IN (9068, 9069, 9070, 9071, 9072, 9073, 9074, 9075)) AND (`id` = @NPC);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (@NPC, 9068), (@NPC, 9069), (@NPC, 9070), (@NPC, 9071), (@NPC, 9072), (@NPC, 9073), (@NPC, 9074), (@NPC, 9075);
UPDATE `quest_template_addon` SET `AllowableClasses` = @CLASS WHERE (`ID` IN (9068, 9069, 9070, 9071, 9072, 9073, 9074, 9075));
-- rogue
SET @NPC:= 16134;
SET @CLASS:= 8;
DELETE FROM `creature_queststarter` WHERE (`quest` IN (9077, 9078, 9079, 9080, 9081, 9082, 9083, 9084)) AND (`id` = @NPC);
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (@NPC, 9077), (@NPC, 9078), (@NPC, 9079), (@NPC, 9080), (@NPC, 9081), (@NPC, 9082), (@NPC, 9083), (@NPC, 9084);
DELETE FROM `creature_questender` WHERE (`quest` IN (9077, 9078, 9079, 9080, 9081, 9082, 9083, 9084)) AND (`id` = @NPC);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (@NPC, 9077), (@NPC, 9078), (@NPC, 9079), (@NPC, 9080), (@NPC, 9081), (@NPC, 9082), (@NPC, 9083), (@NPC, 9084);
UPDATE `quest_template_addon` SET `AllowableClasses` = @CLASS WHERE (`ID` IN (9077, 9078, 9079, 9080, 9081, 9082, 9083, 9084));
-- druid
SET @NPC:= 16135;
SET @CLASS:= 1024;
DELETE FROM `creature_queststarter` WHERE (`quest` IN (9086, 9087, 9088, 9089, 9090, 9091, 9092, 9093)) AND (`id` = @NPC);
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (@NPC, 9086), (@NPC, 9087), (@NPC, 9088), (@NPC, 9089), (@NPC, 9090), (@NPC, 9091), (@NPC, 9092), (@NPC, 9093);
DELETE FROM `creature_questender` WHERE (`quest` IN (9086, 9087, 9088, 9089, 9090, 9091, 9092, 9093)) AND (`id` = @NPC);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (@NPC, 9086), (@NPC, 9087), (@NPC, 9088), (@NPC, 9089), (@NPC, 9090), (@NPC, 9091), (@NPC, 9092), (@NPC, 9093);
UPDATE `quest_template_addon` SET `AllowableClasses` = @CLASS WHERE (`ID` IN (9086, 9087, 9088, 9089, 9090, 9091, 9092, 9093));
-- mage
SET @NPC:= 16116;
SET @CLASS:= 128;
DELETE FROM `creature_queststarter` WHERE (`quest` IN (9095, 9096, 9097, 9098, 9099, 9100, 9101, 9102)) AND (`id` = @NPC);
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (@NPC, 9095), (@NPC, 9096), (@NPC, 9097), (@NPC, 9098), (@NPC, 9099), (@NPC, 9100), (@NPC, 9101), (@NPC, 9102);
DELETE FROM `creature_questender` WHERE (`quest` IN (9095, 9096, 9097, 9098, 9099, 9100, 9101, 9102)) AND (`id` = @NPC);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (@NPC, 9095), (@NPC, 9096), (@NPC, 9097), (@NPC, 9098), (@NPC, 9099), (@NPC, 9100), (@NPC, 9101), (@NPC, 9102);
UPDATE `quest_template_addon` SET `AllowableClasses` = @CLASS WHERE (`ID` IN (9095, 9096, 9097, 9098, 9099, 9100, 9101, 9102));
-- warlock
SET @NPC:= 16133;
SET @CLASS:= 256;
DELETE FROM `creature_queststarter` WHERE (`quest` IN (9103, 9104, 9105, 9106, 9107, 9108, 9109, 9110)) AND (`id` = @NPC);
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (@NPC, 9103), (@NPC, 9104), (@NPC, 9105), (@NPC, 9106), (@NPC, 9107), (@NPC, 9108), (@NPC, 9109), (@NPC, 9110);
DELETE FROM `creature_questender` WHERE (`quest` IN (9103, 9104, 9105, 9106, 9107, 9108, 9109, 9110)) AND (`id` = @NPC);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (@NPC, 9103), (@NPC, 9104), (@NPC, 9105), (@NPC, 9106), (@NPC, 9107), (@NPC, 9108), (@NPC, 9109), (@NPC, 9110);
UPDATE `quest_template_addon` SET `AllowableClasses` = @CLASS WHERE (`ID` IN (9103, 9104, 9105, 9106, 9107, 9108, 9109, 9110));
-- priest
SET @NPC:= 16113;
SET @CLASS:= 16;
DELETE FROM `creature_queststarter` WHERE (`quest` IN (9111, 9112, 9113, 9114, 9115, 9116, 9117, 9118)) AND (`id` = @NPC);
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (@NPC, 9111), (@NPC, 9112), (@NPC, 9113), (@NPC, 9114), (@NPC, 9115), (@NPC, 9116), (@NPC, 9117), (@NPC, 9118);
DELETE FROM `creature_questender` WHERE (`quest` IN (9111, 9112, 9113, 9114, 9115, 9116, 9117, 9118)) AND (`id` = @NPC);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (@NPC, 9111), (@NPC, 9112), (@NPC, 9113), (@NPC, 9114), (@NPC, 9115), (@NPC, 9116), (@NPC, 9117), (@NPC, 9118);
UPDATE `quest_template_addon` SET `AllowableClasses` = @CLASS WHERE (`ID` IN (9111, 9112, 9113, 9114, 9115, 9116, 9117, 9118));
-- Add queststarter/ender
-- Phylactery Quest The Fall of Kel'Thuzad
DELETE FROM `creature_questender` WHERE (`quest` = 9120);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (16113, 9120);
-- The Fate of Ramaladni
-- Ramaladni's Icy Grasp
DELETE FROM `creature_queststarter` WHERE (`quest` IN (9229, 9230));
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (16112, 9229), (16112, 9230);
DELETE FROM `creature_questender` WHERE (`quest` IN (9229, 9230));
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (16112, 9229), (16112, 9230);
-- Omarion's Handbook
DELETE FROM `creature_questender` WHERE (`quest` = 9233);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (16376, 9233);
-- Frost Resistance quests from Craftsman Wilhelm
-- Echoes of War 9033; Omarion's Handbook quest: 9233
SET @NPC:= 16376;
UPDATE `quest_template_addon` SET `PrevQuestID` = 9033 WHERE `ID` = 9232;
UPDATE `quest_template_addon` SET `PrevQuestID` = 9233 WHERE (`ID` IN (9237, 9239, 9240, 9238, 9235, 9236, 9234, 9244, 9246, 9245, 9241, 9242, 9243));
DELETE FROM `creature_queststarter` WHERE (`quest` IN (9237, 9239, 9240, 9238, 9235, 9236, 9234, 9244, 9246, 9245, 9241, 9242, 9243, 9232));
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (@NPC, 9237), (@NPC, 9239), (@NPC, 9240), (@NPC, 9238), (@NPC, 9235), (@NPC, 9236), (@NPC, 9234), (@NPC, 9244), (@NPC, 9246), (@NPC, 9245), (@NPC, 9241), (@NPC, 9242), (@NPC, 9243), (@NPC, 9232);
DELETE FROM `creature_questender` WHERE (`quest` IN (9237, 9239, 9240, 9238, 9235, 9236, 9234, 9244, 9246, 9245, 9241, 9242, 9243, 9232));
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (@NPC, 9237), (@NPC, 9239), (@NPC, 9240), (@NPC, 9238), (@NPC, 9235), (@NPC, 9236), (@NPC, 9234), (@NPC, 9244), (@NPC, 9246), (@NPC, 9245), (@NPC, 9241), (@NPC, 9242), (@NPC, 9243), (@NPC, 9232);

View File

@@ -29,6 +29,7 @@ void AddSC_boss_patchwerk_40();
void AddSC_boss_razuvious_40();
void AddSC_boss_sapphiron_40();
void AddSC_boss_thaddius_40();
void AddSC_npc_omarion();
void Addmod_individual_progressionScripts()
@@ -59,5 +60,6 @@ void Addmod_individual_progressionScripts()
AddSC_boss_razuvious_40();
AddSC_boss_sapphiron_40();
AddSC_boss_thaddius_40();
AddSC_npc_omarion();
}

View File

@@ -1282,35 +1282,6 @@ public:
};
};
class npc_archmage_tarsis : public CreatureScript
{
private:
public:
npc_archmage_tarsis() : CreatureScript("npc_archmage_tarsis") {}
struct npc_archmage_tarsisAI: public ScriptedAI
{
npc_archmage_tarsisAI(Creature* creature) : ScriptedAI(creature)
{
me->SetStandState(UNIT_STAND_STATE_DEAD);
}
};
bool OnGossipHello(Player* player, Creature* creature) override
{
if (creature->getStandState() != UNIT_STAND_STATE_SIT)
creature->SetStandState(UNIT_STAND_STATE_SIT);
return false;
}
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_archmage_tarsisAI(creature);
}
};
class npc_naxx40_area_trigger : public CreatureScript
{
private:
@@ -1475,6 +1446,28 @@ public:
}
};
class NaxxEntryFlag_AllMapScript : public AllMapScript
{
public:
NaxxEntryFlag_AllMapScript()
: AllMapScript("NaxxEntryFlag_AllMapScript")
{
}
void OnPlayerEnterAll(Map* map, Player* player)
{
if (player->IsGameMaster())
return;
// Check if mapId equals to Naxxramas (mapId: 533)
if (map->GetId() != 533)
return;
// Cast on player Naxxramas Entry Flag Trigger DND - Classic (spellID: 29296)
player->CastSpell(player, 29296, true);
}
};
void AddSC_instance_naxxramas_combined()
{
new instance_naxxramas_combined();
@@ -1483,6 +1476,6 @@ void AddSC_instance_naxxramas_combined()
new naxx_exit_trigger();
new naxx_northrend_entrance();
new naxx_hub_portal();
new npc_archmage_tarsis();
new NaxxEntryFlag_AllMapScript();
// new boss_naxxramas_misc();
}

View File

@@ -240,7 +240,7 @@ enum NXMaps
enum NXGraveyards
{
NAXX40_GRAVEYARD = 1449
NAXX40_GRAVEYARD = 909
};
enum NXAttunementQuests

View File

@@ -0,0 +1,317 @@
#include "Player.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
enum CraftsSpellIds : uint32
{
// Tailoring
LEARN_GLACIAL_GLOVES = 28261,
HAS_GLACIAL_GLOVES = 28205,
LEARN_GLACIAL_WRISTS = 28262,
HAS_GLACIAL_WRISTS = 28209,
LEARN_GLACIAL_VEST = 28260,
HAS_GLACIAL_VEST = 28207,
LEARN_GLACIAL_CLOAK = 28263,
HAS_GLACIAL_CLOAK = 28208,
// Leatherworking
LEARN_POLAR_GLOVES = 28255,
HAS_POLAR_GLOVES = 28220,
LEARN_POLAR_BRACERS = 28256,
HAS_POLAR_BRACERS = 28221,
LEARN_POLAR_TUNIC = 28254,
HAS_POLAR_TUNIC = 28219,
LEARN_ICY_SCALE_GAUNTLETS = 28258,
HAS_ICY_SCALE_GAUNTLETS = 28223,
LEARN_ICY_SCALE_BRACERS = 28259,
HAS_ICY_SCALE_BRACERS = 28224,
LEARN_ICY_SCALE_BREASTPLATE = 28257,
HAS_ICY_SCALE_BREASTPLATE = 28222,
// Blacksmithing
LEARN_ICEBANE_GAUNTLETS = 28253,
HAS_ICEBANE_GAUNTLETS = 28243,
LEARN_ICEBANE_BRACERS = 28252,
HAS_ICEBANE_BRACERS = 28244,
LEARN_ICEBANE_BREASTPLATE = 28251,
HAS_ICEBANE_BREASTPLATE = 28242
};
enum Say
{
BROADCAST_TEXT_SPIT_TARGET = 31673
};
enum Requirements
{
FACTION_ARGENT_DAWN = 529,
BOOK_REQ_RANK = REP_REVERED,
CRAFT1_REQ_RANK = REP_REVERED,
CRAFT2_REQ_RANK = REP_EXALTED,
MASTER_REQ_SKILL = 225,
LEARN_REQ_SKILL = 300
};
enum Quests
{
QUEST_OMARIONS_HANDBOOK = 9233,
OMARIONS_HANDBOOK = 22719
};
enum Gossips
{
// NPC Text IDs
NPC_TEXT_INTRO = 8507,
NPC_TEXT_NO_CRAFTER = 8516,
NPC_TEXT_NEW_ENTRY = 24400,
NPC_TEXT_TAILORING = NPC_TEXT_NEW_ENTRY + 1,
NPC_TEXT_BLACKSMITHING = NPC_TEXT_NEW_ENTRY + 2,
NPC_TEXT_LEATHERWORKING = NPC_TEXT_NEW_ENTRY + 3,
// Menu IDs
MENU_ID_ENTRY = 24400,
MENU_ID_NO_CRAFTER = MENU_ID_ENTRY,
MENU_ID_TAILORING = MENU_ID_ENTRY + 1,
MENU_ID_BLACKSMITHING = MENU_ID_ENTRY + 2,
MENU_ID_LEATHERWORKING = MENU_ID_ENTRY + 3,
MENU_ID_INTRO = MENU_ID_ENTRY + 4,
// Intro
ITEM_ID_LEATHERWORKING = 1,
ITEM_ID_BLACKSMITHING = 2,
ITEM_ID_TAILORING = 3,
ITEM_ID_NO_CRAFTER = 4,
// Tailoring
ITEM_ID_GLACIAL_CLOAK = 1,
ITEM_ID_GLACIAL_GLOVES = 2,
ITEM_ID_GLACIAL_WRISTS = 3,
ITEM_ID_GLACIAL_VEST = 4,
ITEM_ID_GOODBYE_TAILORING = 5,
// Blacksmithing
ITEM_ID_ICEBANE_BRACERS = 1,
ITEM_ID_ICEBANE_GAUNTLETS = 2,
ITEM_ID_ICEBANE_BREASTPLATE = 3,
ITEM_ID_GOODBYE_BLACKSMITHING = 4,
// Leatherworking
ITEM_ID_POLAR_BRACERS = 1,
ITEM_ID_POLAR_GLOVES = 2,
ITEM_ID_POLAR_TUNIC = 3,
ITEM_ID_ICY_SCALE_BRACERS = 4,
ITEM_ID_ICY_SCALE_GAUNTLETS = 5,
ITEM_ID_ICY_SCALE_BREASTPLATE = 6,
ITEM_ID_GOODBYE_LEATHERWORKING = 7,
// No crafter, book
ITEM_ID_GOODBYE_NO_CRAFTER = 1,
GOSSIP_CLOSE = 100
};
class npc_omarion : public CreatureScript
{
public:
npc_omarion() : CreatureScript("npc_omarion_gossip") { }
bool OnGossipHello(Player* player, Creature* creature) override
{
ClearGossipMenuFor(player);
uint32 tailorSkill = player->GetSkillValue(SKILL_TAILORING);
uint32 blacksmithSkill = player->GetSkillValue(SKILL_BLACKSMITHING);
uint32 leatherworkSkill = player->GetSkillValue(SKILL_LEATHERWORKING);
if (tailorSkill >= MASTER_REQ_SKILL)
{
AddGossipItemFor(player, MENU_ID_INTRO, ITEM_ID_TAILORING, GOSSIP_SENDER_MAIN, MENU_ID_TAILORING);
}
if(blacksmithSkill >= MASTER_REQ_SKILL)
{
AddGossipItemFor(player, MENU_ID_INTRO, ITEM_ID_BLACKSMITHING, GOSSIP_SENDER_MAIN, MENU_ID_BLACKSMITHING);
}
if(leatherworkSkill >= MASTER_REQ_SKILL)
{
AddGossipItemFor(player, MENU_ID_INTRO, ITEM_ID_LEATHERWORKING, GOSSIP_SENDER_MAIN, MENU_ID_LEATHERWORKING);
}
AddGossipItemFor(player, MENU_ID_INTRO, ITEM_ID_NO_CRAFTER, GOSSIP_SENDER_MAIN, MENU_ID_NO_CRAFTER);
SendGossipMenuFor(player, NPC_TEXT_INTRO, creature->GetGUID());
return true;
}
void LearnCraftIfNotAlreadyKnown(uint32 learnId, uint32 knowId, Player *player)
{
if (!player->HasSpell(knowId))
{
player->CastSpell(player, learnId, false);
}
}
void CloseGossipEmoteAndSpitOnPlayer(Player* player, Creature* creature)
{
CloseGossipMenuFor(player);
creature->TextEmote(BROADCAST_TEXT_SPIT_TARGET, player);
creature->HandleEmoteCommand(EMOTE_ONESHOT_NONE); // skip animation
creature->HandleEmoteCommand(EMOTE_ONESHOT_RUDE);
}
bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action) override
{
uint32 argentDawnRep = player->GetReputationRank(FACTION_ARGENT_DAWN);
uint32 tailorSkill = player->GetSkillValue(SKILL_TAILORING);
uint32 blacksmithSkill = player->GetSkillValue(SKILL_BLACKSMITHING);
uint32 leatherworkSkill = player->GetSkillValue(SKILL_LEATHERWORKING);
switch(action)
{
case GOSSIP_CLOSE:
CloseGossipMenuFor(player);
break;
case MENU_ID_TAILORING:
ClearGossipMenuFor(player);
if (argentDawnRep < CRAFT1_REQ_RANK || tailorSkill < LEARN_REQ_SKILL)
{
CloseGossipEmoteAndSpitOnPlayer(player, creature);
break;
}
if (argentDawnRep >= CRAFT1_REQ_RANK)
{
AddGossipItemFor(player, MENU_ID_TAILORING, ITEM_ID_GLACIAL_WRISTS, GOSSIP_SENDER_MAIN, LEARN_GLACIAL_WRISTS);
AddGossipItemFor(player, MENU_ID_TAILORING, ITEM_ID_GLACIAL_GLOVES, GOSSIP_SENDER_MAIN, LEARN_GLACIAL_GLOVES);
}
if (argentDawnRep >= CRAFT2_REQ_RANK)
{
AddGossipItemFor(player, MENU_ID_TAILORING, ITEM_ID_GLACIAL_VEST, GOSSIP_SENDER_MAIN, LEARN_GLACIAL_VEST);
AddGossipItemFor(player, MENU_ID_TAILORING, ITEM_ID_GLACIAL_CLOAK, GOSSIP_SENDER_MAIN, LEARN_GLACIAL_CLOAK);
}
AddGossipItemFor(player, MENU_ID_TAILORING, ITEM_ID_GOODBYE_TAILORING, GOSSIP_SENDER_MAIN, GOSSIP_CLOSE);
SendGossipMenuFor(player, NPC_TEXT_TAILORING, creature->GetGUID());
break;
case MENU_ID_BLACKSMITHING:
ClearGossipMenuFor(player);
if (argentDawnRep < CRAFT1_REQ_RANK || blacksmithSkill < LEARN_REQ_SKILL)
{
CloseGossipEmoteAndSpitOnPlayer(player, creature);
break;
}
if (argentDawnRep >= CRAFT1_REQ_RANK)
{
AddGossipItemFor(player, MENU_ID_BLACKSMITHING, ITEM_ID_ICEBANE_BRACERS, GOSSIP_SENDER_MAIN, LEARN_ICEBANE_BRACERS);
AddGossipItemFor(player, MENU_ID_BLACKSMITHING, ITEM_ID_ICEBANE_GAUNTLETS, GOSSIP_SENDER_MAIN, LEARN_ICEBANE_GAUNTLETS);
}
if (argentDawnRep >= CRAFT2_REQ_RANK)
{
AddGossipItemFor(player, MENU_ID_BLACKSMITHING, ITEM_ID_ICEBANE_BREASTPLATE, GOSSIP_SENDER_MAIN, LEARN_ICEBANE_BREASTPLATE);
}
AddGossipItemFor(player, MENU_ID_BLACKSMITHING, ITEM_ID_GOODBYE_BLACKSMITHING, GOSSIP_SENDER_MAIN, GOSSIP_CLOSE);
SendGossipMenuFor(player, NPC_TEXT_BLACKSMITHING, creature->GetGUID());
break;
case MENU_ID_LEATHERWORKING:
ClearGossipMenuFor(player);
if (argentDawnRep < CRAFT1_REQ_RANK || leatherworkSkill < LEARN_REQ_SKILL)
{
CloseGossipEmoteAndSpitOnPlayer(player, creature);
break;
}
if (argentDawnRep >= CRAFT1_REQ_RANK)
{
AddGossipItemFor(player, MENU_ID_LEATHERWORKING, ITEM_ID_POLAR_BRACERS, GOSSIP_SENDER_MAIN, LEARN_POLAR_BRACERS);
AddGossipItemFor(player, MENU_ID_LEATHERWORKING, ITEM_ID_POLAR_GLOVES, GOSSIP_SENDER_MAIN, LEARN_POLAR_GLOVES);
}
if (argentDawnRep >= CRAFT2_REQ_RANK)
{
AddGossipItemFor(player, MENU_ID_LEATHERWORKING, ITEM_ID_POLAR_TUNIC, GOSSIP_SENDER_MAIN, LEARN_POLAR_TUNIC);
}
if (argentDawnRep >= CRAFT1_REQ_RANK)
{
AddGossipItemFor(player, MENU_ID_LEATHERWORKING, ITEM_ID_ICY_SCALE_BRACERS, GOSSIP_SENDER_MAIN, LEARN_ICY_SCALE_BRACERS);
AddGossipItemFor(player, MENU_ID_LEATHERWORKING, ITEM_ID_ICY_SCALE_GAUNTLETS, GOSSIP_SENDER_MAIN, LEARN_ICY_SCALE_GAUNTLETS);
}
if (argentDawnRep >= CRAFT2_REQ_RANK)
{
AddGossipItemFor(player, MENU_ID_LEATHERWORKING, ITEM_ID_ICY_SCALE_BREASTPLATE, GOSSIP_SENDER_MAIN, LEARN_ICY_SCALE_BREASTPLATE);
}
AddGossipItemFor(player, MENU_ID_LEATHERWORKING, ITEM_ID_GOODBYE_LEATHERWORKING, GOSSIP_SENDER_MAIN, GOSSIP_CLOSE);
SendGossipMenuFor(player, NPC_TEXT_LEATHERWORKING, creature->GetGUID());
break;
case MENU_ID_NO_CRAFTER:
ClearGossipMenuFor(player);
if (argentDawnRep < BOOK_REQ_RANK)
{
CloseGossipEmoteAndSpitOnPlayer(player, creature);
break;
}
if (player->GetQuestStatus(QUEST_OMARIONS_HANDBOOK) == QUEST_STATUS_NONE && !player->HasItemCount(OMARIONS_HANDBOOK, 1, true))
{
player->AddItem(OMARIONS_HANDBOOK, 1);
}
AddGossipItemFor(player, MENU_ID_NO_CRAFTER, ITEM_ID_GOODBYE_NO_CRAFTER, GOSSIP_SENDER_MAIN, GOSSIP_CLOSE);
SendGossipMenuFor(player, NPC_TEXT_NO_CRAFTER, creature->GetGUID());
break;
case LEARN_GLACIAL_CLOAK:
LearnCraftIfNotAlreadyKnown(LEARN_GLACIAL_CLOAK, HAS_GLACIAL_CLOAK, player);
SendGossipMenuFor(player, NPC_TEXT_TAILORING, creature->GetGUID());
break;
case LEARN_GLACIAL_GLOVES:
LearnCraftIfNotAlreadyKnown(LEARN_GLACIAL_GLOVES, HAS_GLACIAL_GLOVES, player);
SendGossipMenuFor(player, NPC_TEXT_TAILORING, creature->GetGUID());
break;
case LEARN_GLACIAL_WRISTS:
LearnCraftIfNotAlreadyKnown(LEARN_GLACIAL_WRISTS, HAS_GLACIAL_WRISTS, player);
SendGossipMenuFor(player, NPC_TEXT_TAILORING, creature->GetGUID());
break;
case LEARN_GLACIAL_VEST:
LearnCraftIfNotAlreadyKnown(LEARN_GLACIAL_VEST, HAS_GLACIAL_VEST, player);
SendGossipMenuFor(player, NPC_TEXT_TAILORING, creature->GetGUID());
break;
case LEARN_ICEBANE_BRACERS:
LearnCraftIfNotAlreadyKnown(LEARN_ICEBANE_BRACERS, HAS_ICEBANE_BRACERS, player);
SendGossipMenuFor(player, NPC_TEXT_BLACKSMITHING, creature->GetGUID());
break;
case LEARN_ICEBANE_GAUNTLETS:
LearnCraftIfNotAlreadyKnown(LEARN_ICEBANE_GAUNTLETS, HAS_ICEBANE_GAUNTLETS, player);
SendGossipMenuFor(player, NPC_TEXT_BLACKSMITHING, creature->GetGUID());
break;
case LEARN_ICEBANE_BREASTPLATE:
LearnCraftIfNotAlreadyKnown(LEARN_ICEBANE_BREASTPLATE, HAS_ICEBANE_BREASTPLATE, player);
SendGossipMenuFor(player, NPC_TEXT_BLACKSMITHING, creature->GetGUID());
break;
case LEARN_POLAR_BRACERS:
LearnCraftIfNotAlreadyKnown(LEARN_POLAR_BRACERS, HAS_POLAR_BRACERS, player);
SendGossipMenuFor(player, NPC_TEXT_LEATHERWORKING, creature->GetGUID());
break;
case LEARN_POLAR_GLOVES:
LearnCraftIfNotAlreadyKnown(LEARN_POLAR_GLOVES, HAS_POLAR_GLOVES, player);
SendGossipMenuFor(player, NPC_TEXT_LEATHERWORKING, creature->GetGUID());
break;
case LEARN_POLAR_TUNIC:
LearnCraftIfNotAlreadyKnown(LEARN_POLAR_TUNIC, HAS_POLAR_TUNIC, player);
SendGossipMenuFor(player, NPC_TEXT_LEATHERWORKING, creature->GetGUID());
break;
case LEARN_ICY_SCALE_BRACERS:
LearnCraftIfNotAlreadyKnown(LEARN_ICY_SCALE_BRACERS, HAS_ICY_SCALE_BRACERS, player);
SendGossipMenuFor(player, NPC_TEXT_LEATHERWORKING, creature->GetGUID());
break;
case LEARN_ICY_SCALE_GAUNTLETS:
LearnCraftIfNotAlreadyKnown(LEARN_ICY_SCALE_GAUNTLETS, HAS_ICY_SCALE_GAUNTLETS, player);
SendGossipMenuFor(player, NPC_TEXT_LEATHERWORKING, creature->GetGUID());
break;
case LEARN_ICY_SCALE_BREASTPLATE:
LearnCraftIfNotAlreadyKnown(LEARN_ICY_SCALE_BREASTPLATE, HAS_ICY_SCALE_BREASTPLATE, player);
SendGossipMenuFor(player, NPC_TEXT_LEATHERWORKING, creature->GetGUID());
break;
}
return true;
}
};
void AddSC_npc_omarion()
{
new npc_omarion();
}