DB Updates

This commit is contained in:
hondacrx
2021-10-03 13:55:51 -04:00
parent 727e0100a1
commit c17390b4fa
38 changed files with 2351 additions and 0 deletions
@@ -0,0 +1,62 @@
-- Quest "The Final Code" --> Outro Event
-- Texts
DELETE FROM `creature_text` WHERE `CreatureID` IN (18459,21400,21397);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(18459,0,0,"Rejoice, my friends! $n has saved us from the looming shadow that threatened our very lives!",14,7,100,22,0,0,19075,0,"Jenai Starwhisper"),
(21400,0,0,"We're saved? We're really saved?! YAHOO!",12,7,100,5,0,0,19076,0,"Eckert"),
(21400,1,0,"It's time to PARTY!",12,7,100,0,0,0,19077,0,"Eckert"),
(21397,0,0,"%s applauds lightly, smiling.",16,0,100,21,0,0,19078,0,"Aeman Brightsong"),
(21397,1,0,"How fortuitous. I believe this calls for some wine.",12,7,100,1,0,0,19079,0,"Aeman Brightsong"),
(21397,2,0,"A fine vintage in celebration of our salvation!",12,7,100,1,0,0,19080,0,"Aeman Brightsong");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=18459;
DELETE FROM `smart_scripts` WHERE `entryorguid`=18459 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1845900 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
(18459,0,0,0,11,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jenai Starwhisper - On Respawn - Set Event Phase 1"),
(18459,0,1,0,20,1,100,0,10446,0,0,0,80,1845900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jenai Starwhisper - On Quest 'The Final Code' Finished - Run Script"),
(1845900,9,0,0,0,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jenai Starwhisper - On Script - Set Event Phase 0"),
(1845900,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jenai Starwhisper - On Script - Say Line 0"),
(1845900,9,2,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,21400,0,0,0,0,0,0,"Jenai Starwhisper - On Script - Set Data to Eckert"),
(1845900,9,3,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,21397,0,0,0,0,0,0,"Jenai Starwhisper - On Script - Set Data to Aeman Brightsong"),
(1845900,9,4,0,0,0,100,0,60000,60000,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jenai Starwhisper - On Script - Set Event Phase 1");
-- Eckert
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=21400;
DELETE FROM `smart_scripts` WHERE `entryorguid`=21400 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2140000 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
(21400,0,0,0,38,0,100,0,1,1,0,0,53,1,21400,0,0,0,0,1,0,0,0,0,0,0,0,"Eckert - On Data Set - Start Waypoint"),
(21400,0,1,0,38,0,100,0,1,1,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Eckert - On Data Set - Set Emote State 'None'"),
(21400,0,2,0,40,0,100,0,1,21400,0,0,54,6000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Eckert - On Waypoint 1 Reached - Pause Waypoint"),
(21400,0,3,0,40,0,100,0,1,21400,0,0,80,2140000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Eckert - On Waypoint 1 Reached - Run Script"),
(21400,0,4,0,40,0,100,0,2,21400,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.71374,"Eckert - On Waypoint 2 Reached - Set Orientation"),
(21400,0,5,0,40,0,100,0,2,21400,0,0,17,10,0,0,0,0,0,1,0,0,0,0,0,0,0,"Eckert - On Waypoint 2 Reached - Set Emote State 'Dance'"),
(21400,0,6,0,40,0,100,0,2,21400,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Eckert - On Waypoint 2 Reached - Say Line 1"),
(2140000,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.34305,"Eckert - On Script - Set Orientation"),
(2140000,9,1,0,0,0,100,0,500,500,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Eckert - On Script - Say Line 0"),
(2140000,9,2,0,0,0,100,0,3000,3000,0,0,5,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Eckert - On Script - Play Emote 'Cheer'");
-- Aeman Brightsong
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=21397;
DELETE FROM `smart_scripts` WHERE `entryorguid`=21397 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (2139700,2139701) 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
(21397,0,0,0,38,0,100,0,1,1,0,0,53,0,21397,0,0,0,0,1,0,0,0,0,0,0,0,"Aeman Brightsong - On Data Set - Start Waypoint"),
(21397,0,1,0,40,0,100,0,1,21397,0,0,54,9000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Aeman Brightsong - On Waypoint 1 Reached - Pause Waypoint"),
(21397,0,2,0,40,0,100,0,1,21397,0,0,80,2139700,0,0,0,0,0,1,0,0,0,0,0,0,0,"Aeman Brightsong - On Waypoint 1 Reached - Run Script"),
(21397,0,3,0,40,0,100,0,2,21397,0,0,80,2139701,0,0,0,0,0,1,0,0,0,0,0,0,0,"Aeman Brightsong - On Waypoint 2 Reached - Run Script"),
(2139700,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,"Aeman Brightsong - On Script - Say Line 0"),
(2139700,9,1,0,0,0,100,0,3000,3000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Aeman Brightsong - On Script - Say Line 1"),
(2139701,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.56465,"Aeman Brightsong - On Script - Set Orientation"),
(2139701,9,1,0,0,0,100,0,0,0,0,0,41,0,0,0,0,0,0,15,184753,20,0,0,0,0,0,"Aeman Brightsong - On Script - Despawn Gameobject 'Brightsong Wine'"),
(2139701,9,2,0,0,0,100,0,0,0,0,0,50,184753,300,0,0,0,0,8,0,0,0,-2965.37,4012.68,1.49919,6.03974,"Aeman Brightsong - On Script - Summon Gameobject 'Brightsong Wine'"),
(2139701,9,3,0,0,0,100,0,500,500,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Aeman Brightsong - On Script - Say Line 2");
-- WP
DELETE FROM `waypoints` WHERE `entry` IN (21400,21397);
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(21400,1,-2930.29,3996.8,-0.606507,""),
(21400,2,-2919.26,3969.4,0.28936,""),
(21397,1,-2938.29,4007.75,-1.12266,""),
(21397,2,-2965.84,4011.33,1.37422,"");
@@ -0,0 +1,10 @@
-- Doorway to the Abyss (10392)
UPDATE `gameobject_template_addon` SET `Flags`=4 WHERE `entry`=182935;
UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI', `ScriptName`='' WHERE `entry`=182935;
DELETE FROM `smart_scripts` WHERE `entryorguid`=182935 AND `source_type`=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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(182935,1,0,1,8,0,100,0,35739,0,0,0,0,41,0,0,0,0,0,0,20,184656,10,0,0,0,0,0,'Rune of Spite - On Spell Hit - Despawn gob'),
(182935,1,1,0,61,0,100,0,0,0,0,0,0,99,3,0,0,0,0,0,20,185190,10,0,0,0,0,0,'Rune of Spite - On Spell Hit - Set Loot State');
UPDATE `gameobject` SET `spawntimesecs`=30 WHERE `id` IN (184656,185190);
DELETE FROM `gameobject_addon` WHERE `guid` in (24681,24682,32137,32138,32139);
@@ -0,0 +1,285 @@
-- A Question of Gluttony
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=9702;
-- Familiar Fungi
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=9708;
-- Stealing Back the Mushrooms
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=9709;
-- The Orebor Harborage
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=9776;
-- Fulgor Spores
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9777;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9777;
-- Umbrafen Eel Filets
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9780;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9780;
-- Too Many Mouths to Feed
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9781;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9781;
-- The Dead Mire
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9782;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9782;
-- An Unnatural Drought
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9783;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9783;
-- The Boha'mu Ruins
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9786;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9786;
-- Idols of the Feralfen
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9787;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9787;
-- Diaphanous Wings
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9790;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9790;
-- Menacing Marshfangs
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=9791;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9791;
-- A Message to Telaar
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9792;
-- The Fate of Tuurem
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9793;
-- No Time for Curiosity
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9794;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9794;
-- Gathering the Reagents
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9801;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9801;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9801;
-- Messenger to the Feralfen
DELETE FROM `quest_details` WHERE `ID`=9803;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(9803,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9803;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9803;
-- Stinger Venom
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9830;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9830;
-- Lines of Communication
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9833;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9833;
-- Natural Armor
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9834;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9834;
-- Ango'rosh Encroachment
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9835;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9835;
-- Overlord Gorefist
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9839;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9839;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9839;
-- Secrets of the Daggerfen
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9848;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9848;
-- Safeguarding the Watchers
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=9894;
-- The Dying Balance
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9895;
-- Blacksting's Bane
UPDATE `quest_details` SET `Emote1`=5, `Emote2`=1, `Emote3`=1 WHERE `ID`=9896;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9896;
-- Unfinished Business
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=9901;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9901;
-- The Terror of Marshlight Lake
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9902;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9902;
-- Maktu's Revenge
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9905;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9905;
-- What's Wrong at Cenarion Thicket?
DELETE FROM `quest_details` WHERE `ID`=9961;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(9961,1,1,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=6 WHERE `ID`=9961;
-- Strange Energy
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=9968;
-- Clues in the Thicket
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=9971;
-- Stymying the Arakkoa
DELETE FROM `quest_details` WHERE `ID`=9986;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(9986,5,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9986;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9986;
-- Investigate Tuurem
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=9990;
UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE (ID=9990);
-- Olemba Seeds
DELETE FROM `quest_details` WHERE `ID`=9992;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(9992,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9992;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9992;
-- What Are These Things? (Both factions)
DELETE FROM `quest_details` WHERE `ID` IN (9994,9995);
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(9994,1,1,0,0,0,0,0,0,0),
(9995,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete` = 6 WHERE `ID` IN (9994,9995);
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID` IN (9994,9995);
-- Attack on Firewing Point
DELETE FROM `quest_details` WHERE `ID`=9996;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(9996,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=9996;
UPDATE `quest_offer_reward` SET `Emote1`=1, Emote2=1 WHERE `ID`=9996;
-- Unruly Neighbors
DELETE FROM `quest_details` WHERE `ID`=9998;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(9998,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=9998;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=9998;
-- The Firewing Liaison
DELETE FROM `quest_details` WHERE `ID`=10002;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10002,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10002;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10002;
-- Letting Earthbinder Tavgren Know
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10005;
-- Thinning the Ranks
DELETE FROM `quest_details` WHERE `ID`=10007;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10007,274,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10007;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10007;
-- Fel Orc Plans
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10012;
-- Timber Worg Tails
DELETE FROM `quest_details` WHERE `ID`=10016;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10016,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10016;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10016;
-- The Elusive Ironjaw
DELETE FROM `quest_details` WHERE `ID`=10022;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10022,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10022;
UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1 WHERE `ID`=10022;
-- Magical Disturbances
UPDATE `quest_details` SET `Emote1`=24, `Emote2`=1, `Emote3`=1 WHERE `ID`=10026;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10026;
UPDATE `quest_offer_reward` SET `Emote1`=273, `Emote2`=1, `Emote3`=1 WHERE `ID`=10026;
-- Vessels of Power
DELETE FROM `quest_details` WHERE `ID`=10028;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10028,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10028;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10028;
-- Wanted: Bonelashers Dead!
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10033;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=10033;
-- Torgos!
DELETE FROM `quest_details` WHERE `ID`=10035;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10035,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10035;
UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1 WHERE `ID`=10035;
-- Speak with Private Weeks
DELETE FROM `quest_details` WHERE `ID`=10038;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10038,1,25,1,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=10038;
-- Who Are They?
DELETE FROM `quest_details` WHERE `ID`=10040;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10040,6,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=10040;
UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=10040;
-- Kill the Shadow Council!
DELETE FROM `quest_details` WHERE `ID`=10042;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10042,5,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10042;
UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1, `Emote3`=1 WHERE `ID`=10042;
-- Escape from Firewing Point! (Both factions)
DELETE FROM `quest_details` WHERE `ID` IN (10051,10052);
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10051,1,1,1,0,0,0,0,0,0),
(10052,1,1,1,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=2 WHERE `ID`=10051;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10052;
-- Daggerfen Deviance
DELETE FROM `quest_details` WHERE `ID`=10115;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10115,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10115;
-- Wanted: Chieftain Mummaki
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10116;
-- Withered Flesh
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10355;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10355;
-- Report to the Allerian Post
DELETE FROM `quest_details` WHERE `ID`=10444;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10444,5,1,1,1,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1, Emote2=1 WHERE `ID`=10444;
-- The Final Code
DELETE FROM `quest_details` WHERE `ID`=10446;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10446,5,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=10446;
UPDATE `quest_offer_reward` SET `Emote1`=4, Emote2=1 WHERE `ID`=10446;
-- Before Darkness Falls
UPDATE `quest_details` SET `Emote1`=0 WHERE `ID`=10878;
-- The Infested Protectors
UPDATE `quest_details` SET `Emote1`=0 WHERE `ID`=10896;
@@ -0,0 +1,78 @@
-- Cabal Interrogator
DELETE FROM `smart_scripts` WHERE `entryorguid`=22378 AND `source_type`=0 AND `id` IN (0,2);
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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(22378,0,0,2,1,0,100,0,5000,15000,60000,80000,0,11,39043,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cabal Interrogator - Out of Combat - Cast 'Kick Akuno'"),
(22378,0,2,0,61,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cabal Interrogator - Out of Combat - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=22378;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(22378,0,0,"Speak, filthy refugee! What was your caravan doing in the Bone Wastes?",12,0,100,0,0,0,20160,0,"Cabal Interrogator");
-- Akuno
DELETE FROM `creature_text` WHERE `CreatureID`=22377;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(22377,0,0,"Let us leave this place. I've had enough of these madmen!",12,0,100,0,0,0,20161,0,"Akuno"),
(22377,1,0,"Beware! More cultists come!",12,0,100,0,0,0,20162,0,"Akuno"),
(22377,2,0,"I can find my way from here. My friend Mekeda will reward you for your kind actions.",12,0,100,0,0,0,20163,0,"Akuno");
UPDATE `creature_template_addon` SET `bytes1`=0 WHERE `entry`=22377;
UPDATE `creature_template` SET `AIName`="SmartAI", `ScriptName`="" WHERE `entry`=22377;
DELETE FROM `smart_scripts` WHERE `entryorguid`=22377 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (2237700,2237701,2237702,2237703) 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(22377,0,0,0,11,0,100,0,0,0,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Respawn - Set Flag Standstate 'Kneel'"),
(22377,0,1,2,19,0,100,0,10887,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Akuno - On Quest 'Escaping the Tomb' Taken - Store Targetlist"),
(22377,0,2,3,61,0,100,0,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Quest 'Ancient Spirit' Taken - Remove Npc Flag Questgiver"),
(22377,0,3,0,61,0,100,0,0,0,0,0,0,80,2237700,2,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Quest 'Ancient Spirit' Taken - Run Script"),
(22377,0,4,0,19,0,100,0,10887,0,0,0,0,2,10,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Quest 'Escaping the Tomb' Taken - Set Faction 10"),
(22377,0,5,0,19,0,100,0,10887,0,0,0,0,2,33,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Quest 'Escaping the Tomb' Taken - Set Faction 33"),
(22377,0,6,0,6,0,100,0,0,0,0,0,0,6,10887,0,0,0,0,0,12,1,0,0,0,0,0,0,"Akuno - On Just Died - Fail Quest 'Escaping the Tomb'"),
(22377,0,7,0,40,0,100,0,7,22377,0,0,0,80,2237701,2,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Waypoint 7 Reached - Run Script"),
(22377,0,8,0,40,0,100,0,13,22377,0,0,0,80,2237702,2,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Waypoint 13 Reached - Run Script"),
(22377,0,9,0,40,0,100,0,14,22377,0,0,0,80,2237703,2,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Waypoint 14 Reached - Run Script"),
(2237700,9,0,0,0,0,100,0,3000,3000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Script - Say Line 0"),
(2237700,9,1,0,0,0,100,0,3000,3000,0,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Script - Remove Flag Standstate 'Kneel'"),
(2237700,9,2,0,0,0,100,0,0,0,0,0,0,53,0,22377,0,0,0,2,1,0,0,0,0,0,0,0,"Akuno - On Script - Start Waypoint"),
(2237701,9,0,0,0,0,100,0,0,0,0,0,0,54,2000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Script - Pause Waypoint"),
(2237701,9,1,0,0,0,100,0,0,0,0,0,0,107,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Script - Summon Group 1"),
(2237702,9,0,0,0,0,100,0,0,0,0,0,0,54,2000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Script - Pause Waypoint"),
(2237702,9,1,0,0,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Script - Say Line 1"),
(2237702,9,2,0,0,0,100,0,0,0,0,0,0,107,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Script - Summon Group 2"),
(2237702,9,3,0,0,0,100,0,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Script - Set Run On"),
(2237703,9,0,0,0,0,100,0,0,0,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Script - Say Line 2"),
(2237703,9,1,0,0,0,100,0,0,0,0,0,0,15,10887,0,0,0,0,0,12,1,0,0,0,0,0,0,"Akuno - On Script - Complete Quest 'Escaping the Tomb'"),
(2237703,9,2,0,0,0,100,0,0,0,0,0,0,41,8000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akuno - On Script - Despawn");
DELETE FROM `creature_summon_groups` WHERE `summonerId`=22377;
INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`) VALUES
(22377,0,1,21661,-2872.73,5416.57,-28.261,6.28158,1,25000),
(22377,0,1,21661,-2872.57,5411.03,-28.261,0.06515,1,25000),
(22377,0,2,21661,-2897.29,5325.13,-11.854,1.29125,1,25000),
(22377,0,2,21661,-2890.51,5324.94,-11.222,1.63291,1,25000);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=22377;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22,6,22377,0,0,6,0,67,0,0,0,0,0,"","SAI triggers only if Player is Horde"),
(22,5,22377,0,0,6,0,469,0,0,0,0,0,"","SAI triggers only if Player is Alliance");
DELETE FROM `script_waypoint` WHERE `entry`=22377;
DELETE FROM `waypoints` WHERE `entry`=22377;
INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES
(22377,1,-2766.31,5429.65,-34.53,""),
(22377,2,-2769.35,5416.25,-34.53,""),
(22377,3,-2780.07,5416.06,-34.53,""),
(22377,4,-2812.56,5415.2,-34.53,""),
(22377,5,-2816.95,5415.02,-34.52,""),
(22377,6,-2827.86,5414.56,-28.29,""),
(22377,7,-2864.44,5414.17,-28.26,""),
(22377,8,-2878.32,5414.11,-28.26,""),
(22377,9,-2893.17,5413.15,-18.59,""),
(22377,10,-2896.36,5409.65,-18.59,""),
(22377,11,-2896.5,5396.76,-8.77,""),
(22377,12,-2896.67,5366.2,-9.59,""),
(22377,13,-2891.52,5342.16,-11.6663,""),
(22377,14,-2861.98,5242.75,-12.4858,"");
-- Cabal Skirmisher
UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid`=21661 AND `source_type`=0 AND `id`=3;
@@ -0,0 +1,420 @@
-- Deathwhisperer
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=19299;
DELETE FROM `smart_scripts` WHERE `entryorguid`=19299 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(19299,0,0,0,25,0,100,0,0,0,0,0,0,11,12787,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deathwhisperer - On Reset - Cast 'Thrash'"),
(19299,0,1,0,25,0,100,0,0,0,0,0,0,11,15088,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deathwhisperer - On Reset - Cast 'Flurry'"),
(19299,0,2,0,0,0,100,0,4000,6000,12000,16000,0,11,32417,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathwhisperer - In Combat - Cast 'Mind Flay'");
-- Dread Tactician
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=16959;
DELETE FROM `smart_scripts` WHERE `entryorguid`=16959 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(16959,0,0,0,0,0,100,0,5000,8000,15000,20000,0,11,33678,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dread Tactician - In Combat - Cast 'Carrion Swarm'"),
(16959,0,1,0,0,0,100,0,8000,11000,24000,29000,0,11,12098,0,0,0,0,0,6,0,0,0,0,0,0,0,"Dread Tactician - In Combat - Cast 'Sleep'"),
(16959,0,2,0,2,0,100,1,0,30,0,0,0,11,33679,0,0,0,0,0,5,0,0,0,0,0,0,0,"Dread Tactician - Between 0-30% Health - Cast 'Inferno' (No Repeat)");
-- Felguard Destroyer
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=18977;
DELETE FROM `smart_scripts` WHERE `entryorguid`=18977 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(18977,0,0,0,9,0,100,1,8,40,0,0,0,11,33971,2,0,0,0,0,2,0,0,0,0,0,0,0,"Felguard Destroyer - Within 8-40 Range - Cast 'Sweeping Charge' (No Reapeat)"),
(18977,0,1,0,0,0,100,0,7000,9000,11000,15000,0,11,13737,0,0,0,0,0,2,0,0,0,0,0,0,0,"Felguard Destroyer - In Combat - Cast 'Mortal Strike'"),
(18977,0,2,0,0,0,100,0,3000,5000,7000,11000,0,11,40505,0,0,0,0,0,2,0,0,0,0,0,0,0,"Felguard Destroyer - In Combat - Cast 'Cleave'");
-- Subjugator Yalqiz
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=19335;
DELETE FROM `smart_scripts` WHERE `entryorguid`=19335 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(19335,0,0,0,0,0,100,0,6000,8000,12000,15000,0,11,32000,0,0,0,0,0,2,0,0,0,0,0,0,0,"Subjugator Yalqiz - In Combat - Cast 'Mind Sear'"),
(19335,0,1,0,0,0,100,0,3000,5000,9000,11000,0,11,32026,2,0,0,0,0,2,0,0,0,0,0,0,0,"Subjugator Yalqiz - In Combat - Cast 'Pain Spike'");
-- Vorakem Doomspeaker
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=18679;
DELETE FROM `smart_scripts` WHERE `entryorguid`=18679 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(18679,0,0,0,0,0,100,0,5000,7000,11000,14000,0,11,9080,0,0,0,0,0,2,0,0,0,0,0,0,0,"Vorakem Doomspeaker - In Combat - Cast 'Hamstring'"),
(18679,0,1,0,0,0,100,0,7000,9000,12000,15000,0,11,33804,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vorakem Doomspeaker - In Combat - Cast 'Flame Wave'"),
(18679,0,2,0,2,0,100,1,0,20,0,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vorakem Doomspeaker - Between 0-20% Health - Cast Enrage (No Repeat)"),
(18679,0,3,0,2,0,100,1,0,20,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vorakem Doomspeaker - Between 0-20% Health - Say Line 0 (No Repeat)");
DELETE FROM `creature_text` WHERE `CreatureID`=18679;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(18679,0,0,"%s becomes enraged!",16,0,100,0,0,0,10677,0,"Vorakem Doomspeaker");
-- Flame Wave
UPDATE `creature_template` SET `faction`=90, `AIName`="SmartAI" WHERE `entry`=19381;
DELETE FROM `smart_scripts` WHERE `entryorguid`=19381 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(19381,0,0,0,11,0,100,0,0,0,0,0,0,11,33800,0,0,0,0,0,1,0,0,0,0,0,0,0,"Flame Wave - On Respawn - Cast 'Flame Wave'");
-- Bonechewer Scavenger
DELETE FROM `creature_text` WHERE `CreatureID` IN (18952) AND `GroupID`=0 AND `ID` IN (1,2,3);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(18952,0,1,"For Spinebreaker!",12,0,100,0,0,0,12838,0,"Bonechewer Scavenger"),
(18952,0,2,"Your bones will be devoured!",12,0,100,0,0,0,12839,0,"Bonechewer Scavenger"),
(18952,0,3,"Protect the Warchief at all costs!",12,0,100,0,0,0,12836,0,"Bonechewer Scavenger");
-- Bonechewer Evoker
DELETE FROM `smart_scripts` WHERE `entryorguid`=19701 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19701,0,0,0,4,0,20,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bonechewer Evoker - On Aggro - Say Line 0"),
(19701,0,1,0,0,0,100,0,0,0,3000,5000,0,11,9053,64,0,0,0,0,2,0,0,0,0,0,0,0,"Bonechewer Evoker - In Combat - Cast 'Fireball'"),
(19701,0,2,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Bonechewer Evoker - Between 0-15% Health - Flee For Assist (No Repeat)");
DELETE FROM `creature_text` WHERE `CreatureID`=19701;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(19701,0,0,"Death to the interlopers!",12,0,100,0,0,0,12837,0,"Bonechewer Evoker"),
(19701,0,1,"For Spinebreaker!",12,0,100,0,0,0,12838,0,"Bonechewer Evoker"),
(19701,0,2,"Your bones will be devoured!",12,0,100,0,0,0,12839,0,"Bonechewer Evoker"),
(19701,0,3,"Protect the Warchief at all costs!",12,0,100,0,0,0,12836,0,"Bonechewer Evoker");
-- Starving Helboar
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=16879;
DELETE FROM `smart_scripts` WHERE `entryorguid`=16879 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(16879,0,0,0,25,0,100,0,0,0,0,0,0,11,33908,0,0,0,0,0,1,0,0,0,0,0,0,0,"Starving Helboar - On Reset - Cast 'Burning Spikes'");
-- Infernal Warbringer
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=19261;
DELETE FROM `smart_scripts` WHERE `entryorguid`=19261 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(19261,0,0,0,25,0,100,0,0,0,0,0,0,11,19483,0,0,0,0,0,1,0,0,0,0,0,0,0,"Infernal Warbringer - On Reset - Cast 'Immolation'");
-- Dreadcaller
DELETE FROM `smart_scripts` WHERE `entryorguid`=19434 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19434,0,0,0,0,0,100,0,0,0,2000,4000,0,11,32666,64,0,0,0,0,2,0,0,0,0,0,0,0,"Dreadcaller - In Combat - Cast 'Shadow Bolt'"),
(19434,0,1,0,0,0,100,0,4000,9000,18000,24000,0,11,11443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dreadcaller - In Combat - Cast 'Cripple'");
-- Bleeding Hollow Peon
DELETE FROM `smart_scripts` WHERE `entryorguid`=16907 AND `source_type`=0 AND `id`=2;
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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16907,0,2,0,4,0,20,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bleeding Hollow Peon - On Aggro - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=16907;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(16907,0,0,"Death to the interlopers!",12,0,100,0,0,0,12837,0,"Bleeding Hollow Peon"),
(16907,0,1,"For Spinebreaker!",12,0,100,0,0,0,12838,0,"Bleeding Hollow Peon"),
(16907,0,2,"Your bones will be devoured!",12,0,100,0,0,0,12839,0,"Bleeding Hollow Peon"),
(16907,0,3,"Protect the Warchief at all costs!",12,0,100,0,0,0,12836,0,"Bleeding Hollow Peon");
-- Bleeding Hollow Grunt
DELETE FROM `smart_scripts` WHERE `entryorguid`=16871 AND `source_type`=0 AND `id`=3;
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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16871,0,3,0,4,0,20,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bleeding Hollow Grunt - On Aggro - Say Line 1");
DELETE FROM `creature_text` WHERE `CreatureID`=16871 AND `GroupID`=1;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(16871,1,0,"Death to the interlopers!",12,0,100,0,0,0,12837,0,"Bleeding Hollow Grunt"),
(16871,1,1,"For Spinebreaker!",12,0,100,0,0,0,12838,0,"Bleeding Hollow Grunt"),
(16871,1,2,"Your bones will be devoured!",12,0,100,0,0,0,12839,0,"Bleeding Hollow Grunt"),
(16871,1,3,"Protect the Warchief at all costs!",12,0,100,0,0,0,12836,0,"Bleeding Hollow Grunt");
-- Bleeding Hollow Necrolyte
DELETE FROM `smart_scripts` WHERE `entryorguid`=19422 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19422,0,0,0,4,0,20,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bleeding Hollow Necrolyte - On Aggro - Say Line 0"),
(19422,0,1,0,0,0,100,0,0,0,3000,5000,0,11,9053,64,0,0,0,0,2,0,0,0,0,0,0,0,"Bleeding Hollow Necrolyte - In Combat - Cast 'Fireball'"),
(19422,0,2,0,0,0,100,0,8000,12000,30000,45000,0,11,34073,32,0,0,0,0,5,0,0,0,0,0,0,0,"Bleeding Hollow Necrolyte - In Combat - Cast 'Curse of the Bleeding Hollow'"),
(19422,0,3,0,5,0,100,0,0,0,0,0,0,11,34019,1,0,0,0,0,7,0,0,0,0,0,0,0,"Bleeding Hollow Necrolyte - On Killed Unit - Cast 'Raise Dead'"),
(19422,0,4,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Bleeding Hollow Necrolyte - Between 0-15% Health - Flee For Assist (No Repeat)"),
(19422,0,5,0,8,0,100,1,38530,0,0,0,0,49,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Bleeding Hollow Necrolyte - On Spellhit - Start Attack");
DELETE FROM `creature_text` WHERE `CreatureID`=19422;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(19422,0,0,"Death to the interlopers!",12,0,100,0,0,0,12837,0,"Bleeding Hollow Necrolyte"),
(19422,0,1,"For Spinebreaker!",12,0,100,0,0,0,12838,0,"Bleeding Hollow Necrolyte"),
(19422,0,2,"Your bones will be devoured!",12,0,100,0,0,0,12839,0,"Bleeding Hollow Necrolyte"),
(19422,0,3,"Protect the Warchief at all costs!",12,0,100,0,0,0,12836,0,"Bleeding Hollow Necrolyte");
-- Bleeding Hollow Dark Shaman
DELETE FROM `smart_scripts` WHERE `entryorguid`=16873 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16873,0,0,0,4,0,20,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bleeding Hollow Dark Shaman - On Aggro - Say Line 0"),
(16873,0,1,0,0,0,100,0,0,0,3000,5000,0,11,20825,64,0,0,0,0,2,0,0,0,0,0,0,0,"Bleeding Hollow Dark Shaman - In Combat - Cast 'Shadow Bolt'"),
(16873,0,2,0,0,0,100,0,4000,8000,30000,45000,0,11,32062,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bleeding Hollow Dark Shaman - In Combat - Cast 'Fire Nova Totem'"),
(16873,0,3,0,5,0,100,0,0,0,0,0,0,11,34013,1,0,0,0,0,7,0,0,0,0,0,0,0,"Bleeding Hollow Dark Shaman - On Killed Unit - Cast 'Raise Soul'"),
(16873,0,4,0,2,0,100,1,0,30,0,0,0,11,6742,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bleeding Hollow Dark Shaman - Between 0-30% Health - Cast 'Bloodlust' (No Repeat)"),
(16873,0,5,0,23,0,100,0,12550,0,1000,1000,0,11,12550,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bleeding Hollow Dark Shaman - On Has No Aura 'Lightning Shield' - Cast 'Lightning Shield'"),
(16873,0,6,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Bleeding Hollow Dark Shaman - Between 0-15% Health - Flee For Assist (No Repeat)"),
(16873,0,7,0,8,0,100,1,38530,0,0,0,0,49,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Bleeding Hollow Dark Shaman - On Spellhit - Start Attack");
DELETE FROM `creature_text` WHERE `CreatureID`=16873;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(16873,0,0,"Death to the interlopers!",12,0,100,0,0,0,12837,0,"Bleeding Hollow Dark Shaman"),
(16873,0,1,"For Spinebreaker!",12,0,100,0,0,0,12838,0,"Bleeding Hollow Dark Shaman"),
(16873,0,2,"Your bones will be devoured!",12,0,100,0,0,0,12839,0,"Bleeding Hollow Dark Shaman"),
(16873,0,3,"Protect the Warchief at all costs!",12,0,100,0,0,0,12836,0,"Bleeding Hollow Dark Shaman");
-- Bleeding Hollow Tormentor
DELETE FROM `smart_scripts` WHERE `entryorguid`=19424 AND `source_type`=0 AND `id`=5;
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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19424,0,5,0,4,0,20,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bleeding Hollow Tormentor - On Aggro - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=19424;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(19424,0,0,"Death to the interlopers!",12,0,100,0,0,0,12837,0,"Bleeding Hollow Tormentor"),
(19424,0,1,"For Spinebreaker!",12,0,100,0,0,0,12838,0,"Bleeding Hollow Tormentor"),
(19424,0,2,"Your bones will be devoured!",12,0,100,0,0,0,12839,0,"Bleeding Hollow Tormentor"),
(19424,0,3,"Protect the Warchief at all costs!",12,0,100,0,0,0,12836,0,"Bleeding Hollow Tormentor");
-- Mekthorg the Wild
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=18677;
DELETE FROM `smart_scripts` WHERE `entryorguid`=18677 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(18677,0,0,0,0,0,100,0,6000,8000,11000,13000,0,11,38875,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mekthorg the Wild - In Combat - Cast 'Pike Vault'"),
(18677,0,1,0,9,0,100,0,0,5,11000,14000,0,11,37704,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mekthorg the Wild - Within 0-5 Range - Cast 'Whirlwind'"),
(18677,0,2,0,2,0,100,1,0,20,0,0,0,11,8599,1,0,0,0,0,1,0,0,0,0,0,0,0,"Mekthorg the Wild - Between 0-20% Health - Cast 'Enrage' (No Repeat)"),
(18677,0,3,0,2,0,100,1,0,20,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mekthorg the Wild - Between 0-20% Health - Say Line 0 (No Repeat)");
DELETE FROM `creature_text` WHERE `CreatureID`=18677;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(18677,0,0,"%s becomes enraged!",16,0,100,0,0,0,10677,0,"Mekthorg the Wild");
-- Unyielding Knight
DELETE FROM `smart_scripts` WHERE `entryorguid`=16906 AND `source_type`=0 AND `id`=2;
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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16906,0,2,0,14,0,100,0,1600,40,20000,25000,0,11,33910,0,0,0,0,0,7,0,0,0,0,0,0,0,"Unyielding Knight - Friendly At 1600 Health - Cast 'Heal Other'");
-- Arch Mage Xintor
DELETE FROM `smart_scripts` WHERE `entryorguid`=16977 AND `source_type`=0 AND `id`=15;
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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16977,0,15,0,25,0,100,1,0,0,0,0,0,11,33900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Arch Mage Xintor - On Respawn - Cast 'Shroud of Death'");
-- Rogue Voidwalker
DELETE FROM `smart_scripts` WHERE `entryorguid`=16974 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16974,0,1,0,6,0,100,0,0,0,0,0,0,11,34234,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rogue Voidwalker - On Just Died - Cast 'Collapse'");
-- Uncontrolled Voidwalker
DELETE FROM `smart_scripts` WHERE `entryorguid`=16975 AND `source_type`=0 AND `id` IN (1,2);
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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16975,0,1,0,2,0,100,1,0,50,0,0,0,11,33916,0,0,0,0,0,1,0,0,0,0,0,0,0,"Uncontrolled Voidwalker - Between 0-50% Health - Cast 'Void Drain'"),
(16975,0,2,0,6,0,100,0,0,0,0,0,0,11,34234,0,0,0,0,0,1,0,0,0,0,0,0,0,"Uncontrolled Voidwalker - On Just Died - Cast 'Collapse'");
-- Void Spawner L
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=19681;
DELETE FROM `smart_scripts` WHERE `entryorguid`=19681 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(19681,0,0,0,1,0,100,0,1000,120000,120000,240000,0,11,34303,0,0,0,0,0,1,0,0,0,0,0,0,0,"Void Spawner L - Out of Combat - Cast 'Nether Charge'");
UPDATE `creature_addon` SET `auras`="" WHERE `auras`="34303";
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=34303;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13,3,34303,0,0,32,0,144,0,0,1,0,0,"","Nether Charge cannot target players");
-- Warboss Nekrogg
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=19263;
DELETE FROM `smart_scripts` WHERE `entryorguid`=19263 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(19263,0,0,0,0,0,100,0,5000,7000,12000,16000,0,11,34113,0,0,0,0,0,2,0,0,0,0,0,0,0,"Warboss Nekrogg - In Combat - Cast 'Bonechewer Bite'"),
(19263,0,1,0,0,0,100,0,10000,12000,25000,30000,0,11,30474,0,0,0,0,0,2,0,0,0,0,0,0,0,"Warboss Nekrogg - In Combat - Cast 'Bloodthirst'");
-- Shattered Hand Guard
DELETE FROM `smart_scripts` WHERE `entryorguid`=19414 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19414,0,1,0,0,0,100,0,6000,9000,13000,16000,0,11,33960,0,0,0,0,0,2,0,0,0,0,0,0,0,"Shattered Hand Guard - In Combat - Cast 'Counterstrike'");
-- Z'kral
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=18974;
DELETE FROM `smart_scripts` WHERE `entryorguid`=18974 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(18974,0,0,0,0,0,100,0,5000,8000,9000,12000,0,11,32003,0,0,0,0,0,2,0,0,0,0,0,0,0,"Z'kral - In Combat - Cast 'Power Burn'");
-- Explosive Charge
UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=183410;
DELETE FROM `smart_scripts` WHERE `entryorguid`=183410 AND `source_type`=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
(183410,1,0,0,1,0,100,1,10000,10000,0,0,9,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Explosive Charge - Out of Combat - Activate Gameobject");
-- Bonechewer Raider
DELETE FROM `smart_scripts` WHERE `entryorguid`=16925 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16925,0,1,0,4,0,20,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bonechewer Raider - On Aggro - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=16925;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(16925,0,0,"Death to the interlopers!",12,0,100,0,0,0,12837,0,"Bonechewer Raider"),
(16925,0,1,"For Spinebreaker!",12,0,100,0,0,0,12838,0,"Bonechewer Raider"),
(16925,0,2,"Your bones will be devoured!",12,0,100,0,0,0,12839,0,"Bonechewer Raider"),
(16925,0,3,"Protect the Warchief at all costs!",12,0,100,0,0,0,12836,0,"Bonechewer Raider");
-- Bonechewer Mutant
DELETE FROM `smart_scripts` WHERE `entryorguid`=16876 AND `source_type`=0 AND `id`=5;
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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16876,0,5,0,4,0,20,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bonechewer Mutant - On Aggro - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=16876 AND `GroupID`=2;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(16876,2,0,"Death to the interlopers!",12,0,100,0,0,0,12837,0,"Bonechewer Mutant"),
(16876,2,1,"For Spinebreaker!",12,0,100,0,0,0,12838,0,"Bonechewer Mutant"),
(16876,2,2,"Your bones will be devoured!",12,0,100,0,0,0,12839,0,"Bonechewer Mutant"),
(16876,2,3,"Protect the Warchief at all costs!",12,0,100,0,0,0,12836,0,"Bonechewer Mutant");
-- Shattered Hand Grunt
DELETE FROM `smart_scripts` WHERE `entryorguid`=16867 AND `source_type`=0 AND `id` IN (0,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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(16867,0,0,0,0,0,100,0,5000,7000,8000,9000,0,11,11976,0,0,0,0,0,2,0,0,0,0,0,0,0,"Shattered Hand Grunt - In Combat - Cast 'Strike'"),
(16867,0,1,0,0,0,100,0,7000,9000,12000,14000,0,11,11978,0,0,0,0,0,2,0,0,0,0,0,0,0,"Shattered Hand Grunt - In Combat - Cast 'Kick'");
-- Shattered Hand Captain
UPDATE `smart_scripts` SET `event_param1`=5000, `event_param2`=8000, `event_param3`=8000, `event_param4`=12000 WHERE `entryorguid`=16870 AND `source_type`=0 AND `id`=0;
-- Shattered Hand Warlock
UPDATE `smart_scripts` SET `event_param3`=3000, `event_param4`=5000 WHERE `entryorguid`=19411 AND `source_type`=0 AND `id`=1;
UPDATE `smart_scripts` SET `event_chance`=100 WHERE `entryorguid`=19411 AND `source_type`=0 AND `id`=2;
-- Mo'arg Forgefiend
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=16946;
DELETE FROM `smart_scripts` WHERE `entryorguid`=16946 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(16946,0,0,0,0,0,100,0,0,0,2000,4000,0,11,32735,64,0,0,0,0,2,0,0,0,0,0,0,0,"Mo'arg Forgefiend - In Combat - Cast 'Saw Blade'"),
(16946,0,1,0,9,0,100,0,0,5,15000,19000,0,11,36486,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mo'arg Forgefiend - Within 0-5 Range - Cast 'Slime Spray'");
-- Gan'arg Servant
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=16947;
DELETE FROM `smart_scripts` WHERE `entryorguid`=16947 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(16947,0,0,0,0,0,100,0,5000,8000,12000,15000,0,11,32003,0,0,0,0,0,2,0,0,0,0,0,0,0,"Gan'arg Servant - In Combat - Cast 'Power Burn'");
-- Incandescent Fel Spark
DELETE FROM `smart_scripts` WHERE `entryorguid`=22323 AND `source_type`=0 AND `id` IN (0,2);
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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(22323,0,0,0,0,0,100,0,1000,2000,3000,5000,0,11,36247,64,0,0,0,0,2,0,0,0,0,0,0,0,"Incandescent Fel Spark - In Combat - Cast 'Fel Fireball'"),
(22323,0,2,0,0,0,100,0,8000,11000,18000,24000,0,11,39055,0,0,0,0,0,1,0,0,0,0,0,0,0,"Incandescent Fel Spark - In Combat - Cast 'Flames of Chaos'");
-- Fel Reaver
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=18733;
DELETE FROM `smart_scripts` WHERE `entryorguid`=18733 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(18733,0,0,0,0,0,100,0,9000,12000,18000,25000,0,11,41534,0,0,0,0,0,1,0,0,0,0,0,0,0,"Fel Reaver - In Combat - Cast 'War Stomp'"),
(18733,0,1,0,25,0,100,0,0,0,0,0,0,11,19818,0,0,0,0,0,1,0,0,0,0,0,0,0,"War Stomp - On Respawn - Cast 'Double Attack'"),
(18733,0,2,0,25,0,100,0,0,0,0,0,0,11,34623,0,0,0,0,0,1,0,0,0,0,0,0,0,"War Stomp - On Respawn - Cast 'Fel Reaver Warning Aura'"),
(18733,0,3,0,25,0,100,0,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"War Stomp - On Respawn - Set Active On");
-- Arazzius the Cruel
DELETE FROM `smart_scripts` WHERE `entryorguid`=19191 AND `source_type`=0 AND `id` IN (6,7,8);
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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(19191,0,6,0,2,0,100,1,50,75,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Arazzius the Cruel - Between 50-75% Health - Say Line 2 (No Repeat)"),
(19191,0,7,0,2,0,100,1,25,50,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Arazzius the Cruel - Between 25-50% Health - Say Line 3 (No Repeat)"),
(19191,0,8,0,2,0,100,1,0,25,0,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Arazzius the Cruel - Between 0-25% Health - Say Line 4 (No Repeat)");
DELETE FROM `creature_text` WHERE `CreatureID`=19191 AND `GroupID` IN (2,3,4);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(19191,2,0,"Fool! You are a child playing in a world beyond your comprehension. Speak no more!",14,0,100,0,0,0,16858,0,"Arazzius the Cruel"),
(19191,3,0,"Your weapons are nothing to me! Relent!",14,0,100,0,0,0,16859,0,"Arazzius the Cruel"),
(19191,4,0,"You have confidence in your skills? Think carefully as the answer may surprise you.",14,0,100,0,0,0,16860,0,"Arazzius the Cruel");
-- Thornfang Ravager
DELETE FROM `smart_scripts` WHERE `entryorguid`=19349 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19349,0,1,0,25,0,100,0,0,0,0,0,0,11,22696,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thornfang Ravager - On Respawn - Cast 'Thorns'");
-- Thornfang Venomspitter
DELETE FROM `smart_scripts` WHERE `entryorguid`=19350 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19350,0,0,0,0,0,100,0,2000,4000,12000,14000,0,11,6917,0,0,0,0,0,2,0,0,0,0,0,0,0,"Thornfang Venomspitter - In Combat - Cast 'Venom Spit'"),
(19350,0,1,0,0,0,100,0,6000,8000,15000,17000,0,11,33781,0,0,0,0,0,2,0,0,0,0,0,0,0,"Thornfang Venomspitter - In Combat - Cast 'Ravage'"),
(19350,0,2,0,25,0,100,0,0,0,0,0,0,11,22696,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thornfang Venomspitter - On Respawn - Cast 'Thorns'");
-- Dreghood Brute
DELETE FROM `smart_scripts` WHERE `entryorguid`=16938 AND `source_type`=0 AND `id`=15;
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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16938,0,15,0,38,0,100,0,1,1,0,0,0,49,0,0,0,0,0,0,21,50,0,0,0,0,0,0,"Dreghood Brute - On Data 1 1 Set - Start Attacking");
-- Dreghood Geomancer
DELETE FROM `smart_scripts` WHERE `entryorguid`=16937 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16937,0,1,0,0,0,100,0,0,0,3000,5000,0,11,34083,64,0,0,0,0,2,0,0,0,0,0,0,0,"Dreghood Geomancer - In Combat - Cast 'Fireball'");
-- Stonescythe Whelp
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=16927;
DELETE FROM `smart_scripts` WHERE `entryorguid`=16927 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(16927,0,0,0,2,0,100,1,0,15,0,0,0,11,33896,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonescythe Whelp - Between 0-15% Health - Cast 'Desperate Defense' (No Repeat)"),
(16927,0,1,0,2,0,100,1,0,15,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonescythe Whelp - Between 0-15% Health - Say Line 0 (No Repeat)");
DELETE FROM `creature_text` WHERE `CreatureID`=16927;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(16927,0,0,"%s defends himself in desperation.",16,0,100,0,0,0,16744,0,"Stonescythe Whelp");
-- Stonescythe Alpha
DELETE FROM `smart_scripts` WHERE `entryorguid`=16929 AND `source_type`=0 AND `id` IN (1,2);
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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(16929,0,1,0,2,0,100,1,0,15,0,0,0,11,33896,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonescythe Alpha - Between 0-15% Health - Cast 'Desperate Defense' (No Repeat)"),
(16929,0,2,0,2,0,100,1,0,15,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonescythe Alpha - Between 0-15% Health - Say Line 0 (No Repeat)");
DELETE FROM `creature_text` WHERE `CreatureID`=16929;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(16929,0,0,"%s defends himself in desperation.",16,0,100,0,0,0,16744,0,"Stonescythe Alpha");
-- Stonescythe Ambusher
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=16928;
DELETE FROM `smart_scripts` WHERE `entryorguid`=16928 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(16928,0,0,0,25,0,100,0,0,0,0,0,0,11,22766,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonescythe Ambusher - On Respawn - Cast 'Sneak'"),
(16928,0,1,0,0,0,100,0,1000,3000,14000,18000,0,11,31843,0,0,0,0,0,2,0,0,0,0,0,0,0,"Stonescythe Ambusher - In Combat - Cast 'Cheap Shot'"),
(16928,0,2,0,2,0,100,1,0,15,0,0,0,11,33896,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonescythe Ambusher - Between 0-15% Health - Cast 'Desperate Defense' (No Repeat)"),
(16928,0,3,0,2,0,100,1,0,15,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonescythe Ambusher - Between 0-15% Health - Say Line 0 (No Repeat)");
DELETE FROM `creature_text` WHERE `CreatureID`=16928;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(16928,0,0,"%s defends himself in desperation.",16,0,100,0,0,0,16744,0,"Stonescythe Ambusher");
-- Haal'eshi Talonguard
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=16967;
DELETE FROM `smart_scripts` WHERE `entryorguid`=16967 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(16967,0,0,0,4,0,100,0,0,0,0,0,0,11,32720,0,0,0,0,0,1,0,0,0,0,0,0,0,"Haal'eshi Talonguard - On Aggro - Cast 'Sprint'"),
(16967,0,1,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Haal'eshi Talonguard - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Haal'eshi Windwalker
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=16966;
DELETE FROM `smart_scripts` WHERE `entryorguid`=16966 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(16966,0,0,0,0,0,100,0,0,0,3000,5000,0,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Haal'eshi Windwalker - In Combat - Cast 'Lightning Bolt'"),
(16966,0,1,0,0,0,100,0,8000,12000,20000,24000,0,11,32717,0,0,0,0,0,5,0,0,0,0,0,0,0,"Haal'eshi Windwalker - In Combat - Cast 'Hurricane'"),
(16966,0,2,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Haal'eshi Windwalker - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Quillfang Ravager
UPDATE `smart_scripts` SET `event_chance`=100 WHERE `entryorguid`=16934 AND `source_type`=0;
UPDATE `smart_scripts` SET `event_param1`=7000, `event_param2`=9000 WHERE `entryorguid`=16934 AND `source_type`=0 AND `id`=0;
-- Fix movement for some creatures
UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid` IN (58637,58216,58207,58208,58209);
UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `id`=19681;
-- Fix spell "Desperate Defense"
DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=33896;
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
(33896,33897,0,"Desperate Defense");
-- Sister of Grief (16960)
UPDATE `creature_template` SET `AIName`='SmartAI', `ScriptName`='' WHERE `entry`=16960;
DELETE FROM `smart_scripts` WHERE `entryorguid`=16960 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16960,0,0,0,0,0,100,0,3000,5000,5000,8000,0,11,21987,0,0,0,0,0,2,0,0,0,0,0,0,0,'Sister of Grief - In Combat - Cast \'Lash of Pain\''),
(16960,0,1,0,0,0,100,0,10000,15000,60000,60000,0,11,34250,0,0,0,0,0,1,0,0,0,0,0,0,0,'Sister of Grief - In Combat - Cast \'Whipped Fury\'');
-- Urga'zz (18976)
UPDATE `creature_template` SET `AIName`='SmartAI', `ScriptName`='' WHERE `entry`=18976;
DELETE FROM `smart_scripts` WHERE `entryorguid`=18976 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18976,0,0,0,0,0,100,0,3000,7000,7000,12000,0,11,32004,0,0,0,0,0,2,0,0,0,0,0,0,0,'Urga\'zz - In Combat - Cast \'Drill\''),
(18976,0,1,0,0,0,100,0,11000,17000,17000,30000,0,11,32003,0,0,0,0,0,2,0,0,0,0,0,0,0,'Urga\'zz - In Combat - Cast \'Power Burn\'');
-- Warbringer Arix'Amal (19298)
UPDATE `creature_template` SET `AIName`='SmartAI', `ScriptName`='' WHERE `entry`=19298;
DELETE FROM `smart_scripts` WHERE `entryorguid`=19298 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19298,0,0,0,0,0,100,0,3000,7000,7000,11000,0,11,15496,0,0,0,0,0,2,0,0,0,0,0,0,0,'Warbringer Arix\'Amal - In Combat - Cast \'Cleave\''),
(19298,0,1,0,0,0,100,0,8000,12000,11000,17000,0,11,32009,0,0,0,0,0,2,0,0,0,0,0,0,0,'Warbringer Arix\'Amal - In Combat - Cast \'Cutdown\'');
-- Razorsaw (20798)
UPDATE `creature_template` SET `AIName`='SmartAI', `ScriptName`='' WHERE `entry`=20798;
DELETE FROM `smart_scripts` WHERE `entryorguid`=20798 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(20798,0,0,0,0,0,100,0,4000,9000,14000,19000,0,11,36486,0,0,0,0,0,2,0,0,0,0,0,0,0,'Razorsaw - In Combat - Cast \'Slime Spray\''),
(20798,0,1,0,0,0,100,0,0,1000,1500,1500,0,11,32735,0,0,0,0,0,2,0,0,0,0,0,0,0,'Razorsaw - In Combat - Cast \'Saw Blade\'');
@@ -0,0 +1,139 @@
-- Magtheridon (21174)
DELETE FROM `creature_text` WHERE `CreatureID`=21174;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(21174,0,0,'Wretched, meddling insects! Release me, and perhaps I will grant you a merciful death!',14,0, 100,0,0,10247,17339,3,'Magtheridon'),
(21174,0,1,'Vermin! Leeches! Take my blood and choke on it!',14,0,100,0,0,10248,17340,3,'Magtheridon'),
(21174,0,2,'Illidan is an arrogant fool! I will crush him and reclaim Outland as my own!',14,0,100,0,0,10249,17341,3,'Magtheridon'),
(21174,0,3,'Away, you mindless parasites! My blood is my own!',14,0,100,0,0,10250,17342,3,'Magtheridon'),
(21174,0,4,'How long do you believe your pathetic sorcery can hold me?',14,0,100,0,0,10251,17343,3,'Magtheridon'),
(21174,0,5,'My blood will be the end of you!',14,0,100,0,0,10252,17344,3,'Magtheridon');
UPDATE `creature_template` SET `AIName`='SmartAI', `ScriptName`='' WHERE `entry`=21174;
DELETE FROM `smart_scripts` WHERE `entryorguid`=21174 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(21174,0,0,0,60,0,100,0,60000,60000,180000,180000,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Magtheridon - Update - Say Line 0');
-- Laughing Skull Enforcer (17370, 18608)
DELETE FROM `creature_text` WHERE `CreatureID`=17370;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(17370,0,0,'This world is OURS!',12,0,100,0,0,0,16702,0,'Laughing Skull Enforcer'),
(17370,0,1,'We are the true Horde!',12,0,100,0,0,0,16697,0,'Laughing Skull Enforcer'),
(17370,0,2,'The blood is our power! ',12,0,100,0,0,0,16700,0,'Laughing Skull Enforcer'),
(17370,0,3,'For Kargath! For Victory!',12,0,100,0,0,0,16698,0,'Laughing Skull Enforcer'),
(17370,0,4,'Gakarah ma!',12,0,100,0,0,0,16699,0,'Laughing Skull Enforcer'),
(17370,0,5,'Lok\'tar Illadari!\n',12,0,100,0,0,0,16701,0,'Laughing Skull Enforcer'),
(17370,0,6,'Lok narash!',12,0,100,0,0,0,16703,0,'Laughing Skull Enforcer');
UPDATE `creature_template` SET `pickpocketloot`=17370, `mechanic_immune_mask`=1 WHERE `entry`=18053;
-- Shadowmoon Warlock (17371, 18619)
UPDATE `creature_template` SET `pickpocketloot`=17371, `mechanic_immune_mask`=1 WHERE `entry`=18619;
DELETE FROM `smart_scripts` WHERE `entryorguid`=17371 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(17371,0,0,0,0,0,100,2,0,0,3300,4900,0,11,12739,64,0,0,0,0,2,0,0,0,0,0,0,0,'Shadowmoon Warlock - In Combat CMC - Cast \'Shadow Bolt\' (Normal Dungeon)'),
(17371,0,1,0,0,0,100,4,0,0,3300,4900,0,11,15472,64,0,0,0,0,2,0,0,0,0,0,0,0,'Shadowmoon Warlock - In Combat CMC - Cast \'Shadow Bolt\' (Heroic Dungeon)'),
(17371,0,2,0,0,0,100,2,1100,7800,14800,30100,0,11,32197,33,0,0,0,0,5,0,0,0,0,0,0,0,'Shadowmoon Warlock - In Combat - Cast \'Corruption\' (Normal Dungeon)'),
(17371,0,3,0,0,0,100,4,1100,7800,14800,30100,0,11,37113,33,0,0,0,0,5,0,0,0,0,0,0,0,'Shadowmoon Warlock - In Combat - Cast \'Corruption\' (Heroic Dungeon)'),
(17371,0,4,0,0,0,100,6,6600,10700,14900,14900,0,11,13338,33,0,0,0,0,5,0,0,0,0,0,0,0,'Shadowmoon Warlock - In Combat - Cast \'Curse of Tongues\''),
(17371,0,5,0,0,0,100,6,12600,13700,21900,24900,0,11,33111,0,0,0,0,0,26,8,0,0,0,0,0,0,'Shadowmoon Warlock - In Combat - Cast \'Fel Power\'');
-- Shadowmoon Summoner (17395, 18617)
UPDATE `creature_template` SET `pickpocketloot`=17395 WHERE `entry`=18617;
-- Shadowmoon Adept (17397, 18615)
DELETE FROM `creature_text` WHERE `CreatureID`=17397;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(17397,0,0,'This world is OURS!',12,0,100,0,0,0,16702,0,'Shadowmoon Adept'),
(17397,0,1,'We are the true Horde!',12,0,100,0,0,0,16697,0,'Shadowmoon Adept'),
(17397,0,2,'The blood is our power! ',12,0,100,0,0,0,16700,0,'Shadowmoon Adept'),
(17397,0,3,'For Kargath! For Victory!',12,0,100,0,0,0,16698,0,'Shadowmoon Adept'),
(17397,0,4,'Gakarah ma!',12,0,100,0,0,0,16699,0,'Shadowmoon Adept'),
(17397,0,5,'Lok\'tar Illadari!\n',12,0,100,0,0,0,16701,0,'Shadowmoon Adept'),
(17397,0,6,'Lok narash!',12,0,100,0,0,0,16703,0,'Shadowmoon Adept');
UPDATE `creature_template` SET `pickpocketloot`=17397 WHERE `entry`=18615;
DELETE FROM `creature_template_addon` WHERE `entry`=18615;
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES (18615, 0, 0, 0, 4097, 0, '');
DELETE FROM `smart_scripts` WHERE `entryorguid`=17397 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(17397,0,0,0,1,0,100,1,1000,1000,0,0,0,11,31059,0,0,0,0,0,1,0,0,0,0,0,0,0,'Shadowmoon Adept - Out of Combat - Cast \'Hellfire Channeling\''),
(17397,0,1,0,4,0,10,7,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Shadowmoon Adept - On Aggro - Say Line 0'),
(17397,0,2,0,0,0,100,6,2600,7800,7200,13300,0,11,12787,0,0,0,0,0,1,0,0,0,0,0,0,0,'Shadowmoon Adept - In Combat - Cast \'Thrash\''),
(17397,0,3,0,0,0,100,6,5600,12300,9600,11400,0,11,11978,0,0,0,0,0,5,0,0,0,0,0,0,0,'Shadowmoon Adept - In Combat - Cast \'Kick\''),
(17397,0,4,0,2,0,100,7,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'Shadowmoon Adept - Between 0-15% Health - Flee For Assist');
DELETE FROM `conditions` WHERE `SourceEntry`=17397 AND `SourceTypeOrReferenceId`=22;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22,0+1,17397,0,0,29,1,17477,10,0,0,0,0,'','Requires NPC Nearby');
-- Nascent Fel Orc (17398, 18612)
DELETE FROM `creature_text` WHERE `CreatureID`=17398;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(17398,0,0,'This world is OURS!',12,0,100,0,0,0,16702,0,'Nascent Fel Orc'),
(17398,0,1,'We are the true Horde!',12,0,100,0,0,0,16697,0,'Nascent Fel Orc'),
(17398,0,2,'The blood is our power! ',12,0,100,0,0,0,16700,0,'Nascent Fel Orc'),
(17398,0,3,'For Kargath! For Victory!',12,0,100,0,0,0,16698,0,'Nascent Fel Orc'),
(17398,0,4,'Gakarah ma!',12,0,100,0,0,0,16699,0,'Nascent Fel Orc'),
(17398,0,5,'Lok\'tar Illadari!\n',12,0,100,0,0,0,16701,0,'Nascent Fel Orc'),
(17398,0,6,'Lok narash!',12,0,100,0,0,0,16703,0,'Nascent Fel Orc');
UPDATE `creature_template` SET `pickpocketloot`=17398, `AIName`='SmartAI', `ScriptName`='' WHERE `entry`=17398;
UPDATE `creature_template` SET `pickpocketloot`=17398, `AIName`='', `ScriptName`='' WHERE `entry`=18612;
DELETE FROM `smart_scripts` WHERE `entryorguid`=17398 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(17398,0,0,0,4,0,10,7,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Laughing Skull Legionnaire - On Aggro - Say Line 0'),
(17398,0,1,0,0,0,100,6,0,500,1800,7800,0,11,22427,0,0,0,0,0,2,0,0,0,0,0,0,0,'Laughing Skull Legionnaire - In Combat - Cast \'Concussion Blow\''),
(17398,0,2,0,0,0,100,6,7000,8200,15800,20800,0,11,31900,0,0,0,0,0,2,0,0,0,0,0,0,0,'Laughing Skull Legionnaire - In Combat - Cast \'Stomp\'');
-- Hellfire Imp (17477, 18606)
DELETE FROM `smart_scripts` WHERE `entryorguid`=17477 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(17477,0,0,0,1,0,100,1,1000,1000,0,0,0,11,30540,0,0,0,0,0,1,0,0,0,0,0,0,0,'Hellfire Imp - Out of Combat - Cast \'Summon Visual\''),
(17477,0,1,0,4,0,100,1,0,0,0,0,0,28,30540,0,0,0,0,0,1,0,0,0,0,0,0,0,'Hellfire Imp - On Aggro - Remove \'Summon Visual\''),
(17477,0,2,0,0,0,100,2,1000,3400,3400,4800,0,11,15242,64,0,0,0,0,5,0,0,0,0,0,0,0,'Hellfire Imp - In Combat CMC - Cast \'Fireball\' (Normal Dungeon)'),
(17477,0,3,0,0,0,100,4,1000,3400,3400,4800,0,11,17290,64,0,0,0,0,5,0,0,0,0,0,0,0,'Hellfire Imp - In Combat CMC - Cast \'Fireball\' (Heroic Dungeon)'),
(17477,0,4,0,0,0,100,4,6000,9000,6000,9000,0,11,16144,1,0,0,0,0,2,0,0,0,0,0,0,0,'Hellfire Imp - In Combat - Cast \'Fire Blast\'');
DELETE FROM `conditions` WHERE `SourceEntry`=17477 AND `SourceTypeOrReferenceId`=22;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22,0+1,17477,0,0,29,1,17397,10,0,0,0,0,'','Requires NPC Nearby');
-- Shadowmoon Technician (17414, 18618)
DELETE FROM `creature_text` WHERE `CreatureID`=17414;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(17414,0,0,'This world is OURS!',12,0,100,0,0,0,16702,0,'Shadowmoon Technician'),
(17414,0,1,'We are the true Horde!',12,0,100,0,0,0,16697,0,'Shadowmoon Technician'),
(17414,0,2,'The blood is our power! ',12,0,100,0,0,0,16700,0,'Shadowmoon Technician'),
(17414,0,3,'For Kargath! For Victory!',12,0,100,0,0,0,16698,0,'Shadowmoon Technician'),
(17414,0,4,'Gakarah ma!',12,0,100,0,0,0,16699,0,'Shadowmoon Technician'),
(17414,0,5,'Lok\'tar Illadari!\n',12,0,100,0,0,0,16701,0,'Shadowmoon Technician'),
(17414,0,6,'Lok narash!',12,0,100,0,0,0,16703,0,'Shadowmoon Technician'),
(17414,1,0,'%s begins to arm the Proximity Bomb!',16,0,100,0,0,0,15129,0,'Shadowmoon Technician');
UPDATE `creature_template` SET `pickpocketloot`=17414 WHERE `entry`=18618;
DELETE FROM `smart_scripts` WHERE `entryorguid`=17414 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(17414,0,0,0,4,0,10,7,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Shadowmoon Technician - On Aggro - Say Line 0'),
(17414,0,1,2,0,0,100,2,2800,4700,1400,23400,0,11,30846,1,0,0,0,0,5,0,0,0,0,0,0,0,'Shadowmoon Technician - In Combat - Cast \'Throw Proximity Bomb\''),
(17414,0,2,0,61,0,100,2,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Shadowmoon Technician - In Combat - Say Line 1 (Normal Dungeon)'),
(17414,0,3,4,0,0,100,4,2800,4700,17700,23400,0,11,32784,1,0,0,0,0,5,0,0,0,0,0,0,0,'Shadowmoon Technician - In Combat - Cast \'Throw Proximity Bomb\''),
(17414,0,4,0,61,0,100,4,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Shadowmoon Technician - In Combat - Say Line 1 (Heroic Dungeon)'),
(17414,0,5,0,0,0,100,2,4400,10600,3600,6200,0,11,40062,0,0,0,0,0,5,0,0,0,0,0,0,0,'Shadowmoon Technician - In Combat - Cast \'Throw Dynamite\' (Heroic Dungeon)'),
(17414,0,6,0,0,0,100,4,4400,10600,3600,6200,0,11,40064,0,0,0,0,0,5,0,0,0,0,0,0,0,'Shadowmoon Technician - In Combat - Cast \'Throw Dynamite\' (Heroic Dungeon)'),
(17414,0,7,0,0,0,100,6,5400,11600,24300,24300,0,11,6726,1,0,0,0,0,5,0,0,0,0,0,0,0,'Shadowmoon Technician - In Combat - Cast \'Silence\' (Heroic Dungeon)');
-- Laughing Skull Rogue (17491, 18610)
UPDATE `creature_template` SET `mechanic_immune_mask`=1 WHERE `entry`=17491;
UPDATE `creature_template` SET `pickpocketloot`=17491, `mechanic_immune_mask`=1 WHERE `entry`=18610;
-- Laughing Skull Legionnaire (17626, 18609)
DELETE FROM `creature_text` WHERE `CreatureID`=17626;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(17626,0,0,'This world is OURS!',12,0,100,0,0,0,16702,0,'Laughing Skull Legionnaire'),
(17626,0,1,'We are the true Horde!',12,0,100,0,0,0,16697,0,'Laughing Skull Legionnaire'),
(17626,0,2,'The blood is our power! ',12,0,100,0,0,0,16700,0,'Laughing Skull Legionnaire'),
(17626,0,3,'For Kargath! For Victory!',12,0,100,0,0,0,16698,0,'Laughing Skull Legionnaire'),
(17626,0,4,'Gakarah ma!',12,0,100,0,0,0,16699,0,'Laughing Skull Legionnaire'),
(17626,0,5,'Lok\'tar Illadari!\n',12,0,100,0,0,0,16701,0,'Laughing Skull Legionnaire'),
(17626,0,6,'Lok narash!',12,0,100,0,0,0,16703,0,'Laughing Skull Legionnaire'),
(17626,1,0,'%s goes into a frenzy!',16,0,100,0,0,0,38630,0,'Laughing Skull Legionnaire');
UPDATE `creature_template` SET `pickpocketloot`=17626 WHERE `entry`=18609;
DELETE FROM `smart_scripts` WHERE `entryorguid`=17626 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(17626,0,0,0,4,0,10,7,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Laughing Skull Legionnaire - On Aggro - Say Line 0'),
(17626,0,1,0,0,0,100,6,5800,7200,11900,12400,0,11,10966,0,0,0,0,0,2,0,0,0,0,0,0,0,'Laughing Skull Legionnaire - In Combat - Cast \'Uppercut\''),
(17626,0,2,3,2,0,100,519,0,30,0,0,0,11,8599,2,0,0,0,0,1,0,0,0,0,0,0,0,'Laughing Skull Legionnaire - Between 0-30% Health - Cast \'Enrage\' (No Repeat)'),
(17626,0,3,0,61,0,100,512,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Laughing Skull Legionnaire - Between 0-30% Health - Say Line 1 (No Repeat)');
@@ -0,0 +1,155 @@
--
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID` IN
(118, -- Quest "The Price of Shoes"
119, -- Quest "Return to Verner"
122, -- Quest "Underbelly Scales"
126, -- Quest "Howling in the Hills"
150, -- Quest "Murloc Poachers"
127, -- Quest "Selling Fish"
20, -- Quest "Blackrock Menace"
131, -- Quest "Delivering Daffodils"
129); -- Quest "A Free Lunch"
-- Quest "Blackrock Bounty"
DELETE FROM `quest_details` WHERE `ID`=128;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(128,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=25 WHERE `ID`=128;
UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=128;
-- Quest "Tharil'zun"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=19;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=19;
-- Quest "Shadow Magic"
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=115;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=115;
-- Quest "The Lost Tools"
DELETE FROM `quest_details` WHERE `ID`=125;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(125,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=125;
UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=125;
-- Quest "The Everstill Bridge"
DELETE FROM `quest_details` WHERE `ID`=89;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(89,1,1,25,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=89;
UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=89;
-- Quest "Hilary's Necklace"
DELETE FROM `quest_details` WHERE `ID`=3741;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(3741,5,1,6,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=24, `EmoteOnComplete`=24 WHERE `ID`=3741;
UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1, `Emote3`=6 WHERE `ID`=3741;
-- Quest "Solomon's Law"
DELETE FROM `quest_details` WHERE `ID`=91;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(91,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=91;
UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=91;
-- Quest "Wanted: Gath'Ilzogg"
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=169;
UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=169;
-- Quest "Messenger to Stormwind"
DELETE FROM `quest_details` WHERE `ID`=120;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(120,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=120;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=120;
-- Quest "Messenger to Stormwind (Part 2)"
DELETE FROM `quest_details` WHERE `ID`=121;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(121,25,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=121;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=121;
-- Quest "Messenger to Westfall"
DELETE FROM `quest_details` WHERE `ID`=143;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(143,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=143;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=143;
-- Quest "Messenger to Westfall (Part 2)"
DELETE FROM `quest_details` WHERE `ID`=144;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(144,1,25,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=144;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=144;
-- Quest "Messenger to Darkshire"
DELETE FROM `quest_details` WHERE `ID`=145;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(145,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=145;
-- Quest "Messenger to Darkshire (Part 2)"
DELETE FROM `quest_details` WHERE `ID`=146;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(146,1,1,29,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=146;
UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=6, `Emote3`=1 WHERE `ID`=146;
-- Quest "What Comes Around..."
DELETE FROM `quest_details` WHERE `ID`=386;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(386,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=386;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=66 WHERE `ID`=386;
-- Quest "Wanted: Lieutenant Fangore"
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=180;
UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=2 WHERE `ID`=180;
-- Quest "Dry Times"
DELETE FROM `quest_details` WHERE `ID`=116;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(116,1,5,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=25, `EmoteOnComplete`=25 WHERE `ID`=116;
UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=116;
-- Quest "Learn to Ride in Elwynn Forest / Dun Morogh / Orgrimmar / Eversong Woods / Darnassus / Tirisfal Glades / Mulgore / Durotar"
UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID` IN (14079,14081,14082,14083,14084,14085,14086,14087,14088,14089);
-- Quest "An Unwelcome Guest"
DELETE FROM `quest_details` WHERE `ID`=34;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(34,1,5,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=34;
UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=34;
-- Quest "Redridge Goulash"
DELETE FROM `quest_details` WHERE `ID`=92;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(92,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=92;
UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=92;
-- Quest "Missing In Action"
DELETE FROM `quest_details` WHERE `ID`=219;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(219,5,1,20,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=219;
-- Quest "Theocritus' Retrieval"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=178;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=178;
-- Quest "Morganth"
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=249;
UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1, `Emote3`=2 WHERE `ID`=249;
-- Quest "Horns of Nez'ra"
DELETE FROM `quest_details` WHERE `ID`=2358;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(2358,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=2358;
UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1 WHERE `ID`=2358;
@@ -0,0 +1,10 @@
-- Scarlet Crusader (28529)
DELETE FROM `creature_text` WHERE `CreatureID`=28529;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(28529,0,0,'Death stalks us! Destroy it!',12,0,100,0,0,0,28488,0,'Scarlet Crusader'),
(28529,0,1,'Begone foul demon!',12,0,100,0,0,0,28489,0,'Scarlet Crusader'),
(28529,0,2,'\'Tis the work of the Scourge!',12,0,100,0,0,0,28490,0,'Scarlet Crusader'),
(28529,0,3,'Scourge! Do not let it escape!',12,0,100,0,0,0,28491,0,'Scarlet Crusader');
DELETE FROM `smart_scripts` WHERE `entryorguid`=28529 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(28529,0,1,0,4,0,50,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Scarlet Crusader - On Aggro - Say Line 0');
@@ -0,0 +1,28 @@
-- Rift Spawn
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=6492;
DELETE FROM `smart_scripts` WHERE `entryorguid`=6492 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=649200 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(6492,0,0,1,25,0,100,0,0,0,0,0,0,11,34426,2,0,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - On Reset - Cast 'Greater Invisibility'"),
(6492,0,1,0,61,0,100,0,0,0,0,0,0,42,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - On Reset - Set Invincibility at 1 HP"),
(6492,0,2,3,8,0,100,0,9095,0,0,0,0,28,34426,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - On Spellhit 'Cantation of Manifestation' - Remove Aura 'Greater Invisibility'"),
(6492,0,3,4,61,0,100,0,0,0,0,0,0,11,9096,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - On Spellhit 'Cantation of Manifestation' - Cast 'Rift Spawn Manifestation'"),
(6492,0,4,5,61,0,100,0,0,0,0,0,0,49,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Rift Spawn - On Spellhit 'Cantation of Manifestation' - Start Attacking"),
(6492,0,5,0,61,0,100,0,0,0,0,0,0,28,9095,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - On Spellhit 'Cantation of Manifestation' - Remove Aura 'Cantation of Manifestation'"),
(6492,0,6,7,2,0,100,1,0,1,0,0,0,2,35,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - Between 0-1% Health - Set Faction 35"),
(6492,0,7,8,61,0,100,0,0,0,0,0,0,11,9032,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - Between 0-1% Health - Cast 'Self Stun - 30 seconds'"),
(6492,0,8,9,61,0,100,0,0,0,0,0,0,27,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - Between 0-1% Health - Stop Combat"),
(6492,0,9,10,61,0,100,0,0,0,0,0,0,80,649200,2,0,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - Between 0-1% Health - Run Script"),
(6492,0,10,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,"Rift Spawn - Between 0-1% Health - Set Event Phase 1"),
(6492,0,11,12,38,1,100,0,1,1,0,0,0,12,23837,1,15000,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - On Data 1 Set - Summon Creature 'ELM General Purpose Bunny'"),
(6492,0,12,0,61,1,100,0,0,0,0,0,0,45,32,32,0,0,0,0,19,23837,0,0,0,0,0,0,"Rift Spawn - On Data 1 Set - Set Data to ELM General Purpose Bunny"),
(6492,0,13,0,38,1,100,0,2,2,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - On Data 2 Set - Despawn"),
(6492,0,14,0,4,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - On Aggro - Say Line 0"),
(6492,0,15,0,7,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - On Evade - Say Line 1"),
(649200,9,0,0,0,0,100,0,30000,30000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - On Script - Say line 1"),
(649200,9,1,0,0,0,100,0,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rift Spawn - On Script - Despawn");
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=6492;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=9082 AND `ConditionTypeOrReference`=1;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13,1,9082,0,0,1,0,9032,0,0,0,0,0,"","Create Containment Coffer can only be casted if target has aura 'Self Stun - 30 seconds'");
@@ -0,0 +1,13 @@
DELETE FROM `creature` WHERE `guid` IN(73427,73428);
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
(73427,26121,547,0,0,'19',0,0,0,-69.8121,-162.4954,-2.30451,1.710423,300,0,0,1,1,0,0,0,0,'',0),
(73428,26120,547,0,0,'19',0,0,0,-98.1029,-230.7864,-10.8085,1.448623,300,0,0,1,1,0,0,0,0,'',0);
DELETE FROM `game_event_creature` WHERE `eventEntry`=1 AND `guid` IN(73427,73428);
INSERT INTO `game_event_creature` (`eventEntry`, `guid`) VALUES
(1,73427),
(1,73428);
DELETE FROM `creature_template_movement` WHERE `CreatureId`=26120;
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`) VALUES
(26120,0,0,1,0);
@@ -0,0 +1,95 @@
-- Private Thorsen
DELETE FROM `creature_text` WHERE `CreatureID` IN (738,775,733);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(738,0,0,"Time for my patrol. I'll be back shortly.",12,7,100,66,0,0,102,0,"Private Thorsen"),
(738,1,0,"Now that the coast is clear...",12,7,100,0,0,0,103,0,"Private Thorsen"),
(738,2,0,"Well I'm here. And I'm ready to rejoin...",12,7,100,1,0,0,23,0,"Private Thorsen"),
(738,3,0,"Thanks for saving me!",12,7,100,2,0,0,100,0,"Private Thorsen"),
(738,4,0,"I've been gone a long time...I better get back.",12,7,100,1,0,0,105,0,"Private Thorsen"),
(738,5,0,"Private Thorsen returning from patrol. Nothing new to report - it's pretty quiet out there...",12,7,100,66,0,0,106,0,"Private Thorsen"),
(775,0,0,"You're not joining anyone, Thorsen..",12,7,100,25,0,0,24,0,"Kurzen's Agent"),
(775,1,0,"Now you die!",12,7,100,0,0,0,101,0,"Kurzen's Agent"),
(733,0,0,"Very good. You are relieved, private. Rest, but don't get too comfortable. Kurzen won't leave us alone forever.",12,7,100,1,0,0,108,0,"Sergeant Yohwa");
UPDATE `creature_template` SET `faction`=11, `AIName`="SmartAI" WHERE `entry`=738;
DELETE FROM `smart_scripts` WHERE `entryorguid`=738 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (73800,73801,73802,73803,73804) 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(738,0,0,0,11,0,100,0,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Respawn - Remove Npc Flag Questgiver"),
(738,0,1,0,11,0,100,0,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Respawn - Set Active On"),
(738,0,2,0,11,0,100,0,0,0,0,0,0,80,73800,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Respawn - Run Sript"),
(738,0,3,0,40,0,100,0,14,73800,0,0,0,80,73801,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Waypoint 14 Reached - Run Script"),
(738,0,4,0,40,0,100,0,16,73800,0,0,0,80,73802,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Waypoint 16 Reached - Run Script"),
(738,0,5,0,38,0,100,0,1,1,0,0,0,80,73803,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Data Set - Run Script"),
(738,0,6,0,40,0,100,0,16,73801,0,0,0,80,73804,2,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Waypoint 16 Reached - Run Script"),
(73800,9,0,0,0,0,100,0,600000,600000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0"),
(73800,9,1,0,0,0,100,0,5000,5000,0,0,0,53,0,73800,0,0,0,2,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Start Waypoint"),
(73801,9,0,0,0,0,100,0,0,0,0,0,0,54,4000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Pause Waypoint"),
(73801,9,1,0,0,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 1"),
(73801,9,2,0,0,0,100,0,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Set Run On"),
(73802,9,0,0,0,0,100,0,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.23057,"Private Thorsen - On Script - Set Orientation"),
(73802,9,1,0,0,0,100,0,0,0,0,0,0,12,775,1,60000,0,0,0,8,0,0,0,-11520.9,-383.511,39.8521,1.21196,"Private Thorsen - On Script - Summon Creature 'Kurzen's Agent'"),
(73802,9,2,0,0,0,100,0,0,0,0,0,0,12,775,1,60000,0,0,0,8,0,0,0,-11524.9,-381.701,40.096,1.05488,"Private Thorsen - On Script - Summon Creature 'Kurzen's Agent'"),
(73802,9,3,0,0,0,100,0,9000,9000,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 2"),
(73802,9,4,0,0,0,100,0,5000,5000,0,0,0,1,0,0,0,0,0,0,19,775,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0 (Kurzen's Agent)"),
(73802,9,5,0,0,0,100,0,5000,5000,0,0,0,1,1,0,0,0,0,0,19,775,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 1 (Kurzen's Agent)"),
(73802,9,6,0,0,0,100,0,1000,1000,0,0,0,45,1,1,0,0,0,0,11,775,50,0,0,0,0,0,"Private Thorsen - On Script - Set Data to Kurzen's Agent"),
(73803,9,0,0,0,0,100,0,2000,2000,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 3"),
(73803,9,1,0,0,0,100,0,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Add Npc Flag Questgiver"),
(73803,9,2,0,0,0,100,0,120000,120000,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Remove Npc Flag Questgiver"),
(73803,9,3,0,0,0,100,0,0,0,0,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 4"),
(73803,9,4,0,0,0,100,0,5000,5000,0,0,0,53,0,73801,0,0,0,2,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Start Waypoint"),
(73804,9,0,0,0,0,100,0,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.5676,"Private Thorsen - On Script - Set Orientation"),
(73804,9,1,0,0,0,100,0,500,500,0,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 5"),
(73804,9,2,0,0,0,100,0,7000,7000,0,0,0,1,0,0,0,0,0,0,19,733,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0 (Sergeant Yohwa)"),
(73804,9,3,0,0,0,100,0,900000,900000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Say Line 0"),
(73804,9,4,0,0,0,100,0,5000,5000,0,0,0,53,0,73800,0,0,0,2,1,0,0,0,0,0,0,0,"Private Thorsen - On Script - Start Waypoint");
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=738;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22,6,738,0,0,29,1,775,200,0,1,0,0,"","SAI triggers only if both Kurzen's Agents are dead");
DELETE FROM `waypoints` WHERE `entry` IN (73800,73801);
INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES
(73800,1,-11328.6,-204.605,75.3066,""),
(73800,2,-11344.1,-211.834,75.2203,""),
(73800,3,-11368.8,-212.901,75.2614,""),
(73800,4,-11376.9,-217.981,75.0992,""),
(73800,5,-11381.8,-226.245,73.6393,""),
(73800,6,-11382.7,-248.431,65.2537,""),
(73800,7,-11389.8,-277.379,59.5323,""),
(73800,8,-11393.7,-283.161,58.6077,""),
(73800,9,-11397.5,-285.631,58.2045,""),
(73800,10,-11417,-284.249,53.5163,""),
(73800,11,-11434.1,-286.4,48.2306,""),
(73800,12,-11471.1,-288.588,37.1529,""),
(73800,13,-11480.6,-296.055,36.0918,""),
(73800,14,-11513.5,-322.018,35.78,""),
(73800,15,-11520.2,-337.882,37.4359,""),
(73800,16,-11513.3,-362.046,37.7542,""),
(73801,1,-11520.2,-337.882,37.4359,""),
(73801,2,-11513.5,-322.018,35.78,""),
(73801,3,-11480.6,-296.055,36.0918,""),
(73801,4,-11471.1,-288.588,37.1529,""),
(73801,5,-11434.1,-286.4,48.2306,""),
(73801,6,-11417,-284.249,53.5163,""),
(73801,7,-11397.5,-285.631,58.2045,""),
(73801,8,-11393.7,-283.161,58.6077,""),
(73801,9,-11389.8,-277.379,59.5323,""),
(73801,10,-11382.7,-248.431,65.2537,""),
(73801,11,-11381.8,-226.245,73.6393,""),
(73801,12,-11376.9,-217.981,75.0992,""),
(73801,13,-11368.8,-212.901,75.2614,""),
(73801,14,-11344.1,-211.834,75.2203,""),
(73801,15,-11328.6,-204.605,75.3066,""),
(73801,16,-11313.9,-202.766,75.576,"");
-- Kurzen's Agent
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=775;
DELETE FROM `smart_scripts` WHERE `entryorguid`=775 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(775,0,0,0,54,0,100,0,0,0,0,0,0,59,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kurzen's Agent - Just Summoned - Set Run Off"),
(775,0,1,0,54,0,100,0,0,0,0,0,0,114,0,0,0,0,0,0,1,0,0,0,0,18,0,0,"Kurzen's Agent - Just Summoned - Move Forward"),
(775,0,2,0,38,0,100,0,1,1,0,0,0,2,46,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kurzen's Agent - On Data Set - Set Faction 46"),
(775,0,3,0,38,0,100,0,1,1,0,0,0,49,0,0,0,0,0,0,19,738,0,0,0,0,0,0,"Kurzen's Agent - On Data Set - Start Attacking"),
(775,0,4,0,6,0,100,0,0,0,0,0,0,45,1,1,0,0,0,0,19,738,0,0,0,0,0,0,"Kurzen's Agent - On Just Died - Set Data to Private Thorsen");
@@ -0,0 +1,15 @@
-- Forlorn Spirit
DELETE FROM `smart_scripts` WHERE `entryorguid`=2044 AND `source_type`=0 AND `id`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=204400 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2044,0,0,0,11,0,100,0,0,0,0,0,0,80,204400,2,0,0,0,0,1,0,0,0,0,0,0,0,"Forlorn Spirit - On Respawn - Run Script"),
(204400,9,0,0,0,0,100,0,2000,2000,0,0,0,1,0,0,0,0,0,0,21,50,0,0,0,0,0,0,"Forlorn Spirit - On Script - Say Line 0"),
(204400,9,1,0,0,0,100,0,2000,2000,0,0,0,49,0,0,0,0,0,0,21,50,0,0,0,0,0,0,"Forlorn Spirit - On Script - Start Attacking");
-- Old Footlocker
UPDATE `smart_scripts` SET `target_type`=8, `target_x`=-10951.4, `target_y`=1568.86, `target_z`=46.9779, `target_o`=3.75142 WHERE `entryorguid`=3643 AND `source_type`=1 AND `id`=0;
-- Sealed Crate
UPDATE `smart_scripts` SET `target_x`=-8841.93, `target_y`=985.171, `target_z`=98.6999, `target_o`=6.00926 WHERE `entryorguid`=1561 AND `source_type`=1 AND `id`=0;
-- Marshal Haggard's Chest
UPDATE `event_scripts` SET `delay`=0, `x`=-9553.53, `y`=-1432.44, `z`=62.2943, `o`=5.28835 WHERE `id`=264;
@@ -0,0 +1,142 @@
-- Recover the Bones
DELETE FROM `quest_details` WHERE `ID`=10030;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10030,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=10030;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=10030;
-- Helping the Lost Find Their Way
DELETE FROM `quest_details` WHERE `ID`=10031;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10031,1,1,6,0,0,0,0,0,0);
-- Rather Be Fishin'
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10037;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10037;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=10037;
-- Brother Against Brother
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=10097;
-- Terokk's Legacy
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=10098;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10098;
-- Trouble at Auchindoun
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10177;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=10177;
-- Can't Stay Away
DELETE FROM `quest_details` WHERE `ID`=10180;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10180,1,1,1,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=10180;
-- Veil Skith: Darkstone of Terokk
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10839;
-- The Tomb of Lights
DELETE FROM `quest_details` WHERE `ID`=10840;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10840,1,0,0,0,0,0,0,0,0);
-- Vengeful Souls
DELETE FROM `quest_details` WHERE `ID`=10842;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10842,1,0,0,0,0,0,0,0,0);
-- The Eyes of Skettis
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10847;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10847;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10847;
-- Veil Rhaze: Unliving Evil
DELETE FROM `quest_details` WHERE `ID`=10848;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10848,1,1,1,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10848;
-- Seek Out Kirrik
DELETE FROM `quest_details` WHERE `ID`=10849;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10849,1,1,1,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10849;
-- Veil Lithic: Preemptive Strike
DELETE FROM `quest_details` WHERE `ID`=10861;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10861,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10861;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10861;
-- Taken in the Night
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=10873;
UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1 WHERE `ID`=10873;
-- Veil Shalas: Signal Fires
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10874;
-- The Skettis Offensive
DELETE FROM `quest_details` WHERE `ID`=10879;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10879,1,1,1,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10879;
-- Return to Shattrath
DELETE FROM `quest_details` WHERE `ID`=10889;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10889,1,1,1,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10889;
-- An Improper Burial
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10913;
-- A Hero Is Needed
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=10914;
-- The Fallen Exarch
DELETE FROM `quest_details` WHERE `ID`=10915;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10915,1,1,1,5,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10915;
UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=10915;
-- The Outcast's Plight
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10917;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10917;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10917;
-- More Feathers
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10918;
-- For the Fallen
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=66 WHERE `ID`=10920;
-- Digging Through Bones
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=273 WHERE `ID`=10922;
UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1 WHERE `ID`=10922;
-- Fumping
DELETE FROM `quest_details` WHERE `ID`=10929;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10929,1,1,1,1,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=10929;
UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=1, `Emote4`=5 WHERE `ID`=10929;
-- The Big Bone Worm
DELETE FROM `quest_details` WHERE `ID`=10930;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10930,5,1,5,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=1 WHERE `ID`=10930;
-- Mog'dorg the Wizened
DELETE FROM `quest_details` WHERE `ID`=10983;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(10983,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=10983;
-- Speak with the Ogre
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=10984;
-- Zorus the Judicator
UPDATE `quest_details` SET `Emote1`=5, `Emote2`=1, `Emote3`=1 WHERE `ID`=11045;
@@ -0,0 +1,17 @@
-- Bookie Herod
-- SET @GUID := 73429;
-- DELETE FROM `creature` WHERE `guid`=@GUID;
-- INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
-- (@GUID,815,0,0,0,1,1,0,1,-11662.9,-637.447,30.0416,0.000360489,300,0,0,993,2680,0,0,0,0,"",0);
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=815;
DELETE FROM `smart_scripts` WHERE `entryorguid`=815 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`,`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_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(815,0,0,0,0,0,100,0,0,0,3000,5000,0,11,20816,64,0,0,0,0,2,0,0,0,0,0,0,0,"Bookie Herod - In Combat - Cast 'Shadow Bolt'"),
(815,0,1,0,4,0,100,0,0,0,0,0,0,11,3722,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bookie Herod - On Aggro - Cast 'Summon Syndicate Spectre'");
-- Syndicate Spectre
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2638;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2638 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`, `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_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2638,0,0,0,54,0,100,0,0,0,0,0,0,49,0,0,0,0,0,0,21,50,0,0,0,0,0,0,"Syndicate Spectre - Just Summoned - Start Attacking");
@@ -0,0 +1,14 @@
-- Reclaiming Sunstrider Isle
UPDATE `quest_offer_reward` SET `VerifiedBuild`=40120 WHERE `ID`=8325;
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8325 AND `BlobIndex`=0 AND `Idx1` IN (0,1,2));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8325 AND `Idx1`=2 AND `Idx2`=0);
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8325 AND `Idx1`=1 AND `Idx2` IN (0,1,2,3,4,5,6,7,8,9,10));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8325 AND `Idx1`=0 AND `Idx2`=0);
UPDATE `quest_details` SET `Emote2`=1, `Emote3`=5, `VerifiedBuild`=40120 WHERE `ID`=8325;
UPDATE `quest_request_items` SET `EmoteOnComplete`=0, `EmoteOnIncomplete`=1, `CompletionText`='Our work in rebuilding our society begins here, $n. Once we are able to secure our home, we can look outward and upward.', `VerifiedBuild`=40120 WHERE `ID`=8325;
UPDATE `quest_template` SET `RewardMoney`=165, `RewardBonusMoney`=180, `FlagsEx`=512, `VerifiedBuild`=40120 WHERE `ID`=8325;
@@ -0,0 +1,26 @@
-- Unfortunate Measures
UPDATE `quest_offer_reward` SET `VerifiedBuild`=40120 WHERE `ID`=8326;
DELETE FROM `quest_poi` WHERE (`QuestID`=8326 AND `BlobIndex`=0 AND `Idx1`=2) OR (`QuestID`=8326 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=8326 AND `BlobIndex`=0 AND `Idx1`=0);
INSERT INTO `quest_poi` (`QuestID`, `BlobIndex`, `Idx1`, `ObjectiveIndex`, `QuestObjectiveID`, `QuestObjectID`, `MapID`, `UiMapID`, `Priority`, `Flags`, `WorldEffectID`, `PlayerConditionID`, `NavigationPlayerConditionID`, `SpawnTrackingID`, `AlwaysAllowMergingBlobs`, `VerifiedBuild`) VALUES
(8326, 0, 2, 32, 0, 0, 530, 467, 0, 0, 0, 0, 0, 120146, 0, 40120),
(8326, 0, 1, 0, 256445, 20797, 530, 467, 0, 1, 0, 0, 0, 0, 0, 40120),
(8326, 0, 0, -1, 0, 0, 530, 467, 0, 1, 0, 0, 0, 0, 0, 40120);
DELETE FROM `quest_poi_points` WHERE (`QuestID`=8326 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=8326 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=8326 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=8326 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=8326 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=8326 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=8326 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=8326 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=8326 AND `Idx1`=0 AND `Idx2`=0);
INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `Z`, `VerifiedBuild`) VALUES
(8326, 2, 0, 10352, -6360, 34, 40120),
(8326, 1, 6, 10457, -6375, 22, 40120),
(8326, 1, 5, 10493, -6418, 40, 40120),
(8326, 1, 4, 10518, -6449, 47, 40120),
(8326, 1, 3, 10521, -6483, 20, 40120),
(8326, 1, 2, 10345, -6522, 27, 40120),
(8326, 1, 1, 10313, -6474, 65, 40120),
(8326, 1, 0, 10360, -6453, 65, 40120),
(8326, 0, 0, 10358, -6370, 34, 40120);
UPDATE `quest_details` SET `VerifiedBuild`=40120 WHERE `ID`=8326;
UPDATE `quest_request_items` SET `VerifiedBuild`=40120 WHERE `ID`=8326;
UPDATE `quest_template` SET `RewardMoney`=120, `RewardBonusMoney`=390, `FlagsEx`=0, `VerifiedBuild`=40120 WHERE `ID`=8326;
@@ -0,0 +1,10 @@
-- Report to Lanthan Perilon
UPDATE `quest_offer_reward` SET `VerifiedBuild`=40120 WHERE `ID`=8327;
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8327 AND `BlobIndex`=0 AND `Idx1` IN (0,1));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8327 AND `Idx1` IN (0,1) AND `Idx2`=0);
UPDATE `quest_details` SET `VerifiedBuild`=40120 WHERE `ID`=8327;
UPDATE `quest_template` SET `FlagsEx`=0, `VerifiedBuild`=40120 WHERE `ID`=8327;
@@ -0,0 +1,14 @@
-- A Fistful of Slivers
UPDATE `quest_offer_reward` SET `VerifiedBuild`=40120 WHERE `ID`=37440;
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=37440 AND `BlobIndex`=0 AND `Idx1` IN (0,1,2));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=37440 AND `Idx1`=2 AND `Idx2`=0);
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=37440 AND `Idx1`=1 AND `Idx2` IN (0,1,2,3,4,5,6,7,8,9,10,11));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=37440 AND `Idx1`=0 AND `Idx2`=0);
UPDATE `quest_details` SET `VerifiedBuild`=40120 WHERE `ID`=37440;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `VerifiedBuild`=40120 WHERE `ID`=37440;
UPDATE `quest_template` SET `RewardBonusMoney`=270, `FlagsEx`=0, `VerifiedBuild`=40120 WHERE `ID`=37440;
@@ -0,0 +1,2 @@
-- The Shrine of Dath'Remar
UPDATE `quest_template` SET `RewardMoney`=400, `RewardBonusMoney`=270, `VerifiedBuild`=40120 WHERE `ID`=37442;
@@ -0,0 +1,12 @@
-- Thirst Unending
UPDATE `quest_offer_reward` SET `VerifiedBuild`=40120 WHERE `ID`=37439;
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=37439 AND `BlobIndex`=0 AND `Idx1` IN (0,1,2));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=37439 AND `Idx1`=2 AND `Idx2`=0);
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=37439 AND `Idx1`=1 AND `Idx2` IN (0,1,2,3,4,5,6,7,8,9,10));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=37439 AND `Idx1`=0 AND `Idx2`=0);
UPDATE `quest_details` SET `VerifiedBuild`=40120 WHERE `ID`=37439;
UPDATE `quest_template` SET `RewardBonusMoney`=270, `FlagsEx`=0, `VerifiedBuild`=40120 WHERE `ID`=37439;
@@ -0,0 +1,13 @@
-- Aggression
UPDATE `quest_offer_reward` SET `VerifiedBuild`=40120 WHERE `ID`=8334;
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8334 AND `BlobIndex`=0 AND `Idx1` IN (0,1,2,3));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8334 AND `Idx1`=3 AND `Idx2`=0);
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8334 AND `Idx1`=2 AND `Idx2` IN (0,1,2,3,4,5,6,7,8,9,10,11));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8334 AND `Idx1`=1 AND `Idx2` IN (0,1,2,3,4,5,6,7,8,9));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8334 AND `Idx1`=0 AND `Idx2`=0);
UPDATE `quest_details` SET `Emote1`=5, `Emote3`=1, `VerifiedBuild`=40120 WHERE `ID`=8334;
UPDATE `quest_template` SET `RewardMoney`=200, `RewardBonusMoney`=270, `FlagsEx`=0, `VerifiedBuild`=40120 WHERE `ID`=8334;
@@ -0,0 +1,29 @@
-- Solanian's Belongings
UPDATE `gameobject_template` SET `ContentTuningId`=1485, `VerifiedBuild`=40120 WHERE `entry` IN (180510,180511,180512);
UPDATE `gameobject_template_addon` SET `flags`=0 WHERE `entry` IN (180510,180511,180512);
UPDATE `gameobject_questitem` SET `VerifiedBuild`=40120 WHERE (`GameObjectEntry` IN (180510,180511,180512) AND `Idx`=0);
UPDATE `quest_objectives` SET `VerifiedBuild`=40120 WHERE `ID` IN (276220,256221,276222);
UPDATE `quest_visual_effect` SET `VerifiedBuild`=40120 WHERE (`ID` IN (276220,276222) AND `Index`=0);
-- Solanian's Scrying Orb
UPDATE `gameobject_template` SET `data1`=180510 WHERE `entry`=180510;
DELETE FROM `gameobject_loot_template` WHERE `entry`=180510;
INSERT INTO `gameobject_loot_template` (`entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(180510, 20470, 0, 100, 0, 1, 0, 1, 1, '');
-- Scroll of Scourge Magic
UPDATE `gameobject_template` SET `data1`=180511 WHERE `entry`=180511;
DELETE FROM `gameobject_loot_template` WHERE `entry`=180511;
INSERT INTO `gameobject_loot_template` (`entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(180511, 20471, 0, 100.000, 0, 1, 0, 1, 1, ''),
(180511, 21007, 0, 0.30826, 0, 1, 0, 1, 1, '');
-- Solanian's Journal
UPDATE `gameobject_template` SET `data1`=180512 WHERE `entry`=180512;
DELETE FROM `gameobject_loot_template` WHERE `entry`=180512;
INSERT INTO `gameobject_loot_template` (`entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(180512, 20472, 0, 100, 0, 1, 0, 1, 1, '');
@@ -0,0 +1,10 @@
-- Aiding the Outrunners
UPDATE `quest_offer_reward` SET `VerifiedBuild`=40120 WHERE `ID`=8347;
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8347 AND `BlobIndex`=0 AND `Idx1` IN (0,1));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8347 AND `Idx1` IN (0,1) AND `Idx2`=0);
UPDATE `quest_details` SET `VerifiedBuild`=40120 WHERE `ID`=8347;
UPDATE `quest_template` SET `RewardBonusMoney`=60, `FlagsEx`=0, `VerifiedBuild`=40120 WHERE `ID`=8347;
@@ -0,0 +1,17 @@
-- Felendren the Banished
UPDATE `quest_offer_reward` SET `Emote1`=0, `Emote2`=0, `VerifiedBuild`=40120 WHERE `ID`=8335;
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8335 AND `BlobIndex`=0 AND `Idx1` IN (0,1,2,3,4));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8335 AND `Idx1` IN (3,4) AND `Idx2`=0);
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8335 AND `Idx1`=2 AND `Idx2` IN (0,1,2));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8335 AND `Idx1`=1 AND `Idx2` IN (0,1,2,3,4,5,6,7,8,9));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8335 AND `Idx1`=0 AND `Idx2`=0);
UPDATE `quest_details` SET `VerifiedBuild`=40120 WHERE `ID`=8335;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `VerifiedBuild`=40120 WHERE `ID`=8335;
UPDATE `quest_template` SET `RewardMoney`=720, `RewardBonusMoney`=450, `VerifiedBuild`=40120 WHERE `ID`=8335;
UPDATE `quest_objectives` SET `VerifiedBuild`=40120 WHERE `ID` IN (256930,256931,256932);
@@ -0,0 +1,13 @@
-- Tainted Arcane Sliver
UPDATE `quest_offer_reward` SET `VerifiedBuild`=40120 WHERE `ID`=8338;
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8338 AND `BlobIndex`=0 AND `Idx1` IN (0,1));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8338 AND `Idx1`=1 AND `Idx2` IN (0,1,2));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=8338 AND `Idx1`=0 AND `Idx2`=0);
UPDATE `quest_details` SET `VerifiedBuild`=40120 WHERE `ID`=8338;
UPDATE `quest_template` SET `RewardMoney`=1130, `RewardBonusMoney`=450, `FlagsEx`=0, `VerifiedBuild`=40120 WHERE `ID`=8338;
UPDATE `quest_objectives` SET `VerifiedBuild`=40120 WHERE `ID`=257005;
@@ -0,0 +1,8 @@
-- Slain by the Wretched
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=9704 AND `BlobIndex`=0 AND `Idx1` IN (0,1));
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=9704 AND `Idx1` IN (0,1) AND `Idx2`=0);
UPDATE `quest_details` SET `VerifiedBuild`=40120 WHERE `ID`=9704;
UPDATE `quest_template` SET `FlagsEx`=0, `VerifiedBuild`=40120 WHERE `ID`=9704;
@@ -0,0 +1,20 @@
DELETE FROM `creature_template_addon` WHERE `entry`=49874;
DELETE FROM `creature_addon` WHERE `guid` IN (279746, 279747, 279758, 279822, 279909, 279921, 279924, 279935, 279937, 279939, 279948, 279971, 279977, 280012);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(279746, 0, 0, 8, 1, 0, 0, 565, 0, 0, '80676 349927'),
(279747, 0, 0, 8, 1, 0, 0, 565, 0, 0, '80676 349927'),
(279758, 0, 0, 8, 1, 0, 0, 565, 0, 0, '80676 349927'),
(279822, 0, 0, 8, 1, 0, 0, 565, 0, 0, '80676 349927'),
(279909, 0, 0, 8, 1, 0, 0, 565, 0, 0, '80676 349927'),
(279921, 0, 0, 8, 1, 0, 0, 565, 0, 0, '80676 349927'),
(279924, 0, 0, 8, 1, 0, 0, 565, 0, 0, '80676 349927'),
(279935, 0, 0, 8, 1, 0, 0, 565, 0, 0, '80676 349927'),
(279937, 0, 0, 8, 1, 0, 0, 565, 0, 0, '80676 349927'),
(279939, 0, 0, 8, 1, 0, 0, 565, 0, 0, '80676 349927'),
(279948, 0, 0, 8, 1, 0, 0, 565, 0, 0, '80676 349927'),
(279971, 0, 0, 8, 1, 0, 0, 565, 0, 0, '80676 349927'),
(279977, 0, 0, 8, 1, 0, 0, 565, 0, 0, '80676 349927'),
(280012, 0, 0, 8, 1, 0, 0, 565, 0, 0, '80676 349927');
UPDATE `creature_addon` SET `movementAnimKit` = 565, `auras` = '349927' WHERE `guid` IN (279756, 279821, 279918, 279936, 279950, 279952, 279970, 279993, 279996);
@@ -0,0 +1,145 @@
--
DELETE FROM `spell_totem_model` WHERE (`RaceID`=35 AND `SpellID` IN (207399,98008,16191,51485,157153,198838,108280,8512,204336,204331,204330,355580,192077,192222,324386,8143,5394,2484,192058)) OR (`RaceID`=31 AND `SpellID` IN (207399,8143,98008,108280,157153,16191,198838,51485,8512,204331,204336,204330,355580,192077,192222,324386,5394,2484,192058)) OR (`RaceID`=36 AND `SpellID` IN (207399,98008,157153,108280,16191,51485,198838,8512,204336,204331,204330,355580,192077,192222,324386,8143,5394,2484,192058)) OR (`RaceID`=28 AND `SpellID` IN (16191,8512,355580,324386,8143)) OR (`RaceID`=9 AND `SpellID` IN (16191,8512,355580,324386,8143)) OR (`RaceID`=6 AND `SpellID` IN (16191,8512,355580,324386,8143)) OR (`RaceID`=8 AND `SpellID` IN (16191,8512,355580,324386,8143)) OR (`RaceID`=2 AND `SpellID` IN (16191,8512,355580,188592,324386,8143)) OR (`RaceID`=32 AND `SpellID` IN (207399,98008,108280,16191,157153,198838,51485,8512,5394,2484,192058,204336,204331,204330,355580,192222,192077,324386,8143)) OR (`RaceID`=25 AND `SpellID` IN (16191,8512,8143,355580,324386)) OR (`RaceID`=34 AND `SpellID` IN (355580,204336,204331,204330,207399,198838,157153,51485,108280,98008,16191,8512,192077,192222,324386,8143,5394,192058,2484)) OR (`RaceID`=11 AND `SpellID` IN (16191,8512,324386,8143,188616,355580)) OR (`RaceID`=3 AND `SpellID` IN (16191,8512,324386,8143,355580)) OR (`RaceID`=26 AND `SpellID` IN (16191,8512,355580,324386,8143));
INSERT INTO `spell_totem_model` (`SpellID`, `RaceID`, `DisplayID`) VALUES
(207399, 35, 94542), -- Vulpera - 207399 (Ancestral Protection Totem)
(98008, 35, 94541), -- Vulpera - 98008 (Spirit Link Totem)
(16191, 35, 94544), -- Vulpera - 16191 (Mana Tide Totem)
(51485, 35, 94542), -- Vulpera - 51485 (Earthgrab Totem)
(157153, 35, 94544), -- Vulpera - 157153 (Cloudburst Totem)
(198838, 35, 94542), -- Vulpera - 198838 (Earthen Wall Totem)
(108280, 35, 94544), -- Vulpera - 108280 (Healing Tide Totem)
(8512, 35, 94541), -- Vulpera - 8512 (Windfury Totem)
(204336, 35, 94541), -- Vulpera - 204336 (Grounding Totem)
(204331, 35, 94541), -- Vulpera - 204331 (Counterstrike Totem)
(204330, 35, 94543), -- Vulpera - 204330 (Skyfury Totem)
(355580, 35, 94541), -- Vulpera - 355580 (Static Field Totem)
(192077, 35, 94541), -- Vulpera - 192077 (Wind Rush Totem)
(192222, 35, 94543), -- Vulpera - 192222 (Liquid Magma Totem)
(324386, 35, 94541), -- Vulpera - 324386 (Vesper Totem)
(8143, 35, 94542), -- Vulpera - 8143 (Tremor Totem)
(5394, 35, 94544), -- Vulpera - 5394 (Healing Stream Totem)
(2484, 35, 94542), -- Vulpera - 2484 (Earthbind Totem)
(192058, 35, 94541), -- Vulpera - 192058 (Capacitor Totem)
(207399, 31, 84987), -- ZandalariTroll - 207399 (Ancestral Protection Totem)
(8143, 31, 84987), -- ZandalariTroll - 8143 (Tremor Totem)
(98008, 31, 84680), -- ZandalariTroll - 98008 (Spirit Link Totem)
(108280, 31, 84934), -- ZandalariTroll - 108280 (Healing Tide Totem)
(157153, 31, 84934), -- ZandalariTroll - 157153 (Cloudburst Totem)
(16191, 31, 84934), -- ZandalariTroll - 16191 (Mana Tide Totem)
(198838, 31, 84987), -- ZandalariTroll - 198838 (Earthen Wall Totem)
(51485, 31, 84987), -- ZandalariTroll - 51485 (Earthgrab Totem)
(8512, 31, 84680), -- ZandalariTroll - 8512 (Windfury Totem)
(204331, 31, 84680), -- ZandalariTroll - 204331 (Counterstrike Totem)
(204336, 31, 84680), -- ZandalariTroll - 204336 (Grounding Totem)
(204330, 31, 84933), -- ZandalariTroll - 204330 (Skyfury Totem)
(355580, 31, 84680), -- ZandalariTroll - 355580 (Static Field Totem)
(192077, 31, 84680), -- ZandalariTroll - 192077 (Wind Rush Totem)
(192222, 31, 84933), -- ZandalariTroll - 192222 (Liquid Magma Totem)
(324386, 31, 84680), -- ZandalariTroll - 324386 (Vesper Totem)
(5394, 31, 84934), -- ZandalariTroll - 5394 (Healing Stream Totem)
(2484, 31, 84987), -- ZandalariTroll - 2484 (Earthbind Totem)
(192058, 31, 84680), -- ZandalariTroll - 192058 (Capacitor Totem)
(207399, 36, 86440), -- MagharOrc - 207399 (Ancestral Protection Totem)
(98008, 36, 86437), -- MagharOrc - 98008 (Spirit Link Totem)
(157153, 36, 86439), -- MagharOrc - 157153 (Cloudburst Totem)
(108280, 36, 86439), -- MagharOrc - 108280 (Healing Tide Totem)
(16191, 36, 86439), -- MagharOrc - 16191 (Mana Tide Totem)
(51485, 36, 86440), -- MagharOrc - 51485 (Earthgrab Totem)
(198838, 36, 86440), -- MagharOrc - 198838 (Earthen Wall Totem)
(8512, 36, 86437), -- MagharOrc - 8512 (Windfury Totem)
(204336, 36, 86437), -- MagharOrc - 204336 (Grounding Totem)
(204331, 36, 86437), -- MagharOrc - 204331 (Counterstrike Totem)
(204330, 36, 86438), -- MagharOrc - 204330 (Skyfury Totem)
(355580, 36, 86437), -- MagharOrc - 355580 (Static Field Totem)
(192077, 36, 86437), -- MagharOrc - 192077 (Wind Rush Totem)
(192222, 36, 86438), -- MagharOrc - 192222 (Liquid Magma Totem)
(324386, 36, 86437), -- MagharOrc - 324386 (Vesper Totem)
(8143, 36, 86440), -- MagharOrc - 8143 (Tremor Totem)
(5394, 36, 86439), -- MagharOrc - 5394 (Healing Stream Totem)
(2484, 36, 86440), -- MagharOrc - 2484 (Earthbind Totem)
(192058, 36, 86437), -- MagharOrc - 192058 (Capacitor Totem)
(16191, 28, 81442), -- HighmountainTauren - 16191 (Mana Tide Totem)
(8512, 28, 81441), -- HighmountainTauren - 8512 (Windfury Totem)
(355580, 28, 81441), -- HighmountainTauren - 355580 (Static Field Totem)
(324386, 28, 81441), -- HighmountainTauren - 324386 (Vesper Totem)
(8143, 28, 81443), -- HighmountainTauren - 8143 (Tremor Totem)
(16191, 9, 30784), -- Goblin - 16191 (Mana Tide Totem)
(8512, 9, 30781), -- Goblin - 8512 (Windfury Totem)
(355580, 9, 30781), -- Goblin - 355580 (Static Field Totem)
(324386, 9, 30781), -- Goblin - 324386 (Vesper Totem)
(8143, 9, 30782), -- Goblin - 8143 (Tremor Totem)
(16191, 6, 4587), -- Tauren - 16191 (Mana Tide Totem)
(8512, 6, 4590), -- Tauren - 8512 (Windfury Totem)
(355580, 6, 4590), -- Tauren - 355580 (Static Field Totem)
(324386, 6, 4590), -- Tauren - 324386 (Vesper Totem)
(8143, 6, 4588), -- Tauren - 8143 (Tremor Totem)
(16191, 8, 30763), -- Troll - 16191 (Mana Tide Totem)
(8512, 8, 30760), -- Troll - 8512 (Windfury Totem)
(355580, 8, 30760), -- Troll - 355580 (Static Field Totem)
(324386, 8, 30760), -- Troll - 324386 (Vesper Totem)
(8143, 8, 30761), -- Troll - 8143 (Tremor Totem)
(16191, 2, 30759), -- Orc - 16191 (Mana Tide Totem)
(8512, 2, 30756), -- Orc - 8512 (Windfury Totem)
(355580, 2, 30756), -- Orc - 355580 (Static Field Totem)
(188592, 2, 59800), -- Orc - 188592 (Fire Elemental)
(324386, 2, 30756), -- Orc - 324386 (Vesper Totem)
(8143, 2, 30757), -- Orc - 8143 (Tremor Totem)
(207399, 32, 90691), -- KulTiran - 207399 (Ancestral Protection Totem)
(98008, 32, 90693), -- KulTiran - 98008 (Spirit Link Totem)
(108280, 32, 90694), -- KulTiran - 108280 (Healing Tide Totem)
(16191, 32, 90694), -- KulTiran - 16191 (Mana Tide Totem)
(157153, 32, 90694), -- KulTiran - 157153 (Cloudburst Totem)
(198838, 32, 90691), -- KulTiran - 198838 (Earthen Wall Totem)
(51485, 32, 90691), -- KulTiran - 51485 (Earthgrab Totem)
(8512, 32, 90693), -- KulTiran - 8512 (Windfury Totem)
(5394, 32, 90694), -- KulTiran - 5394 (Healing Stream Totem)
(2484, 32, 90691), -- KulTiran - 2484 (Earthbind Totem)
(192058, 32, 90693), -- KulTiran - 192058 (Capacitor Totem)
(204336, 32, 90693), -- KulTiran - 204336 (Grounding Totem)
(204331, 32, 90693), -- KulTiran - 204331 (Counterstrike Totem)
(204330, 32, 90695), -- KulTiran - 204330 (Skyfury Totem)
(355580, 32, 90693), -- KulTiran - 355580 (Static Field Totem)
(192222, 32, 90695), -- KulTiran - 192222 (Liquid Magma Totem)
(192077, 32, 90693), -- KulTiran - 192077 (Wind Rush Totem)
(324386, 32, 90693), -- KulTiran - 324386 (Vesper Totem)
(8143, 32, 90691), -- KulTiran - 8143 (Tremor Totem)
(16191, 25, 41671), -- PandarenAlliance - 16191 (Mana Tide Totem)
(8512, 25, 41668), -- PandarenAlliance - 8512 (Windfury Totem)
(8143, 25, 41669), -- PandarenAlliance - 8143 (Tremor Totem)
(355580, 25, 41668), -- PandarenAlliance - 355580 (Static Field Totem)
(324386, 25, 41668), -- PandarenAlliance - 324386 (Vesper Totem)
(355580, 34, 86432), -- DarkIronDwarf - 355580 (Static Field Totem)
(204336, 34, 86432), -- DarkIronDwarf - 204336 (Grounding Totem)
(204331, 34, 86432), -- DarkIronDwarf - 204331 (Counterstrike Totem)
(204330, 34, 86433), -- DarkIronDwarf - 204330 (Skyfury Totem)
(207399, 34, 86435), -- DarkIronDwarf - 207399 (Ancestral Protection Totem)
(198838, 34, 86435), -- DarkIronDwarf - 198838 (Earthen Wall Totem)
(157153, 34, 86434), -- DarkIronDwarf - 157153 (Cloudburst Totem)
(51485, 34, 86435), -- DarkIronDwarf - 51485 (Earthgrab Totem)
(108280, 34, 86434), -- DarkIronDwarf - 108280 (Healing Tide Totem)
(98008, 34, 86432), -- DarkIronDwarf - 98008 (Spirit Link Totem)
(16191, 34, 86434), -- DarkIronDwarf - 16191 (Mana Tide Totem)
(8512, 34, 86432), -- DarkIronDwarf - 8512 (Windfury Totem)
(192077, 34, 86432), -- DarkIronDwarf - 192077 (Wind Rush Totem)
(192222, 34, 86433), -- DarkIronDwarf - 192222 (Liquid Magma Totem)
(324386, 34, 86432), -- DarkIronDwarf - 324386 (Vesper Totem)
(8143, 34, 86435), -- DarkIronDwarf - 8143 (Tremor Totem)
(5394, 34, 86434), -- DarkIronDwarf - 5394 (Healing Stream Totem)
(192058, 34, 86432), -- DarkIronDwarf - 192058 (Capacitor Totem)
(2484, 34, 86435), -- DarkIronDwarf - 2484 (Earthbind Totem)
(16191, 11, 19075), -- Draenei - 16191 (Mana Tide Totem)
(8512, 11, 19071), -- Draenei - 8512 (Windfury Totem)
(324386, 11, 19071), -- Draenei - 324386 (Vesper Totem)
(8143, 11, 19073), -- Draenei - 8143 (Tremor Totem)
(188616, 11, 14511), -- Draenei - 188616 (Earth Elemental)
(355580, 11, 19071), -- Draenei - 355580 (Static Field Totem)
(16191, 3, 30755), -- Dwarf - 16191 (Mana Tide Totem)
(8512, 3, 30736), -- Dwarf - 8512 (Windfury Totem)
(324386, 3, 30736), -- Dwarf - 324386 (Vesper Totem)
(8143, 3, 30753), -- Dwarf - 8143 (Tremor Totem)
(355580, 3, 30736), -- Dwarf - 355580 (Static Field Totem)
(16191, 26, 41671), -- PandarenHorde - 16191 (Mana Tide Totem)
(8512, 26, 41668), -- PandarenHorde - 8512 (Windfury Totem)
(355580, 26, 41668), -- PandarenHorde - 355580 (Static Field Totem)
(324386, 26, 41668), -- PandarenHorde - 324386 (Vesper Totem)
(8143, 26, 41669); -- PandarenHorde - 8143 (Tremor Totem)
@@ -0,0 +1,17 @@
-- Human
UPDATE `playercreateinfo` SET `orientation` = 5.1044426 WHERE `race` = 1 AND `class` != 6;
-- Dwarf
UPDATE `playercreateinfo` SET `zone` = 132, `orientation` = 0.501087 WHERE `race` = 3 AND `class` != 6;
-- Night Elf
UPDATE `playercreateinfo` SET `zone` = 188, `orientation` = 5.48033 WHERE `race` = 4 AND `class` NOT IN (6, 12);
-- Orc
UPDATE `playercreateinfo` SET `zone` = 363, `orientation` = 0 WHERE `race` = 2 AND `class` != 6;
-- Pandaren
UPDATE `playercreateinfo` SET `orientation` = 2.879619 WHERE `race` = 24 AND `class` != 6;
-- Death Knight
UPDATE `playercreateinfo` SET `orientation` = 3.659973 WHERE `class` = 6 AND `race` != 24;
@@ -0,0 +1,5 @@
UPDATE `creature_addon` SET `bytes2` = 1, `emote` = 333 WHERE `guid` IN (280020, 280019, 280001, 280003, 279956, 279945, 279928, 279914, 279906, 279894, 279893, 279888, 280008, 280002);
DELETE FROM `creature_addon` WHERE `guid` = 280018;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(280018, 0, 0, 0, 1, 333, 0, 0, 0, 0, NULL);
@@ -0,0 +1,2 @@
--
DELETE FROM `creature_addon` WHERE `guid` IN (279887, 279889, 279891, 279905, 279916, 279929, 279938, 279947, 279998, 279999, 280000, 280004, 280006, 280013, 280016);
@@ -0,0 +1,4 @@
--
UPDATE `quest_objectives` SET `VerifiedBuild`=40120 WHERE `ID` IN (256445,256853,256854,259624,276209,276210,276219,276221);
UPDATE `quest_visual_effect` SET `VerifiedBuild`=40120 WHERE `ID` IN (259624,276219,276221) AND `Index`=0;
@@ -0,0 +1,81 @@
DELETE FROM `creature_template_scaling` WHERE (`DifficultyID`=0 AND `Entry` IN (15367,15298,15273,20100,20244,20098,15291,43010,15468,15289,15287,15296,15284,15297,15285,15280,15513,15279,15295,15292,63332,44857,15283,15494,44937,15278,15281,15366,15274,15372,15294,15271,15301,15371,17849,17047,16270,16923,16271,43012,15403,15638,15644,16916,18929,16924,16259,44244,15418,15493,16266,63080,16267,63079,16186,16185,15433,18926,16276,16269,15416,15940));
INSERT INTO `creature_template_scaling` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `VerifiedBuild`) VALUES
(15367, 0, 0, 0, 1485, 40120),
(15298, 0, 0, 0, 1485, 40120),
(15273, 0, 0, 0, 1485, 40120),
(20100, 0, 0, 0, 1485, 40120),
(20244, 0, 0, 0, 1485, 40120),
(20098, 0, 0, 0, 1485, 40120),
(15291, 0, 0, 0, 1485, 40120),
(43010, 0, 0, 0, 1485, 40120),
(15468, 0, 0, 0, 1485, 40120),
(15289, 0, 0, 0, 1485, 40120),
(15287, 0, 0, 0, 1485, 40120),
(15296, 0, 0, 0, 1485, 40120),
(15284, 0, 0, 0, 1485, 40120),
(15297, 0, 0, 0, 1485, 40120),
(15285, 0, 0, 0, 1485, 40120),
(15280, 0, 0, 0, 1485, 40120),
(15513, 0, 0, 0, 1485, 40120),
(15279, 0, 0, 0, 1485, 40120),
(15295, 0, 0, 0, 1485, 40120),
(15292, 0, 0, 0, 1485, 40120),
(63332, 0, 0, 0, 1485, 40120),
(44857, 0, 0, 0, 1485, 40120),
(15283, 0, 0, 0, 1485, 40120),
(15494, 0, 0, 0, 1485, 40120),
(44937, 0, 0, 0, 1485, 40120),
(15278, 0, 0, 0, 1485, 40120),
(15281, 0, 0, 0, 1485, 40120),
(15366, 0, 0, 0, 1485, 40120),
(15274, 0, 0, 0, 1485, 40120),
(15372, 0, 0, 0, 1485, 40120),
(15294, 0, 0, 0, 1485, 40120),
(15271, 0, 0, 0, 1485, 40120),
(15301, 0, 0, 0, 1485, 40120),
(15371, 0, 3, 3, 883, 40120),
(17849, 0, 0, 0, 77, 40120),
(17047, 0, 0, 0, 77, 40120),
(16270, 0, 0, 0, 77, 40120),
(16923, 0, 0, 0, 77, 40120),
(16271, 0, 0, 0, 77, 40120),
(43012, 0, 0, 0, 77, 40120),
(15403, 0, 0, 0, 77, 40120),
(15638, 0, 0, 0, 77, 40120),
(15644, 0, 0, 0, 77, 40120),
(16916, 0, 0, 0, 77, 40120),
(18929, 0, 0, 0, 77, 40120),
(16924, 0, 0, 0, 77, 40120),
(16259, 0, 0, 0, 77, 40120),
(44244, 0, 0, 0, 881, 40120),
(15418, 0, 0, 0, 77, 40120),
(15493, 0, 0, 0, 77, 40120),
(16266, 0, 0, 0, 77, 40120),
(63080, 0, 0, 0, 77, 40120),
(16267, 0, 0, 0, 77, 40120),
(63079, 0, 4, 4, 373, 40120),
(16186, 0, 0, 0, 77, 40120),
(16185, 0, 0, 0, 77, 40120),
(15433, 0, 0, 0, 77, 40120),
(18926, 0, 0, 0, 77, 40120),
(16276, 0, 0, 0, 77, 40120),
(16269, 0, 0, 0, 77, 40120),
(15416, 0, 0, 0, 77, 40120),
(15940, 0, 0, 0, 77, 40120);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=6491 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=89713 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=62019 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=6368 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=61142 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=1420 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=17213 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=61071 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=721 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=62020 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=13321 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=2914 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=16221 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=61080 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=15654 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=15649 AND `DifficultyID`=0);
@@ -0,0 +1,2 @@
--
UPDATE `creature_template` SET `subname` = '' WHERE `entry` IN (68979, 68980);
@@ -0,0 +1,28 @@
--
-- 25152 Tu lugar en el mundo
-- https://es.wowhead.com/quest=25152
DELETE FROM `quest_offer_reward_locale` WHERE `ID`='25152' AND `locale`='esES';
INSERT INTO `quest_offer_reward_locale` (`ID`, `locale`, `RewardText`, `VerifiedBuild`) VALUES ('25152', 'esES', 'Otro de los reclutas de Kaltunk, ¿eh?$B$BPues que están mal las cosas, si esto es lo mejor que puede ofrecer la Horda. No importa. Para cuando te llegue el momento de salir del Valle, serás un guerrero digno de la Horda.', '0');
-- 25126 Dientes afilados
-- https://es.wowhead.com/quest=25126
-- Blizzard server (quest_request_items_locale)
DELETE FROM `quest_request_items_locale` WHERE `ID`='25126' AND `locale`='esES';
INSERT INTO `quest_request_items_locale` (`ID`, `locale`, `CompletionText`, `VerifiedBuild`) VALUES ('25126', 'esES','Espero que no hayas vuelto para intentar convencerme de que has terminado tu tarea, $n, ¿verdad? No, claro que no. Esperaría algo mejor de ti.', '0');
DELETE FROM `quest_offer_reward_locale` WHERE `ID`='25126' AND `locale`='esES';
INSERT INTO `quest_offer_reward_locale` (`ID`, `locale`, `RewardText`, `VerifiedBuild`) VALUES ('25126', 'esES', 'Umm... no está mal, $n. Pero que no se te suba a la cabeza... tendrás que luchar con cosas mucho más duras que un jabalí en tu carrera.$B$BSin embargo, has mostrado tu valía, y tu siguiente prueba será contra un adversario mucho más peligroso, necesitarás algo más de protección.', '0');
-- 25172 Invasores en nuestro hogar
-- https://es.wowhead.com/quest=25172
-- Blizzard server (quest_request_items_locale)
DELETE FROM `quest_request_items_locale` WHERE `ID`='25172' AND `locale`='esES';
INSERT INTO `quest_request_items_locale` (`ID`, `locale`, `CompletionText`, `VerifiedBuild`) VALUES ('25172', 'esES', 'Rápido, $n. Despacha a estos humanos en nuestro valle.', '0');
DELETE FROM `quest_offer_reward_locale` WHERE `ID`='25172' AND `locale`='esES';
INSERT INTO `quest_offer_reward_locale` (`ID`, `locale`, `RewardText`, `VerifiedBuild`) VALUES ('25172', 'esES', 'Ejecutados con rapidez y discreción. Un trabajo bien hecho.', '0');
-- 25127 Aguijón de escórpido
-- https://es.wowhead.com/quest=25127
DELETE FROM `quest_request_items_locale` WHERE `ID`='25127' AND `locale`='esES';
INSERT INTO `quest_request_items_locale` (`ID`, `locale`, `CompletionText`, `VerifiedBuild`) VALUES ('25127', 'esES', 'El caparazón de un escórpido no es tan resistente como para disuadir la fuerza y determinación de un guerrero. Golpea fuerte y sin dudas, y los escórpidos serán una presa fácil.', '0');
DELETE FROM `quest_offer_reward_locale` WHERE `ID`='25127' AND `locale`='esES';
INSERT INTO `quest_offer_reward_locale` (`ID`, `locale`, `RewardText`, `VerifiedBuild`) VALUES ('25127', 'esES', 'De tus luchas con los escórpidos debes sacar una lección importante. Tanto el menor como el mayor de tus oponentes pueden enviarte directo al infierno. En el combate cualquier cosa y en cualquier número o tamaño puede llevarte a la perdición.$B$BNo tengo nada más que enseñarte, $n. Te has portado bien y seguiré con mucho interés tus progresos.\r\n', '0');
@@ -0,0 +1,51 @@
-- add missing EmoteState (GUID: 650005)
DELETE FROM `creature_addon` WHERE `guid` = 650005;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(650005, 0, 0, 0, 257, 415, 0, 0, 0, 0, '');
-- add missing EmoteState (GUID: 650017)
DELETE FROM `creature_addon` WHERE `guid` = 650017;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(650017, 0, 0, 0, 1, 613, 0, 0, 0, 0, '');
-- add missing EmoteState (GUID: 650051)
DELETE FROM `creature_addon` WHERE `guid` = 650051;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(650051, 0, 0, 0, 257, 641, 0, 0, 0, 0, '');
-- add missing EmoteState (GUID: 650065)
DELETE FROM `creature_addon` WHERE `guid` = 650065;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(650065, 0, 0, 0, 257, 641, 0, 0, 0, 0, '');
-- SAI Script for locus-researcher & rift-warden
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (132385, 132386);
-- SAI for GUID: 650030
SET @ENTRY := -650030;
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`, `event_param5`, `event_param_string`, `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, 1, 0, 100, 1, 1000, 1000, 0, 0, 0, '', 11, 260888, 1, 0, 0, 0, 0, 10, 650039, 132397, 0, 0, 0, 0, 0, 'Cast Void Suppression on Bunny');
-- SAI for GUID: 650002
SET @ENTRY := -650002;
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`, `event_param5`, `event_param_string`, `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, 1, 0, 100, 1, 1000, 1000, 0, 0, 0, '', 11, 260888, 1, 0, 0, 0, 0, 10, 650039, 132397, 0, 0, 0, 0, 0, 'Cast Void Suppression on Bunny');
-- SAI for GUID: 650003
SET @ENTRY := -650003;
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`, `event_param5`, `event_param_string`, `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, 1, 0, 100, 1, 1000, 1000, 0, 0, 0, '', 11, 260888, 1, 0, 0, 0, 0, 10, 650039, 132397, 0, 0, 0, 0, 0, 'Cast Void Suppression on Bunny');
-- Condition for Spell_Target
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` = 260888;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 260888, 0, 0, 31, 0, 3, 132397, 0, 0, 0, 0, '', 'Spell target hit Bunny 132397');
-- SAI for GUID: 560056
SET @ENTRY := -650056;
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`, `event_param5`, `event_param_string`, `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, 1, 0, 100, 0, 2000, 5000, 2000, 5000, 0, '', 10, 1, 6, 274, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'OOC - after 5000ms and 5000ms repeat - play Random Emote');
@@ -0,0 +1,308 @@
SET @CGUID := 1050038;
SET @OGUID := 600000;
-- playercreateinfo for Allied Race Deathknights
DELETE FROM `playercreateinfo` WHERE `race` IN (29, 27, 28, 30, 31, 32, 34, 35, 36, 37, 26, 25) AND `class`=6;
INSERT INTO `playercreateinfo` (`race`, `class`, `map`, `position_x`, `position_y`, `position_z`, `orientation`) VALUES
(29, 6, 2297, 481.803009033203125, -2124.659912109375, 840.85699462890625, 3.1104908),
(27, 6, 2297, 481.803009033203125, -2124.659912109375, 840.85699462890625, 3.1104908),
(28, 6, 2297, 481.803009033203125, -2124.659912109375, 840.85699462890625, 3.1104908),
(30, 6, 2297, 481.803009033203125, -2124.659912109375, 840.85699462890625, 3.1104908),
(31, 6, 2297, 481.803009033203125, -2124.659912109375, 840.85699462890625, 3.1104908),
(32, 6, 2297, 481.803009033203125, -2124.659912109375, 840.85699462890625, 3.1104908),
(34, 6, 2297, 481.803009033203125, -2124.659912109375, 840.85699462890625, 3.1104908),
(35, 6, 2297, 481.803009033203125, -2124.659912109375, 840.85699462890625, 3.1104908),
(36, 6, 2297, 481.803009033203125, -2124.659912109375, 840.85699462890625, 3.1104908),
(37, 6, 2297, 481.803009033203125, -2124.659912109375, 840.85699462890625, 3.1104908),
(26, 6, 2297, 481.803009033203125, -2124.659912109375, 840.85699462890625, 3.1104908),
(25, 6, 2297, 481.803009033203125, -2124.659912109375, 840.85699462890625, 3.1104908);
DELETE FROM `scene_template` WHERE (`SceneId`=2394 AND `ScriptPackageID`=2780);
INSERT INTO `scene_template` (`SceneId`, `Flags`, `ScriptPackageID`, `Encrypted`) VALUES
(2394, 9, 2780, 0);
-- Update Quest stuff
DELETE FROM `creature_queststarter` WHERE `id` = 163016;
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES
(163016, 58877), -- Deaths Power Grows
(163016, 58902), -- Defender of Azeroth (A)
(163016, 58903); -- Defender of Azeroth (H)
DELETE FROM `creature_questender` WHERE `id` = 163016;
INSERT INTO `creature_questender` (`id`, `quest`) VALUES
(163016, 58877), -- Deaths Power Grows
(163016, 58902), -- Defender of Azeroth (A)
(163016, 58903); -- Defender of Azeroth (H)
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58902 AND `BlobIndex`=0 AND `Idx1`=4); -- Defender of Azeroth
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58902 AND `BlobIndex`=1 AND `Idx1`=3); -- Defender of Azeroth
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58902 AND `BlobIndex`=0 AND `Idx1`=2); -- Defender of Azeroth
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58902 AND `BlobIndex`=0 AND `Idx1`=1); -- Defender of Azeroth
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58902 AND `BlobIndex`=0 AND `Idx1`=0); -- Defender of Azeroth
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58877 AND `BlobIndex`=0 AND `Idx1`=2); -- Death's Power Grows
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58877 AND `BlobIndex`=0 AND `Idx1`=1); -- Death's Power Grows
UPDATE `quest_poi` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58877 AND `BlobIndex`=0 AND `Idx1`=0); -- Death's Power Grows
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58902 AND `Idx1`=4 AND `Idx2`=0); -- Defender of Azeroth
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58902 AND `Idx1`=3 AND `Idx2`=0); -- Defender of Azeroth
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58902 AND `Idx1`=2 AND `Idx2`=0); -- Defender of Azeroth
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58902 AND `Idx1`=1 AND `Idx2`=0); -- Defender of Azeroth
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58902 AND `Idx1`=0 AND `Idx2`=0); -- Defender of Azeroth
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58877 AND `Idx1`=2 AND `Idx2`=0); -- Death's Power Grows
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58877 AND `Idx1`=1 AND `Idx2`=0); -- Death's Power Grows
UPDATE `quest_poi_points` SET `VerifiedBuild`=40120 WHERE (`QuestID`=58877 AND `Idx1`=0 AND `Idx2`=0); -- Death's Power Grows
DELETE FROM `quest_offer_reward` WHERE `ID`=58877;
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES
(58877, 0, 0, 0, 0, 0, 0, 0, 0, 'I accept your pledge. Serve us well.\n\nTo that end, new weapons worthy of a Knight of the Ebon Blade have been forged.\n\nChoose, my champion.', 40120); -- Death's Power Grows
DELETE FROM `quest_details` WHERE `ID` IN (58902 /*Defender of Azeroth*/, 58877 /*Death's Power Grows*/);
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(58902, 0, 0, 0, 0, 0, 0, 0, 0, 40120), -- Defender of Azeroth
(58877, 0, 0, 0, 0, 0, 0, 0, 0, 40120); -- Death's Power Grows
DELETE FROM `quest_request_items` WHERE `ID`=58877;
INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `EmoteOnCompleteDelay`, `EmoteOnIncompleteDelay`, `CompletionText`, `VerifiedBuild`) VALUES
(58877, 0, 0, 0, 0, 'Swear your fealty, $n.', 40120); -- Death's Power Grows
-- NPC spawns & Addon
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+32;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
(@CGUID+0, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 514.51739501953125, -2132.288330078125, 840.9403076171875, 1.543633103370666503, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+1, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 514.92364501953125, -2116.732666015625, 840.94024658203125, 4.681285858154296875, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+2, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 502.567718505859375, -2116.8525390625, 840.94024658203125, 4.724217414855957031, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+3, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 489.935760498046875, -2132.288330078125, 840.9403076171875, 1.562398791313171386, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+4, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 512.61456298828125, -2116.71533203125, 840.94024658203125, 4.669904232025146484, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+5, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 511.98785400390625, -2132.288330078125, 840.94024658203125, 1.528188347816467285, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+6, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 509.392364501953125, -2132.2900390625, 840.9403076171875, 1.523436784744262695, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+7, 161708, 2297, 12952, 12951, '0', '0', 0, 0, 0, 466.701385498046875, -2131.3837890625, 840.9403076171875, 6.238399505615234375, 7200, 0, 0, 36632, 9035, 0, 0, 0, 0, 40120), -- High Inquisitor Whitemane (Area: -Unknown- - Difficulty: 0)
(@CGUID+8, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 492.51910400390625, -2116.850830078125, 840.94024658203125, 4.720029354095458984, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+9, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 507.03472900390625, -2132.288330078125, 840.94024658203125, 1.53494429588317871, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+10, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 490.036468505859375, -2116.850830078125, 840.94024658203125, 4.710337162017822265, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+11, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 517.3055419921875, -2132.2900390625, 840.94024658203125, 1.551848411560058593, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+12, 161707, 2297, 12952, 12951, '0', '0', 0, 0, 0, 466.701385498046875, -2121.79345703125, 840.9403076171875, 6.238399505615234375, 7200, 0, 0, 32053, 0, 0, 0, 0, 0, 40120), -- King Thoras Trollbane (Area: -Unknown- - Difficulty: 0)
(@CGUID+13, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 497.791656494140625, -2132.288330078125, 840.94024658203125, 1.568883061408996582, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+14, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 500.114593505859375, -2132.2900390625, 840.9403076171875, 1.567752838134765625, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+15, 161709, 2297, 12952, 12951, '0', '0', 0, 0, 0, 466.701385498046875, -2127.08154296875, 840.9403076171875, 6.238408565521240234, 7200, 0, 0, 114475, 45175, 0, 0, 0, 0, 40120), -- Highlord Darion Mograine (Area: -Unknown- - Difficulty: 0)
(@CGUID+16, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 495.166656494140625, -2116.8525390625, 840.94024658203125, 4.71814584732055664, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+17, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 495.26214599609375, -2132.288330078125, 840.9403076171875, 1.577044129371643066, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+18, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 507.4375, -2116.8525390625, 840.94024658203125, 4.692774295806884765, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+19, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 487.390625, -2116.850830078125, 840.94024658203125, 4.707186222076416015, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+20, 161706, 2297, 12952, 12951, '0', '0', 0, 0, 0, 466.701385498046875, -2116.763916015625, 840.9403076171875, 6.238399505615234375, 7200, 0, 0, 45790, 1807, 0, 0, 0, 0, 40120), -- Nazgrim (Area: -Unknown- - Difficulty: 0)
(@CGUID+21, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 517.513916015625, -2116.53466796875, 840.94024658203125, 4.703579425811767578, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+22, 163016, 2297, 12952, 12951, '0', '0', 0, 0, 0, 426.432281494140625, -2123.810791015625, 864.97430419921875, 3.191439628601074218, 7200, 0, 0, 9158000, 0, 0, 0, 0, 0, 40120), -- The Lich King (Area: -Unknown- - Difficulty: 0) (Auras: 192032 - Swirling Souls)
(@CGUID+23, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 504.94964599609375, -2132.2900390625, 840.94024658203125, 1.570852279663085937, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+24, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 497.78472900390625, -2116.8525390625, 840.94024658203125, 4.720065116882324218, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+25, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 519.9913330078125, -2116.397705078125, 840.9403076171875, 4.726891517639160156, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+26, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 487.255218505859375, -2132.288330078125, 840.9403076171875, 1.559023022651672363, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+27, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 520.13543701171875, -2132.3056640625, 840.9403076171875, 1.576829433441162109, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+28, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 492.689239501953125, -2132.2900390625, 840.9403076171875, 1.58624422550201416, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+29, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 502.670135498046875, -2132.2900390625, 840.94024658203125, 1.58245241641998291, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+30, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 510.126739501953125, -2116.713623046875, 840.94024658203125, 4.661986351013183593, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+31, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 504.923614501953125, -2116.8525390625, 840.94024658203125, 4.710828304290771484, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120), -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
(@CGUID+32, 161711, 2297, 12952, 12951, '0', '0', 0, 0, 0, 500.22222900390625, -2116.8525390625, 840.94024658203125, 4.712122440338134765, 7200, 0, 0, 9624, 852, 0, 0, 0, 0, 40120); -- Knight of the Ebon Blade (Area: -Unknown- - Difficulty: 0)
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+32;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+1, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+2, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+3, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+4, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+5, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+6, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+7, 0, 70479, 0, 1, 0, 0, 0, 0, ''), -- High Inquisitor Whitemane
(@CGUID+8, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+9, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+10, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+11, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+12, 0, 70480, 0, 1, 0, 0, 0, 0, ''), -- King Thoras Trollbane
(@CGUID+13, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+14, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+15, 0, 70478, 0, 1, 0, 0, 0, 0, ''), -- Highlord Darion Mograine
(@CGUID+16, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+17, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+18, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+19, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+20, 0, 70481, 0, 1, 0, 0, 0, 0, ''), -- Nazgrim
(@CGUID+21, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+22, 0, 0, 0, 1, 0, 0, 0, 0, '192032'), -- The Lich King - 192032 - Swirling Souls
(@CGUID+23, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+24, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+25, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+26, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+27, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+28, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+29, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+30, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+31, 0, 0, 0, 1, 0, 0, 0, 0, ''), -- Knight of the Ebon Blade
(@CGUID+32, 0, 0, 0, 1, 0, 0, 0, 0, ''); -- Knight of the Ebon Blade
-- GameObjects
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+14;
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+0, 202143, 2297, 12952, 12951, '0', '0', 0, 533.55987548828125, -2152.8310546875, 840.85699462890625, 0, 0, 0, 0, 1, 7200, 255, 1, 40120), -- Doodad_IceShard_standing03 (Area: -Unknown- - Difficulty: 0)
(@OGUID+1, 202141, 2297, 12952, 12951, '0', '0', 0, 473.74700927734375, -2096.476806640625, 840.85699462890625, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 1, 40120), -- Doodad_IceShard_standing02 (Area: -Unknown- - Difficulty: 0)
(@OGUID+2, 202190, 2297, 12952, 12951, '0', '0', 0, 503.619140625, -2124.650390625, 840.5247802734375, 3.159062385559082031, 0, 0, -0.99996185302734375, 0.008734640665352344, 7200, 255, 1, 40120), -- Doodad_Icecrown_SnowEdgeWarning01 (Area: -Unknown- - Difficulty: 0)
(@OGUID+3, 202144, 2297, 12952, 12951, '0', '0', 0, 533.5592041015625, -2096.475830078125, 840.85699462890625, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 7200, 255, 1, 40120), -- Doodad_IceShard_standing04 (Area: -Unknown- - Difficulty: 0)
(@OGUID+4, 202188, 2297, 12952, 12951, '0', '0', 0, 503.619140625, -2124.650390625, 836.6099853515625, 3.159062385559082031, 0, 0, -0.99996185302734375, 0.008734640665352344, 7200, 255, 0, 40120), -- Doodad_Icecrown_ThroneFrostyWind01 (Area: -Unknown- - Difficulty: 0)
(@OGUID+5, 202142, 2297, 12952, 12951, '0', '0', 0, 473.747650146484375, -2152.83203125, 840.85699462890625, 4.712389945983886718, 0, 0, -0.70710659027099609, 0.707106947898864746, 7200, 255, 1, 40120), -- Doodad_IceShard_standing01 (Area: -Unknown- - Difficulty: 0)
(@OGUID+6, 202189, 2297, 12952, 12951, '0', '0', 0, 503.619140625, -2124.650390625, 836.6099853515625, 3.159062385559082031, 0, 0, -0.99996185302734375, 0.008734640665352344, 7200, 255, 1, 40120), -- Doodad_Icecrown_ThroneFrostyEdge01 (Area: -Unknown- - Difficulty: 0)
(@OGUID+7, 202189, 2297, 12952, 12951, '0', '0', 0, 503.619140625, -2124.650390625, 836.6099853515625, 3.159062385559082031, 0, 0, -0.99996185302734375, 0.008734640665352344, 7200, 255, 1, 40120), -- Doodad_Icecrown_ThroneFrostyEdge01 (Area: -Unknown- - Difficulty: 0)
(@OGUID+8, 341816, 2297, 12952, 12951, '0', '0', 0, 426.432281494140625, -2123.814208984375, 864.89141845703125, 3.191464900970458984, 0, 0, -0.99968910217285156, 0.02493344061076641, 7200, 255, 1, 40120), -- The Lich King (Area: -Unknown- - Difficulty: 0)
(@OGUID+9, 202143, 2297, 12952, 12951, '0', '0', 0, 533.55987548828125, -2152.8310546875, 840.85699462890625, 0, 0, 0, 0, 1, 7200, 255, 1, 40120), -- Doodad_IceShard_standing03 (Area: -Unknown- - Difficulty: 0)
(@OGUID+10, 202141, 2297, 12952, 12951, '0', '0', 0, 473.74700927734375, -2096.476806640625, 840.85699462890625, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 1, 40120), -- Doodad_IceShard_standing02 (Area: -Unknown- - Difficulty: 0)
(@OGUID+11, 202190, 2297, 12952, 12951, '0', '0', 0, 503.619140625, -2124.650390625, 840.5247802734375, 3.159062385559082031, 0, 0, -0.99996185302734375, 0.008734640665352344, 7200, 255, 1, 40120), -- Doodad_Icecrown_SnowEdgeWarning01 (Area: -Unknown- - Difficulty: 0)
(@OGUID+12, 202144, 2297, 12952, 12951, '0', '0', 0, 533.5592041015625, -2096.475830078125, 840.85699462890625, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 7200, 255, 1, 40120), -- Doodad_IceShard_standing04 (Area: -Unknown- - Difficulty: 0)
(@OGUID+13, 202188, 2297, 12952, 12951, '0', '0', 0, 503.619140625, -2124.650390625, 836.6099853515625, 3.159062385559082031, 0, 0, -0.99996185302734375, 0.008734640665352344, 7200, 255, 0, 40120), -- Doodad_Icecrown_ThroneFrostyWind01 (Area: -Unknown- - Difficulty: 0)
(@OGUID+14, 202142, 2297, 12952, 12951, '0', '0', 0, 473.747650146484375, -2152.83203125, 840.85699462890625, 4.712389945983886718, 0, 0, -0.70710659027099609, 0.707106947898864746, 7200, 255, 1, 40120); -- Doodad_IceShard_standing01 (Area: -Unknown- - Difficulty: 0)
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+14;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+0, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_IceShard_standing03
(@OGUID+1, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_IceShard_standing02
(@OGUID+2, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Doodad_Icecrown_SnowEdgeWarning01
(@OGUID+3, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_IceShard_standing04
(@OGUID+4, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Doodad_Icecrown_ThroneFrostyWind01
(@OGUID+5, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_IceShard_standing01
(@OGUID+6, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Doodad_Icecrown_ThroneFrostyEdge01
(@OGUID+7, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Doodad_Icecrown_ThroneFrostyEdge01
(@OGUID+9, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_IceShard_standing03
(@OGUID+10, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_IceShard_standing02
(@OGUID+11, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Doodad_Icecrown_SnowEdgeWarning01
(@OGUID+12, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_IceShard_standing04
(@OGUID+13, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Doodad_Icecrown_ThroneFrostyWind01
(@OGUID+14, 0, 0, 1, -0.00000004371138828, 0, 0); -- Doodad_IceShard_standing01
-- creature_template
UPDATE `creature_template` SET `minlevel`=50, `maxlevel`=50, `faction`=35, `npcflag`=2, `speed_run`=1, `BaseAttackTime`=2000, `unit_flags`=33536, `unit_flags2`=4229120 WHERE `entry`=163016; -- The Lich King
UPDATE `creature_template` SET `minlevel`=50, `maxlevel`=50, `faction`=2050, `speed_run`=1.385714292526245117, `BaseAttackTime`=2000, `unit_flags`=32768, `unit_flags2`=2048 WHERE `entry`=161706; -- Nazgrim
UPDATE `creature_template` SET `gossip_menu_id`=25082, `minlevel`=50, `maxlevel`=50, `faction`=2050, `npcflag`=1, `speed_walk`=2.40000009536743164, `speed_run`=1.385714292526245117, `BaseAttackTime`=2000, `unit_flags`=33024, `unit_flags2`=2048 WHERE `entry`=161709; -- Highlord Darion Mograine
UPDATE `creature_template` SET `minlevel`=50, `maxlevel`=50, `faction`=2050, `speed_walk`=2.40000009536743164, `speed_run`=1.385714292526245117, `BaseAttackTime`=2000, `unit_flags`=32768, `unit_flags2`=2048 WHERE `entry`=161707; -- King Thoras Trollbane
UPDATE `creature_template` SET `minlevel`=50, `maxlevel`=50, `faction`=2050, `speed_walk`=2.40000009536743164, `speed_run`=1.385714292526245117, `BaseAttackTime`=2000, `unit_flags`=32768, `unit_flags2`=2048 WHERE `entry`=161708; -- High Inquisitor Whitemane
UPDATE `creature_template` SET `minlevel`=30, `maxlevel`=30, `faction`=2051, `BaseAttackTime`=2000, `unit_flags`=32768, `unit_flags2`=2048 WHERE `entry`=161711; -- Knight of the Ebon Blade
-- GameObject_template
DELETE FROM `gameobject_template` WHERE `entry` IN (341833 /*Death Gate*/, 341816 /*The Lich King*/);
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`, `Data24`, `Data25`, `Data26`, `Data27`, `Data28`, `Data29`, `Data30`, `Data31`, `Data32`, `Data33`, `ContentTuningId`, `VerifiedBuild`) VALUES
(341833, 22, 8046, 'Death Gate', 'questinteract', '', '', 1, 317309, 0, 0, 0, 1, 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, 961, 40120), -- Death Gate
(341816, 5, 60714, 'The Lich King', '', '', '', 1, 0, 0, 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, 40120); -- The Lich King
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (341833 /*Death Gate*/, 341816 /*The Lich King*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(341833, 0, 32, 0, 0), -- Death Gate
(341816, 114, 32, 0, 0); -- The Lich King
-- NPC text
DELETE FROM `npc_text` WHERE `ID`=39541;
INSERT INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextId0`, `BroadcastTextId1`, `BroadcastTextId2`, `BroadcastTextId3`, `BroadcastTextId4`, `BroadcastTextId5`, `BroadcastTextId6`, `BroadcastTextId7`, `VerifiedBuild`) VALUES
(39541, 1, 0, 0, 0, 0, 0, 0, 0, 187069, 0, 0, 0, 0, 0, 0, 0, 40120); -- 39541
-- NPC Gossip
DELETE FROM `gossip_menu` WHERE (`MenuId`=25082 AND `TextId`=39541);
INSERT INTO `gossip_menu` (`MenuId`, `TextId`, `VerifiedBuild`) VALUES
(25082, 39541, 40120); -- 161709 (Highlord Darion Mograine)
DELETE FROM `gossip_menu_option` WHERE (`MenuId`=25082 AND `OptionIndex`=0);
INSERT INTO `gossip_menu_option` (`MenuId`, `OptionIndex`, `OptionIcon`, `OptionText`, `OptionBroadcastTextId`, `OptionType`, `OptionNpcFlag`, `VerifiedBuild`) VALUES
(25082, 0, 0, 'Reporting for duty.', 0, 1, 1, 40120);
-- NPC scaling
DELETE FROM `creature_template_scaling` WHERE (`DifficultyID`=0 AND `Entry` IN (155345,23482,23511,23510,153931,161709,161708,163016,161706,161707,161711));
INSERT INTO `creature_template_scaling` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `VerifiedBuild`) VALUES
(155345, 0, 0, 0, 298, 40120),
(23482, 0, 0, 0, 298, 40120),
(23511, 0, 0, 0, 298, 40120),
(23510, 0, 0, 0, 298, 40120),
(153931, 0, 0, 0, 298, 40120),
(161709, 0, 0, 0, 464, 40120),
(161708, 0, 0, 0, 464, 40120),
(163016, 0, 0, 0, 464, 40120),
(161706, 0, 0, 0, 464, 40120),
(161707, 0, 0, 0, 464, 40120),
(161711, 0, 0, 0, 856, 40120);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=111190 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=68 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=61165 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=883 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=17804 AND `DifficultyID`=0);
UPDATE `creature_template_scaling` SET `VerifiedBuild`=40120 WHERE (`Entry`=61080 AND `DifficultyID`=0);
-- Creature Model
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (94647, 94654, 94660, 94656, 94653, 94661, 95187, 94664, 94663, 94667, 94651, 94648, 94649);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(94647, 0.305999994277954101, 1.5, 0, 40120),
(94654, 1, 1.5, 0, 40120),
(94660, 0.347222000360488891, 1.5, 0, 40120),
(94656, 0.372000008821487426, 1.5, 0, 40120),
(94653, 0.347222000360488891, 1.5, 0, 40120),
(94661, 0.347222000360488891, 1.5, 0, 40120),
(95187, 0.706999957561492919, 0, 0, 40120),
(94664, 0.347222000360488891, 1.5, 0, 40120),
(94663, 0.347222000360488891, 1.5, 0, 40120),
(94667, 0.305999994277954101, 1.5, 0, 40120),
(94651, 0.722000002861022949, 3, 0, 40120),
(94648, 0.347000002861022949, 1.5, 0, 40120),
(94649, 0.347000002861022949, 1.5, 0, 40120);
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=99391;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=5446;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=99389;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=3167;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=654;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=91738;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=347;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=91740;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=91751;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=11686;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=22394;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=91748;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=91746;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=22628;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=21860;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=328;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=91731;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=17250;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=22396;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=91743;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=4626;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=63575;
UPDATE `creature_model_info` SET `BoundingRadius`=0.236000001430511474, `CombatReach`=1.5, `VerifiedBuild`=40120 WHERE `DisplayID`=72255;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=94657;
UPDATE `creature_model_info` SET `BoundingRadius`=0.447349995374679565, `CombatReach`=1.724999904632568359, `VerifiedBuild`=40120 WHERE `DisplayID`=72264;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=27153;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=94655;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=72258;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=63577;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=71257;
UPDATE `creature_model_info` SET `BoundingRadius`=0.382999986410140991, `CombatReach`=1.5, `VerifiedBuild`=40120 WHERE `DisplayID`=72261;
UPDATE `creature_model_info` SET `BoundingRadius`=0.351899981498718261, `CombatReach`=1.724999904632568359, `VerifiedBuild`=40120 WHERE `DisplayID`=72265;
UPDATE `creature_model_info` SET `BoundingRadius`=0.347000002861022949, `CombatReach`=1.5, `VerifiedBuild`=40120 WHERE `DisplayID`=72257;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=70436;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=94658;
UPDATE `creature_model_info` SET `VerifiedBuild`=40120 WHERE `DisplayID`=63576;
UPDATE `creature_model_info` SET `BoundingRadius`=0.421299993991851806, `CombatReach`=1.65000009536743164, `VerifiedBuild`=40120 WHERE `DisplayID`=72259;
UPDATE `creature_model_info` SET `BoundingRadius`=0.336600005626678466, `CombatReach`=1.65000009536743164, `VerifiedBuild`=40120 WHERE `DisplayID`=72262;
UPDATE `creature_model_info` SET `BoundingRadius`=0.44044998288154602, `CombatReach`=1.724999904632568359, `VerifiedBuild`=40120 WHERE `DisplayID`=72260;
UPDATE `creature_model_info` SET `BoundingRadius`=0.336600005626678466, `CombatReach`=1.65000009536743164, `VerifiedBuild`=40120 WHERE `DisplayID`=72256;
UPDATE `creature_model_info` SET `BoundingRadius`=0.428399980068206787, `CombatReach`=2.099999904632568359, `VerifiedBuild`=40120 WHERE `DisplayID`=70807;
-- creature equipment
DELETE FROM `creature_equip_template` WHERE (`ID`=1 AND `CreatureID` IN (161709,161708,161706,161707,161711));
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`) VALUES
(161709, 1, 40276, 0, 0, 40276, 0, 0, 0, 0, 0), -- Highlord Darion Mograine
(161708, 1, 79321, 0, 0, 0, 0, 0, 0, 0, 0), -- High Inquisitor Whitemane
(161706, 1, 38633, 0, 0, 0, 0, 0, 0, 0, 0), -- Nazgrim
(161707, 1, 129456, 0, 0, 0, 0, 0, 0, 0, 0), -- King Thoras Trollbane
(161711, 1, 117049, 0, 0, 0, 0, 0, 0, 0, 0); -- Knight of the Ebon Blade
DELETE FROM `quest_template_addon` WHERE `ID` IN (58902, 58903);
INSERT INTO `quest_template_addon`(`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(58902, 0, 0, 0, 58877, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
(58903, 0, 0, 0, 58877, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 25082;
INSERT INTO `conditions`(`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15, 25082, 0, 0, 1, 9, 0, 58903, 0, 0, 0, 0, 0, '', 'Show Gossip if Quest 58903 (H) is taken'),
(15, 25082, 0, 0, 1, 48, 0, 161709, 0, 0, 1, 0, 0, '', 'Show Gossip if Credit is not rewarded'),
(15, 25082, 0, 0, 2, 9, 0, 58902, 0, 0, 0, 0, 0, '', 'Show Gossip if Quest 58902 (A) is taken'),
(15, 25082, 0, 0, 2, 48, 0, 161709, 0, 0, 1, 0, 0, '', 'Show Gossip if Credit is not rewarded');
@@ -0,0 +1,51 @@
-- Sniff Data Start
DELETE FROM `npc_vendor` WHERE (`entry`=54442 AND `item`=164378 AND `ExtendedCost`=6444 AND `type`=1) OR (`entry`=54442 AND `item`=168061 AND `ExtendedCost`=6188 AND `type`=1) OR (`entry`=54442 AND `item`=168060 AND `ExtendedCost`=6188 AND `type`=1) OR (`entry`=54442 AND `item`=168059 AND `ExtendedCost`=6188 AND `type`=1) OR (`entry`=54442 AND `item`=168058 AND `ExtendedCost`=6188 AND `type`=1);
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(54442, 5, 164378, 0, 6444, 1, 0, 0, 40120),
(54442, 4, 168061, 0, 6188, 1, 9206, 0, 40120),
(54442, 3, 168060, 0, 6188, 1, 4617, 0, 40120),
(54442, 2, 168059, 0, 6188, 1, 0, 0, 40120),
(54442, 1, 168058, 0, 6188, 1, 4619, 0, 40120);
DELETE FROM `npc_vendor` WHERE `entry`=54473;
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(54473, 14, 151116, 0, 6211, 1, 50225, 0, 40120),
(54473, 13, 151120, 0, 6188, 1, 9206, 0, 40120),
(54473, 12, 151119, 0, 6188, 1, 4617, 0, 40120),
(54473, 11, 151118, 0, 6188, 1, 0, 0, 40120),
(54473, 10, 151117, 0, 6188, 1, 4619, 0, 40120),
(54473, 9, 157577, 0, 6188, 1, 9206, 0, 40120),
(54473, 8, 157576, 0, 6188, 1, 4617, 0, 40120),
(54473, 7, 157574, 0, 6188, 1, 0, 0, 40120),
(54473, 6, 157573, 0, 6188, 1, 4619, 0, 40120),
(54473, 5, 164378, 0, 6444, 1, 0, 0, 40120),
(54473, 4, 168061, 0, 6188, 1, 9206, 0, 40120),
(54473, 3, 168060, 0, 6188, 1, 4617, 0, 40120),
(54473, 2, 168059, 0, 6188, 1, 0, 0, 40120),
(54473, 1, 168058, 0, 6188, 1, 4619, 0, 40120);
UPDATE `npc_vendor` SET `slot`=14, `VerifiedBuild`=40120 WHERE (`entry`=54442 AND `item`=151116 AND `ExtendedCost`=6211 AND `type`=1);
UPDATE `npc_vendor` SET `slot`=13, `VerifiedBuild`=40120 WHERE (`entry`=54442 AND `item`=151120 AND `ExtendedCost`=6188 AND `type`=1);
UPDATE `npc_vendor` SET `slot`=12, `VerifiedBuild`=40120 WHERE (`entry`=54442 AND `item`=151119 AND `ExtendedCost`=6188 AND `type`=1);
UPDATE `npc_vendor` SET `slot`=11, `PlayerConditionID`=0, `VerifiedBuild`=40120 WHERE (`entry`=54442 AND `item`=151118 AND `ExtendedCost`=6188 AND `type`=1);
UPDATE `npc_vendor` SET `slot`=10, `PlayerConditionID`=4619, `VerifiedBuild`=40120 WHERE (`entry`=54442 AND `item`=151117 AND `ExtendedCost`=6188 AND `type`=1);
UPDATE `npc_vendor` SET `slot`=9, `VerifiedBuild`=40120 WHERE (`entry`=54442 AND `item`=157577 AND `ExtendedCost`=6188 AND `type`=1);
UPDATE `npc_vendor` SET `slot`=8, `VerifiedBuild`=40120 WHERE (`entry`=54442 AND `item`=157576 AND `ExtendedCost`=6188 AND `type`=1);
UPDATE `npc_vendor` SET `slot`=7, `PlayerConditionID`=0, `VerifiedBuild`=40120 WHERE (`entry`=54442 AND `item`=157574 AND `ExtendedCost`=6188 AND `type`=1);
UPDATE `npc_vendor` SET `slot`=6, `PlayerConditionID`=4619, `VerifiedBuild`=40120 WHERE (`entry`=54442 AND `item`=157573 AND `ExtendedCost`=6188 AND `type`=1);
UPDATE `gossip_menu` SET `VerifiedBuild`=40120 WHERE (`MenuId`=13348 AND `TextId`=18280);
UPDATE `gossip_menu` SET `VerifiedBuild`=40120 WHERE (`MenuId`=21043 AND `TextId`=31799);
UPDATE `gossip_menu_option` SET `VerifiedBuild`=40120 WHERE (`MenuId`=21043 AND `OptionIndex`=1);
UPDATE `gossip_menu_option` SET `VerifiedBuild`=40120 WHERE (`MenuId`=21043 AND `OptionIndex`=0);
-- Sniff Data End
-- My Fixes Start
UPDATE `gossip_menu_option` SET `OptionIcon` = 34, `OptionType` = 20, `OptionNpcFlag` = 268435456 WHERE `MenuId` = 21043 AND `OptionIndex` = 0;
UPDATE `gossip_menu_option` SET `OptionType` = 3, `OptionNpcFlag` = 128 WHERE `MenuId` = 21043 AND `OptionIndex` = 1;
DELETE FROM `gossip_menu_option` WHERE `MenuId` = 21043 AND `OptionIndex` = 2;
UPDATE `creature_template` SET `gossip_menu_id`=21043, `npcflag`=268435585 WHERE `entry` IN (54442, 54473);
-- My Fixes End