Merge pull request #753 from Grimfeather/master

fixx 14908 worldserver error
This commit is contained in:
Grimfeather
2025-09-19 22:16:15 +02:00
committed by GitHub

View File

@@ -4,12 +4,12 @@ UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN
(3234, 3236, 3237, 3238, 3239, 3240, 3241, 3242, 3244, 3245, 3246, 3247, 3248, 3249, 3250, 3252, 3253, 3254, 3255, 3256, 3258, 3260, 3261, 3263, 3265, 3266, 3267, 3268, 3269, 3270, 3271, 3272, 3273, 3274, 3275,
3397, 3276, 3277, 3278, 3279, 3280, 3281, 3282, 3283, 3284, 3285, 3286, 3295, 3374, 3375, 3376, 3377, 3378, 3379, 3380, 3381, 3382, 3384, 3385, 3386, 3392, 3393, 3394, 3398,
3416, 3424, 3425, 3426, 3434, 3435, 3436, 3438, 3452, 3454, 3455, 3456, 3457, 3458, 3459, 3461, 3463, 3466, 3471, 3473,
5828, 5829, 5830, 5831, 5834, 5835, 5836, 5838, 5841, 5842, 5847, 5848, 5849, 5851, 5859, 5863, 5865, 6494, 7872, 7873, 7874, 9336, 12865);
5828, 5829, 5830, 5831, 5834, 5835, 5836, 5838, 5841, 5842, 5847, 5848, 5849, 5851, 5859, 5863, 5865, 6494, 7872, 7873, 7874, 9336, 12865, 14908);
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN
(3234, 3236, 3237, 3238, 3239, 3240, 3241, 3242, 3244, 3245, 3246, 3247, 3248, 3249, 3250, 3252, 3253, 3254, 3255, 3256, 3258, 3260, 3261, 3263, 3265, 3266, 3267, 3268, 3269, 3270, 3271, 3272, 3273, 3274, 3275,
3397, 3276, 3277, 3278, 3279, 3280, 3281, 3282, 3283, 3284, 3285, 3286, 3295, 3374, 3375, 3376, 3377, 3378, 3379, 3380, 3381, 3382, 3383, 3384, 3385, 3386, 3392, 3393, 3394, 3398,
3414, 3416, 3424, 3425, 3426, 3434, 3435, 3436, 3438, 3452, 3454, 3455, 3456, 3457, 3458, 3459, 3461, 3463, 3466, 3470, 3471, 3472, 3473, 3476, 4127, 4128, 4129,
5828, 5829, 5830, 5831, 5834, 5835, 5836, 5838, 5841, 5842, 5847, 5848, 5849, 5851, 5859, 5863, 5865, 6494, 7872, 7873, 7874, 9336, 12865);
5828, 5829, 5830, 5831, 5834, 5835, 5836, 5838, 5841, 5842, 5847, 5848, 5849, 5851, 5859, 5863, 5865, 6494, 7872, 7873, 7874, 9336, 12865, 14908);
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`, `event_param6`,
@@ -301,7 +301,16 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_
(9336, 0, 4, 0, 0, 0, 100, 0, 5000, 10000, 15000, 35000, 0, 0, 11, 6533, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Boss Copperplug - In Combat - Cast Net'),
(9336, 0, 5, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Boss Copperplug - Between 0-15% Health - Flee For Assist (No Repeat)'),
(12865, 0, 0, 0, 0, 0, 100, 0, 0, 0, 2000, 2000, 0, 0, 11, 9613, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Ambassador Malcin - Combat - Cast Shadow Bolt'),
(12865, 0, 1, 0, 0, 0, 100, 0, 5000, 9000, 15000, 25000, 0, 0, 11, 8282, 96, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Ambassador Malcin - Combat - Cast Curse of Blood');
(12865, 0, 1, 0, 0, 0, 100, 0, 5000, 9000, 15000, 25000, 0, 0, 11, 8282, 96, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Ambassador Malcin - Combat - Cast Curse of Blood'),
(14908, 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 53, 0, 14908, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogg - On Reset - Start Waypoint'),
(14908, 0, 1, 0, 40, 0, 100, 0, 5, 14908, 0, 0, 0, 0, 80, 1490800, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogg - On Waypoint 5 Reached - Run Script'),
(14908, 0, 2, 0, 40, 0, 100, 0, 6, 14908, 0, 0, 0, 0, 80, 1490801, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogg - On Waypoint 6 Reached - Run Script'),
(14908, 0, 3, 0, 40, 0, 100, 0, 7, 14908, 0, 0, 0, 0, 80, 1490802, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogg - On Waypoint 7 Reached - Run Script'),
(14908, 0, 4, 0, 40, 0, 100, 0, 17, 14908, 0, 0, 0, 0, 80, 1490803, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogg - On Waypoint 17 Reached - Run Script'),
(14908, 0, 5, 0, 40, 0, 100, 0, 27, 14908, 0, 0, 0, 0, 80, 1490804, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogg - On Waypoint 27 Reached - Run Script'),
(14908, 0, 6, 0, 40, 0, 100, 0, 28, 14908, 0, 0, 0, 0, 80, 1490805, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogg - On Waypoint 28 Reached - Run Script'),
(14908, 0, 7, 0, 40, 0, 100, 0, 29, 14908, 0, 0, 0, 0, 80, 1490806, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogg - On Waypoint 29 Reached - Run Script');
DELETE FROM `creature_text` WHERE `CreatureID` IN (3279, 5828);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES