DB Updates

Port From (https://github.com/TrinityCore/TrinityCore)
This commit is contained in:
hondacrx
2021-01-19 13:52:52 -05:00
parent f38fdfc781
commit f19193dc23
22 changed files with 11207 additions and 0 deletions
@@ -0,0 +1,4 @@
--
UPDATE `creature_template` SET `unit_flags`=512, `ScriptName`="npc_captain_tyralius" WHERE `entry`=20787;
UPDATE `creature_template` SET `AIName`="" WHERE `entry`=20825;
DELETE FROM `creature` WHERE `id` IN (20787, 20825);
@@ -0,0 +1,3 @@
--
UPDATE `creature_template_addon` SET `mount`=0 WHERE `entry`=18146;
UPDATE `smart_scripts` SET `action_param6`=2 WHERE `entryorguid`=18146 AND `source_type`=0 AND `id`=0;
@@ -0,0 +1,24 @@
--
DELETE FROM `creature_text` WHERE `CreatureID` IN (18175, 18174);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(18175, 0, 0, "Matters are so uncertain now that the chamber below is empty...", 12, 1, 100, 1, 0, 0, 14831, 0, "Initiate Emeline"),
(18175, 0, 1, "It's gone. I can't believe it's gone. Who would have thought we'd be betrayed like this?", 12, 1, 100, 1, 0, 0, 14833, 0, "Initiate Emeline"),
(18175, 1, 0, "Our neighbors are positively laughable. Have you seen the way they turn up their noses at us?", 12, 1, 100, 1, 0, 0, 14815, 0, "Initiate Emeline"),
(18175, 1, 1, "The rangers certainly have a high opinion of themselves.", 12, 1, 100, 1, 0, 0, 14818, 0, "Initiate Emeline"),
(18175, 1, 2, "I'm quickly tiring of the haughty attitude I receive from those grubby bowslingers outside.", 12, 1, 100, 1, 0, 0, 14819, 0, "Initiate Emeline"),
(18174, 0, 0, "Lady Liadrin is bound to find a way. She must.", 12, 1, 100, 1, 0, 0, 14838, 0, "Initiate Colin"),
(18174, 0, 1, "Is... it true, what I've heard? That it was the Sun King himself?", 12, 1, 100, 1, 0, 0, 14839, 0, "Initiate Colin"),
(18174, 0, 2, "Still, the Blood Knights will endure through this loss. We have no other choice... we must find another source.", 12, 1, 100, 1, 0, 0, 14840, 0, "Initiate Colin"),
(18174, 1, 0, "Who do they think they are?", 12, 1, 100, 1, 0, 0, 14820, 0, "Initiate Colin"),
(18174, 1, 1, "I know what you mean... they whisper about us when they think we can't hear them. They'll get theirs.", 12, 1, 100, 1, 0, 0, 14821, 0, "Initiate Colin"),
(18174, 1, 2, "Jealous, that's what they are. They're afraid to dedicate themselves to true power.", 12, 1, 100, 1, 0, 0, 14822, 0, "Initiate Colin"),
(18174, 1, 3, "They simply fear what they cannot begin to understand.", 12, 1, 100, 1, 0, 0, 14823, 0, "Initiate Colin");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=18175;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (18175, 1817500, 1817501) AND `source_type` IN (0, 9);
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18175, 0, 0, 0, 1, 0, 100, 0, 10000, 20000, 30000, 180000, 87, 1817500, 1817501, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Initiate Emeline - Out Of Combat - Run Script"),
(1817500, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Initiate Emeline - On Script - Say Line 0"),
(1817500, 9, 1, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 18174, 0, 0, 0, 0, 0, 0, "Initiate Emeline - On Script - Say Line 0 (Initiate Colin)"),
(1817501, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Initiate Emeline - On Script - Say Line 1"),
(1817501, 9, 1, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 18174, 0, 0, 0, 0, 0, 0, "Initiate Emeline - On Script - Say Line 1 (Initiate Colin)");
@@ -0,0 +1,3 @@
--
UPDATE `smart_scripts` SET `event_chance`=25 WHERE `entryorguid` IN (23663,23665) AND `id`=4;
UPDATE `smart_scripts` SET `event_chance`=25 WHERE `entryorguid` IN (23664, 23666) AND `id`=3;
@@ -0,0 +1,107 @@
--
UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid` IN (117664, 117670, 117671, 117672, 117677);
DELETE FROM `creature_addon` WHERE `guid` IN (117664, 117670, 117671, 117672, 117677);
INSERT INTO `creature_addon` (`guid`, `emote`) VALUES
(117664, 383),
(117670, 383),
(117671, 383),
(117672, 383),
(117677, 383);
UPDATE `smart_scripts` SET `comment`="Gjalerbron Prisoner - On Data Set - Run Script" WHERE `entryorguid`=24035 AND `source_type`=0 AND `id`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (2403500, -117691, -117692, -117693, -117694, -117695, -117696, -117697, -117698, -117699, -117700, -117701, -117702, -117703, -117704, -117705, -117708, -117710, -117713, -117714);
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2403500, 9, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 33, 24035, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Script - Kill Credit"),
(2403500, 9, 1, 0, 0, 0, 100, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Script - Say Line 1"),
(2403500, 9, 2, 0, 0, 0, 100, 1, 3000, 3000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Script - Despawn Instant"),
(-117691, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117691, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117692, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117692, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117693, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117693, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117694, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117694, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117695, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117695, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117696, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117696, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117697, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117697, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117698, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117698, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117699, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117699, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117700, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117700, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117701, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117701, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117702, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117702, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117703, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117703, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117704, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117704, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117705, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117705, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117708, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117708, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117710, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117710, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117713, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117713, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0"),
(-117714, 0, 0, 0, 38, 0, 100, 513, 1, 1, 0, 0, 80, 2403500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - On Data Set - Run Script"),
(-117714, 0, 1, 0, 1, 0, 25, 0, 20000, 50000, 60000, 120000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gjalerbron Prisoner - OOC - Say Line 0");
UPDATE `creature_template` SET `InhabitType`=5 WHERE `entry`=24035;
DELETE FROM `creature_text` WHERE `CreatureID`=24035;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(24035, 0, 0, "Please, let me out of here!", 12, 0, 100, 0, 0, 0, 22637, 0, "Gjalerbron Prisoner"),
(24035, 0, 1, "The key... you have to find the key!", 12, 0, 100, 0, 0, 0, 22638, 0, "Gjalerbron Prisoner"),
(24035, 0, 2, "I think I saw a key on one of those vrykul.", 12, 0, 100, 0, 0, 0, 22639, 0, "Gjalerbron Prisoner"),
(24035, 0, 3, "I don't want to be taken down into the catacombs!", 12, 0, 100, 0, 0, 0, 22640, 0, "Gjalerbron Prisoner"),
(24035, 0, 4, "I don't want to be sacrificed!", 12, 0, 100, 0, 0, 0, 22641, 0, "Gjalerbron Prisoner"),
(24035, 0, 5, "They're performing unholy rites down in the catacombs, and I'm about to be the sacrifice!", 12, 0, 100, 0, 0, 0, 22642, 0, "Gjalerbron Prisoner"),
(24035, 0, 6, "Is there no hero to rescue me?", 12, 0, 100, 0, 0, 0, 22643, 0, "Gjalerbron Prisoner"),
(24035, 0, 7, "This is the end.", 12, 0, 100, 0, 0, 0, 22644, 0, "Gjalerbron Prisoner"),
(24035, 0, 8, "I think I saw a key on one of those Gjalerbron vrykul up top.", 12, 0, 100, 0, 0, 0, 23649, 0, "Gjalerbron Prisoner"),
(24035, 1, 0, "Oh, thank you, thank you!", 12, 0, 100, 0, 0, 0, 22645, 0, "Gjalerbron Prisoner"),
(24035, 1, 1, "Thank you. I will not forget this!", 12, 0, 100, 0, 0, 0, 22646, 0, "Gjalerbron Prisoner"),
(24035, 1, 2, "Avenge my friends who have already been sacrificed!", 12, 0, 100, 0, 0, 0, 22647, 0, "Gjalerbron Prisoner"),
(24035, 1, 3, "You have to put a stop to this madness before it's too late!", 12, 0, 100, 0, 0, 0, 22648, 0, "Gjalerbron Prisoner"),
(24035, 1, 4, "My thanks to you, hero!", 12, 0, 100, 0, 0, 0, 22649, 0, "Gjalerbron Prisoner"),
(24035, 1, 5, "The vrykul are evil and must be destroyed!", 12, 0, 100, 0, 0, 0, 22650, 0, "Gjalerbron Prisoner"),
(24035, 1, 6, "You saved my life!", 12, 0, 100, 0, 0, 0, 22651, 0, "Gjalerbron Prisoner"),
(24035, 1, 7, "Thank goodness for you!", 12, 0, 100, 0, 0, 0, 22652, 0, "Gjalerbron Prisoner");
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-115239,-115235,-115236,-115238,-48198);
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-115239, 0, 0, 0, 4, 0, 50, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On aggro - Say text 0"),
(-115239, 0, 1, 0, 0, 0, 100, 0, 2000, 3000, 3000, 3500, 11, 9613, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Cast Shadow Bolt"),
(-115239, 0, 2, 0, 0, 0, 100, 0, 3000, 7000, 10000, 20000, 11, 17173, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Drain Life"),
(-115239, 0, 3, 0, 0, 0, 100, 0, 5000, 8000, 25000, 30000, 11, 18267, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Curse of Weakness"),
(-115239, 0, 4, 0, 1, 0, 100, 1, 2000, 2000, 0, 0, 11, 43151, 0, 0, 0, 0, 0, 10, 117664, 24035, 0, 0, 0, 0, 0, "Necrolord - OOC - cast Necrolord: Purple Beam"),
(-115235, 0, 0, 0, 4, 0, 50, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On aggro - Say text 0"),
(-115235, 0, 1, 0, 0, 0, 100, 0, 2000, 3000, 3000, 3500, 11, 9613, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Cast Shadow Bolt"),
(-115235, 0, 2, 0, 0, 0, 100, 0, 3000, 7000, 10000, 20000, 11, 17173, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Drain Life"),
(-115235, 0, 3, 0, 0, 0, 100, 0, 5000, 8000, 25000, 30000, 11, 18267, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Curse of Weakness"),
(-115235, 0, 4, 0, 1, 0, 100, 1, 2000, 2000, 0, 0, 11, 43151, 0, 0, 0, 0, 0, 10, 117671, 24035, 0, 0, 0, 0, 0, "Necrolord - OOC - cast Necrolord: Purple Beam"),
(-115236, 0, 0, 0, 4, 0, 50, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On aggro - Say text 0"),
(-115236, 0, 1, 0, 0, 0, 100, 0, 2000, 3000, 3000, 3500, 11, 9613, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Cast Shadow Bolt"),
(-115236, 0, 2, 0, 0, 0, 100, 0, 3000, 7000, 10000, 20000, 11, 17173, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Drain Life"),
(-115236, 0, 3, 0, 0, 0, 100, 0, 5000, 8000, 25000, 30000, 11, 18267, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Curse of Weakness"),
(-115236, 0, 4, 0, 1, 0, 100, 1, 2000, 2000, 0, 0, 11, 43151, 0, 0, 0, 0, 0, 10, 117672, 24035, 0, 0, 0, 0, 0, "Necrolord - OOC - cast Necrolord: Purple Beam"),
(-115238, 0, 0, 0, 4, 0, 50, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On aggro - Say text 0"),
(-115238, 0, 1, 0, 0, 0, 100, 0, 2000, 3000, 3000, 3500, 11, 9613, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Cast Shadow Bolt"),
(-115238, 0, 2, 0, 0, 0, 100, 0, 3000, 7000, 10000, 20000, 11, 17173, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Drain Life"),
(-115238, 0, 3, 0, 0, 0, 100, 0, 5000, 8000, 25000, 30000, 11, 18267, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Curse of Weakness"),
(-115238, 0, 4, 0, 1, 0, 100, 1, 2000, 2000, 0, 0, 11, 43151, 0, 0, 0, 0, 0, 10, 117677, 24035, 0, 0, 0, 0, 0, "Necrolord - OOC - cast Necrolord: Purple Beam"),
(-48198, 0, 0, 0, 4, 0, 50, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On aggro - Say text 0"),
(-48198, 0, 1, 0, 0, 0, 100, 0, 2000, 3000, 3000, 3500, 11, 9613, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Cast Shadow Bolt"),
(-48198, 0, 2, 0, 0, 0, 100, 0, 3000, 7000, 10000, 20000, 11, 17173, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Drain Life"),
(-48198, 0, 3, 0, 0, 0, 100, 0, 5000, 8000, 25000, 30000, 11, 18267, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Curse of Weakness"),
(-48198, 0, 4, 0, 1, 0, 100, 1, 2000, 2000, 0, 0, 11, 43151, 0, 0, 0, 0, 0, 10, 117670, 24035, 0, 0, 0, 0, 0, "Necrolord - OOC - cast Necrolord: Purple Beam");
DELETE FROM `creature` WHERE `guid`=48198;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
(48198, 24014, 571, 0, 0, '0', 0, 0, 1,2598.214, -3574.1608, 161.379, 4.197266, 300, 0, 0, 7185, 0, 0, 0, 0, 0, 0);
@@ -0,0 +1,21 @@
UPDATE `creature_text` SET `type`=14 WHERE `CreatureID`=24118;
UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=24118;
DELETE FROM `smart_scripts` WHERE `entryorguid`=23671 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(23671, 0, 0, 1, 54, 0, 100, 512, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - On Just Summoned - Store Target (Invoker)"),
(23671, 0, 1, 2, 61, 0, 100, 512, 0, 0, 0, 0, 44, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - On Just Summoned - Set Phasemask 3"),
(23671, 0, 2, 3, 61, 0, 100, 512, 0, 0, 0, 0, 1, 0, 5000, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - On Just Summoned - Talk 0"),
(23671, 0, 3, 4, 61, 0, 100, 512, 0, 0, 0, 0, 44, 1, 0, 0, 0, 0, 0, 9, 24118, 0, 90, 0, 0, 0, 0, "Halfdan the Ice-Hearted - On Just Summoned - Change Phasemask of Val'kyr Observer"),
(23671, 0, 4, 0, 61, 0, 100, 512, 0, 0, 0, 0, 18, 256, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - On Just Summoned - Set Unitflag IMMUNE_TO_PC"),
(23671, 0, 5, 6, 52, 0, 100, 0, 0, 23671, 0, 0, 1, 1, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - On Text 0 Over - Talk 1"),
(23671, 0, 6, 7, 61, 0, 100, 0, 0, 0, 0, 0, 19, 256, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - On Text 0 Over - Remove Unitflag IMMUNE_TO_PC"),
(23671, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - On Text 0 Over - Start Attack"),
(23671, 0, 8, 9, 2, 0, 100, 1, 0, 50, 0, 0, 1, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - Between 0% and 50% Health - Talk 2 (No Repeat\)"),
(23671, 0, 9, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - Between 50% and 75% Health - Cast 'Enrage' (No Repeat\)"),
(23671, 0, 10, 11, 6, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 9, 24118, 0, 90, 0, 0, 0, 0, "Halfdan the Ice-Hearted - On Death - Set Data 1 1 to Val'kyr Observer"),
(23671, 0, 11, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 43091, 2, 0, 0, 0, 0, 19, 23837, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - On Death - Cast 'Stop the Ascension!: Summon Halfdan's Soul'"),
(23671, 0, 12, 0, 0, 0, 100, 0, 2000, 5000, 9500, 11500, 11, 35263, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - In Combat - Cast 'Frost Attack'"),
(23671, 0, 13, 0, 0, 0, 100, 0, 2500, 5000, 6000, 10000, 11, 32736, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - In Combat - Cast 'Mortal Strike'"),
(23671, 0, 14, 0, 0, 0, 100, 0, 1250, 5000, 5000, 6000, 11, 12169, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - In Combat - Cast 'Shield Block'"),
(23671, 0, 15, 0, 0, 0, 100, 0, 3000, 8000, 4000, 12000, 11, 32015, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - In Combat - Cast 'Knockdown'"),
(23671, 0, 16, 0, 9, 0, 100, 0, 8, 25, 5000, 5000, 11, 19131, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - Within 8-25 Range - Cast 'Shield Charge'");
@@ -0,0 +1,72 @@
-- Dr. Witherlimb SAI/waypoints and speech
SET @ENTRY := 22062;
SET @GUID_1 := 77937;
SET @GUID_2 := 77938;
SET @GUID_3 := 77939;
SET @GUID_4 := 77940;
SET @PATHID_1 := @GUID_1 * 10;
SET @PATHID_2 := @GUID_2 * 10;
SET @PATHID_3 := @GUID_3 * 10;
SET @PATHID_4 := @GUID_4 * 10;
-- Dr. Whitherlimb SAI
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,0,0,100,0,1500,2500,4000,6000,11,21067,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dr. Whitherlimb - In Combat CMC - Cast 'Poison Bolt'"),
(@ENTRY,0,1,0,0,0,100,0,8000,15000,15000,30000,11,38864,33,0,0,0,0,5,0,0,0,0,0,0,0,"Dr. Whitherlimb - In Combat CMC - Cast 'Withering Poison'"),
(@ENTRY,0,2,0,2,0,100,0,0,50,35000,45000,11,38871,1,0,0,0,0,1,0,0,0,0,0,0,0,"Dr. Whitherlimb - Between 0-50% Health - Cast 'Monstrous Elixir'"),
(@ENTRY,0,3,0,4,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dr. Whitherlimb - On Aggro - Say Line 0"),
(@ENTRY,0,4,0,5,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dr. Whitherlimb - On Killed Unit - Say Line 1");
-- Add speech of Dr. Whitherlimb
DELETE FROM `creature_text` WHERE `CreatureID`=@ENTRY;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `BroadcastTextId`, `comment`) VALUES
(@ENTRY, 0, 0, "Excellent! Fresh parts!", 12, 0, 100, 19887, "Dr. Whitherlimb - Aggro"),
(@ENTRY, 1, 0, "It is very kind of you to donate your organs!", 12, 0, 0, 19888, "Dr. Whitherlimb - Kill"),
(@ENTRY, 1, 1, "Be proud, your brain will be put to good use in one of my abominations.", 12, 0, 0, 19889, "Dr. Whitherlimb - Kill");
-- Update spawn timer (20h previously) and MovementType
UPDATE `creature` SET `spawntimesecs`=7200, `MovementType`=2 WHERE `id`=@ENTRY;
-- Add waypoints of Dr. Whitherlimb
DELETE FROM `creature_addon` WHERE `guid` IN (@GUID_1, @GUID_2, @GUID_3, @GUID_4);
INSERT INTO `creature_addon` (`guid`, `path_id`) VALUES
(@GUID_1, @PATHID_1),
(@GUID_2, @PATHID_2),
(@GUID_3, @PATHID_3),
(@GUID_4, @PATHID_4);
DELETE FROM `waypoint_data` WHERE `id` IN (@PATHID_1, @PATHID_2, @PATHID_3, @PATHID_4);
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`) VALUES
(@PATHID_1, 1, 7160.109, -6607.731, 60.658),
(@PATHID_1, 2, 7157.843, -6617.142, 60.658),
(@PATHID_1, 3, 7162.991, -6624.500, 60.658),
(@PATHID_1, 4, 7171.727, -6626.077, 60.864),
(@PATHID_1, 5, 7176.713, -6622.445, 63.658),
(@PATHID_1, 6, 7179.540, -6610.650, 63.658),
(@PATHID_1, 7, 7175.270, -6604.530, 60.658),
(@PATHID_1, 8, 7167.625, -6603.202, 60.658),
(@PATHID_2, 1, 7224.314, -6404.754, 56.166),
(@PATHID_2, 2, 7215.937, -6405.194, 56.166),
(@PATHID_2, 3, 7211.889, -6409.292, 59.166),
(@PATHID_2, 4, 7212.473, -6421.642, 59.166),
(@PATHID_2, 5, 7216.754, -6426.262, 56.166),
(@PATHID_2, 6, 7225.599, -6425.639, 56.166),
(@PATHID_2, 7, 7231.386, -6419.246, 56.166),
(@PATHID_2, 8, 7230.532, -6411.129, 56.166),
(@PATHID_3, 1, 6294.176, -6468.075, 83.011),
(@PATHID_3, 2, 6301.176, -6475.325, 83.011),
(@PATHID_3, 3, 6309.716, -6475.180, 83.011),
(@PATHID_3, 4, 6315.844, -6468.936, 83.197),
(@PATHID_3, 5, 6315.235, -6462.805, 86.010),
(@PATHID_3, 6, 6306.685, -6453.575, 86.010),
(@PATHID_3, 7, 6300.742, -6453.973, 83.010),
(@PATHID_3, 8, 6294.723, -6459.484, 83.010),
(@PATHID_4, 1, 6305.395, -6258.748, 77.813),
(@PATHID_4, 2, 6312.150, -6258.673, 80.813),
(@PATHID_4, 3, 6319.655, -6250.082, 80.813),
(@PATHID_4, 4, 6320.900, -6243.770, 77.942),
(@PATHID_4, 5, 6314.049, -6237.902, 77.813),
(@PATHID_4, 6, 6305.433, -6238.323, 77.813),
(@PATHID_4, 7, 6299.604, -6244.360, 77.813),
(@PATHID_4, 8, 6299.698, -6253.437, 77.813);
@@ -0,0 +1,37 @@
-- Warsong Battleguard (25242), Warsong Honor Guard (25243)
DELETE FROM `creature_text` WHERE `CreatureID` IN (25242,25243);
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(25242,0,0,"$g Sir:Ma'am;, my life for the Horde!",12,1,100,0,0,0,25267,0,'Warsong Battleguard'),
(25242,0,1,"Welcome back, champion.",12,1,100,0,0,0,25268,0,'Warsong Battleguard'),
(25242,0,2,"It is an honor to serve along your side, $g sir:ma'am;.",12,1,100,0,0,0,25269,0,'Warsong Battleguard'),
(25242,0,3,"Lok'tar ogar!",12,1,100,0,0,0,25270,0,'Warsong Battleguard'),
(25242,0,4,"Throm-Ka, hero!",12,1,100,0,0,0,25271,0,'Warsong Battleguard'),
(25242,0,5,"With your strength and determination, we cannot fail!",12,1,100,0,0,0,25272,0,'Warsong Battleguard'),
(25242,0,6,"There walks a hero!",12,1,100,0,0,0,25273,0,'Warsong Battleguard'),
(25242,0,7,"It's $n! Bow your heads!",12,1,100,0,0,0,25274,0,'Warsong Battleguard'),
(25242,0,8,"%s cheers at you.",16,1,100,0,0,0,25275,0,'Warsong Battleguard'),
(25243,0,0,"$g Sir:Ma'am;, my life for the Horde!",12,1,100,0,0,0,25267,0,'Warsong Honor Guard'),
(25243,0,1,"Welcome back, champion.",12,1,100,0,0,0,25268,0,'Warsong Honor Guard'),
(25243,0,2,"It is an honor to serve along your side, $g sir:ma'am;.",12,1,100,0,0,0,25269,0,'Warsong Honor Guard'),
(25243,0,3,"Lok'tar ogar!",12,1,100,0,0,0,25270,0,'Warsong Honor Guard'),
(25243,0,4,"Throm-Ka, hero!",12,1,100,0,0,0,25271,0,'Warsong Honor Guard'),
(25243,0,5,"With your strength and determination, we cannot fail!",12,1,100,0,0,0,25272,0,'Warsong Honor Guard'),
(25243,0,6,"There walks a hero!",12,1,100,0,0,0,25273,0,'Warsong Honor Guard'),
(25243,0,7,"It's $n! Bow your heads!",12,1,100,0,0,0,25274,0,'Warsong Honor Guard'),
(25243,0,8,"%s cheers at you.",16,1,100,0,0,0,25275,0,'Warsong Honor Guard');
UPDATE `creature_equip_template` SET `ItemID1`=34640, `ItemID2`=21549 WHERE `CreatureID`=25242;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (25242,25243);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (25242,25243);
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(25242, 0, 0, 0, 10, 0, 40, 0, 1, 20, 120000, 180000, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Warsong Battleguard - OOC LOS - Say Line'),
(25242, 0, 1, 0, 9, 0, 100, 0, 5, 30, 2000, 2000, 11, 36980, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Warsong Battleguard - At rang - Cast Shoot'),
(25242, 0, 2, 0, 2, 0, 100, 1, 0, 30, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Warsong Battleguard - HPCT - Cast Enrage'),
(25243, 0, 0, 0, 10, 0, 40, 0, 1, 20, 120000, 180000, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Warsong Honor Guard - OOC LOS - Say Line'),
(25243, 0, 1, 0, 9, 0, 100, 0, 5, 30, 2000, 2000, 11, 36980, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Warsong Honor Guard - At rang - Cast Shoot'),
(25243, 0, 2, 0, 2, 0, 100, 1, 0, 30, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Warsong Honor Guard - HPCT - Cast Enrage');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 22 AND `ConditionTypeOrReference`= 8 AND `SourceEntry` IN (25242,25243);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(22, 1, 25242, 0, 0, 8, 0, 11916, 0, 0, 0, 0, 0, '', 'Warsong Battleguard - Only run SAI if quest 11916 is rewarded'),
(22, 1, 25243, 0, 0, 8, 0, 11916, 0, 0, 0, 0, 0, '', 'Warsong Honor Guard - Only run SAI if quest 11916 is rewarded');
@@ -0,0 +1,14 @@
--
UPDATE `creature_text` SET `Text`="Thank ye, $G lad:lass;. Thank ye, greatly.", `Emote`=2, `BroadcastTextId`=2283 WHERE `CreatureID`=6172 AND `GroupID`=0;
UPDATE `creature_text` SET `Text`="Thank you, $G lad:lass;. Thank you, greatly.", `Language`=6, `BroadcastTextId`=2281 WHERE `CreatureID`=6177 AND `GroupID`=0;
DELETE FROM `creature_text` WHERE `CreatureID`=17768;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(17768, 0, 0, "This is... Silvermoon? My head... Next time Bloodvalor needs a volunteer, I'll point him in a different direction. Paragon of Blood Knight virtue, indeed!", 12, 0, 100, 0, 0, 0, 14367, 0, "Blood Knight Stillblade"),
(17768, 1, 0, "Don't get me wrong, $n. I very much appreciate the resurrection, but I think this is the last time I'll perform this particular duty. Maybe a goblet or two of wine will help with this headache.", 12, 0, 100, 0, 0, 0, 14368, 0, "Blood Knight Stillblade");
DELETE FROM `smart_scripts` WHERE `entryorguid`=1776800 AND `source_type`=9 AND `id` IN (5, 6, 7);
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1776800, 9, 5, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Blood Knight Stillblade - On Script - Say Line 1"),
(1776800, 9, 6, 0, 0, 0, 100, 0, 120000, 120000, 0, 0, 94, 40, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Blood Knight Stillblade - On Script - Set Dynamic Flags Tapped By Player & Dead"),
(1776800, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 90, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Blood Knight Stillblade - On Script - Set Flag Standstate Dead");
@@ -0,0 +1,8 @@
--
SET @OGUID:=970;
DELETE FROM `gameobject` WHERE `guid`=@OGUID;
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID, 192612, 530, 3433, 3509, '0', 0, 7567.479, -7359.604, 161.8884, 3.159062, 0, 0, -0.9999619, 0.008734641, 120, 255, 1, 14545); -- 192612
DELETE FROM `gameobject_addon` WHERE `guid`=@OGUID;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`) VALUES
(@OGUID, 0, 0, 0.9999619, -0.00872653); -- 192612
@@ -0,0 +1,74 @@
--
-- Add missing Darnassian Huntress spawns and waypoints
SET @ENTRY := 16332;
SET @CGUID := 8142; -- Need new GUID
SET @PATHID_1 := @CGUID * 10 + 10;
SET @PATHID_2 := @CGUID * 10 + 40;
SET @PATHID_3 := @CGUID * 10 + 50;
SET @PATHID_4 := 822920;
-- Replace broken old script
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,0,0,100,0,0,0,1500,1500,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Darnassian Huntress - In Combat CMC - Cast 'Shoot'"),
(@ENTRY,0,1,0,0,0,100,0,3000,6000,4000,6000,11,11976,0,0,0,0,0,2,0,0,0,0,0,0,0,"Darnassian Huntress - In Combat CMC - Cast 'Strike'"),
(@ENTRY,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Darnassian Huntress - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Update existing spawn
UPDATE `creature` SET `position_x`=7751.952, `position_y`=-5668.519, `position_z`=3.2572, `orientation`=4.7679, `MovementType`=2 WHERE `guid`=82292;
-- Add six Darnassian Huntresses
DELETE FROM `creature` where `guid` BETWEEN @CGUID + 1 AND @CGUID + 6;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
(@CGUID + 1, @ENTRY, 530, 0, 0, '0', 0, 0, 1, 7774.547, -5636.031, 17.778, 0.6634, 300, 0, 0, 300, 0, 2, 0, 0, 0, 0),
(@CGUID + 2, @ENTRY, 530, 0, 0, '0', 0, 0, 1, 7773.823, -5630.231, 17.635, 2.5365, 300, 0, 0, 300, 0, 0, 0, 0, 0, 0),
(@CGUID + 3, @ENTRY, 530, 0, 0, '0', 0, 0, 1, 7763.575, -5621.737, 12.646, 2.2106, 300, 0, 0, 300, 0, 0, 0, 0, 0, 0),
(@CGUID + 4, @ENTRY, 530, 0, 0, '0', 0, 0, 1, 7760.331, -5604.991, 6.1089, 3.7932, 300, 0, 0, 300, 0, 2, 0, 0, 0, 0),
(@CGUID + 5, @ENTRY, 530, 0, 0, '0', 0, 0, 1, 7758.369, -5602.312, 5.8449, 2.2145, 300, 0, 0, 300, 0, 2, 0, 0, 0, 0),
(@CGUID + 6, @ENTRY, 530, 0, 0, '0', 0, 0, 1, 7745.804, -5595.838, 5.2045, 5.2971, 300, 3, 0, 300, 0, 1, 0, 0, 0, 0);
DELETE FROM `creature_addon` WHERE `guid` IN (82292, @CGUID + 1, @CGUID + 4, @CGUID + 5);
INSERT INTO `creature_addon` (`guid`, `path_id`, `bytes2`) VALUES
(82292, @PATHID_4, 4907),
(@CGUID + 1, @PATHID_1, 4907),
(@CGUID + 4, @PATHID_2, 4907),
(@CGUID + 5, @PATHID_3, 4907);
-- Add waypoints
DELETE FROM `waypoint_data` WHERE `id` IN (@PATHID_1, @PATHID_2, @PATHID_3, @PATHID_4);
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`) VALUES
(@PATHID_1, 1, 7780.032, -5630.046, 17.763),
(@PATHID_1, 2, 7781.274, -5623.627, 17.603),
(@PATHID_1, 3, 7779.118, -5620.582, 15.310),
(@PATHID_1, 4, 7775.551, -5621.366, 12.893),
(@PATHID_1, 5, 7771.632, -5620.182, 12.739),
(@PATHID_1, 6, 7761.813, -5626.793, 12.722),
(@PATHID_1, 7, 7762.528, -5631.518, 12.907),
(@PATHID_1, 8, 7760.252, -5634.204, 14.688),
(@PATHID_1, 9, 7762.723, -5637.752, 17.435),
(@PATHID_1, 10, 7769.044, -5639.117, 17.778),
(@PATHID_1, 11, 7774.547, -5636.031, 17.778),
(@PATHID_2, 1, 7748.84, -5613.78, 6.110),
(@PATHID_2, 2, 7735.15, -5624.36, 2.786),
(@PATHID_2, 3, 7726.56, -5630.98, 1.811),
(@PATHID_2, 4, 7726.56, -5630.98, 1.811),
(@PATHID_2, 5, 7735.15, -5624.36, 2.786),
(@PATHID_2, 6, 7748.84, -5613.78, 6.110),
(@PATHID_2, 7, 7760.33, -5604.99, 6.108),
(@PATHID_3, 1, 7742.552, -5581.803, 6.046),
(@PATHID_3, 2, 7737.227, -5576.881, 6.575),
(@PATHID_3, 3, 7729.966, -5574.968, 6.920),
(@PATHID_3, 4, 7730.269, -5582.284, 6.563),
(@PATHID_3, 5, 7733.807, -5588.920, 6.011),
(@PATHID_3, 6, 7748.309, -5609.775, 5.842),
(@PATHID_3, 7, 7758.369, -5602.312, 5.844),
(@PATHID_4, 1, 7755.931, -5703.133, 3.984),
(@PATHID_4, 2, 7731.408, -5733.688, 3.972),
(@PATHID_4, 3, 7697.184, -5732.922, 3.670),
(@PATHID_4, 4, 7696.596, -5753.390, 4.803),
(@PATHID_4, 5, 7672.940, -5753.602, 3.817),
(@PATHID_4, 6, 7696.596, -5753.390, 4.803),
(@PATHID_4, 7, 7697.184, -5732.922, 3.670),
(@PATHID_4, 8, 7731.408, -5733.688, 3.972),
(@PATHID_4, 9, 7755.931, -5703.133, 3.984),
(@PATHID_4, 10, 7751.952, -5668.519, 3.257);
@@ -0,0 +1,6 @@
--
UPDATE `smart_scripts` SET `event_param3`=0, `event_param4`=0 WHERE `entryorguid`=2856601 AND `source_type`=9 AND `id`=2;
UPDATE `smart_scripts` SET `event_flags`=0, `event_param3`=8010, `event_param4`=8010 WHERE `entryorguid`=28566 AND `source_type`=0 AND `id`=6;
UPDATE `smart_scripts` SET `event_flags`=0, `event_param3`=8000, `event_param4`=8000 WHERE `entryorguid`=28566 AND `source_type`=0 AND `id`=5;
UPDATE `smart_scripts` SET `event_flags`=0, `event_param3`=2000, `event_param4`=2000 WHERE `entryorguid`=28566 AND `source_type`=0 AND `id`=4;
UPDATE `smart_scripts` SET `action_param1`=1 WHERE `entryorguid` IN (28566) AND `source_type`=0 AND `id`=5;
@@ -0,0 +1,10 @@
--
SET @CGUID := 81110;
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID + 0 AND @CGUID + 5;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@CGUID+0, 1412, 530, 3518, 3518, '0', 0, 0, 0, -2023.83, 8911.35, 34.2775, 2.98928, 300, 10, 0, 8, 0, 1, 0, 0, 0, '', 0),
(@CGUID+1, 1412, 530, 3518, 3633, '0', 0, 0, 0, -2103.56, 8854.62, 24.6233, 0.58631, 300, 10, 0, 8, 0, 1, 0, 0, 0, '', 0),
(@CGUID+2, 1412, 530, 3518, 3633, '0', 0, 0, 0, -2105.73, 8904.69, 27.0793, 0.366985, 300, 10, 0, 8, 0, 1, 0, 0, 0, '', 0),
(@CGUID+3, 1412, 530, 3524, 3524, '0', 0, 0, 0, -4466.41, -11567.3, 13.3558, 5.58932, 300, 10, 0, 8, 0, 1, 0, 0, 0, '', 0),
(@CGUID+4, 1412, 530, 3524, 3524, '0', 0, 0, 0, -4786.42, -11723, 20.8626, 3.09852, 300, 10, 0, 8, 0, 1, 0, 0, 0, '', 0),
(@CGUID+5, 1412, 530, 3524, 3524, '0', 0, 0, 0, -4745.74, -12185.6, 18.5034, 5.9609, 300, 10, 0, 8, 0, 1, 0, 0, 0, '', 0);
@@ -0,0 +1,15 @@
-- Add pool of Borgoth the Bloodletter
SET @CGUID := 52139; -- Need new GUID
SET @POOLENTRY := 380; -- Need new POOLENTRY
DELETE FROM `creature` WHERE `guid`=@CGUID;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
(@CGUID, 16247, 530, 0, 0, '0', 0, 0, 0, 6439.692, -6643.391, 107.431, 1.7330, 300, 0, 0, 629, 0, 0, 0, 0, 0, 0);
DELETE FROM `pool_template` WHERE `entry`=@POOLENTRY;
INSERT INTO `pool_template` VALUES (@POOLENTRY, 1, "Borgoth the Bloodletter");
DELETE FROM `pool_creature` WHERE `guid` IN (@CGUID, 82889);
INSERT INTO `pool_creature` VALUES
(@CGUID, @POOLENTRY, 0, "Borgoth the Bloodletter #1"),
(82889, @POOLENTRY, 0, "Borgoth the Bloodletter #2");
@@ -0,0 +1,14 @@
--
DELETE FROM `smart_scripts` WHERE `entryorguid`=2546 AND `source_type`=0 AND `id`=1;
DELETE FROM `smart_scripts` WHERE `entryorguid`=254600 AND `source_type`=9;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2546, 0, 1, 0, 20, 0, 100, 0, 4621, 0, 0, 0, 80, 254600, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Fleet Master Firallon - On Quest 'Avast Ye, Admiral!' Rewarded - Run Script"),
(254600, 9, 0, 0, 0, 0, 100, 0, 400, 400, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Fleet Master Firallon - On Script - Say Line 0"),
(254600, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Fleet Master Firallon - On Script - Say Line 1"),
(254600, 9, 2, 0, 0, 0, 100, 0, 1500, 1500, 0, 0, 1, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Fleet Master Firallon - On Script - Say Line 1"),
(254600, 9, 3, 0, 0, 0, 100, 0, 1500, 1500, 0, 0, 1, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Fleet Master Firallon - On Script - Say Line 1");
DELETE FROM `creature_text` WHERE `CreatureID`=2546;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(2546, 0, 0, "Three cheers for $n -- Admiral o' the Bloodsail Bucaneer Navy!", 14, 0, 100, 0, 0, 0, 5522, 0, "Fleet Master Firallon"),
(2546, 1, 0, "Hip hip... arrrrr...", 14, 0, 100, 0, 0, 0, 5523, 0, "Fleet Master Firallon");
@@ -0,0 +1,22 @@
--
-- Add pool of Masophet the Black
SET @CGUID := 52140; -- Need new GUID
SET @POOLENTRY := 381; -- Need new POOLENTRY
DELETE FROM `creature` WHERE `guid` IN (@CGUID,52640,60777,60792);
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
(@CGUID, 16249, 530, 0, 0, '0', 0, 0, 1, 6310.767, -6249.392, 80.812, 2.4250, 300, 0, 0, 486, 1202, 0, 0, 0, 0, 0),
(52640, 16317, 530, 0, 0, '0', 0, 0, 1, 6301.899, -6257.172, 77.8141, 0.802766, 300, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(60777, 16317, 530, 0, 0, '0', 0, 0, 1, 6301.729, -6241.071, 77.8141, 5.446064, 300, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(60792, 16317, 530, 0, 0, '0', 0, 0, 1, 6318.017, -6240.674, 77.8141, 3.948309, 300, 0, 0, 0, 0, 0, 0, 0, 0, 0);
UPDATE `creature` SET `position_x`=6376.408, `position_y`=-6451.7163, `position_z`=70.686, `orientation`=2.766143 WHERE `guid`=82866;
UPDATE `creature` SET `position_x`=6355.741, `position_y`=-6456.6611, `position_z`=74.923, `orientation`=3.543688 WHERE `guid`=82919;
DELETE FROM `pool_template` WHERE `entry`=@POOLENTRY;
INSERT INTO `pool_template` VALUES (@POOLENTRY, 1, "Masophet the Black");
DELETE FROM `pool_creature` WHERE `guid` IN (@CGUID, 82907);
INSERT INTO `pool_creature` VALUES
(@CGUID, @POOLENTRY, 0, "Masophet the Black #1"),
(82907, @POOLENTRY, 0, "Masophet the Black #2");
@@ -0,0 +1,28 @@
-- Add new script for flee event, also flee for assist
-- Grimscale Murloc SAI
SET @ENTRY := 15668;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,38,0,100,0,0,1,0,0,11,26661,2,0,0,0,0,1,0,0,0,0,0,0,0,"Grimscale Murloc - On Data Set 0 1 - Cast 'Fear' (No Repeat)"),
(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Grimscale Murloc - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Add entry for flee event + fix healing
-- Grimscale Oracle SAI
SET @ENTRY := 15669;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,14,0,100,0,400,40,12000,16000,11,17137,0,0,0,0,0,7,0,0,0,0,0,0,0,"Grimscale Oracle - Friendly At 70 Health - Cast 'Flash Heal'"),
(@ENTRY,0,1,0,38,0,100,0,0,1,0,0,11,26661,3,0,0,0,0,1,0,0,0,0,0,0,0,"Grimscale Oracle - On Data Set 0 1 - Cast 'Fear' (No Repeat)"),
(@ENTRY,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Grimscale Oracle - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Redo script
-- Mmmrrrggglll SAI
SET @ENTRY := 15937;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,0,0,100,0,0,0,9000,12000,11,12058,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mmmrrrggglll - In Combat - Cast 'Chain Lightning'"),
(@ENTRY,0,1,0,0,0,100,0,4000,6000,12000,16000,11,21030,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mmmrrrggglll - In Combat - Cast 'Frost Shock'"),
(@ENTRY,0,2,0,2,0,100,0,0,50,12000,15000,11,12491,1,0,0,0,0,1,0,0,0,0,0,0,0,"Mmmrrrggglll - Between 0-50% Health - Cast 'Healing Wave'"),
(@ENTRY,0,3,4,6,0,100,0,0,0,0,0,45,0,1,0,0,0,0,9,15668,0,60,0,0,0,0,"Mmmrrrggglll - On Just Died - Set Data 0 1"),
(@ENTRY,0,4,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,9,15669,0,60,0,0,0,0,"Mmmrrrggglll - On Just Died - Set Data 0 1");
@@ -0,0 +1,162 @@
-- Deeprot Stomper
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=13141;
DELETE FROM `smart_scripts` WHERE `entryorguid`=13141 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(13141,0,0,0,0,0,100,2,11000,16000,15000,21000,11,11876,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deeprot Stomper - In Combat - Cast War Stomp"),
(13141,0,1,0,0,0,100,2,5000,8000,7000,10000,11,13446,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deeprot Stomper - In Combat - Cast Strike");
-- Deeprot Tangler
DELETE FROM `smart_scripts` WHERE `entryorguid`=13142 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(13142,0,0,0,1,0,100,2,1000,1000,600000,600000,11,21337,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deeprot Tangler - Out of Combat - Cast Thorns"),
(13142,0,1,0,0,0,100,2,3000,5000,17000,21000,11,21331,0,0,0,0,0,5,0,0,0,0,0,0,0,"Deeprot Tangler - In Combat - Cast Entangling Roots");
-- Poison Sprite
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=12216;
DELETE FROM `smart_scripts` WHERE `entryorguid`=12216 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(12216,0,0,0,0,0,100,2,0,0,3000,4500,11,21067,64,0,0,0,0,2,0,0,0,0,0,0,0,"Poison Sprite - In Combat - Cast Poison Bolt");
-- Corruptor
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=12217;
DELETE FROM `smart_scripts` WHERE `entryorguid`=12217 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(12217,0,0,0,9,0,100,2,0,5,30000,45000,11,5413,0,0,0,0,0,2,0,0,0,0,0,0,0,"Corruptor - Within 0-5 Range - Cast Noxious Catalyst"),
(12217,0,1,0,0,0,100,2,2000,5000,14000,21000,11,21068,0,0,0,0,0,5,0,0,0,0,0,0,0,"Corruptor - In Combat - Cast Corruption");
-- Putridus Satyr
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11790;
DELETE FROM `smart_scripts` WHERE `entryorguid`=11790 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(11790,0,0,0,9,0,100,2,0,5,7000,11000,11,12540,0,0,0,0,0,5,0,0,0,0,0,0,0,"Putridus Satyr - Within 0-5 Range - Cast Gouge"),
(11790,0,1,0,0,0,100,2,6000,8000,22000,25000,11,21062,0,0,0,0,0,5,0,0,0,0,0,0,0,"Putridus Satyr - In Combat - Cast Putrid Breath"),
(11790,0,2,0,0,0,100,2,8000,15000,12000,15000,11,15667,0,0,0,0,0,2,0,0,0,0,0,0,0,"Putridus Satyr - In Combat - Cast Sinister Strike");
-- Putridus Shadowstalker
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11792;
DELETE FROM `smart_scripts` WHERE `entryorguid`=11792 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(11792,0,0,0,0,0,100,2,8000,16000,21000,30000,11,15087,0,0,0,0,0,1,0,0,0,0,0,0,0,"Putridus Shadowstalker - In Combat - Cast Evasion"),
(11792,0,1,0,9,0,100,2,0,5,12000,15000,11,9080,0,0,0,0,0,2,0,0,0,0,0,0,0,"Putridus Shadowstalker - Within 0-5 Range - Cast Hamstring"),
(11792,0,2,0,0,0,100,2,6000,8000,22000,25000,11,21062,0,0,0,0,0,5,0,0,0,0,0,0,0,"Putridus Shadowstalker - In Combat - Cast Putrid Breath"),
(11792,0,3,0,25,0,100,2,0,0,0,0,11,22766,0,0,0,0,0,1,0,0,0,0,0,0,0,"Putridus Shadowstalker - On Reset - Cast Sneak");
-- Putridus Trickster
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11791;
DELETE FROM `smart_scripts` WHERE `entryorguid`=11791 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(11791,0,0,0,67,0,100,2,5000,8000,0,0,11,15657,0,0,0,0,0,2,0,0,0,0,0,0,0,"Putridus Trickster - On Behind Target - Cast Backstab"),
(11791,0,1,0,0,0,100,2,5000,8000,22000,25000,11,21062,0,0,0,0,0,5,0,0,0,0,0,0,0,"Putridus Trickster - In Combat - Cast Putrid Breath"),
(11791,0,2,0,25,0,100,2,0,0,0,0,11,3417,0,0,0,0,0,1,0,0,0,0,0,0,0,"Putridus Trickster - On Reset - Cast Thrash"),
(11791,0,3,0,0,0,100,2,5000,8000,17000,19000,11,13298,0,0,0,0,0,2,0,0,0,0,0,0,0,"Putridus Trickster - In Combat - Cast Poison");
-- Cavern Shambler
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=12224;
DELETE FROM `smart_scripts` WHERE `entryorguid`=12224 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(12224,0,0,0,0,0,100,2,5000,8000,6000,11000,11,16790,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cavern Shambler - In Combat - Cast Knockdown"),
(12224,0,1,0,2,0,100,2,0,75,21000,26000,11,7948,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cavern Shambler - Between 0-75% Health - Cast Wild Regeneration");
-- Cavern Lurker
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=12223;
DELETE FROM `smart_scripts` WHERE `entryorguid`=12223 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(12223,0,0,0,0,0,100,2,5000,8000,6000,11000,11,11428,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cavern Lurker - In Combat - Cast Knockdown");
-- Noxious Slime
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=12221;
DELETE FROM `smart_scripts` WHERE `entryorguid`=12221 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(12221,0,0,0,6,0,100,3,0,0,0,0,11,21070,3,0,0,0,0,1,0,0,0,0,0,0,0,"Noxious Slime - On Just Died - Cast Noxious Cloud");
-- Sister of Celebrian
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11794;
DELETE FROM `smart_scripts` WHERE `entryorguid`=11794 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(11794,0,0,0,0,0,100,2,0,0,2300,3900,11,15795,64,0,0,0,0,2,0,0,0,0,0,0,0,"Sister of Celebrian - In Combat - Cast Throw"),
(11794,0,1,0,9,0,100,2,0,5,8000,9000,11,14516,0,0,0,0,0,2,0,0,0,0,0,0,0,"Sister of Celebrian - Within 0-5 Range - Cast Strike"),
(11794,0,2,0,4,0,30,2,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sister of Celebrian - On Aggro - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=11794;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(11794,0,0,"You do not belong in these gardens. Your body shall nourish our lovely creations!",12,0,100,0,0,0,8639,0,"Sister of Celebrian"),
(11794,0,1,"Nothing must befoul the gardens! You must be destroyed!",12,0,100,0,0,0,8640,0,"Sister of Celebrian");
-- Celebrian Dryad
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11793;
DELETE FROM `smart_scripts` WHERE `entryorguid`=11793 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(11793,0,0,0,0,0,100,2,0,0,2300,3900,11,16000,64,0,0,0,0,2,0,0,0,0,0,0,0,"Celebrian Dryad - In Combat - Cast Throw"),
(11793,0,1,0,2,0,100,3,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Celebrian Dryad - Between 0-15% Health - Flee For Assist (No Repeat)"),
(11793,0,2,0,0,0,100,2,8000,16000,12000,16000,11,17201,0,0,0,0,0,1,0,0,0,0,0,0,0,"Celebrian Dryad - In Combat - Cast Dispel Magic"),
(11793,0,3,0,0,0,100,2,5000,7000,12000,13000,11,7992,0,0,0,0,0,5,0,0,0,0,0,0,0,"Celebrian Dryad - In Combat - Slowing Poison"),
(11793,0,4,0,4,0,30,2,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Celebrian Dryad - On Aggro - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=11793;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(11793,0,0,"You do not belong in these gardens. Your body shall nourish our lovely creations!",12,0,100,0,0,0,8639,0,"Celebrian Dryad"),
(11793,0,1,"Nothing must befoul the gardens! You must be destroyed!",12,0,100,0,0,0,8640,0,"Celebrian Dryad");
-- Constrictor Vine
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=12220;
DELETE FROM `smart_scripts` WHERE `entryorguid`=12220 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(12220,0,0,0,0,0,100,2,3000,5000,9000,17000,11,11922,0,0,0,0,0,5,0,0,0,0,0,0,0,"Constrictor Vine - In Combat - Cast Entangling Roots");
-- Barbed Lasher
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=12219;
DELETE FROM `smart_scripts` WHERE `entryorguid`=12219 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(12219,0,0,0,0,0,100,2,2000,5000,6000,11000,11,21749,0,0,0,0,0,1,0,0,0,0,0,0,0,"Barbed Lasher - In Combat - Cast Thorn Volley");
-- Vile Larva
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=12218;
DELETE FROM `smart_scripts` WHERE `entryorguid`=12218 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(12218,0,0,0,9,0,100,2,0,10,5000,9000,11,21069,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vile Larva - Within 0-10 Range - Cast Larva Goo"),
(12218,0,1,0,0,0,100,2,5000,8000,17000,18000,11,744,0,0,0,0,0,2,0,0,0,0,0,0,0,"Vile Larva - In Combat - Cast Poison");
-- Spewed Larva
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=13533;
DELETE FROM `smart_scripts` WHERE `entryorguid`=13533 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(13533,0,0,0,9,0,100,2,6000,9000,30000,45000,11,5413,0,0,0,0,0,2,0,0,0,0,0,0,0,"Spewed Larva - In Combat - Cast Noxious Catalyst");
-- Thessala Hydra
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=12207;
DELETE FROM `smart_scripts` WHERE `entryorguid`=12207 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(12207,0,0,0,0,0,100,2,10000,13000,12000,18000,11,21790,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thessala Hydra - In Combat - Cast Aqua Jet"),
(12207,0,1,0,25,0,100,2,0,0,0,0,11,3417,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thessala Hydra - On Reset - Cast Thrash"),
(12207,0,2,0,0,0,100,2,6000,10000,17000,18000,11,21787,0,0,0,0,0,5,0,0,0,0,0,0,0,"Thessala Hydra - In Combat - Cast Deadly Poison");
-- Subterranean Diemetradon
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=13323;
DELETE FROM `smart_scripts` WHERE `entryorguid`=13323 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(13323,0,0,0,0,0,100,2,6000,8000,10000,14000,11,8281,0,0,0,0,0,1,0,0,0,0,0,0,0,"Subterranean Diemetradon - In Combat - Cast Sonic Burst");
-- Tinkerer Gizlock
DELETE FROM `smart_scripts` WHERE `entryorguid`=13601 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(13601,0,0,0,0,0,100,2,0,0,2300,3900,11,16100,64,0,0,0,0,2,0,0,0,0,0,0,0,"Tinkerer Gizlock - In Combat - Cast Shoot"),
(13601,0,1,0,0,0,100,2,25000,25000,25000,25000,11,29419,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tinkerer Gizlock - In Combat - Cast Flash Bomb"),
(13601,0,2,0,4,0,100,3,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tinkerer Gizlock - On Aggro - Say Line 0"),
(13601,0,3,0,0,0,100,2,6000,9000,16000,19000,11,21833,0,0,0,0,0,2,0,0,0,0,0,0,0,"Tinkerer Gizlock - In Combat - Cast Goblin Dragon Gun"),
(13601,0,4,0,0,0,100,2,4000,4000,12000,12000,11,9143,1,0,0,0,0,5,0,0,0,0,0,0,0,"Tinkerer Gizlock - In Combat - Cast Bomb");
DELETE FROM `creature_text` WHERE `CreatureID`=13601;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(13601,0,0,"Mine! Mine! Mine! Gizlock is the ruler of this domain! You shall never reveal my presence!",14,0,100,0,0,0,8852,0,"Tinkerer Gizlock");
-- Primordial Behemoth
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=12206;
DELETE FROM `smart_scripts` WHERE `entryorguid`=12206 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(12206,0,0,0,0,0,100,2,0,0,2300,3900,11,21071,64,0,0,0,0,2,0,0,0,0,0,0,0,"Primordial Behemoth - In Combat - Cast Boulder"),
(12206,0,1,0,9,0,100,2,0,8,8000,13000,11,5568,0,0,0,0,0,1,0,0,0,0,0,0,0,"Primordial Behemoth - Within 0-8 Range - Cast Trample");
-- Rotgrip
DELETE FROM `smart_scripts` WHERE `entryorguid`=13596 AND `source_type`=0 AND `id`=1;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(13596,0,1,0,0,0,100,2,6000,8000,13000,18000,11,15976,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rotgrip - In Combat - Cast Puncture");
@@ -0,0 +1,14 @@
UPDATE `creature_template` SET `InhabitType`=4, `AIName`="SmartAI" WHERE `entry`=24168;
DELETE FROM `smart_scripts` WHERE `entryorguid`=24168 AND `source_type`=0;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(24168, 0, 0, 0, 1, 0, 100, 0, 30000, 120000, 120000, 180000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Micah Stonebreaker - OOC - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=24168;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(24168, 0, 0, "AGH! Not again with the sprayin'!", 12, 6, 100, 0, 0, 0, 22869, 0, "Micah Stonebreaker"),
(24168, 0, 1, "What's that n- AGH!", 12, 6, 100, 0, 0, 0, 22870, 0, "Micah Stonebreaker"),
(24168, 0, 2, "Brann's beard, just STOP!", 12, 6, 100, 0, 0, 0, 22871, 0, "Micah Stonebreaker"),
(24168, 0, 3, "The dwarf coughs, sputters, and shivers in the cage.", 16, 0, 100, 0, 0, 0, 22872, 0, "Micah Stonebreaker"),
(24168, 0, 4, "A low, despairing moan escapes the caged dwarf.", 16, 0, 100, 0, 0, 0, 22873, 0, "Micah Stonebreaker"),
(24168, 0, 5, "%s shakes the bars of the cage weakly.", 16, 0, 100, 0, 0, 0, 22874, 0, "Micah Stonebreaker"),
(24168, 0, 6, "%s slumps against the cage bars dejectedly.", 16, 0, 100, 0, 0, 0, 22875, 0, "Micah Stonebreaker");
@@ -0,0 +1,19 @@
-- Greengill Slave
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` IN (25084);
UPDATE `creature_template` SET `InhabitType` = 3 WHERE `entry` IN (25085);
-- These are reordered from c++-script so that conditions will work on linked events properly.
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid IN (25084,25085));
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(25084, 0, 0, 1, 8, 0, 100, 1, 45109, 0, 0, 0, 11, 45111, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Greengill Slave - On Spellhit \'Orb of Murloc Control\' - Cast \'Enrage\''),
(25084, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 36, 25085, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Greengill Slave - IC - Load template'),
(25084, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 19, 25060, 100, 0, 0, 0, 0, 0, 'Greengill Slave - On Spellhit \'Orb of Murloc Control\' - Start Attacking'),
(25084, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 45110, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Greengill Slave - On Spellhit \'Orb of Murloc Control\' - Cast \'Greengill Slave Freed\''),
(25084, 0, 4, 0, 1, 0, 100, 1, 30000, 30000, 0, 0, 36, 25084, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Freed Greengill Slave - OOC - reset template'),
(25084, 0, 5, 0, 7, 0, 100, 0, 0, 0, 0, 0, 41, 5000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Freed Greengill Slave - on evade - despawn');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=25084;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 1, 25084, 0, 0, 9, 0, 11541, 0, 0, 0, 0, 0, '', 'Smart event 2 for Greengill Slave will execute if quest Disrupt the Greengill Coast has been taken.'),
(22, 1, 25084, 0, 0, 1, 1, 45111, 1, 0, 1, 0, 0, '', 'Smart event 0 for Greengill Slave will execute if creature does not have aura Enrage.'),
(22, 6, 25084, 0, 0, 31, 1, 3, 25085, 0, 0, 0, 0, '', 'Smart event 5 for Greengill Slave will execute if creature is 25085');
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long