TDB 4.3.4.33 2018/08/15

missing part
This commit is contained in:
Aokromes
2018-08-15 14:31:12 +02:00
parent d89074dc40
commit b90ea7a1ef
64 changed files with 8 additions and 1 deletions

View File

@@ -1,7 +0,0 @@
DELETE FROM `rbac_permissions` WHERE `id`=866;
INSERT INTO `rbac_permissions` (`id`,`name`) VALUES
(866, 'Command: list spawnpoints');
DELETE FROM `rbac_linked_permissions` WHERE `linkedId`=866;
INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES
(196,866);

View File

@@ -1,2 +1,2 @@
-- TDB 4.3.4-32 auth database
-- TDB 4.3.4-33 auth database
UPDATE `updates` SET `state`='ARCHIVED';

View File

@@ -1,2 +1,2 @@
-- TDB 4.3.4-32 characters database
-- TDB 4.3.4-33 characters database
UPDATE `updates` SET `state`='ARCHIVED';

View File

@@ -1,3 +0,0 @@
UPDATE `version` SET `db_version`='TDB 434.32', `cache_id`=32 LIMIT 1;
UPDATE `updates` SET `state`='ARCHIVED';

View File

@@ -1,58 +0,0 @@
/*
-- Quest "Resupplying the Excavation"
-- Areatrigger
DELETE FROM `areatrigger_involvedrelation` WHERE `id`=171;
DELETE FROM `areatrigger_scripts` WHERE `entry`=171;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
(171,"SmartTrigger");
DELETE FROM `smart_scripts` WHERE `entryorguid`=171 AND `source_type`=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`, `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
(171,2,0,0,46,0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,8279,2057,0,0,0,0,0,"Areatrigger - On Trigger - Set Data to Huldar");
-- Condition
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=171;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22,1,171,2,0,9,0,273,0,0,0,0,0,"","SAI triggers only if quest 'Resupplying the Excavation' is taken");
-- Huldar
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2057;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2057 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (205700,205701) 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
(2057,0,0,0,11,0,100,0,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Huldar - On Respawn - Set Event Phase 1"),
(2057,0,1,0,38,1,100,0,1,1,0,0,0,80,205700,2,0,0,0,0,1,0,0,0,0,0,0,0,"Huldar - On Data Set - Run Script (Phase 1)"),
(2057,0,2,0,38,0,100,0,2,2,0,0,0,80,205701,0,0,0,0,0,1,0,0,0,0,0,0,0,"Huldar - On Data Set - Run Script"),
(205700,9,0,0,0,0,100,0,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Huldar - On Script - Set Event Phase 0"),
(205700,9,1,0,0,0,100,0,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Huldar - On Script - Remove Npc Flag Questgiver+Gossip"),
(205700,9,2,0,0,0,100,0,0,0,0,0,0,12,1380,6,10000,0,0,0,8,0,0,0,-5762.05,-3437.35,305.971,2.01641,"Huldar - On Script - Summon Creature 'Saean'"),
(205701,9,0,0,0,0,100,0,1000,1000,0,0,0,15,273,0,0,0,0,0,18,50,0,0,0,0,0,0,"Huldar - On Script - Complete Quest 'Resupplying the Excavation'"),
(205701,9,1,0,0,0,100,0,0,0,0,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Huldar - On Script - Add Npc Flag Questgiver+Gossip"),
(205701,9,2,0,0,0,100,0,30000,30000,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Huldar - On Script - Set Event Phase 1");
-- Saean
UPDATE `creature_template` SET `faction`=35, `AIName`="SmartAI" WHERE `entry`=1380;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1380 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=138000 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
(1380,0,0,0,54,0,100,0,0,0,0,0,0,80,138000,2,0,0,0,0,1,0,0,0,0,0,0,0,"Saean - Just Summoned - Run Script"),
(1380,0,1,0,6,0,100,0,0,0,0,0,0,45,2,2,0,0,0,0,19,2057,0,0,0,0,0,0,"Saean - On Just Died - Set Data to Huldar"),
(138000,9,0,0,0,0,100,0,4000,4000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Saean - On Script - Say Line 0"),
(138000,9,1,0,0,0,100,0,2000,2000,0,0,0,2,54,0,0,0,0,0,1,0,0,0,0,0,0,0,"Saean - On Script - Set Faction 54"),
(138000,9,2,0,0,0,100,0,0,0,0,0,0,12,1981,6,10000,0,0,0,8,0,0,0,-5759.24,-3442.57,305.453,2.00286,"Saean - On Script - Summon Creature 'Dark Iron Ambusher'"),
(138000,9,3,0,0,0,100,0,0,0,0,0,0,12,1981,6,10000,0,0,0,8,0,0,0,-5771.42,-3437.31,306.013,0.518455,"Saean - On Script - Summon Creature 'Dark Iron Ambusher'"),
(138000,9,4,0,0,0,100,0,0,0,0,0,0,49,0,0,0,0,0,0,19,2057,0,0,0,0,0,0,"Saean - On Script - Start Attacking"),
(138000,9,5,0,0,0,100,0,3000,3000,0,0,0,1,0,0,0,0,0,0,19,1379,0,0,0,0,0,0,"Saean - On Script - Say Line 0 (Miran)");
DELETE FROM `creature_text` WHERE `CreatureID` IN (1380,1379) AND `GroupID`=0;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(1380,0,0,"Sorry, Huldar... But it seems I've misled you.",12,7,100,0,0,0,192,0,"Saean"),
(1379,0,0,"No two-bit traitor will stop the powder from getting to Ironband!",12,7,100,0,0,0,540,0,"Miran");
-- Dark Iron Ambusher
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1981;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1981 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
(1981,0,0,0,54,0,100,0,0,0,0,0,0,49,0,0,0,0,0,0,25,20,0,0,0,0,0,0,"Dark Iron Ambusher - Just Summoned - Start Attacking");
*/

View File

@@ -1,11 +0,0 @@
/*
-- Chief Engineer Hinderweir VII
DELETE FROM `creature_text` WHERE `CreatureID`=1093;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(1093,0,0,"The Stonewrought Dam has been saved! Three cheers for $n!",14,7,100,22,0,0,546,0,"Chief Engineer Hinderweir VII");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1093;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1093 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1093,0,0,0,20,0,100,0,283,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Chief Engineer Hinderweir VII - On Quest 'A Dark Threat Looms (Part 7)' Finished - Say Line 0");
*/

View File

@@ -1,326 +0,0 @@
/*
-- Quest "Rat Catching"
DELETE FROM `quest_details` WHERE `ID`=416;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(416,1,5,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=416;
UPDATE `quest_offer_reward` SET `Emote1`=34, `Emote2`=1, `EmoteDelay2`=1000 WHERE `ID`=416;
-- Quest "WANTED: Chok'sul"
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=256;
UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1 WHERE `ID`=256;
-- Quest "Mercenaries"
DELETE FROM `quest_details` WHERE `ID`=255;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(255,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=255;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=255;
-- Quest "Bailor's Ore Shipment"
DELETE FROM `quest_details` WHERE `ID`=1655;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(1655,5,6,1,1,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=11, `EmoteOnComplete`=11 WHERE `ID`=1655;
UPDATE `quest_offer_reward` SET `Emote1`=273, `Emote2`=1, `Emote3`=1 WHERE `ID`=1655;
-- Quest "Badlands Reagent Run"
DELETE FROM `quest_details` WHERE `ID`=2500;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(2500,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=2500;
UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1, `Emote3`=1 WHERE `ID`=2500;
-- Quest "Uldaman Reagent Run"
DELETE FROM `quest_details` WHERE `ID`=17;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(17,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=17;
UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1, `Emote3`=1 WHERE `ID`=17;
-- Quest "Badlands Reagent Run II"
DELETE FROM `quest_details` WHERE `ID`=2501;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(2501,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=2501;
UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1 WHERE `ID`=2501;
-- Quest "Thelsamar Blood Sausages"
DELETE FROM `quest_details` WHERE `ID`=418;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(418,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=418;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=418;
-- Quest "Stonegear's Search"
DELETE FROM `quest_details` WHERE `ID`=467;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(467,1,0,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=3 WHERE `ID`=467;
-- Quest "Search for Incendicite"
DELETE FROM `quest_details` WHERE `ID`=466;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(466,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=466;
UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=466;
-- Quest "Mountaineer Stormpike's Task"
DELETE FROM `quest_details` WHERE `ID`=1339;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(1339,1,0,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1339;
-- Quest "Stormpike's Order"
DELETE FROM `quest_details` WHERE `ID`=1338;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(1338,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=1338;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1338;
-- Quest "The Trogg Threat"
DELETE FROM `quest_details` WHERE `ID`=267;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(267,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=267;
UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=267;
-- Quest "In Defense of the King's Lands"
DELETE FROM `quest_details` WHERE `ID`=224;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(224,5,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=224;
UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=224;
-- Quest "In Defense of the King's Lands (Part 2)"
DELETE FROM `quest_details` WHERE `ID`=237;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(237,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=25 WHERE `ID`=237;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=237;
-- Quest "In Defense of the King's Lands (Part 3)"
DELETE FROM `quest_details` WHERE `ID`=263;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(263,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=263;
UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=263;
-- Quest "In Defense of the King's Lands (Part 4)"
DELETE FROM `quest_details` WHERE `ID`=217;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(217,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=217;
UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=217;
-- Quest "The Horn of the Beast"
UPDATE `quest_request_items` SET `EmoteOnComplete`=274 WHERE `ID`=3181;
UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=5, `Emote3`=1 WHERE `ID`=3181;
-- Quest "Proof of Deed"
DELETE FROM `quest_details` WHERE `ID`=3182;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(3182,6,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=3182;
-- Quest "At Last!"
UPDATE `quest_request_items` SET `EmoteOnComplete`=274 WHERE `ID`=3201;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=3201;
-- Quest "Crocolisk Hunting"
DELETE FROM `quest_details` WHERE `ID`=385;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(385,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=385;
UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=385;
-- Quest "A Hunter's Boast"
DELETE FROM `quest_details` WHERE `ID`=257;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(257,6,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=257;
UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=1 WHERE `ID`=257;
-- Quest "A Hunter's Challenge"
DELETE FROM `quest_details` WHERE `ID`=258;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(258,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=258;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=6 WHERE `ID`=258;
-- Quest "Vyrin's Revenge"
DELETE FROM `quest_details` WHERE `ID`=271;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(271,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=271;
UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=5, `EmoteDelay2`=1000, `EmoteDelay3`=1000 WHERE `ID`=271;
-- Quest "Vyrin's Revenge (Part 2)"
DELETE FROM `quest_details` WHERE `ID`=531;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(531,5,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=11 WHERE `ID`=531;
UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1 WHERE `ID`=531;
-- Quest "Report to Mountaineer Rockgar"
DELETE FROM `quest_details` WHERE `ID`=468;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(468,1,0,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=66, `Emote2`=1 WHERE `ID`=468;
-- Quest "Ironband's Excavation"
DELETE FROM `quest_details` WHERE `ID`=436;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(436,1,1,1,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1, `Emote3`=5 WHERE `ID`=436;
-- Quest "Gathering Idols"
DELETE FROM `quest_details` WHERE `ID`=297;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(297,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=297;
UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=297;
-- Quest "Excavation Progress Report"
DELETE FROM `quest_details` WHERE `ID`=298;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(298,1,0,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=6 WHERE `ID`=298;
-- Quest "Report to Ironforge"
DELETE FROM `quest_details` WHERE `ID`=301;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(301,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=25 WHERE `ID`=301;
UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=6 WHERE `ID`=301;
-- Quest "Powder to Ironband"
DELETE FROM `quest_details` WHERE `ID`=302;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(302,1,1,25,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=302;
-- Quest "Resupplying the Excavation"
DELETE FROM `quest_details` WHERE `ID`=273;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(273,1,1,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1 WHERE `ID`=273;
-- Quest "After the Ambush"
DELETE FROM `quest_details` WHERE `ID`=454;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(454,1,0,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1, `Emote3`=1 WHERE `ID`=454;
-- Quest "Protecting the Shipment"
DELETE FROM `quest_details` WHERE `ID`=309;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(309,6,1,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=2 WHERE `ID`=309;
-- Quest "Find Bingles"
DELETE FROM `quest_details` WHERE `ID`=2039;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(2039,1,0,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=2039;
-- Quest "Bingles' Missing Supplies"
DELETE FROM `quest_details` WHERE `ID`=2038;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(2038,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=2038;
UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=2038;
-- Quest "Honor Students"
DELETE FROM `quest_details` WHERE `ID`=6387;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6387,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=6387;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6387;
-- Quest "Ride to Ironforge"
DELETE FROM `quest_details` WHERE `ID`=6391;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6391,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=6391;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6391;
-- Quest "Gryth Thurden"
DELETE FROM `quest_details` WHERE `ID`=6388;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6388,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=6388;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6388;
-- Quest "Return to Brock"
DELETE FROM `quest_details` WHERE `ID`=6392;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6392,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=6392;
UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=2 WHERE `ID`=6392;
-- Quest "Filthy Paws"
DELETE FROM `quest_details` WHERE `ID`=307;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(307,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=307;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=5 WHERE `ID`=307;
-- Quest "A Dark Threat Looms"
DELETE FROM `quest_details` WHERE `ID`=250;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(250,5,1,25,0,0,0,0,0,0);
-- Quest "A Dark Threat Looms (Part 2)"
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=199;
UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=199;
-- Quest "A Dark Threat Looms (Part 3)"
DELETE FROM `quest_details` WHERE `ID`=161;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(161,1,1,5,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=161;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=161;
-- Quest "A Dark Threat Looms (Part 4)"
DELETE FROM `quest_details` WHERE `ID`=274;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(274,1,1,1,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=274;
UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=274;
-- Quest "A Dark Threat Looms (Part 5)"
DELETE FROM `quest_details` WHERE `ID`=278;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(278,1,1,5,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=278;
-- Quest "A Dark Threat Looms (Part 6)"
DELETE FROM `quest_details` WHERE `ID`=280;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(280,1,5,0,0,0,0,0,0,0);
-- Quest "A Dark Threat Looms (Part 7)"
UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=2 WHERE `ID`=283;
-- Quest "Ironband Wants You!"
DELETE FROM `quest_details` WHERE `ID`=707;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(707,1,1,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=707;
-- Quest "Find Agmond"
DELETE FROM `quest_details` WHERE `ID`=738;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(738,1,1,1,0,0,0,0,0,0);
-- Quest "Murdaloc"
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=739;
-- Quest "Agmond's Fate"
DELETE FROM `quest_details` WHERE `ID`=704;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(704,1,1,25,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=704;
UPDATE `quest_offer_reward` SET `Emote1`=21, `Emote2`=1, `Emote3`=2 WHERE `ID`=704;
*/

View File

@@ -1,2 +0,0 @@
--
-- UPDATE `quest_template_addon` SET `PrevQuestID`=204 WHERE `ID`=207;

View File

@@ -1,4 +0,0 @@
--
UPDATE `creature_template` SET `unit_class`=2 WHERE `entry`=49310;
UPDATE `creature_template` SET `unit_class`=2 WHERE `entry`=49308;
UPDATE `creature_template` SET `minlevel` = 85, `maxlevel` = 85, `exp` = 3, `faction` = 16, `unit_flags2` = 33589280 WHERE `entry` = 49299;

View File

@@ -1,5 +0,0 @@
--
UPDATE `creature_template` SET `InhabitType`=12 WHERE `entry` =43999;
DELETE FROM `creature` WHERE `guid`=252295;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`) VALUES
(252295, 43999, 671, 0, 0, 15, 169, 0, 0, 0, -1161.88, -798.63, 835.117, 0, 7200, 0, 0, 154980);

View File

@@ -1,234 +0,0 @@
-- Create databases for spawn group template, and spawn group membership
-- Current flags
-- 0x01 Legacy Spawn Mode (spawn using legacy spawn system)
-- 0x02 Manual Spawn (don't automatically spawn, instead spawned by core as part of script)
DROP TABLE IF EXISTS `spawn_group_template`;
CREATE TABLE `spawn_group_template` (
`groupId` int(10) unsigned NOT NULL,
`groupName` varchar(100) NOT NULL,
`groupFlags` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`groupId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `spawn_group`;
CREATE TABLE `spawn_group` (
`groupId` int(10) unsigned NOT NULL,
`spawnType` tinyint(10) unsigned NOT NULL,
`spawnId` int(10) unsigned NOT NULL,
PRIMARY KEY (`groupId`,`spawnType`,`spawnId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- Create the default groups
INSERT INTO `spawn_group_template` (`groupId`, `groupName`, `groupFlags`) VALUES
(0, 'Default Group', 0x01),
(1, 'Legacy Group', (0x01|0x02)),
(2, 'Dynamic Scaling (Quest objectives)', (0x01|0x08)),
(3, 'Dynamic Scaling (Escort NPCs)', (0x01|0x08|0x10)),
(4, 'Dynamic Scaling (Gathering nodes)', (0x01|0x08));
-- Create creature dynamic spawns group (creatures with quest items, or subjects of quests with less than 30min spawn time)
DROP TABLE IF EXISTS `creature_temp_group`;
CREATE TEMPORARY TABLE `creature_temp_group`
(
`creatureId` int(10) unsigned NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
INSERT INTO `creature_temp_group`
SELECT `guid`
FROM `creature` C
INNER JOIN `creature_questitem` ON `CreatureEntry` = C.`id`
WHERE `spawntimesecs` < 1800
AND `map` IN (0, 1, 530, 571);
INSERT INTO `creature_temp_group`
SELECT `guid`
FROM `creature` C
INNER JOIN `quest_template` ON `RequiredNpcOrGo1` = C.`id`
WHERE `spawntimesecs` < 1800
AND `map` IN (0, 1, 530, 571);
INSERT INTO `creature_temp_group`
SELECT `guid`
FROM `creature` C
INNER JOIN `quest_template` ON `RequiredNpcOrGo2` = C.`id`
WHERE `spawntimesecs` < 1800
AND `map` IN (0, 1, 530, 571);
INSERT INTO `creature_temp_group`
SELECT `guid`
FROM `creature` C
INNER JOIN `quest_template` ON `RequiredNpcOrGo3` = C.`id`
WHERE `spawntimesecs` < 1800
AND `map` IN (0, 1, 530, 571);
INSERT INTO `creature_temp_group`
SELECT `guid`
FROM `creature` C
INNER JOIN `quest_template` ON `RequiredNpcOrGo4` = C.`id`
WHERE `spawntimesecs` < 1800
AND `map` IN (0, 1, 530, 571);
INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`)
SELECT DISTINCT 2, 0, `creatureId`
FROM `creature_temp_group`;
DROP TABLE `creature_temp_group`;
-- Create gameobject dynamic spawns group (gameobjects with quest items, or subjects of quests with less than 30min spawn time)
DROP TABLE IF EXISTS `gameobject_temp_group`;
CREATE TEMPORARY TABLE `gameobject_temp_group`
(
`gameobjectId` int(10) unsigned NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `gameobject_temp_group_ids`;
CREATE TEMPORARY TABLE `gameobject_temp_group_ids`
(
`entryid` int(10) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
ALTER TABLE `gameobject_temp_group_ids` ADD INDEX (`entryid`);
INSERT INTO `gameobject_temp_group`
SELECT `guid`
FROM `gameobject` G
INNER JOIN `gameobject_questitem` ON `GameObjectEntry` = G.`id`
WHERE `spawntimesecs` < 1800
AND `map` IN (0, 1, 530, 571);
INSERT INTO `gameobject_temp_group_ids` (`entryid`)
SELECT DISTINCT `RequiredNpcOrGo1` * -1
FROM `quest_template`;
INSERT INTO `gameobject_temp_group_ids` (`entryid`)
SELECT DISTINCT `RequiredNpcOrGo2` * -1
FROM `quest_template`;
INSERT INTO `gameobject_temp_group_ids` (`entryid`)
SELECT DISTINCT `RequiredNpcOrGo3` * -1
FROM `quest_template`;
INSERT INTO `gameobject_temp_group_ids` (`entryid`)
SELECT DISTINCT `RequiredNpcOrGo4` * -1
FROM `quest_template`;
INSERT INTO `gameobject_temp_group`
SELECT `guid`
FROM `gameobject` G
INNER JOIN `gameobject_temp_group_ids` ON `entryid` = G.`id`
WHERE `spawntimesecs` < 1800
AND `map` IN (0, 1, 530, 571);
INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`)
SELECT DISTINCT 2, 1, `gameobjectId`
FROM `gameobject_temp_group`;
DROP TABLE `gameobject_temp_group`;
ALTER TABLE `gameobject_temp_group_ids` DROP INDEX `entryid`;
DROP TABLE `gameobject_temp_group_ids`;
-- Add mining nodes/herb nodes to profession node group
INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`)
SELECT 4, 1, `guid`
FROM `gameobject` g
INNER JOIN `gameobject_template` gt
ON gt.`entry` = g.`id`
WHERE `type` = 3
AND `Data0` IN (2, 8, 9, 10, 11, 18, 19, 20, 21, 22, 25, 26, 27, 29, 30, 31, 32, 33, 34, 35, 38, 39, 40, 41, 42, 45, 47, 48, 49, 50, 51, 379, 380, 399, 400, 439, 440, 441, 442, 443, 444, 519, 521, 719, 939, 1119, 1120,
1121, 1122, 1123, 1124, 1632, 1639, 1641, 1642, 1643, 1644, 1645, 1646, 1649, 1650, 1651, 1652, 1782, 1783, 1784, 1785, 1786, 1787, 1788, 1789, 1790, 1791, 1792, 1793, 1800, 1860);
-- Add Escort NPCs
INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES
(3, 0, 10873),
(3, 0, 17874),
(3, 0, 40210),
(3, 0, 11348),
(3, 0, 93301),
(3, 0, 93194),
(3, 0, 19107),
(3, 0, 21692),
(3, 0, 21584),
(3, 0, 23229),
(3, 0, 24268),
(3, 0, 21594),
(3, 0, 14387),
(3, 0, 50381),
(3, 0, 15031),
(3, 0, 26987),
(3, 0, 29241),
(3, 0, 32333),
(3, 0, 33115),
(3, 0, 37085),
(3, 0, 41759),
(3, 0, 84459),
(3, 0, 78685),
(3, 0, 62090),
(3, 0, 72388),
(3, 0, 86832),
(3, 0, 67040),
(3, 0, 78781),
(3, 0, 65108),
(3, 0, 63688),
(3, 0, 59383),
(3, 0, 63625),
(3, 0, 70021),
(3, 0, 82071),
(3, 0, 117903),
(3, 0, 111075),
(3, 0, 101136),
(3, 0, 101303),
(3, 0, 122686),
(3, 0, 117065),
(3, 0, 202337),
(3, 0, 2017),
(3, 0, 132683);
-- remove potential duplicates
DELETE FROM `spawn_group` WHERE `groupId` != 3 AND `spawnType`=0 AND `spawnId` IN (SELECT `spawnId` FROM (SELECT `spawnId` FROM `spawn_group` WHERE `groupId`=3 AND `spawnType`=0) as `temp`);
DELETE FROM `spawn_group` WHERE `groupId` != 4 AND `spawnType`=1 AND `spawnId` IN (SELECT `spawnId` FROM (SELECT `spawnId` FROM `spawn_group` WHERE `groupId`=4 AND `spawnType`=1) as `temp`);
-- Update trinity strings for various cs_list strings, to support showing spawn ID and guid.
UPDATE `trinity_string`
SET `content_default` = '%d (Entry: %d) - |cffffffff|Hgameobject:%d|h[%s X:%f Y:%f Z:%f MapId:%d]|h|r %s %s'
WHERE `entry` = 517;
UPDATE `trinity_string`
SET `content_default` = '%d - |cffffffff|Hcreature:%d|h[%s X:%f Y:%f Z:%f MapId:%d]|h|r %s %s'
WHERE `entry` = 515;
UPDATE `trinity_string`
SET `content_default` = '%d - %s X:%f Y:%f Z:%f MapId:%d %s %s'
WHERE `entry` = 1111;
UPDATE `trinity_string`
SET `content_default` = '%d - %s X:%f Y:%f Z:%f MapId:%d %s %s'
WHERE `entry` = 1110;
-- Add new trinity strings for extra npc/gobject info lines
DELETE FROM `trinity_string` WHERE `entry` BETWEEN 5070 AND 5082;
INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
(5070, 'Spawn group: %s (ID: %u, Flags: %u, Active: %u)'),
(5071, 'Compatibility Mode: %u'),
(5072, 'GUID: %s'),
(5073, 'SpawnID: %u, location (%f, %f, %f)'),
(5074, 'Distance from player %f'),
(5075, 'Spawn group %u not found'),
(5076, 'Spawned a total of %zu objects:'),
(5077, 'Listing %s respawns within %uyd'),
(5078, 'Listing %s respawns for %s (zone %u)'),
(5079, 'SpawnID | Entry | GridXY| Zone | Respawn time (Full)'),
(5080, 'overdue'),
(5081, 'creatures'),
(5082, 'gameobjects');
-- Add new NPC/Gameobject commands
DELETE FROM `command` WHERE `name` IN ('npc spawngroup', 'npc despawngroup', 'gobject spawngroup', 'gobject despawngroup', 'list respawns');
INSERT INTO `command` (`name`, `permission`, `help`) VALUES
('npc spawngroup', 856, 'Syntax: .npc spawngroup $groupId [ignorerespawn] [force]'),
('npc despawngroup', 857, 'Syntax: .npc despawngroup $groupId [removerespawntime]'),
('gobject spawngroup', 858, 'Syntax: .gobject spawngroup $groupId [ignorerespawn] [force]'),
('gobject despawngroup', 859, 'Syntax: .gobject despawngroup $groupId [removerespawntime]'),
('list respawns', 860, 'Syntax: .list respawns [distance]
Lists all pending respawns within <distance> yards, or within current zone if not specified.');

View File

@@ -1,6 +0,0 @@
--
DELETE FROM `command` WHERE `name`="list spawnpoints";
INSERT INTO `command` (`name`,`permission`,`help`) VALUES
('list spawnpoints', 866, 'Syntax: .list spawnpoints
Lists all spawn points (both creatures and GOs) in the current zone.');

View File

@@ -1,10 +0,0 @@
--
DROP TABLE IF EXISTS `instance_spawn_groups`;
CREATE TABLE `instance_spawn_groups` (
`instanceMapId` smallint(5) unsigned not null,
`bossStateId` tinyint unsigned not null,
`bossStates` tinyint unsigned not null,
`spawnGroupId` int unsigned not null,
`flags` tinyint unsigned not null,
PRIMARY KEY (`instanceMapId`,`bossStateId`,`spawnGroupId`,`bossStates`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

View File

@@ -1,5 +0,0 @@
--
UPDATE `smart_scripts` SET `link`=1 WHERE `entryorguid`=184906 AND `source_type`=1 AND `id`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=184906 AND `source_type`=1 AND `id`=1;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(184906,1,1,0,61,0,100,0,0,0,0,0,41,0,0,0,0,0,0,19,21737,5,0,0,0,0,0,"Power Converter - On linked event - despawn");

View File

@@ -1,54 +0,0 @@
/*
--
-- Razzle Sprysprocket
DELETE FROM `creature_text` WHERE `CreatureID` IN (1269,5568);
DELETE FROM `creature_text` WHERE `CreatureID`=1268 AND `GroupID`=1;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(1269,0,0,"Let me install these Gyromechanic Gears and Restabilization Cogs and we'll fire up The Recombobulator.",12,7,100,0,0,0,1883,0,"Razzle Sprysprocket"),
(1269,1,0,"That should do the trick.",12,7,100,0,0,0,1884,0,"Razzle Sprysprocket"),
(1269,2,0,"Time to save the entire gnomish race. Here goes nothing!",12,7,100,5,0,0,1885,0,"Razzle Sprysprocket"),
(1269,3,0,"Back to the drawing board.",12,7,100,0,0,0,1887,0,"Razzle Sprysprocket"),
(1269,4,0,"Perhaps a bit more grease will do the trick.",12,7,100,1,0,0,1888,0,"Razzle Sprysprocket"),
(1269,4,1,"Pretty close that time. I think we've almost got it.",12,7,100,1,0,0,1889,0,"Razzle Sprysprocket"),
(1269,4,2,"The Recombobulator is shaping up quite nicely. Just a few adjustments to go!",12,7,100,1,0,0,1890,0,"Razzle Sprysprocket"),
(1268,1,0,"Precisely.",12,7,100,273,0,0,1891,0,"Ozzie Togglevolt"),
(1268,1,1,"My thoughts exactly.",12,7,100,273,0,0,1892,0,"Ozzie Togglevolt"),
(1268,1,2,"Couldn't have said it better myself.",12,7,100,273,0,0,1893,0,"Ozzie Togglevolt"),
(1268,1,3,"Most definitely.",12,7,100,273,0,0,1894,0,"Ozzie Togglevolt"),
(1268,1,4,"I was thinking the same thing.",12,7,100,273,0,0,1895,0,"Ozzie Togglevolt"),
(5568,0,0,"Oh, great.",12,7,100,0,0,0,1886,0,"Captured Leper Gnome");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1269;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1269 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (126900,126901,126902) 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
(1269,0,0,0,20,0,100,0,412,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Quest 'Operation Recombobulation' Finished - Remove Npc Flag Questgiver"),
(1269,0,1,0,20,0,100,0,412,0,0,0,53,0,1269,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Quest 'Operation Recombobulation' Finished - Start Waypoint"),
(1269,0,2,0,20,0,100,0,412,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Quest 'Operation Recombobulation' Finished - Say Line 0"),
(1269,0,3,0,40,0,100,0,1,1269,0,0,80,126900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Waypoint 1 Reached - Run Script"),
(1269,0,4,0,40,0,100,0,2,1269,0,0,80,126901,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Waypoint 2 Reached - Run Script"),
(1269,0,5,0,40,0,100,0,3,1269,0,0,80,126902,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Waypoint 3 Reached - Run Script"),
(126900,9,0,0,0,0,100,0,0,0,0,0,54,10000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Script - Pause Waypoint"),
(126900,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.31425,"Razzle Sprysprocket - On Script - Set Orientation"),
(126900,9,2,0,0,0,100,0,0,0,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Script - Set Emote State 69"),
(126900,9,3,0,0,0,100,0,8000,8000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Script - Set Emote State 0"),
(126900,9,4,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Script - Say Line 1"),
(126901,9,0,0,0,0,100,0,0,0,0,0,54,15000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Script - Pause Waypoint"),
(126901,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.27153,"Razzle Sprysprocket - On Script - Set Orientation"),
(126901,9,2,0,0,0,100,0,1000,1000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Script - Say Line 2"),
(126901,9,3,0,0,0,100,0,4000,4000,0,0,5,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Script - Play Emote 69"),
(126901,9,4,0,0,0,100,0,1000,1000,0,0,86,7344,0,19,5568,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Script - Cross Cast 'Recombobulate'"),
(126901,9,5,0,0,0,100,0,2000,2000,0,0,1,0,0,0,0,0,0,19,5568,0,0,0,0,0,0,"Razzle Sprysprocket - On Script - Say Line 0 (Captured Leper Gnome)"),
(126901,9,6,0,0,0,100,0,3000,3000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Script - Say Line 3"),
(126902,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.63683,"Razzle Sprysprocket - On Script - Set Orientation"),
(126902,9,1,0,0,0,100,0,500,500,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Script - Say Line 4"),
(126902,9,2,0,0,0,100,0,4000,4000,0,0,1,1,0,0,0,0,0,19,1268,0,0,0,0,0,0,"Razzle Sprysprocket - On Script - Say Line 0 (Ozzie Togglevolt)"),
(126902,9,3,0,0,0,100,0,0,0,0,0,28,7344,0,0,0,0,0,19,5568,0,0,0,0,0,0,"Razzle Sprysprocket - On Script - Remove Aura 'Recombobulate' from Captured Leper Gnome"),
(126902,9,4,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Razzle Sprysprocket - On Script - Add Npc Flag Questgiver");
DELETE FROM `waypoints` WHERE `entry`=1269;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(1269,1,-5496.54,-455.453,395.439,""),
(1269,2,-5499.83,-454.55,395.439,""),
(1269,3,-5497.94,-455.835,395.438,"");
*/

View File

@@ -1,18 +0,0 @@
/*
--
-- Mux Manascrambler
DELETE FROM `gossip_menu_option` WHERE `MenuID`=7083;
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(7083,0,0,"About that ghost revealer. Did I happen to leave it here? I seem to be missing it.",11909,1,1,0,0,0,0,"",0,0),
(7083,1,0,"I seem to have misplaced the distiller, Mux. Did I happen to leave it here?",11908,1,1,0,0,0,0,"",0,0);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=7083 AND `SourceEntry`=1;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15,7083,1,0,0,9,0,8924,0,0,0,0,0,"","Show gossip option if quest 'Hunting for Ectoplasm' is taken"),
(15,7083,1,0,0,2,0,21946,1,1,1,0,0,"","Show gossip option if player does not have item 'Ectoplasmic Distiller'");
UPDATE `smart_scripts` SET `action_type`=85, `action_param2`=2 WHERE `entryorguid`=16014 AND `source_type`=0 AND `id`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=16014 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`, `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
(16014,0,2,1,62,0,100,0,7083,1,0,0,85,27752,2,0,0,0,0,7,0,0,0,0,0,0,0,"Mux Manascrambler - On Gossip Option 1 Selected - Invoker Cast 'Create Ectoplasmic Distiller'");
*/

View File

@@ -1,45 +0,0 @@
/*
--
-- Anthion Harmon
UPDATE `creature_template` SET `npcflag`=3, `gossip_menu_id`=7072 WHERE `entry`=16016;
DELETE FROM `gossip_menu` WHERE `MenuID`=7072;
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(7072,8334,0),
(7072,8337,0),
(7072,8338,0);
DELETE FROM `npc_text` WHERE `ID` IN (8337,8338);
INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`, `Probability0`, `em0_1`) VALUES
(8337,"Ysida lives thanks to your courage, $n. I am deeply in your debt and shall assist you as much as it is in my power.","",11933,0,1,0),
(8338,"I guess it's all just about over, right $n? I'm going to miss you... it'll be pretty lonely up here without someone to talk to.$B$BBut that doesn't mean that you can't come back to see me in the future!","",11912,0,1,1);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=7072;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(14,7072,8334,0,0,8,0,8946,0,0,1,0,0,"","Show gossip text 8334 if quest 'Proof of Life' is not rewarded"),
(14,7072,8337,0,0,8,0,8946,0,0,0,0,0,"","Show gossip text 8337 if quest 'Proof of Life' is rewarded"),
(14,7072,8337,0,0,8,0,9015,0,0,1,0,0,"","Show gossip text 8337 if quest 'The Challenge' is NOT rewarded"),
(14,7072,8338,0,0,8,0,9015,0,0,0,0,0,"","Show gossip text 8338 if quest 'The Challenge' is rewarded");
-- Falrin Treeshaper
UPDATE `creature_template` SET `npcflag`=3, `gossip_menu_id`=7073 WHERE `entry`=16032;
DELETE FROM `gossip_menu` WHERE `MenuID`=7073;
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(7073,8336,0);
DELETE FROM `gossip_menu_option` WHERE `MenuID`=7073;
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(7073,0,0,"I believe I misplaced that banner you enchanted for me, Falrin.",11910,1,1,0,0,0,0,"",0,0);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=7073;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15,7073,0,0,0,14,0,9015,0,0,1,0,0,"","Show gossip option if quest 'The Challenge' is taken, completed or rewarded"),
(15,7073,0,0,0,2,0,21986,1,1,1,0,0,"","Show gossip option if player does not have item 'Banner of Provocation'");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=16032;
DELETE FROM `smart_scripts` WHERE `entryorguid`=16032 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16032,0,0,1,62,0,100,0,7073,0,0,0,85,27755,2,0,0,0,0,7,0,0,0,0,0,0,0,"Falrin Treeshaper - On Gossip Option 0 Selected - Invoker Cast 'Create Banner of Provocation'"),
(16032,0,1,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Falrin Treeshaper - On Gossip Option 0 Selected - Close Gossip");
*/

View File

@@ -1,7 +0,0 @@
/*
--
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=1822;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(14,1822,2473,0,0,6,0,67,0,0,0,0,0,"","Show gossip text 2473 if player is Horde"),
(14,1822,2474,0,0,6,0,469,0,0,0,0,0,"","Show gossip text 2474 if player is Alliance");
*/

View File

@@ -1,29 +0,0 @@
/*
--
-- Thaurissan Relic
UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=153556;
DELETE FROM `smart_scripts` WHERE `entryorguid`=153556 AND `source_type`=1;
DELETE FROM `smart_scripts` WHERE `entryorguid`=15355600 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
(153556,1,0,0,70,0,100,1,2,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Thaurissan Relic - On Gameobject State Changed - Store Targetlist"),
(153556,1,1,0,70,0,100,1,2,0,0,0,80,15355600,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thaurissan Relic - On Gameobject State Changed - Run Script"),
(15355600,9,0,0,0,0,100,0,0,0,0,0,12,8887,3,5000,0,0,0,1,0,0,0,0,0,0,0,"Thaurissan Relic - On Script - Summon Creature 'A tormented voice'"),
(15355600,9,1,0,0,0,100,0,0,0,0,0,100,1,0,0,0,0,0,19,8887,0,0,0,0,0,0,"Thaurissan Relic - On Script - Send Targetlist"),
(15355600,9,2,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,8887,0,0,0,0,0,0,"Thaurissan Relic - On Script - Set Data");
-- A tormented voice
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=8887;
DELETE FROM `smart_scripts` WHERE `entryorguid`=8887 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(8887,0,0,0,38,0,100,0,1,1,0,0,1,0,0,0,0,0,0,12,1,0,0,0,0,0,0,"A tormented voice - On Data Set - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=8887;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(8887,0,0,"Leave this place. <The relic emits a white hot arc of flame. A memory has been gained: A lone Dark Iron dwarf is surrounded by seven corpses, kneeling before a monolith of flame.>",15,0,100,0,0,0,4594,0,"A tormented voice"),
(8887,0,1,"You will perish here. <Your mind fills with visions of chaos and destruction.>",15,0,100,0,0,0,4595,0,"A tormented voice"),
(8887,0,2,"Do not taint these ruins, mortal. <You are engulfed in a blinding flash of light. A creature composed entirely of flame is the only thing you can remember seeing.>",15,0,100,0,0,0,4596,0,"A tormented voice"),
(8887,0,3,"Help us, outsider. <The relic crumbles to dust. A vision of eight Dark Iron dwarves performing some sort of ritual fills your head.>",15,0,100,0,0,0,4597,0,"A tormented voice"),
(8887,0,4,"He cannot be defeated. <The relic burns to nothing. The memories it held are now your own. This city was destroyed by a being not of this world.>",15,0,100,0,0,0,4598,0,"A tormented voice"),
(8887,0,5,"Your existence is acknowledged. <The relic turns to dust. Your head throbs with newfound wisdom. Something evil lurks in the heart of the mountain.>",15,0,100,0,0,0,4599,0,"A tormented voice"),
(8887,0,6,"Defiler... you will be punished for this incursion. <A symbol of flame radiates from the relic before it crumbles to the earth.>",15,0,100,0,0,0,4600,0,"A tormented voice");
*/

View File

@@ -1,10 +0,0 @@
/*
-- Royal Historian Archesonus
DELETE FROM `gossip_menu` WHERE `MenuID`=1561 AND `TextID`=2235;
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(1561,2235,0);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=1561;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(14,1561,2235,0,0,9,0,3702,0,0,0,0,0,"","Show gossip text 2235 if quest 'The Smoldering Ruins of Thaurissan' is taken");
*/

View File

@@ -1,16 +0,0 @@
/*
--
-- Stone Watcher of Norgannon
UPDATE `gossip_menu` SET `TextID`=1676 WHERE `MenuID`=57001;
UPDATE `gossip_menu` SET `TextID`=1675 WHERE `MenuID`=57002;
DELETE FROM `creature_text` WHERE `CreatureID`=7918;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(7918,0,0,"Salutations! I am a guardian of entry. Please use the proper discs for access to Uldum.",12,0,100,0,0,0,4049,0,"Stone Watcher of Norgannon"),
(7918,1,0,"Your discs will be returned to you once you access the pedestal.",12,0,100,0,0,0,4065,0,"Stone Watcher of Norgannon");
DELETE FROM `smart_scripts` WHERE `entryorguid`=7918 AND `source_type`=0 AND `id` IN (2,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
(7918,0,2,0,11,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stone Watcher of Norgannon - On Spawn - Say Line 0"),
(7918,0,3,0,62,0,100,0,57005,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stone Watcher of Norgannon - On Gossip Option Selected - Say Line 1");
*/

View File

@@ -1,4 +0,0 @@
-- Princess Moira Bronzebeard
DELETE FROM `creature_text` WHERE `CreatureID`=8929;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(8929,0,0,"%s is visibly shaken by the death of Emperor Thaurissan.",16,0,100,18,0,0,5429,0,"Princess Moira Bronzebeard");

View File

@@ -1,4 +0,0 @@
/*
-- Gaffer Jack
UPDATE `fishing_loot_template` SET `GroupId`=0 WHERE `entry` IN (148);
*/

View File

@@ -1,59 +0,0 @@
-- Sharth and Pathaleon conversation
DELETE FROM `creature_text` WHERE `CreatureID`=21504 AND `GroupID`=13;
DELETE FROM `creature_text` WHERE `CreatureID`=18554;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(18554,0,0,"You come into my house and threaten ME? I think not!'",12,0,100,1,0,0,15542,0,"Sharth Voldoun"),
(18554,1,0,"My master, we are honored by your presence. How may I serve thee?",12,0,100,0,0,0,19156,0,"Sharth Voldoun"),
(18554,2,0,"All goes exceedingly well, my lord. Testing of the smaller prototype at the Cenarion Thicket was a complete success. The second bomb is being ritually fueled in the courtyard below even as we speak. And, I''ve sent a courier to Tuurem to bring the rest of the parts to us here.",12,0,100,1,0,0,19159,0,"Sharth Voldoun"),
(18554,3,0,'You are satisfied?',12,0,100,6,0,0,19160,0,"Sharth Voldoun"),
(18554,4,0,'I can assure you that we will not fail, my master. I am personally overseeing every aspect of the construction, and I hold the final codes, myself. Within a day''s time, I will have the bomb detonated on those nearby pests.',12,0,100,2,0,0,19164,0,"Sharth Voldoun"),
(21504,13,0,'Rise, young Voldoun. Do not worry yourself with pleasantries. I come at the behest of our master, Prince Kael''thas. He bids me to check on the progress of the mana bomb.',12,0,100,1,0,0,19157,0,"Pathaleon the Calculator's Image");
-- Incorrect spawning of Pathaleon the Calculators Image
DELETE FROM `creature` WHERE `guid`=85566 AND `id`=21504;
-- Sharth Voldoun, fix position and weapon sheathed
UPDATE `creature` SET `position_x` = -2288.34839, `position_y` = 3091.4968, `orientation` = 3.2263 WHERE `guid` = 86925;
DELETE FROM `creature_template_addon` WHERE `entry`=18554;
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(18554,0,0,0,0,0,"");
-- Sharth Voldoun
UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= 18554;
DELETE FROM `smart_scripts` WHERE `entryorguid`=18554 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1855400 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
(18554,0,0,0,0,0,100,0,3000,5000,40000,45000,0,11,15277,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sharth Voldoun - IC - Cast Seal of Reckoning"),
(18554,0,1,0,2,0,100,0,0,40,15000,20000,0,11,13952,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sharth Voldoun - On Below 40% HP - Cast Holy Light"),
(18554,0,2,3,4,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sharth Voldoun - On Aggro - Say Line 0"),
(18554,0,3,0,61,0,100,0,0,0,0,0,0,45,1,1,0,0,0,0,19,21504,50,0,0,0,0,0,"Sharth Voldoun - On Aggro - Set Data"),
(18554,0,4,0,1,0,100,0,30000,30000,120000,120000,0,80,1855400,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sharth Voldoun - OOC - RunScript"),
(1855400,9,0,0,0,0,100,0,0,0,0,0,0,12,21504,8,0,0,0,0,8,0,0,0,-2293.5210,3091.34302,152.817734,6.17546,"Sharth Voldoun - On Script - Summon Pathaleon the Calculators Image"),
(1855400,9,1,0,0,0,100,0,2000,2000,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sharth Voldoun - On Script - Set Flag Standstate 'Kneel'"),
(1855400,9,2,0,0,0,100,0,1000,1000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sharth Voldoun - On Script - Say Line 1"),
(1855400,9,3,0,0,0,100,0,7000,7000,0,0,0,1,13,0,0,0,0,0,19,21504,0,0,0,0,0,0,"Sharth Voldoun - On Script - Say Line 13 (Pathaleon the Calculators Image)"),
(1855400,9,4,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,"Sharth Voldoun - On Script - Remove Flag Standstate 'Kneel'"),
(1855400,9,5,0,0,0,100,0,8000,8000,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sharth Voldoun - On Script - Say Line 2"),
(1855400,9,6,0,0,0,100,0,14000,14000,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sharth Voldoun - On Script - Say Line 3"),
(1855400,9,7,0,0,0,100,0,4000,4000,0,0,0,1,4,0,0,0,0,0,19,21504,0,0,0,0,0,0,"Sharth Voldoun - On Script - Say Line 4 (Pathaleon the Calculators Image)"),
(1855400,9,8,0,0,0,100,0,16000,16000,0,0,0,1,5,0,0,0,0,0,19,21504,0,0,0,0,0,0,"Sharth Voldoun - On Script - Say Line 5 (Pathaleon the Calculators Image)"),
(1855400,9,9,0,0,0,100,0,16000,16000,0,0,0,1,6,0,0,0,0,0,19,21504,0,0,0,0,0,0,"Sharth Voldoun - On Script - Say Line 6 (Pathaleon the Calculators Image)"),
(1855400,9,10,0,0,0,100,0,10000,10000,0,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sharth Voldoun - On Script - Say Line 4"),
(1855400,9,11,0,0,0,100,0,13000,13000,0,0,0,1,7,0,0,0,0,0,19,21504,0,0,0,0,0,0,"Sharth Voldoun - On Script - Say Line 7 (Pathaleon the Calculators Image)"),
(1855400,9,12,0,0,0,100,0,0,0,0,0,0,45,3,3,0,0,0,0,19,21504,0,0,0,0,0,0,"Sharth Voldoun - On Script - Set Data to Pathaleon the Calculators Image");
-- Pathaleon the Calculators Image
DELETE FROM `smart_scripts` WHERE `entryorguid`=21504 AND `ID`>1;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2150401 AND `source_type`=9;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2150402 AND `source_type`=9;
DELETE FROM `smart_scripts` WHERE `entryorguid`=21504 AND `ID`=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
(21504,0,2,0,54,0,100,0,0,0,0,0,0,11,34427,2,0,0,0,0,1,0,0,0,0,0,0,0,"Pathaleon the Calculator's Image - On Just Summoned - Cast Ethereal Teleport"),
(21504,0,3,0,54,0,100,0,0,0,0,0,0,11,33900,2,0,0,0,0,1,0,0,0,0,0,0,0,"Pathaleon the Calculator's Image - On Just Summoned - Cast Shroud of Death"),
(21504,0,4,0,38,0,100,0,3,3,0,0,0,80,2150401,2,0,0,0,0,1,0,0,0,0,0,0,0,"Pathaleon the Calculator's Image - On Data Set - Run Script"),
(2150401,9,0,0,0,0,100,0,8000,8000,0,0,0,11,34427,2,0,0,0,0,1,0,0,0,0,0,0,0,"Pathaleon the Calculator's Image - On Script - Cast Ethereal Teleport"),
(2150401,9,1,0,0,0,100,0,2000,2000,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Pathaleon the Calculator's Image - On Script - Despawn"),
(21504,0,0,0,38,0,100,0,1,1,0,0,0,80,2150402,2,0,0,0,0,1,0,0,0,0,0,0,0,"Pathaleon the Calculator's Image - On Data Set - Run Script"),
(2150402,9,0,0,0,0,100,0,1000,1000,0,0,0,1,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Pathaleon the Calculator's Image - On Script - Say text"),
(2150402,9,1,0,0,0,100,0,5000,5000,0,0,0,11,34427,2,0,0,0,0,1,0,0,0,0,0,0,0,"Pathaleon the Calculator's Image - On Script - Cast Ethereal Teleport"),
(2150402,9,2,0,0,0,100,0,1000,1000,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Pathaleon the Calculator's Image - On Script - Despawn");

View File

@@ -1,84 +0,0 @@
/*
-- Quest "Protecting the Shipment"
UPDATE `quest_template_addon` SET `SpecialFlags`=2 WHERE `ID`=309; -- Prevents quest from auto completing
-- Miran
UPDATE `creature` SET `spawntimesecs`=120 WHERE `guid`=8975;
DELETE FROM `creature_text` WHERE `CreatureID`=1379 AND `GroupID` IN (1,2,3);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(1379,1,0,"Help! I've only one hand to defend myself with.",12,7,100,0,0,0,510,0,"Miran"),
(1379,2,0,"Send them on! I'm not afraid of some scrawny beasts!",12,7,100,0,0,0,511,0,"Miran"),
(1379,3,0,"Ah, here at last! It's going to feel so good to get rid of these barrels.",12,7,100,0,0,0,498,0,"Miran");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1379;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1379 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (137900,137901) 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
(1379,0,0,1,19,0,100,0,309,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Miran - On Quest 'Protecting the Shipment' Taken - Store Targetlist"),
(1379,0,1,2,61,0,100,0,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Miran - On Quest 'Protecting the Shipment' Taken - Remove Npc Flag Questgiver"),
(1379,0,2,0,61,0,100,0,0,0,0,0,0,53,0,1379,0,0,0,2,1,0,0,0,0,0,0,0,"Miran - On Quest 'Protecting the Shipment' Taken - Start Waypoint"),
(1379,0,3,0,6,0,100,0,0,0,0,0,0,6,309,0,0,0,0,0,12,1,0,0,0,0,0,0,"Miran - On Just Died - Fail Quest 'Protecting the Shipment'"),
(1379,0,4,0,40,0,100,0,19,1379,0,0,0,80,137900,2,0,0,0,0,1,0,0,0,0,0,0,0,"Miran - On Waypoint 19 Reached - Run Script"),
(1379,0,5,0,40,0,100,0,23,1379,0,0,0,80,137901,2,0,0,0,0,1,0,0,0,0,0,0,0,"Miran - On Waypoint 23 Reached - Run Script"),
(1379,0,6,0,40,0,100,0,24,1379,0,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Miran - On Waypoint 24 Reached - Despawn"),
(137900,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,"Miran - On Script - Pause Waypoint"),
(137900,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,"Miran - On Script - Summon Group"),
(137900,9,2,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,"Miran - On Script - Say Line 1"),
(137900,9,3,0,0,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,19,2149,0,0,0,0,0,0,"Miran - On Script - Say Line 0 (Dark Iron Raider)"),
(137900,9,4,0,0,0,100,0,7000,7000,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Miran - On Script - Say Line 2"),
(137901,9,0,0,0,0,100,0,0,0,0,0,0,54,10000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Miran - On Script - Pause Waypoint"),
(137901,9,1,0,0,0,100,0,0,0,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Miran - On Script - Say Line 3"),
(137901,9,2,0,0,0,100,0,0,0,0,0,0,15,309,0,0,0,0,0,12,1,0,0,0,0,0,0,"Miran - On Script - Complete Quest 'Protecting the Shipment'");
DELETE FROM `creature_summon_groups` WHERE `summonerId`=1379;
INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`) VALUES
(1379,0,1,2149,-5699.63,-3745.94,319.454,1.56927,1,10000),
(1379,0,1,2149,-5706.36,-3744.81,318.798,1.04306,1,10000);
DELETE FROM `waypoints` WHERE `entry`=1379;
INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES
(1379,1,-5751.12,-3441.01,301.743,""),
(1379,2,-5738.58,-3485.14,302.41,""),
(1379,3,-5721.62,-3507.85,304.011,""),
(1379,4,-5710.21,-3527.97,304.708,""),
(1379,5,-5706.92,-3542.89,304.871,""),
(1379,6,-5701.53,-3551.24,305.962,""),
(1379,7,-5699.53,-3555.69,306.505,""),
(1379,8,-5690.56,-3571.98,309.035,""),
(1379,9,-5678.61,-3587.17,310.607,""),
(1379,10,-5677.05,-3594.35,311.527,""),
(1379,11,-5674.39,-3605.19,312.239,""),
(1379,12,-5674.45,-3614.39,312.337,""),
(1379,13,-5673.05,-3630.56,311.105,""),
(1379,14,-5680.34,-3645.44,315.185,""),
(1379,15,-5684.46,-3650.05,314.687,""),
(1379,16,-5693.9,-3674.14,313.03,""),
(1379,17,-5701.43,-3712.54,313.959,""),
(1379,18,-5698.79,-3720.88,316.943,""),
(1379,19,-5699.95,-3733.63,318.597,""),
(1379,20,-5698.61,-3754.74,322.047,""),
(1379,21,-5688.68,-3769,323.957,""),
(1379,22,-5688.14,-3782.65,322.667,""),
(1379,23,-5699.23,-3792.65,322.448,""),
(1379,24,-5700.8,-3792.78,322.588,"");
-- Dark Iron Raider
DELETE FROM `creature_text` WHERE `CreatureID`=2149;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(2149,0,0,"Get him!",12,6,100,0,0,0,512,0,"Dark Iron Raider");
DELETE FROM `smart_scripts` WHERE `entryorguid`=2149 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
(2149,0,0,0,54,0,100,0,0,0,0,0,0,49,0,0,0,0,0,0,19,1379,0,0,0,0,0,0,"Dark Iron Raider - Just Summoned - Start Attacking");
-- Huldar
DELETE FROM `gossip_menu` WHERE `MenuID`=4322 AND `TextID`=5501;
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(4322,5501,0);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=4322;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(14,4322,5494,0,0,29,0,1379,20,0,0,0,0,"","Show gossip text 5494 if Miran is nearby"),
(14,4322,5501,0,0,29,0,1379,20,0,1,0,0,"","Show gossip text 3522 if Miran is not nearby");
*/

View File

@@ -1,12 +0,0 @@
DELETE FROM `creature_equip_template` WHERE `CreatureID`= 1976 AND `ID`= 2;
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`) VALUES
(1976, 2, 1902, 0, 0); -- Stormwind City Patroller
UPDATE `creature_addon` SET `bytes2`=256 WHERE `guid`=313937;
UPDATE `waypoint_data` SET `action`=9 WHERE `id`=3139370 AND `point`=9;
DELETE FROM `waypoint_scripts` WHERE `id`=9;
INSERT INTO `waypoint_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`, `guid`) VALUES
(9, 7, 31, 2, 0, 0, 0, 0, 0, 0, 950),
(9, 9, 1, 234, 0, 0, 0, 0, 0, 0, 951),
(9, 14, 1, 0, 0, 0, 0, 0, 0, 0, 952),
(9, 16, 31, 1, 0, 0, 0, 0, 0, 0, 953);

View File

@@ -1,7 +0,0 @@
UPDATE `creature_template` SET `ScriptName`='npc_pet_gen_soul_trader' WHERE `entry`=27914;
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_ethereal_pet_aura','spell_ethereal_pet_onsummon','spell_ethereal_pet_aura_remove','spell_steal_essence_visual');
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(50051,'spell_ethereal_pet_aura'),
(50052,'spell_ethereal_pet_onsummon'),
(50055,'spell_ethereal_pet_aura_remove'),
(50101,'spell_steal_essence_visual');

View File

@@ -1,2 +0,0 @@
--
-- UPDATE `creature_text` SET `Text`="%s goes into a frenzy!", `BroadcastTextId`=1191 WHERE `CreatureID`=10882 AND `GroupID`=0;

View File

@@ -1,14 +0,0 @@
/*
--
-- Quest "Replacement Phial"
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceEntry`=3375;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(19,0,3375,0,0,14,0,2200,0,0,1,0,0,"","Quest 'Replacement Phial' can only be taken if quest 'Back to Uldaman' is taken"),
(19,0,3375,0,0,28,0,2204,0,0,1,0,0,"","Quest 'Replacement Phial' can only be taken if quest 'Restoring the Necklace' is not completed"),
(19,0,3375,0,0,8,0,2204,0,0,1,0,0,"","Quest 'Replacement Phial' can only be taken if quest 'Restoring the Necklace' is not rewarded"),
(19,0,3375,0,0,2,0,7667,1,1,1,0,0,"","Quest 'Replacement Phial' can only be taken if player does not have item 'Talvash's Phial of Scrying'");
DELETE FROM `quest_template_addon` WHERE `ID`=3375;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`) VALUES
(3375,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1);
*/

View File

@@ -1,43 +0,0 @@
/*
-- Talvash del Kissel
DELETE FROM `creature_text` WHERE `CreatureID`=6826 AND `GroupID` IN (1,2,3,4,5);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(6826,1,0,"Let me grab a spell focus from inside my home here, and then we'll get started!",12,7,100,0,0,0,3121,0,"Talvash del Kissel"),
(6826,2,0,"Bah, it isn't here. Where did I have that blasted thing at last?",12,7,100,6,0,0,3122,0,"Talvash del Kissel"),
(6826,3,0,"That's right, it's over by the bed. Heh, sorry about that!",12,7,100,0,0,0,3123,0,"Talvash del Kissel"),
(6826,4,0,"Fantastic then! Let's get this thing fixed for you.",12,7,100,0,0,0,3124,0,"Talvash del Kissel"),
(6826,5,0,"Success! Huzzah! The power source restored the necklace!",12,7,100,4,0,0,3125,0,"Talvash del Kissel");
DELETE FROM `smart_scripts` WHERE `entryorguid`=6826 AND `source_type`=0 AND `id` IN (2,3,4,5,6,7);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (682600,682601,682602) 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
(6826,0,2,0,20,0,100,0,2204,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Quest 'Restoring the Necklace' Finished - Remove Npc Flag Questgiver+Gossip"),
(6826,0,3,0,20,0,100,0,2204,0,0,0,53,0,6826,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Quest 'Restoring the Necklace' Finished - Start Waypoint"),
(6826,0,4,0,20,0,100,0,2204,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Quest 'Restoring the Necklace' Finished - Say Line 1"),
(6826,0,5,0,40,0,100,0,3,6826,0,0,80,682600,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Waypoint 3 Reached - Run Script"),
(6826,0,6,0,40,0,100,0,5,6826,0,0,80,682601,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Waypoint 5 Reached - Run Script"),
(6826,0,7,0,40,0,100,0,10,6826,0,0,80,682602,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Waypoint 10 Reached - Run Script"),
(682600,9,0,0,0,0,100,0,0,0,0,0,54,8000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Pause Waypoint"),
(682600,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.02135,"Talvash del Kissel - On Script - Set Orientation"),
(682600,9,2,0,0,0,100,0,3000,3000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Say Line 2"),
(682600,9,3,0,0,0,100,0,5000,5000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Say Line 3"),
(682601,9,0,0,0,0,100,0,0,0,0,0,54,4000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Pause Waypoint"),
(682601,9,2,0,0,0,100,0,4000,4000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Say Line 4"),
(682602,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,3.31613,"Talvash del Kissel - On Script - Set Orientation"),
(682602,9,1,0,0,0,100,0,1000,1000,0,0,11,9795,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Cast 'Talvash's Necklace Repair'"),
(682602,9,2,0,0,0,100,0,6000,6000,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Say Line 5"),
(682602,9,3,0,0,0,100,0,0,0,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Talvash del Kissel - On Script - Add Npc Flag Questgiver+Gossip");
DELETE FROM `waypoints` WHERE `entry`=6826;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(6826,1,-4586.89,-997.797,503.658,""),
(6826,2,-4582.68,-996.563,503.658,""),
(6826,3,-4575.23,-998.552,503.658,""),
(6826,4,-4575.04,-995.529,503.657,""),
(6826,5,-4576.11,-992.451,503.657,""),
(6826,6,-4575.04,-995.529,503.657,""),
(6826,7,-4575.64,-997.129,503.657,""),
(6826,8,-4578.79,-998.015,503.657,""),
(6826,9,-4586.89,-997.797,503.658,""),
(6826,10,-4588.3,-1001.21,503.657,"");
*/

View File

@@ -1,68 +0,0 @@
/*
--
-- Tidelord Rrurgaz
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=16072;
DELETE FROM `smart_scripts` WHERE `entryorguid`=16072 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
(16072,0,0,0,0,0,100,0,2000,4000,14000,21000,0,11,16244,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tidelord Rrurgaz - In Combat - Cast 'Demoralizing Shout'"),
(16072,0,1,0,0,0,100,0,5000,7000,19000,22000,0,11,16509,0,0,0,0,0,5,0,0,0,0,0,0,0,"Tidelord Rrurgaz - In Combat - Cast 'Rend'"),
(16072,0,2,0,0,0,100,0,7000,9000,8000,12000,0,11,17207,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tidelord Rrurgaz - In Combat - Cast 'Whirlwind'"),
(16072,0,3,0,0,0,100,0,9000,12000,14000,17000,0,11,15588,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tidelord Rrurgaz - In Combat - Cast 'Thunderclap'");
-- Strashaz Warrior
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4364;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4364 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
(4364,0,0,0,0,0,100,0,5000,7000,12000,15000,0,11,9080,0,0,0,0,0,2,0,0,0,0,0,0,0,"Strashaz Warrior - In Combat - Cast 'Hamstring'"),
(4364,0,1,0,0,0,100,0,4000,9000,8000,12000,0,11,16856,0,0,0,0,0,2,0,0,0,0,0,0,0,"Strashaz Warrior - In Combat - Cast 'Mortal Strike'"),
(4364,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,"Strashaz Warrior - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Strashaz Sorceress
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4370;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4370 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
(4370,0,0,0,0,0,100,0,0,0,3000,5000,0,11,12737,64,0,0,0,0,2,0,0,0,0,0,0,0,"Strashaz Sorceress - In Combat - Cast 'Frostbolt'"),
(4370,0,1,0,0,0,100,0,12000,16000,16000,21000,0,11,15499,0,0,0,0,0,5,0,0,0,0,0,0,0,"Strashaz Sorceress - In Combat - Cast 'Frost Shock'"),
(4370,0,2,0,9,0,100,0,0,8,12000,15000,0,11,15532,0,0,0,0,0,1,0,0,0,0,0,0,0,"Strashaz Sorceress - Within 0-8 Range - Cast 'Frost Nova'"),
(4370,0,3,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,"Strashaz Sorceress - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Strashaz Siren
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4371;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4371 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
(4371,0,0,0,0,0,100,0,0,0,3000,5000,0,11,15587,64,0,0,0,0,2,0,0,0,0,0,0,0,"Strashaz Siren - In Combat - Cast 'Mind Blast'"),
(4371,0,1,0,0,0,100,0,11000,15000,21000,26000,0,11,15654,0,0,0,0,0,5,0,0,0,0,0,0,0,"Strashaz Siren - In Combat - Cast 'Shadow Word: Pain'"),
(4371,0,2,0,0,0,100,0,8000,12000,16000,22000,0,11,7645,0,0,0,0,0,6,0,0,0,0,0,0,0,"Strashaz Siren - In Combat - Cast 'Dominate Mind'"),
(4371,0,3,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,"Strashaz Siren - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Strashaz Myrmidon
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4368;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4368 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
(4368,0,0,0,0,0,100,0,5000,7000,11000,14000,0,11,15284,0,0,0,0,0,2,0,0,0,0,0,0,0,"Strashaz Myrmidon - In Combat - Cast 'Cleave'"),
(4368,0,1,0,0,0,100,0,7000,11000,9000,13000,0,11,18812,0,0,0,0,0,5,0,0,0,0,0,0,0,"Strashaz Myrmidon - In Combat - Cast 'Knockdown'"),
(4368,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,"Strashaz Myrmidon - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Strashaz Serpent Guard
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4366;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4366 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
(4366,0,0,0,0,0,100,0,5000,7000,7000,11000,0,11,12057,0,0,0,0,0,2,0,0,0,0,0,0,0,"Strashaz Serpent Guard - In Combat - Cast 'Strike'"),
(4366,0,1,0,0,0,100,0,4000,9000,18000,24000,0,11,6713,0,0,0,0,0,2,0,0,0,0,0,0,0,"Strashaz Serpent Guard - In Combat - Cast 'Disarm'"),
(4366,0,2,0,0,0,100,0,7000,12000,21000,25000,0,11,16509,0,0,0,0,0,5,0,0,0,0,0,0,0,"Strashaz Serpent Guard - In Combat - Cast 'Rend'"),
(4366,0,3,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,"Strashaz Serpent Guard - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Strashaz Hydra
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4374;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4374 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
(4374,0,0,0,25,0,100,0,0,0,0,0,0,11,8876,0,0,0,0,0,1,0,0,0,0,0,0,0,"Strashaz Hydra - On Reset - Cast 'Thrash'"),
(4374,0,1,0,0,0,100,0,5000,9000,12000,21000,0,11,16128,0,0,0,0,0,5,0,0,0,0,0,0,0,"Strashaz Hydra - In Combat - Cast 'Infected Bite'");
-- Doctor Weavil
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=15552;
DELETE FROM `smart_scripts` WHERE `entryorguid`=15552 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
(15552,0,0,0,0,0,100,0,8000,14000,8000,14000,0,11,25774,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doctor Weavil - In Combat - Cast 'Mind Shatter'"),
(15552,0,1,0,0,0,100,0,15000,15000,120000,120000,0,11,25772,0,0,0,0,0,2,0,0,0,0,0,0,0,"Doctor Weavil - In Combat - Cast 'Mental Domination'");
*/

View File

@@ -1,359 +0,0 @@
/*
--
-- Ma'ruk Wyrmscale
DELETE FROM `smart_scripts` WHERE `entryorguid`=2090 AND `source_type`=0 AND `id`=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
(2090,0,0,0,4,0,100,0,0,0,0,0,0,11,9128,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ma'ruk Wyrmscale - On Aggro - Cast 'Battle Shout'");
-- Black Slime
DELETE FROM `smart_scripts` WHERE `entryorguid`=1030 AND `source_type`=0 AND `id`=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
(1030,0,0,0,0,0,100,1,5000,9000,0,0,0,11,3335,0,0,0,0,0,1,0,0,0,0,0,0,0,"Black Slime - In Combat - Cast 'Dark Sludge' (No Repeat)");
-- Sludginn
DELETE FROM `smart_scripts` WHERE `entryorguid`=14433 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
(14433,0,0,0,0,0,100,1,9000,11000,0,0,0,11,3335,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sludginn - In Combat - Cast 'Dark Sludge' (No Repeat)"),
(14433,0,1,0,0,0,100,0,5000,8000,21000,23000,0,11,3358,32,0,0,0,0,2,0,0,0,0,0,0,0,"Sludginn - In Combat - Cast 'Leech Poison'");
-- Mosshide Gnoll
DELETE FROM `smart_scripts` WHERE `entryorguid`=1007 AND `source_type`=0 AND `id` IN (1,2,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
(1007,0,1,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Gnoll - On Reset - Cast 'Moss Hide'"),
(1007,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,"Mosshide Gnoll - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Mosshide Mongrel
DELETE FROM `smart_scripts` WHERE `entryorguid`=1008 AND `source_type`=0 AND `id` IN (1,2,3,4);
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
(1008,0,1,0,0,0,100,0,6000,13000,17000,24000,0,11,8016,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mosshide Mongrel - In Combat - Cast 'Spirit Decay'"),
(1008,0,2,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Mongrel - On Reset - Cast 'Moss Hide'"),
(1008,0,3,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,"Mosshide Mongrel - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Mosshide Fenrunner
DELETE FROM `smart_scripts` WHERE `entryorguid`=1010 AND `source_type`=0 AND `id` IN (1,2,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
(1010,0,1,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Fenrunner - On Reset - Cast 'Moss Hide'"),
(1010,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,"Mosshide Fenrunner - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Mosshide Mistweaver
UPDATE `smart_scripts` SET `event_param3`=3000, `event_param4`=5000 WHERE `entryorguid`=1009 AND `source_type`=0 AND `id`=2;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1009 AND `source_type`=0 AND `id` IN (0,3,4,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
(1009,0,0,0,1,0,100,0,1000,1000,1800000,1800000,0,11,12544,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Mistweaver - Out of Combat - Cast 'Frost Armor'"),
(1009,0,3,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Mistweaver - On Reset - Cast 'Moss Hide'"),
(1009,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,"Mosshide Mistweaver - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Mosshide Trapper
DELETE FROM `smart_scripts` WHERE `entryorguid`=1011 AND `source_type`=0 AND `id` IN (1,2,3,4);
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
(1011,0,1,0,0,0,100,0,4000,11000,15000,22000,0,11,6533,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mosshide Trapper - In Combat - Cast 'Net'"),
(1011,0,2,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Trapper - On Reset - Cast 'Moss Hide'"),
(1011,0,3,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,"Mosshide Trapper - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Mosshide Brute
DELETE FROM `smart_scripts` WHERE `entryorguid`=1012 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
(1012,0,2,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Brute - On Reset - Cast 'Moss Hide'");
-- Mosshide Alpha
DELETE FROM `smart_scripts` WHERE `entryorguid`=1014 AND `source_type`=0 AND `id` IN (1,2,3,4);
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
(1014,0,1,0,4,0,100,0,0,0,0,0,0,11,9128,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Alpha - On Aggro - Cast 'Battle Shout'"),
(1014,0,2,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Alpha - On Reset - Cast 'Moss Hide'"),
(1014,0,3,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,"Mosshide Alpha - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Mosshide Mystic
DELETE FROM `smart_scripts` WHERE `entryorguid`=1013 AND `source_type`=0 AND `id` IN (2,3,4,5,6);
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
(1013,0,2,0,0,0,100,0,8000,14000,18000,24000,0,11,11436,0,0,0,0,0,5,0,0,0,0,0,0,0,"Mosshide Mystic - In Combat - Cast 'Slow'"),
(1013,0,3,0,14,0,100,0,320,40,25000,30000,0,11,11986,0,0,0,0,0,7,0,0,0,0,0,0,0,"Mosshide Mystic - Friendly At 320 Health - Cast 'Healing Wave'"),
(1013,0,4,0,25,0,100,0,0,0,0,0,0,11,8852,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mosshide Mystic - On Reset - Cast 'Moss Hide'"),
(1013,0,5,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,"Mosshide Mystic - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Leech Stalker
DELETE FROM `smart_scripts` WHERE `entryorguid`=1111 AND `source_type`=0 AND `id`=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
(1111,0,0,0,0,0,100,0,5000,13000,21000,23000,0,11,3358,32,0,0,0,0,2,0,0,0,0,0,0,0,"Leech Stalker - In Combat - Cast 'Leech Poison'");
-- Cave Stalker
DELETE FROM `smart_scripts` WHERE `entryorguid`=4040 AND `source_type`=0 AND `id`=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
(4040,0,0,0,0,0,100,0,5000,13000,21000,23000,0,11,3358,32,0,0,0,0,2,0,0,0,0,0,0,0,"Cave Stalker - In Combat - Cast 'Leech Poison'");
-- Leech Widow
DELETE FROM `smart_scripts` WHERE `entryorguid`=1112 AND `source_type`=0 AND `id`=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
(1112,0,0,0,0,0,100,0,7000,11000,21000,22000,0,11,3388,32,0,0,0,0,2,0,0,0,0,0,0,0,"Leech Widow - In Combat - Cast 'Deadly Leech Poison'");
-- Red Whelp
DELETE FROM `smart_scripts` WHERE `entryorguid`=1042 AND `source_type`=0 AND `id`=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
(1042,0,0,0,0,0,100,0,3000,11000,13000,21000,0,11,3356,0,0,0,0,0,2,0,0,0,0,0,0,0,"Red Whelp - In Combat - Cast 'Flame Lash'");
-- Black Ooze
DELETE FROM `smart_scripts` WHERE `entryorguid`=1032 AND `source_type`=0 AND `id`=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
(1032,0,0,0,25,0,100,0,0,0,0,0,0,11,3235,0,0,0,0,0,1,0,0,0,0,0,0,0,"Black Ooze - On Reset - Cast 'Rancid Blood'");
-- Crimson Ooze
DELETE FROM `smart_scripts` WHERE `entryorguid`=1031 AND `source_type`=0 AND `id`=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
(1031,0,0,0,25,0,100,0,0,0,0,0,0,11,3235,0,0,0,0,0,1,0,0,0,0,0,0,0,"Crimson Ooze - On Reset - Cast 'Rancid Blood'");
-- Monstrous Ooze
DELETE FROM `smart_scripts` WHERE `entryorguid`=1033 AND `source_type`=0 AND `id`=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
(1033,0,0,0,25,0,100,0,0,0,0,0,0,11,3235,0,0,0,0,0,1,0,0,0,0,0,0,0,"Monstrous Ooze - On Reset - Cast 'Rancid Blood'");
-- Rotting Ancestor
DELETE FROM `smart_scripts` WHERE `entryorguid`=1530 AND `source_type`=0 AND `id`=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
(1530,0,0,0,25,0,100,0,0,0,0,0,0,11,3235,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rotting Ancestor - On Reset - Cast 'Rancid Blood'");
-- Bleeding Horror
DELETE FROM `smart_scripts` WHERE `entryorguid`=1529 AND `source_type`=0 AND `id`=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
(1529,0,0,0,25,0,100,0,0,0,0,0,0,11,3235,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bleeding Horror - On Reset - Cast 'Rancid Blood'");
-- Highland Lashtail
DELETE FROM `smart_scripts` WHERE `entryorguid`=1016 AND `source_type`=0 AND `id`=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
(1016,0,0,0,0,0,100,0,5000,11000,13000,19000,0,11,6607,2,0,0,0,0,2,0,0,0,0,0,0,0,"Highland Lashtail - In Combat - Cast 'Lash'");
UPDATE `smart_scripts` SET `action_param2`=2 WHERE `action_type`=11 AND `action_param1`=6607;
-- Highland Scytheclaw
DELETE FROM `smart_scripts` WHERE `entryorguid`=1017 AND `source_type`=0 AND `id`=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
(1017,0,0,0,0,0,100,0,4000,9000,12000,17000,0,11,3147,0,0,0,0,0,2,0,0,0,0,0,0,0,"Highland Scytheclaw - In Combat - Cast 'Rend Flesh'");
-- Highland Razormaw
DELETE FROM `smart_scripts` WHERE `entryorguid`=1018 AND `source_type`=0 AND `id`=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
(1018,0,0,0,0,0,100,0,5000,12000,15000,19000,0,11,3427,0,0,0,0,0,2,0,0,0,0,0,0,0,"Highland Razormaw - In Combat - Cast 'Infected Wound'");
-- Elder Razormaw
DELETE FROM `smart_scripts` WHERE `entryorguid`=1019 AND `source_type`=0 AND `id`=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
(1019,0,0,0,0,0,100,0,4000,9000,11000,16000,0,11,3604,0,0,0,0,0,2,0,0,0,0,0,0,0,"Elder Razormaw - In Combat - Cast 'Tendon Rip'");
-- Razormaw Matriarch
DELETE FROM `smart_scripts` WHERE `entryorguid`=1140 AND `source_type`=0 AND `id` IN (2,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
(1140,0,2,0,12,0,100,1,0,20,0,0,0,11,7938,0,0,0,0,0,2,0,0,0,0,0,0,0,"Razormaw Matriarch - In Combat - Target Between 0-20% Health - Cast 'Fatal Bite' (No Repeat)"),
(1140,0,3,0,0,0,100,0,5000,8000,11000,16000,0,11,3147,0,0,0,0,0,2,0,0,0,0,0,0,0,"Razormaw Matriarch - In Combat - Cast 'Rend Flesh'");
-- Dark Iron Dwarf
DELETE FROM `smart_scripts` WHERE `entryorguid`=1051 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
(1051,0,1,0,0,0,100,0,1000,8000,11000,20000,0,11,7891,2,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Iron Dwarf - In Combat - Cast 'Gift of Ragnaros'");
-- Dark Iron Rifleman
DELETE FROM `smart_scripts` WHERE `entryorguid`=6523 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
(6523,0,2,0,0,0,100,0,1000,8000,11000,20000,0,11,7891,2,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Iron Rifleman - In Combat - Cast 'Gift of Ragnaros'");
-- Dark Iron Demolitionist
DELETE FROM `smart_scripts` WHERE `entryorguid`=1054 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
(1054,0,2,0,0,0,100,0,1000,8000,11000,20000,0,11,7891,2,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Iron Demolitionist - In Combat - Cast 'Gift of Ragnaros'");
-- Dark Iron Saboteur
DELETE FROM `smart_scripts` WHERE `entryorguid`=1052 AND `source_type`=0 AND `id` IN (0,4);
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
(1052,0,0,0,0,0,100,0,1000,8000,11000,20000,0,11,7891,2,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Iron Saboteur - In Combat - Cast 'Gift of Ragnaros'"),
(1052,0,4,0,4,0,15,0,0,0,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dark Iron Saboteur - On Aggro - Say Line 2");
DELETE FROM `creature_text` WHERE `CreatureID`=1052 AND `GroupID`=2;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(1052,2,0,"Never cross a Dark Iron, $C.",12,0,100,0,0,0,1934,0,"Dark Iron Saboteur"),
(1052,2,1,"Time to die, $C.",12,0,100,0,0,0,1935,0,"Dark Iron Saboteur"),
(1052,2,2,"Feel the power of the Dark Iron Dwarves!",12,0,100,0,0,0,1936,0,"Dark Iron Saboteur");
DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=3204;
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
(3204,8329,0,"Sapper Explode");
-- Dark Iron Tunneler
DELETE FROM `smart_scripts` WHERE `entryorguid`=1053 AND `source_type`=0 AND `id` IN (1,2,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
(1053,0,1,0,4,0,100,0,0,0,0,0,0,11,7164,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dark Iron Tunneler - In Combat - Cast 'Defensive Stance'"),
(1053,0,2,0,0,0,100,0,1000,8000,11000,20000,0,11,7891,2,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Iron Tunneler - In Combat - Cast 'Gift of Ragnaros'"),
(1053,0,3,0,0,0,100,0,5000,9000,11000,15000,0,11,11971,2,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Iron Tunneler - In Combat - Cast 'Sunder Armor'");
-- Balgaras the Foul
DELETE FROM `smart_scripts` WHERE `entryorguid`=1364 AND `source_type`=0 AND `id` IN (2,3,4);
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
(1364,0,2,0,0,0,100,0,3000,5000,11000,13000,0,11,9081,0,0,0,0,0,1,0,0,0,0,0,0,0,"Balgaras the Foul - In Combat - Cast 'Shadow Bolt Volley'"),
(1364,0,3,0,0,0,100,0,8000,12000,13000,16000,0,11,11831,0,0,0,0,0,1,0,0,0,0,0,0,0,"Balgaras the Foul - In Combat - Cast 'Frost Nova'"),
(1364,0,4,0,0,0,100,0,11000,13000,181000,182000,0,11,3586,0,0,0,0,0,2,0,0,0,0,0,0,0,"Balgaras the Foul - In Combat - Cast 'Volatile Infection'");
-- Fen Creeper
DELETE FROM `smart_scripts` WHERE `entryorguid`=1040 AND `source_type`=0 AND `id`=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
(1040,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,"Fen Creeper - On Reset - Cast 'Sneak'");
-- Chimaera Matriarch
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=6167;
DELETE FROM `smart_scripts` WHERE `entryorguid`=6167 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
(6167,0,0,0,0,0,100,0,3000,5000,7000,12000,0,11,3396,0,0,0,0,0,5,0,0,0,0,0,0,0,"Chimaera Matriarch - In Combat - Cast 'Corrosive Poison'");
-- Condemned Cleric
DELETE FROM `smart_scripts` WHERE `entryorguid`=7070 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
(7070,0,1,0,14,0,100,0,3000,40,18000,21000,0,11,15586,0,0,0,0,0,7,0,0,0,0,0,0,0,"Condemned Cleric - Friendly At 3000 Health - Cast 'Heal'");
-- Condemned Acolyte
DELETE FROM `smart_scripts` WHERE `entryorguid`=7068 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
(7068,0,1,0,14,0,100,0,3000,40,18000,25000,0,11,25058,0,0,0,0,0,7,0,0,0,0,0,0,0,"Condemned Acolyte - Friendly At 3000 Health - Cast 'Renew'");
-- Dragonmaw Raider
DELETE FROM `smart_scripts` WHERE `entryorguid`=1034 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
(1034,0,1,0,0,0,100,0,2000,13000,15000,26000,0,11,6533,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dragonmaw Raider - In Combat - Cast 'Net'");
-- Dragonmaw Swamprunner
DELETE FROM `smart_scripts` WHERE `entryorguid`=1035 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
(1035,0,1,0,25,0,100,0,0,0,0,0,0,11,3616,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Swamprunner - On Reset - Cast 'Poison Proc'");
-- Garneg Charskull
DELETE FROM `smart_scripts` WHERE `entryorguid`=2108 AND `source_type`=0 AND `id` IN (1,2,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
(2108,0,1,0,0,0,100,0,1000,2000,4000,6000,0,11,184,32,0,0,0,0,1,0,0,0,0,0,0,0,"Garneg Charskull - In Combat - Cast 'Fire Shield II'"),
(2108,0,2,0,0,0,100,0,4000,6000,8000,12000,0,11,15039,0,0,0,0,0,2,0,0,0,0,0,0,0,"Garneg Charskull - In Combat - Cast 'Flame Shock'"),
(2108,0,3,0,0,0,100,0,9000,12000,18000,21000,0,11,6725,0,0,0,0,0,2,0,0,0,0,0,0,0,"Garneg Charskull - In Combat - Cast 'Flame Spike'");
-- Dragonmaw Bonewarder
DELETE FROM `smart_scripts` WHERE `entryorguid`=1057 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
(1057,0,0,0,4,0,15,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Bonewarder - On Aggro - Say Line 0"),
(1057,0,1,0,1,0,100,1,1000,3000,0,0,0,11,8853,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Bonewarder - Out of Combat - Cast 'Summon Skeleton'"),
(1057,0,2,0,0,0,100,0,3000,6000,14000,19000,0,11,707,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dragonmaw Bonewarder - In Combat - Cast 'Immolate'"),
(1057,0,3,0,0,0,100,0,8000,14000,8000,14000,0,11,6205,32,0,0,0,0,5,0,0,0,0,0,0,0,"Dragonmaw Bonewarder - In Combat - Cast 'Curse of Weakness'"),
(1057,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,"Dragonmaw Bonewarder - Between 0-15% Health - Flee For Assist (No Repeat)");
DELETE FROM `creature_text` WHERE `CreatureID`=1057;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(1057,0,0,"Your bones will break under my boot, $r!",12,1,100,0,0,0,1938,0,"Dragonmaw Bonewarder"),
(1057,0,1,"Long live the Dragonmaw! Die you worthless $r!",12,1,100,0,0,0,1939,0,"Dragonmaw Bonewarder"),
(1057,0,2,"For the Dragonmaw!",12,1,100,0,0,0,1937,0,"Dragonmaw Bonewarder");
-- Dragonmaw Shadowwarder
DELETE FROM `smart_scripts` WHERE `entryorguid`=1038 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
(1038,0,3,0,4,0,15,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Shadowwarder - On Aggro - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=1038;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(1038,0,0,"Your bones will break under my boot, $r!",12,1,100,0,0,0,1938,0,"Dragonmaw Shadowwarder"),
(1038,0,1,"Long live the Dragonmaw! Die you worthless $r!",12,1,100,0,0,0,1939,0,"Dragonmaw Shadowwarder"),
(1038,0,2,"For the Dragonmaw!",12,1,100,0,0,0,1937,0,"Dragonmaw Shadowwarder");
-- Dragonmaw Centurion
DELETE FROM `smart_scripts` WHERE `entryorguid`=1036 AND `source_type`=0 AND `id` IN (1,2,3,4);
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
(1036,0,1,0,4,0,100,0,0,0,0,0,0,11,643,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Centurion - On Aggro - Cast 'Devotion Aura'"),
(1036,0,2,0,25,0,100,0,0,0,0,0,0,11,7164,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Centurion - On Reset - Cast 'Defensive Stance'"),
(1036,0,3,0,0,0,100,0,5000,7000,11000,13000,0,11,1672,2,0,0,0,0,2,0,0,0,0,0,0,0,"Dragonmaw Centurion - In Combat - Cast 'Shield Bash'"),
(1036,0,4,0,0,0,100,0,5000,13000,21000,29000,0,11,3419,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Centurion - In Combat - Cast 'Improved Blocking'");
-- Dragonmaw Battlemaster
DELETE FROM `smart_scripts` WHERE `entryorguid`=1037 AND `source_type`=0 AND `id` IN (0,2,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
(1037,0,0,0,4,0,100,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Battlemaster - On Aggro - Say Line 0"),
(1037,0,2,3,0,0,100,0,9000,14000,19000,28000,0,11,3019,2,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Battlemaster - In Combat - Cast 'Frenzy'"),
(1037,0,3,0,61,0,100,1,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dragonmaw Battlemaster - In Combat - Say Line 1");
DELETE FROM `creature_text` WHERE `CreatureID`=1037;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(1037,0,0,"Your bones will break under my boot, $r!",12,1,100,0,0,0,1938,0,"Dragonmaw Shadowwarder"),
(1037,0,1,"Long live the Dragonmaw! Die you worthless $r!",12,1,100,0,0,0,1939,0,"Dragonmaw Shadowwarder"),
(1037,0,2,"For the Dragonmaw!",12,1,100,0,0,0,1937,0,"Dragonmaw Shadowwarder"),
(1037,1,0,"%s goes into a frenzy!",16,0,100,0,0,0,2384,0,"Dragonmaw Shadowwarder");
-- Chieftain Nek'rosh
UPDATE `smart_scripts` SET `action_param2`=2 WHERE `entryorguid`=2091 AND `source_type`=0 AND `id`=1;
-- Mottled Scytheclaw
DELETE FROM `smart_scripts` WHERE `entryorguid`=1022 AND `source_type`=0 AND `id`=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
(1022,0,0,0,0,0,100,0,4000,12000,15000,23000,0,11,3147,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mottled Scytheclaw - In Combat - Cast 'Rend Flesh'");
-- Mottled Razormaw
DELETE FROM `smart_scripts` WHERE `entryorguid`=1023 AND `source_type`=0 AND `id`=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
(1023,0,0,0,0,0,100,0,5000,12000,15000,19000,0,11,3427,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mottled Razormaw - In Combat - Cast 'Infected Wound'");
-- Sarltooth
DELETE FROM `smart_scripts` WHERE `entryorguid`=1353 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
(1353,0,0,0,25,0,100,0,0,0,0,0,0,11,8876,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sarltooth - On Reset - Cast 'Thrash'"),
(1353,0,1,0,0,0,100,0,5000,9000,12000,16000,0,11,3427,0,0,0,0,0,2,0,0,0,0,0,0,0,"Sarltooth - In Combat - Cast 'Infected Wound'");
-- Bluegill Forager
DELETE FROM `smart_scripts` WHERE `entryorguid`=1026 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
(1026,0,0,0,25,0,100,0,0,0,0,0,0,11,3616,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bluegill Forager - On Reset - Cast 'Poison Proc'"),
(1026,0,1,0,0,0,100,0,5000,11000,13000,19000,0,11,14873,0,0,0,0,0,2,0,0,0,0,0,0,0,"Bluegill Forager - In Combat - Cast 'Sinister Strike'");
-- Bluegill Warrior
DELETE FROM `smart_scripts` WHERE `entryorguid`=1027 AND `source_type`=0 AND `id`=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
(1027,0,0,0,4,0,100,0,0,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bluegill Warrior - On Aggro - Cast 'Battle Stance'");
-- Bluegill Muckdweller
DELETE FROM `smart_scripts` WHERE `entryorguid`=1028 AND `source_type`=0 AND `id`=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
(1028,0,0,0,0,0,100,0,5000,7000,11000,14000,0,11,1777,2,0,0,0,0,2,0,0,0,0,0,0,0,"Bluegill Muckdweller - In Combat - Cast 'Gouge'");
-- Bluegill Oracle
DELETE FROM `smart_scripts` WHERE `entryorguid`=1029 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
(1029,0,1,0,14,0,100,0,350,40,12000,24000,0,11,939,0,0,0,0,0,7,0,0,0,0,0,0,0,"Bluegill Oracle - Friendly At 350 Health - Cast 'Healing Wave'");
-- Giant Wetlands Crocolisk
DELETE FROM `smart_scripts` WHERE `entryorguid`=2089 AND `source_type`=0 AND `id`=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
(2089,0,0,0,0,0,100,0,6000,9000,12000,18000,0,11,3604,2,0,0,0,0,2,0,0,0,0,0,0,0,"Giant Wetlands Crocolisk - In Combat - Cast 'Tendon Rip'");
-- Cursed Sailor
DELETE FROM `smart_scripts` WHERE `entryorguid`=1157 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
(1157,0,1,0,0,0,100,0,4000,15000,25000,32000,0,11,10651,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cursed Sailor - In Combat - Cast 'Curse of the Eye'");
-- Cursed Marine
UPDATE `smart_scripts` SET `event_param1`=4000, `event_param2`=15000, `event_param3`=25000, `event_param4`=32000, `action_param2`=0 WHERE `entryorguid`=1158 AND `source_type`=0 AND `id`=1;
-- First Mate Snellig
UPDATE `smart_scripts` SET `event_param1`=6000, `event_param2`=9000, `event_param3`=11000, `event_param4`=14000 WHERE `entryorguid`=1159 AND `source_type`=0 AND `id`=0;
UPDATE `smart_scripts` SET `event_param1`=5000, `event_param2`=11000, `event_param3`=9000, `event_param4`=15000 WHERE `entryorguid`=1159 AND `source_type`=0 AND `id`=2;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1159 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
(1159,0,3,0,4,0,20,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"First Mate Snellig - On Aggro - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=1159;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(1159,0,0,"Time to join us, $c.",12,0,100,0,0,0,1942,0,"First Mate Snellig"),
(1159,0,1,"Brains...",12,0,100,0,0,0,1940,0,"First Mate Snellig"),
(1159,0,2,"A living $r... soon to be a dead like me.",12,0,100,0,0,0,1941,0,"First Mate Snellig");
-- Mirelow
UPDATE `smart_scripts` SET `event_param1`=6000, `event_param2`=9000, `event_param3`=11000, `event_param4`=17000 WHERE `entryorguid`=14424 AND `source_type`=0 AND `id`=0;
-- Red Wyrmkin
DELETE FROM `smart_scripts` WHERE `entryorguid`=1046 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
(1046,0,0,0,0,0,100,0,1000,2000,4000,6000,0,11,15242,64,0,0,0,0,2,0,0,0,0,0,0,0,"Red Wyrmkin - In Combat - Cast 'Fireball'"),
(1046,0,1,0,0,0,100,0,8000,16000,21000,26000,0,11,18399,0,0,0,0,0,5,0,0,0,0,0,0,0,"Red Wyrmkin - In Combat - Cast 'Flamestrike'"),
(1046,0,2,0,0,0,100,0,4000,7000,16000,24000,0,11,14145,0,0,0,0,0,5,0,0,0,0,0,0,0,"Red Wyrmkin - In Combat - Cast 'Fire Blast'"),
(1046,0,3,0,0,0,100,0,7000,12000,8000,20000,0,11,15230,0,0,0,0,0,5,0,0,0,0,0,0,0,"Red Wyrmkin - In Combat - Cast 'Arcane Bolt'");
-- Fix bytes2 for some range-attacking creatures
UPDATE `creature_addon` SET `bytes2`=2 WHERE `guid` IN (SELECT `guid` FROM `creature` WHERE `id` IN (2103,6523));
UPDATE `creature_template_addon` SET `bytes2`=2 WHERE `entry` IN (2103,6523);
-- Fix spawn position for one creature
UPDATE `creature` SET `position_z`=40.336 WHERE `guid`=10886;
*/

View File

@@ -1,9 +0,0 @@
/*
--
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` IN(7053) AND `SourceGroup`=4;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 4, 7053, 0, 0, 1, 0, 1784, 0, 0, 0, 0, 0, '', 'Klaven Mortwake - run SAI event 4 only if the player is stealthed'),
(22, 4, 7053, 0, 1, 1, 0, 1785, 0, 0, 0, 0, 0, '', 'Klaven Mortwake - run SAI event 4 only if the player is stealthed'),
(22, 4, 7053, 0, 2, 1, 0, 1786, 0, 0, 0, 0, 0, '', 'Klaven Mortwake - run SAI event 4 only if the player is stealthed'),
(22, 4, 7053, 0, 3, 1, 0, 1787, 0, 0, 0, 0, 0, '', 'Klaven Mortwake - run SAI event 4 only if the player is stealthed');
*/

View File

@@ -1,4 +0,0 @@
--
DELETE FROM `disables` WHERE `sourceType`=1 AND `entry`=526;
INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES
(1,526,0,"","","Deprecated quest");

View File

@@ -1,2 +0,0 @@
-- Captain Stoutfist
-- UPDATE `creature_template` SET `npcflag`=2, `gossip_menu_id`=0 WHERE `entry`=2104;

View File

@@ -1,22 +0,0 @@
/*
-- Theldurin the Lost
DELETE FROM `creature_text` WHERE `CreatureID`=2785;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(2785,0,0,"%s begins searching through his pack...",16,0,100,0,0,0,870,0,"Theldurin the Lost"),
(2785,1,0,"Ah! There is my ratchet! Now let's re-attach these scroll fragments.",12,0,100,0,0,0,871,0,"Theldurin the Lost"),
(2785,2,0,"There we are, $n. The Scroll is fixed! Hooray!",12,0,100,4,0,0,872,0,"Theldurin the Lost");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2785;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2785 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=278500 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
(2785,0,0,0,20,0,100,0,692,0,0,0,80,278500,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Quest 'The Lost Fragments' Finished - Run Script"),
(278500,9,0,0,0,0,100,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Remove Npc Flag Questgiver+Gossip"),
(278500,9,1,0,0,0,100,0,0,0,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Set Emote State 69"),
(278500,9,2,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Say Line 0"),
(278500,9,3,0,0,0,100,0,6000,6000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Set Emote State 0"),
(278500,9,4,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Say Line 1"),
(278500,9,5,0,0,0,100,0,4000,4000,0,0,11,5017,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Cast 'Divining Trance'"),
(278500,9,6,0,0,0,100,0,7000,7000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Say Line 2"),
(278500,9,7,0,0,0,100,0,3000,3000,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theldurin the Lost - On Script - Add Npc Flag Questgiver+Gossip");
*/

View File

@@ -1,12 +0,0 @@
/*
-- Brumn Winterhoof
UPDATE `creature_template` SET `gossip_menu_id`=3069 WHERE `entry`=7869;
DELETE FROM `gossip_menu` WHERE `MenuID`=3069;
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(3069,3803,0);
DELETE FROM `gossip_menu_option` WHERE `MenuID`=3069;
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(3069,0,3,"I would like to train.",5597,5,16,0,0,0,0,"",0,0);
*/

View File

@@ -1,161 +0,0 @@
/*
-- Quest "The Greenwarden"
DELETE FROM `quest_details` WHERE `ID`=463;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(463,1,0,0,0,0,0,0,0,0);
-- Quest "Daily Delivery"
DELETE FROM `quest_details` WHERE `ID`=469;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(469,3,1,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=6 WHERE `ID`=469;
-- Quest "In Search of The Excavation Team"
DELETE FROM `quest_details` WHERE `ID`=305;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(305,5,1,5,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=305;
-- Quest "In Search of The Excavation Team"
DELETE FROM `quest_details` WHERE `ID`=306;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(306,5,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=306;
UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=6, `Emote3`=1 WHERE `ID`=306;
-- Quest "Uncovering the Past"
DELETE FROM `quest_details` WHERE `ID`=299;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(299,1,1,5,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=299;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=299;
-- Quest "Ormer's Revenge"
DELETE FROM `quest_details` WHERE `ID`=294;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(294,1,1,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=294;
-- Quest "Ormer's Revenge (Part 2)"
DELETE FROM `quest_details` WHERE `ID`=295;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(295,1,0,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=295;
-- Quest "Ormer's Revenge (Part 3)"
DELETE FROM `quest_details` WHERE `ID`=296;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(296,1,5,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=296;
UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=296;
-- Quest "Digging Through the Ooze"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=470;
-- Quest "The Third Fleet"
DELETE FROM `quest_details` WHERE `ID`=288;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(288,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=288;
UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=288;
-- Quest "The Cursed Crew"
DELETE FROM `quest_details` WHERE `ID`=289;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(289,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=20, `EmoteOnComplete`=20 WHERE `ID`=296;
UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=289;
-- Quest "Lifting the Curse"
DELETE FROM `quest_details` WHERE `ID`=290;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(290,1,1,0,0,0,0,0,0,0);
-- Quest "The Eye of Paleth"
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=292;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=292;
-- Quest "Cleansing the Eye"
DELETE FROM `quest_details` WHERE `ID`=293;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(293,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=293;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=293;
-- Quest "Young Crocolisk Skins"
DELETE FROM `quest_details` WHERE `ID`=484;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(484,2,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=484;
UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=484;
-- Quest "Apprentice's Duties"
DELETE FROM `quest_details` WHERE `ID`=471;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(471,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=18, `EmoteOnComplete`=18 WHERE `ID`=471;
UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=11 WHERE `ID`=471;
-- Quest "Apprentice's Duties"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=279;
UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=279;
-- Quest "Return the Statuette"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=286;
-- Quest "Report to Captain Stoutfist"
UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=473;
-- Quest "War Banners"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=464;
-- Quest "Defeat Nek'rosh"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=474;
UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=474;
-- Quest "Fall of Dun Modr"
UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=472;
-- Quest "A Grim Task"
DELETE FROM `quest_details` WHERE `ID`=304;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(304,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=304;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1, `Emote3`=2 WHERE `ID`=304;
-- Quest "The Dark Iron War"
DELETE FROM `quest_details` WHERE `ID`=303;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(303,1,1,5,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=303;
UPDATE `quest_offer_reward` SET `Emote1`=66 WHERE `ID`=303;
-- Quest "The Fury Runs Deep"
DELETE FROM `quest_details` WHERE `ID`=378;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(378,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1, `EmoteOnComplete`=1 WHERE `ID`=378;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=378;
-- Quest "The Thandol Span"
DELETE FROM `quest_details` WHERE `ID`=631;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(631,5,1,6,0,0,0,0,0,0);
-- Quest "The Thandol Span (Part 2)"
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=632;
UPDATE `quest_offer_reward` SET `Emote1`=18 WHERE `ID`=632;
-- Quest "The Thandol Span (Part 3)"
DELETE FROM `quest_details` WHERE `ID`=633;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(633,5,1,5,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=633;
UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=633;
-- Quest "Plea To The Alliance"
DELETE FROM `quest_details` WHERE `ID`=634;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(634,1,0,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=634;
*/

View File

@@ -1,17 +0,0 @@
/*
-- Inspector Tarem
DELETE FROM `gossip_menu` WHERE `MenuID`=8761 AND `TextID`=11127;
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(8761,11127,0);
DELETE FROM `npc_text` WHERE `ID`=11127;
INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`, `Probability0`) VALUES
(11127,"What are you doing here? Do you wish to defile the ashes of this slain family further? Leave this place. You are not welcome.","",22040,0,1);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=8761;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(14,8761,11127,0,0,6,0,67,0,0,0,0,0,"","Show text 11127 if Player is Horde"),
(14,8761,11126,0,0,6,0,469,0,0,0,0,0,"","Show text 11126 if Player is Alliance");
UPDATE `smart_scripts` SET `target_type`=1, `target_param1`=0, `target_param2`=0 WHERE `entryorguid`=23567 AND `source_type`=0 AND `id`=2;
*/

View File

@@ -1,18 +0,0 @@
/*
-- Captain Nials
UPDATE `creature_template` SET `npcflag`=2, `gossip_menu_id`=0 WHERE `entry`=2700;
UPDATE `smart_scripts` SET `action_param1`=2 WHERE `entryorguid`=270000 AND `source_type`=9 AND `id` IN (0,9);
-- Skuerto
UPDATE `creature_template` SET `npcflag`=2, `gossip_menu_id`=0 WHERE `entry`=2789;
-- Apprentice Kryten
-- DELETE FROM `gossip_menu` WHERE `MenuID`=2601 AND `TextID`=3294;
-- Navigator Mehran
UPDATE `npc_text` SET `em0_0`=0, `em0_1`=274 WHERE `ID`=12209;
-- Restless Apparition
UPDATE `creature_template` SET `npcflag`=0 WHERE `entry`=23861;
*/

View File

@@ -1,18 +0,0 @@
/*
DELETE FROM `smart_scripts` WHERE `entryorguid`=7665 AND `source_type`=0 AND `id`=2;
DELETE FROM `smart_scripts` WHERE `entryorguid`=7666 AND `source_type`=0 AND `id`=6;
DELETE FROM `smart_scripts` WHERE `entryorguid`=7667 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
(7665, 0, 2, 0, 8, 0, 100, 0, 12938, 0, 0, 0, 0, 11, 12941, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grol the Destroyer - On Spellhit Fel Curse - Cast Fel Curse Effect'),
(7666, 0, 6, 0, 8, 0, 100, 0, 12938, 0, 0, 0, 0, 11, 12942, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Archmage Allistarj - On Spellhit Fel Curse - Cast Fel Curse Effect'),
(7667, 0, 5, 0, 8, 0, 100, 0, 12938, 0, 0, 0, 0, 11, 12943, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lady Sevine - On Spellhit Fel Curse - Cast Fel Curse Effect');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=12938;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 12938, 0, 0, 31, 0, 3, 7665, 0, 0, 0, 0, '', 'Fel Curse Targets Grol the Destroyer'),
(13, 1, 12938, 0, 1, 31, 0, 3, 7666, 0, 0, 0, 0, '', 'Fel Curse Targets Archmage Allistarj'),
(13, 1, 12938, 0, 2, 31, 0, 3, 7667, 0, 0, 0, 0, '', 'Fel Curse Targets Lady Sevine'),
(13, 1, 12938, 0, 3, 31, 0, 3, 7664, 0, 0, 0, 0, '', 'Fel Curse Targets Razelikh the Defiler'),
(13, 1, 12938, 0, 4, 31, 0, 3, 7668, 0, 0, 0, 0, '', 'Fel Curse Targets Servent of Razelikh');
*/

View File

@@ -1,4 +0,0 @@
--
UPDATE `smart_scripts` SET `action_type`=134 WHERE `action_type` IN (85) AND `target_type` =1;
UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid` IN (27202) AND `source_type`=0 AND `id` IN (4,10);
UPDATE `smart_scripts` SET `action_param2`=2 WHERE `entryorguid` IN (27202) AND `source_type`=0 AND `id` IN (7);

View File

@@ -1,5 +0,0 @@
--
UPDATE `smart_scripts` SET `target_type`=7 WHERE `entryorguid` IN (25416, 25418) AND `source_type`=0 AND `id` IN (4);
UPDATE `smart_scripts` SET `target_type`=7 WHERE `entryorguid` IN (20749) AND `source_type`=0 AND `id` IN (1);
UPDATE `smart_scripts` SET `target_type`=7 WHERE `entryorguid` IN (27229) AND `source_type`=0 AND `id` IN (0);
UPDATE `smart_scripts` SET `target_type`=7 WHERE `entryorguid` IN (18955) AND `source_type`=0 AND `id` IN (1);

View File

@@ -1,2 +0,0 @@
--
UPDATE `smart_scripts` SET `target_type`=23, target_param1=0 WHERE `entryorguid` IN (27899, 32331, 28665, 27959) AND `source_type`=0 AND `action_type` IN (1);

View File

@@ -1,2 +0,0 @@
--
UPDATE `smart_scripts` SET `target_type`=24 WHERE `entryorguid` IN (25416,25418) AND `source_type`=0 AND `id` IN (4);

View File

@@ -1,7 +0,0 @@
/*
-- Apprentice Kryten
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=2601;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(14,2601,3294,0,0,8,0,690,0,0,0,0,0,"","Show gossip text 3294 if quest 'Malin's Request' is rewarded"),
(14,2601,3294,0,0,14,0,691,0,0,0,0,0,"","Show gossip text 3294 if quest 'Worth Its Weight in Gold' is not taken");
*/

View File

@@ -1,12 +0,0 @@
/*
--
DELETE FROM `quest_template_addon` WHERE `ID`=1268;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`) VALUES
(1268,0,0,0,0,1276,-1323,0,0,0,0,0,0,0,0,0,0); -- Quest "Suspicious Hoofprints"
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-1323, `NextQuestID`=1276 WHERE `ID` IN (1323,1273); -- Quests "The Black Shield (Part 4)" / "Questioning Reethe"
UPDATE `quest_template_addon` SET `PrevQuestID`=0 WHERE `ID`=1276; -- Quest "The Black Shield (Part 5)"
UPDATE `quest_template_addon` SET `PrevQuestID`=1276 WHERE `ID`=11204; -- Quest "Return to Krog"
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-11201, `NextQuestID`=11203 WHERE `ID` IN (11201,11200); -- Quests "The Grimtotem Plot" / "More than Coincidence"
UPDATE `quest_template_addon` SET `PrevQuestID`=0 WHERE `ID`=11203; -- Quest "Seek Out Tabetha"
*/

View File

@@ -1,19 +0,0 @@
/*
-- Smiling Jim
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4895;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4895 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=489500 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
(4895,0,0,0,1,0,100,0,45000,60000,150000,180000,80,489500,0,0,0,0,0,1,0,0,0,0,0,0,0,"Smiling Jim - Out of Combat - Run Script"),
(489500,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,"Smiling Jim - On Script - Say Line 0"),
(489500,9,1,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Smiling Jim - On Script - Say Line 1"),
(489500,9,2,0,0,0,100,0,5000,5000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Smiling Jim - On Script - Say Line 2"),
(489500,9,3,0,0,0,100,0,5000,5000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Smiling Jim - On Script - Say Line 3");
DELETE FROM `creature_text` WHERE `CreatureID`=4895;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(4895,0,0,"He'll bring you mead, he'll bring you beer...",12,7,100,0,0,0,1632,0,"Smiling Jim"),
(4895,1,0,"A grinning face from ear to ear...",12,7,100,0,0,0,1633,0,"Smiling Jim"),
(4895,2,0,"He's served us all from year to year...",12,7,100,0,0,0,1634,0,"Smiling Jim"),
(4895,3,0,"We call him Smiling Jim...",12,7,100,11,0,0,1635,0,"Smiling Jim");
*/

View File

@@ -1,37 +0,0 @@
/*
-- Calia Hastings
UPDATE `creature_template` SET `npcflag`=2, `gossip_menu_id`=0 WHERE `entry`=23566; -- She didn't have a gossip text in WotLK. Current text was added in Cata when she became a rogue trainer.
DELETE FROM `creature_text` WHERE `CreatureID`=23566;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(23566,0,0,"It would be a shame to let these leaflets go to waste, wouldn't it?",12,7,100,0,0,0,22105,0,"Calia Hastings"),
(23566,1,0,"With just a little creative editing, these are much more useful...",12,7,100,0,0,0,22107,0,"Calia Hastings");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=23566;
DELETE FROM `smart_scripts` WHERE `entryorguid`=23566 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (2356600,2356601,2356602) 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
(23566,0,0,0,20,0,100,0,11128,0,0,0,80,2356600,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Quest 'Propaganda War' Finished - Run Script"),
(23566,0,1,0,40,0,100,0,3,23566,0,0,80,2356601,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Waypoint 3 Reached - Run Script"),
(23566,0,2,0,40,0,100,0,7,23566,0,0,80,2356602,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Waypoint 7 Reached - Run Script"),
(2356600,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Script - Remove Npc Flag Questgiver"),
(2356600,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,"Calia Hastings - On Script - Say Line 0"),
(2356600,9,2,0,0,0,100,0,5000,5000,0,0,53,0,23566,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Script - Start Waypoint"),
(2356601,9,0,0,0,0,100,0,0,0,0,0,54,8000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Script - Pause Waypoint"),
(2356601,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.27885,"Calia Hastings - On Script - Set Orientation"),
(2356601,9,2,0,0,0,100,0,1000,1000,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Script - Set Emote State 69"),
(2356601,9,3,0,0,0,100,0,6000,6000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Script - Set Emote State 0"),
(2356602,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,2.40855,"Calia Hastings - On Script - Set Orientation"),
(2356602,9,1,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Script - Say Line 1"),
(2356602,9,2,0,0,0,100,0,3000,3000,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Calia Hastings - On Script - Add Npc Flag Questgiver");
DELETE FROM `waypoints` WHERE `entry`=23566;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(23566,1,-3818.89,-4564.21,8.92453,""),
(23566,2,-3817,-4566.21,8.84672,""),
(23566,3,-3816.71,-4564.26,8.97426,""),
(23566,4,-3817,-4566.21,8.84672,""),
(23566,5,-3818.89,-4564.21,8.92453,""),
(23566,6,-3817.87,-4561.44,9.11807,""),
(23566,7,-3819.74,-4562.35,9.14216,"");
*/

View File

@@ -1,58 +0,0 @@
/*
-- World Invisible Trigger
SET @GUID1 := 3828;
SET @GUID2 := 37624;
SET @GUID3 := 38824;
DELETE FROM `creature` WHERE `guid` IN (@GUID1,@GUID2,@GUID3);
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
(@GUID1,12999,1,0,0,1,1,0,0,-3759.97,-4557.44,9.0761,5.34286,300,0,0,7212,0,0,0,0,0,"",0),
(@GUID2,12999,1,0,0,1,1,0,0,-3758.24,-4556.73,11.3539,2.10228,300,0,0,7212,0,0,0,0,0,"",0),
(@GUID3,12999,1,0,0,1,1,0,0,-3758.42,-4551.63,10.8395,2.1337,300,0,0,7212,0,0,0,0,0,"",0);
-- Guard Lasiter
UPDATE `creature` SET `MovementType`=0 WHERE `guid`=30458;
UPDATE `creature_addon` SET `path_id`=0, `bytes2`=2 WHERE `guid`=30458;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4973;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4973 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (497300,497301,497302,497303) 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
(4973,0,0,0,25,0,100,0,0,0,0,0,0,53,0,4973,1,0,0,2,1,0,0,0,0,0,0,0,"Guard Lasiter - On Reset - Start Waypoint"),
(4973,0,1,0,40,0,100,0,1,4973,0,0,0,80,497300,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Waypoint 1 Reached - Run Script"),
(4973,0,2,0,40,0,100,0,2,4973,0,0,0,80,497301,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Waypoint 2 Reached - Run Script"),
(4973,0,3,0,40,0,100,0,3,4973,0,0,0,80,497302,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Waypoint 3 Reached - Run Script"),
(4973,0,4,0,40,0,100,0,4,4973,0,0,0,80,497303,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Waypoint 4 Reached - Run Script"),
(4973,0,5,0,0,0,100,0,0,0,2000,4000,0,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Guard Lasiter - In Combat - Cast Shoot"),
(4973,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,"Guard Lasiter - Between 0-15% Health - Flee For Assist (No Repeat)"),
(497300,9,0,0,0,0,100,0,0,0,0,0,0,54,18000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Pause Waypoint"),
(497300,9,1,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.36274,"Guard Lasiter - On Script - Set Orientation"),
(497300,9,2,0,0,0,100,0,2000,2000,0,0,0,11,45425,0,0,0,0,0,10,@GUID1,0,0,0,0,0,0,"Guard Lasiter - On Script - Cast 'Shoot'"),
(497300,9,3,0,0,0,100,0,6000,6000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Say Line 0"),
(497301,9,0,0,0,0,100,0,0,0,0,0,0,54,18000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Pause Waypoint"),
(497301,9,1,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.36274,"Guard Lasiter - On Script - Set Orientation"),
(497301,9,2,0,0,0,100,0,2000,2000,0,0,0,11,45425,0,0,0,0,0,10,@GUID2,0,0,0,0,0,0,"Guard Lasiter - On Script - Cast 'Shoot'"),
(497301,9,3,0,0,0,100,0,6000,6000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Say Line 1"),
(497302,9,0,0,0,0,100,0,0,0,0,0,0,54,18000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Pause Waypoint"),
(497302,9,1,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.36274,"Guard Lasiter - On Script - Set Orientation"),
(497302,9,2,0,0,0,100,0,2000,2000,0,0,0,11,45425,0,0,0,0,0,10,@GUID3,0,0,0,0,0,0,"Guard Lasiter - On Script - Cast 'Shoot'"),
(497302,9,3,0,0,0,100,0,6000,6000,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Say Line 2"),
(497303,9,0,0,0,0,100,0,0,0,0,0,0,54,18000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Pause Waypoint"),
(497303,9,1,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.36274,"Guard Lasiter - On Script - Set Orientation"),
(497303,9,2,0,0,0,100,0,2000,2000,0,0,0,11,45425,0,0,0,0,0,10,30524,0,0,0,0,0,0,"Guard Lasiter - On Script - Cast 'Shoot'"),
(497303,9,3,0,0,0,100,0,6000,6000,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Guard Lasiter - On Script - Say Line 3");
DELETE FROM `creature_text` WHERE `CreatureID`=4973;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(4973,0,0,"Oops! That was a bit off. I didn't even hit the target!",12,7,100,0,0,0,1792,0,"Guard Lasiter"),
(4973,1,0,"That was a nice shot... but not perfect. Maybe a bit more to the left.",12,7,100,0,0,0,1789,0,"Guard Lasiter"),
(4973,2,0,"Barely hit the target that time. Hmmm,... maybe I need to adjust back to the right.",12,7,100,0,0,0,1790,0,"Guard Lasiter"),
(4973,3,0,"Whoa! Look at that bullseye!",12,7,100,0,0,0,1791,0,"Guard Lasiter");
DELETE FROM `waypoint_data` WHERE `id`=304580;
DELETE FROM `waypoints` WHERE `entry`=4973;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(4973,1,-3775.88,-4535.66,11.7979,""),
(4973,2,-3772.62,-4533.36,11.5873,""),
(4973,3,-3770.08,-4531.74,11.5426,""),
(4973,4,-3772.62,-4533.36,11.5873,"");
*/

View File

@@ -1,28 +0,0 @@
/*
-- Evidence Marker --> Add missing spawns
SET @GUID1 := 38851;
SET @GUID2 := 42847;
SET @GUID3 := 42850;
DELETE FROM `creature` WHERE `guid` IN (@GUID1,@GUID2,@GUID3);
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
(@GUID1,23583,1,0,0,1,1,0,0,-3700.58,-2534.09,68.7248,3.05433,300,0,0,41,0,0,0,0,0,"",0),
(@GUID2,23583,1,0,0,1,1,0,0,-3721.85,-2541.17,69.7589,3.05433,300,0,0,41,0,0,0,0,0,"",0),
(@GUID3,23583,1,0,0,1,1,0,0,-3734.45,-2530.79,73.2862,3.30957,300,0,0,41,0,0,0,0,0,"",0);
DELETE FROM `creature_template_movement` WHERE `CreatureId`=23567;
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`) VALUES
(23567,1,1,2,0);
-- Fix "Reflective Dust"
UPDATE `creature_template_addon` SET `auras`="42171 42175" WHERE `entry`=23583;
-- Fix rotation for some objects
UPDATE `gameobject` SET `rotation0`=0.556657, `rotation1`=-0.434788, `rotation2`=0.43101, `rotation3`=0.561536 WHERE `guid`=6376; -- Theramore Guard Badge
UPDATE `gameobject` SET `rotation0`=-0.105384, `rotation1`=0.677422, `rotation2`=0.042204, `rotation3`=0.726783 WHERE `guid`=6821; -- Black Shield
-- Add condition for Inspector Tarem's gossip option
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=8761;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15,8761,0,0,0,8,0,11123,0,0,0,0,0,"","Show gossip option if quest 'Inspecting the Ruins' is rewarded"),
(15,8761,0,0,1,8,0,11124,0,0,0,0,0,"","Show gossip option if quest 'Inspecting the Ruins' is rewarded");
*/

View File

@@ -1,7 +0,0 @@
/*
--
UPDATE `gameobject` SET `rotation2`=0.944089, `rotation3`=-0.329691 WHERE `guid`=42874;
DELETE FROM `gameobject` WHERE `guid`=42873;
DELETE FROM `gameobject_addon` WHERE `guid`=42873;
*/

View File

@@ -1,14 +0,0 @@
/*
-- Acolyte Dellis
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=5386;
DELETE FROM `smart_scripts` WHERE `entryorguid`=5386 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(5386,0,0,0,1,0,100,0,1000,15000,100000,150000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Acolyte Dellis - Out of Combat - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=5386;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(5386,0,0,"It wasn't my fault, Master Mazen!",12,7,100,0,0,0,1828,0,"Acolyte Dellis"),
(5386,0,1,"It was a simple mistake. A wrong turn I tell you!",12,7,100,0,0,0,1829,0,"Acolyte Dellis"),
(5386,0,2,"The swamp was horrible! I was so... so... scared!",12,7,100,0,0,0,1830,0,"Acolyte Dellis"),
(5386,0,3,"I'm lucky to be alive!",12,7,100,0,0,0,1831,0,"Acolyte Dellis");
*/

View File

@@ -1,75 +0,0 @@
/*
-- Texts
DELETE FROM `creature_text` WHERE `CreatureID` IN (4962,4971,4963);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(4962,0,0,"Oh, it's on now! Bet you thought I'd be alone too, huh?!",12,7,100,0,0,0,5827,0,"Tapoke \"Slim\" Jahn"),
(4962,1,0,"Okay, okay! No need to get all violent. I'll talk. I'll talk!",12,7,100,0,0,0,1743,0,"Tapoke \"Slim\" Jahn"),
(4962,2,0,"I have a few notes from the job back at my place. I'll get them and then meet you back in the inn.",12,7,100,0,0,0,1744,0,"Tapoke \"Slim\" Jahn"),
(4971,0,0,"Whoa! This is way more than what I bargained for, you're on your own, Slim!",12,7,100,0,0,0,5828,0,"Slim's Friend"),
(4963,0,0,"I'm glad the commotions died down some around here. The last thing this place needs is another brawl.",12,7,100,0,0,0,4169,0,"Mikhail");
-- Waypoint
DELETE FROM `script_waypoint` WHERE `entry`=4962;
DELETE FROM `waypoints` WHERE `entry`=4962;
INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES
(4962,1,-3804.44,-828.048,10.0931,""),
(4962,2,-3803.93,-835.772,10.0777,""),
(4962,3,-3792.63,-835.671,9.65566,""),
(4962,4,-3772.43,-835.346,10.869,""),
(4962,5,-3765.94,-840.129,10.8856,""),
(4962,6,-3738.63,-830.997,11.0574,""),
(4962,7,-3690.22,-862.262,9.96045,"");
-- Mikhail
UPDATE `creature_template` SET `AIName`="SmartAI", `ScriptName`="" WHERE `entry`=4963;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4963 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=496300 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
(4963,0,0,0,11,0,100,0,0,0,0,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mikhail - On Respawn - Set Npc Flag Questgiver"),
(4963,0,1,0,19,0,100,0,1249,0,0,0,0,81,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mikhail - On Quest 'The Missing Diplomat (Part 11)' Taken - Set Npc Flag Gossip"),
(4963,0,2,0,19,0,100,0,1249,0,0,0,0,45,1,1,0,0,0,0,10,10873,0,0,0,0,0,0,"Mikhail - On Quest 'The Missing Diplomat (Part 11)' Taken - Set Data to Tapoke \"Slim\" Jahn"),
(4963,0,3,0,19,0,100,0,1249,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Mikhail - On Quest 'The Missing Diplomat (Part 11)' Taken - Store Target"),
(4963,0,4,0,19,0,100,0,1249,0,0,0,0,100,1,0,0,0,0,0,10,10873,0,0,0,0,0,0,"Mikhail - On Quest 'The Missing Diplomat (Part 11)' Taken - Send Target to Tapoke \"Slim\" Jahn"),
(4963,0,5,0,38,0,100,0,1,1,0,0,0,80,496300,2,0,0,0,0,1,0,0,0,0,0,0,0,"Mikhail - On Data Set - Run Script"),
(496300,9,0,0,0,0,100,0,10000,10000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mikhail - On Script - Say Line 0"),
(496300,9,1,0,0,0,100,0,0,0,0,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mikhail - On Script - Set Npc Flag Questgiver");
-- Tapoke "Slim" Jahn
UPDATE `creature` SET `spawntimesecs`=10 WHERE `guid`=10873;
UPDATE `creature_template` SET `AIName`="SmartAI", `ScriptName`="" WHERE `entry`=4962;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4962 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=496200 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
(4962,0,0,0,38,0,100,1,1,1,0,0,0,11,1785,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Data Set - Cast 'Stealth'"),
(4962,0,1,0,38,0,100,1,1,1,0,0,0,53,0,4962,0,0,0,2,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Data Set - Start Waypoint"),
(4962,0,2,0,38,0,100,1,1,1,0,0,0,42,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Data Set - Set Invincibility at 1 HP"),
(4962,0,3,0,40,0,100,0,3,4962,0,0,0,28,1785,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Waypoint 3 Reached - Remove Aura 'Stealth'"),
(4962,0,4,0,40,0,100,0,3,4962,0,0,0,2,168,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Waypoint 3 Reached - Set Faction 168"),
(4962,0,5,0,40,0,100,0,7,4962,0,0,0,6,1249,0,0,0,0,0,12,1,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Waypoint 7 Reached - Fail Quest 'The Missing Diplomat (Part 11)'"),
(4962,0,6,0,40,0,100,0,7,4962,0,0,0,45,1,1,0,0,0,0,10,9432,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Waypoint 7 Reached - Set Data to Mikhail"),
(4962,0,7,0,40,0,100,0,7,4962,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Waypoint 7 Reached - Despawn"),
(4962,0,8,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,"Tapoke \"Slim\" Jahn - On Aggro - Say Line 0"),
(4962,0,9,0,4,0,100,0,0,0,0,0,0,11,16457,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Aggro - Cast 'Call Friends'"),
(4962,0,10,0,2,0,100,1,0,20,0,0,0,80,496200,2,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - Between 0-20% Health - Run Script"),
(496200,9,0,0,0,0,100,0,0,0,0,0,0,45,1,1,0,0,0,0,19,4971,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Set Data to Slim's Friend"),
(496200,9,1,0,0,0,100,0,0,0,0,0,0,2,123,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Set Faction 123"),
(496200,9,2,0,0,0,100,0,0,0,0,0,0,27,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Stop Combat"),
(496200,9,3,0,0,0,100,0,5000,5000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Say Line 1"),
(496200,9,4,0,0,0,100,0,5000,5000,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Say Line 2"),
(496200,9,5,0,0,0,100,0,6000,6000,0,0,0,15,1249,0,0,0,0,0,12,1,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Complete Quest 'The Missing Diplomat (Part 11)'"),
(496200,9,6,0,0,0,100,0,1000,1000,0,0,0,45,1,1,0,0,0,0,10,9432,0,0,0,0,0,0,"Tapoke \"Slim\" Jahn - On Script - Set Data to Mikhail"),
(496200,9,7,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,"Tapoke \"Slim\" Jahn - On Script - Despawn");
-- Slim's Friend
DELETE FROM `smart_scripts` WHERE `entryorguid`=4971 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=497100 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
(4971,0,0,0,25,0,100,0,0,0,0,0,0,11,3616,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slim's Friend - On Reset - Cast 'Poison Proc'"),
(4971,0,1,0,25,0,100,0,0,0,0,0,0,11,8601,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slim's Friend - On Reset - Cast 'Slowing Poison'"),
(4971,0,2,0,67,0,100,0,3000,6000,0,0,0,11,2589,0,0,0,0,0,2,0,0,0,0,0,0,0,"Slim's Friend - On Behind Target - Cast Backstab"),
(4971,0,3,0,38,0,100,1,1,1,0,0,0,80,497100,2,0,0,0,0,1,0,0,0,0,0,0,0,"Slim's Friend - On Data Set - Run Script"),
(497100,9,0,0,0,0,100,0,0,0,0,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slim's Friend - On Script - Evade"),
(497100,9,1,0,0,0,100,0,0,0,0,0,0,2,123,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slim's Friend - On Script - Set Faction 123"),
(497100,9,2,0,0,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slim's Friend - On Script - Say Line 0"),
(497100,9,3,0,0,0,100,0,6000,6000,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slim's Friend - On Script - Despawn");
*/

View File

@@ -1,5 +0,0 @@
/*
--
UPDATE `quest_template_addon` SET `NextQuestID`=1250 WHERE `ID`=1249;
UPDATE `quest_template_addon` SET `PrevQuestID`=1250 WHERE `ID`=1264;
*/

View File

@@ -1,32 +0,0 @@
/*
-- Renn McGill
UPDATE `creature_template` SET `unit_flags`=33536 WHERE `entry`=23569;
DELETE FROM `gossip_menu_option` WHERE `MenuID`=8837;
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(8837,0,0,"I don't have the Repaired Diving Gear anymore. Do you have a spare?",22482,1,1,0,0,0,0,"",0,0);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=8837;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15,8837,0,0,0,9,0,11140,0,0,0,0,0,"","Show gossip option if quest 'Recover the Cargo!' is taken"),
(15,8837,0,0,0,2,0,33040,1,1,1,0,0,"","Show gossip option if player does not have item 'Repaired Diving Gear'");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=23569;
DELETE FROM `smart_scripts` WHERE `entryorguid`=23569 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2356900 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
(23569,0,0,1,62,0,100,0,8837,0,0,0,85,42670,0,0,0,0,0,7,0,0,0,0,0,0,0,"Renn McGill - On Gossip Option 0 Selected - Invoker Cast 'Replace Repaired Diving Gear'"),
(23569,0,1,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Renn McGill - On Gossip Option 0 Selected - Close Gossip"),
(23569,0,2,0,20,0,100,0,11140,0,0,0,80,2356900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Renn McGill - On Quest 'Recover the Cargo!' Finished - Run Script"),
(2356900,9,0,0,0,0,100,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Renn McGill - On Script - Remove Npc Flag Questgiver+Gossip"),
(2356900,9,1,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Renn McGill - On Script - Say Line 0"),
(2356900,9,2,0,0,0,100,0,4000,4000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Renn McGill - On Script - Say Line 1"),
(2356900,9,3,0,0,0,100,0,5000,5000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Renn McGill - On Script - Say Line 2"),
(2356900,9,4,0,0,0,100,0,6000,6000,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Renn McGill - On Script - Add Npc Flag Questgiver+Gossip");
DELETE FROM `creature_text` WHERE `CreatureID`=23569;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(23569,0,0,"Hmm... old coins... ugly jewelry...",12,7,100,0,0,0,22160,0,"Renn McGill"),
(23569,1,0,"More ugly jewelry... letters home... I'm beginning to give up hope!",12,7,100,0,0,0,22161,0,"Renn McGill"),
(23569,2,0,"Hey... what's this? A pair of manacles and not just any. These are enchanted. This cargo, it wasn't a thing... it was a person!",12,7,100,0,0,0,22162,0,"Renn McGill");
*/

View File

@@ -1,20 +0,0 @@
/*
-- Shipwreck Debris
UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=186283;
DELETE FROM `smart_scripts` WHERE `entryorguid`=186283 AND `source_type`=1;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (18628300,18628301) 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
(186283,1,0,0,8,0,100,0,42287,0,0,0,0,41,0,120,0,0,0,0,1,0,0,0,0,0,0,0,"Shipwreck Debris - On Spellhit 'Salvage Wreckage' - Despawn"),
(186283,1,1,0,8,0,100,0,42287,0,0,0,0,41,0,120,0,0,0,0,20,186278,0,0,0,0,0,0,"Shipwreck Debris - On Spellhit 'Salvage Wreckage' - Despawn Closest Gameobject 'Burning Wreckage'"),
(186283,1,2,0,8,0,100,0,42287,0,0,0,0,87,18628300,18628301,0,0,0,0,1,0,0,0,0,0,0,0,"Shipwreck Debris - On Spellhit 'Salvage Wreckage' - Run Random Script"),
(18628300,9,0,0,0,0,100,0,0,0,0,0,0,85,42289,0,0,0,0,0,7,0,0,0,0,0,0,0,"Shipwreck Debris - On Script - Invoker Cast 'Summon Mirefin Burrower'"),
(18628301,9,0,0,0,0,100,0,0,0,0,0,0,85,42288,0,0,0,0,0,7,0,0,0,0,0,0,0,"Shipwreck Debris - On Script - Invoker Cast 'Summon Salvaged Lockbox'");
DELETE FROM `spell_scripts` WHERE `id`=42287;
-- Mirefin Ambusher
UPDATE `creature_template` SET `unit_flags`=32768, `AIName`="SmartAI" WHERE `entry`=23701;
DELETE FROM `smart_scripts` WHERE `entryorguid`=23701 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
(23701,0,0,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,"Mirefin Ambusher - Between 0-15% Health - Flee For Assist (No Repeat)");
*/

View File

@@ -1,7 +0,0 @@
/*
-- Apprentice Kryten
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2788;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2788 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2788,0,0,0,20,0,100,0,694,0,0,0,11,4319,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Kryten - On Quest 'Trelane's Defenses' Finished - Cast 'Enchant Azure Agate'");
*/

View File

@@ -1,2 +0,0 @@
--
UPDATE `smart_scripts` SET `target_param1`=191124 WHERE `entryorguid`=2902800 AND `source_type`=9 AND `id`=3;

View File

@@ -0,0 +1,3 @@
UPDATE `version` SET `db_version`='TDB 434.33', `cache_id`=33 LIMIT 1;
UPDATE `updates` SET `state`='ARCHIVED';