DB updates

Port From (https://github.com/TrinityCore/TrinityCore)
This commit is contained in:
hondacrx
2021-02-18 13:04:22 -05:00
parent 91c0fd1924
commit dc07f495ec
16 changed files with 690 additions and 0 deletions
@@ -0,0 +1,20 @@
DELETE FROM `quest_greeting` WHERE `ID` IN (3390,3339,3995,4049,264,/*3519,392,900,2080,3337,3567,4791,5767,344,*/3847,11862);
INSERT INTO `quest_greeting` (`ID`, `Type`, `GreetEmoteType`, `GreetEmoteDelay`, `Greeting`, `VerifiedBuild`) VALUES
(3390,0,0,0,"The Barrens holds a variety of substances for which we, the apothecaries of Lordaeron may find use.",0), -- Apothecary Helbrim
-- (344,0,5,0,"Redridge is awash in chaos!",0), -- Magistrate Solomon
(3339,0,0,0,"This had better be good...",0), -- Captain Thalo'thas Brightsun
(3995,0,5,0,"The spirits are restless!",0), -- Witch Doctor Jin'Zil
(4049,0,0,0,"The spirit of Stonetalon weeps... It weeps from its mountain peaks, to its rivers, to its severed, dying trees.",0), -- Seereth Stonebreak
(264,0,0,0,"At ease, $c. If you are just passing though I suggest you stick to the roads and only travel by day. If your business is here in Darkshire, consider lending your abilities to the Night Watch. Our Skill is unquestionable but our numbers are small.",0), -- Commander Althea Ebonlocke
-- (3519,0,0,0,"I, Arynia Cloudsbreak, have been tasked with protecting the sanctity of the Oracle Grove.",0), -- Sentinel Arynia Cloudsbreak
-- (392,0,0,0,"Do not be alarmed, $r. I have long since passed from this land but I intend no harm to your kind. I have witnessed too much death in my time. My only wish now is for peace. Perhaps you can help my cause.",0), -- Captain Grayson
-- (900,0,6,0,"What business brings you before the Court of Lakeshire and the Honorable Magistrate Solomon?",0), -- Bailiff Conacher
-- (2080,0,1,0,"The creation of Teldrassil was a grand achievement, but now the world must shift to regain its balance.",0), -- Denalan
-- (3337,0,0,0,"The heft of an axe, the battlecry of your allies, the spray of blood in your face. These are the things a warrior craves, $n. I will carve out The Barrens with my sword in the name of the Horde.",0), -- Kargal Battlescar
-- (3567,0,1,0,"Well met, $n. It is good to see that $cs like yourself are taking an active part in protecting the groves.",0), -- Tallonkai Swiftroot
-- (4791,0,1,0,"We may not be in open war with the Alliance, but blood is still shed between us.",0), -- Nazeer Bloodpike
-- (5767,0,1,0,"Our only hope is to create something good from an already bad situation.",0), -- Nalpak
(3847,0,0,0,"Ashenvale is a lush forest, brimming with life. It is a pleasure to walk down its secret paths in search of herbs, but one must take care. The forest is not without its dangers.",0), -- Orendil Broadleaf
(11862,0,0,0,"",0); -- Tsunaman
UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=234;
@@ -0,0 +1,2 @@
--
DELETE FROM `gameobject_addon` WHERE `guid`=99909;
@@ -0,0 +1,68 @@
--
-- duplicates removed
DELETE FROM `creature` WHERE `guid` IN (129439, 129433, 129438, 128479, 129826, 130415,128477,130416,128478,128476,129823, 130272, 130274, 130276,130252);
DELETE FROM `creature_addon` WHERE `guid` IN (129439, 129433, 129438, 128479, 129826, 130415,128477,130416,128478,128476,129823, 130272, 130274, 130276,130252);
-- Scourge Gryphon
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` IN (128509, 128510, 128500, 128501);
-- Master Siegesmith Corvus
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` = 128577;
-- Enslaved Laborer
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` = 128579;
-- Mindless Laborer
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` = 128580;
-- Risen Drudge
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` = 128465;
-- Alchemist Karloff
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` = 128456;
-- Gangrenus
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` = 128458;
-- Fester
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` = 128459;
-- Corpulous
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` = 128457;
-- Instructor Razuvious
UPDATE `creature` SET `PhaseGroup` = 402 WHERE `guid` = 129307;
-- Acherus Necromancer
UPDATE `creature` SET `PhaseGroup` = 402 WHERE `guid` IN (129388, 129389, 129390, 129391);
-- Death Knight Initiate
UPDATE `creature` SET `PhaseGroup` = 402 WHERE `id` IN (28390, 28391, 28392, 28393, 28394);
-- Amal'thazad
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` = 128507;
-- Coldwraith
UPDATE `creature` SET `PhaseGroup` = 402 WHERE `guid` IN (128522, 128523, 128525, 128526);
-- Disciple of Frost
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` IN (128543, 128542, 128541, 128540, 128539, 128538, 128535, 128536, 128537);
-- Lord Thorval
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` = 128506;
-- Disciple of Blood
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` IN (128527, 128528, 128529, 128530, 128531, 128532, 128533, 128534);
-- Lady Alistra
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` = 128505;
-- Disciple of the Unholy
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` IN (128545, 128546, 128547, 128548, 128549, 128550, 128551, 128552, 128553);
-- Teleport - Hall -> Heart
UPDATE `creature` SET `phaseUseFlags`=1 WHERE `guid` = 128753;
-- Teleport - Heart -> Hall
UPDATE `creature` SET `phaseUseFlags`=1 WHERE `guid` = 128754;
-- Initiate's Training Dummy
UPDATE `creature` SET `PhaseGroup`=400 WHERE `guid` IN (130414,129825,129824,130417);
-- Scarlet Crusade Prisoner Argent Dawn Prisoner
UPDATE `creature` SET `PhaseGroup`=400 WHERE `id` IN (28386,28385);
-- Gameobjects
-- duplicates removed
DELETE FROM `gameobject` WHERE `guid` IN (66143,66119,66117,66255,66432,66118,66116,66254,66431,66145,66147,66316,66146,65973,66436,66441,66438,66439,66458,66442,66120,66448,66137,66437,66454,66452,66136,66449,66138,66139,66451,66457,66450,66444,66130,66447,66133,66129,66455,66127,66453,66124,66140,66141,66445,66446,66456, 65865, 65866, 65867, 65883, 65885, 65887, 65917, 66029, 66031, 66033, 66038, 66123, 66234, 66236, 66237, 66238, 66239, 66240, 66241, 66242, 66245, 66246, 66304, 66305, 66310, 66311, 66312, 66313, 66315, 66317, 66319, 66321, 66323, 66325, 66326, 66329, 66332, 66335, 66338, 66340, 66346, 66348, 66351, 66358, 66387, 66391, 66395, 66399, 66420, 66422, 66471, 66472, 66473, 66480, 66481, 66482, 66483, 66485, 66488, 66490, 66492, 66494, 66497, 66498, 66501, 66504, 66507, 66510, 66512, 66513, 66514, 66515, 66517, 66522, 66611);
DELETE FROM `gameobject_addon` WHERE `guid` IN (66143,66119,66117,66255,66432,66118,66116,66254,66431,66145,66147,66316,66146,65973,66436,66441,66438,66439,66458,66442,66120,66448,66137,66437,66454,66452,66136,66449,66138,66139,66451,66457,66450,66444,66130,66447,66133,66129,66455,66127,66453,66124,66140,66141,66445,66446,66456, 65865, 65866, 65867, 65883, 65885, 65887, 65917, 66029, 66031, 66033, 66038, 66123, 66234, 66236, 66237, 66238, 66239, 66240, 66241, 66242, 66245, 66246, 66304, 66305, 66310, 66311, 66312, 66313, 66315, 66317, 66319, 66321, 66323, 66325, 66326, 66329, 66332, 66335, 66338, 66340, 66346, 66348, 66351, 66358, 66387, 66391, 66395, 66399, 66420, 66422, 66471, 66472, 66473, 66480, 66481, 66482, 66483, 66485, 66488, 66490, 66492, 66494, 66497, 66498, 66501, 66504, 66507, 66510, 66512, 66513, 66514, 66515, 66517, 66522, 66611);
-- Phase: 1+2
-- UPDATE `gameobject` SET `phaseMask` = 3 WHERE `guid` IN (65985,66004,65990,66017,65995,65982,65991,66007,66036,65994,66034,65992,65988,65974,65993,65976,65978,65977,65975,66022,66013,66030,66019,66014,65996,66000,65999,66003,66009,65998,66001);
-- Phase: 1+4
UPDATE `gameobject` SET `PhaseGroup` = 381 WHERE `guid` = 66069;
-- Phase: 1+2+32
UPDATE `gameobject` SET `PhaseGroup` = 381 WHERE `guid` IN (/*66060,66066,66064,66068,66062,66070,66076,65912,66067,*/65932/*,65905*/,66065);
-- Phase: 4+64+128
UPDATE `gameobject` SET `PhaseGroup` = 378 WHERE `guid` IN (66290,66276,66285,66282,66277,66280,66288,66278,66271,66275,66286,66284,66272,66273,66287,66289,66279,66270,66281,66274,66283,66262,66263,66267,66264,66265,66268,/*66375,*/66376,/*66259,66261,66260,66354,66295,66296,66294,66298,66355,66297,66300,66299,66293,66302,66301,66307,66306,66345,66347,*/66357);
-- Phase: 1+4+32+64+128
UPDATE `gameobject` SET `phaseUseFlags`=1 WHERE `guid` IN (65902,65901);
-- Phase: 1+2+4+32+64+128
UPDATE `gameobject` SET `phaseUseFlags`=1 WHERE `guid` IN (66040,66024,65970,65968,65981,66005,65984,65987,65972,65979,65969,66037,65967,66002,66020,66343,66341,66342,66027,66519,66303,65919,66010,65918,66015);
-- UPDATE `gameobject` SET `phaseMask` = 192 WHERE `guid` IN (66620);
@@ -0,0 +1,38 @@
DELETE FROM `spell_script_names` WhERE `ScriptName` IN
('spell_midsummer_torch_target_picker',
'spell_midsummer_torch_toss_land',
'spell_midsummer_test_ribbon_pole_channel',
'spell_gen_ribbon_pole_dancer_check',
'spell_midsummer_ribbon_pole_periodic_visual');
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(45907,'spell_midsummer_torch_target_picker'),
(46054,'spell_midsummer_torch_toss_land'),
(29705,'spell_midsummer_test_ribbon_pole_channel'),
(29726,'spell_midsummer_test_ribbon_pole_channel'),
(29727,'spell_midsummer_test_ribbon_pole_channel'),
(45406,'spell_midsummer_ribbon_pole_periodic_visual');
-- UPDATE `spell_dbc` SET `Effect1`=3, `EffectImplicitTargetA1`=1 WHERE `Id`=58934;
DELETE FROM `spelleffect_dbc` WHERE `Id`=155919;
INSERT INTO `spelleffect_dbc` (`Id`, `Effect`, `EffectValueMultiplier`, `EffectApplyAuraName`, `EffectAmplitude`, `EffectBasePoints`, `EffectBonusMultiplier`, `EffectDamageMultiplier`, `EffectChainTarget`, `EffectDieSides`, `EffectItemType`, `EffectMechanic`, `EffectMiscValue`, `EffectMiscValueB`, `EffectRadiusIndex`, `EffectRadiusIndexMax`, `EffectRealPointsPerLevel`, `EffectSpellClassMaskA`, `EffectSpellClassMaskB`, `EffectSpellClassMaskC`, `EffectTriggerSpell`, `EffectImplicitTargetA`, `EffectImplicitTargetB`, `EffectSpellId`, `EffectIndex`) VALUES
(155919, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 58934, 0);
UPDATE `creature_template` SET `AIName`='' WHERE `entry`=25535;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=25535;
DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=29726;
DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=45723 AND `spell_effect`=43313;
DELETE FROM `disables` WHERE `sourceType`=0 AND `entry` IN(45724);
INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES
(0,45724,64,0,0,'Disable LoS for spell Braziers Hit');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (45907,46054,45732,29705,29727);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition` ,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(13,1,45907,0,0,31,0,3,25535,0,0,0,'','Spell \'Torch Target Picker\' targets [DNT] Torch Tossing Target Bunny'),
(13,1,45907,0,0,1,0,45723,0,0,1,0,'','Spell \'Torch Target Picker\' can not hit targets with Aura \'Target Indicator (Rank 1)\''),
(13,1,45732,0,0,1,0,45723,0,0,0,0,'','Spell \'Torch Toss\' can only hit targets with Aura \'Target Indicator\''),
(13,1,46054,0,0,1,0,45723,0,0,0,0,'','Spell \'Torch Toss\' can only hit targets with Aura \'Target Indicator\''),
(13,1,46054,0,0,31,0,3,25535,0,0,0,'','Spell \'Torch Target Picker\' targets [DNT] Torch Tossing Target Bunny'),
(13,1,45732,0,0,31,0,3,25535,0,0,0,'','Spell \'Torch Target Picker\' targets [DNT] Torch Tossing Target Bunny'),
(13,1,29705,0,0,31,0,3,17066,0,0,0,'','Spell \'Test Ribbon Pole Channel\' targets Ribbon Pole Debug Target'),
(13,1,29727,0,0,31,0,3,17066,0,0,0,'','Spell \'Test Ribbon Pole Channel\' targets Ribbon Pole Debug Target');
@@ -0,0 +1,2 @@
--
UPDATE `creature_addon` SET `auras`="17467", `mount`=0 WHERE `guid`=130895;
@@ -0,0 +1,51 @@
--
UPDATE `creature_template` SET `ScriptName` = '', `AIName` = 'SmartAI' WHERE `entry` IN (22095, 22307, 18588);
UPDATE `creature_template` SET `ScriptName` = '' WHERE `entry` = 19679;
UPDATE `gameobject_template` SET `ScriptName` = '', `AIName` = 'SmartGameObjectAI' WHERE `entry` = 185913;
DELETE FROM `gossip_menu` WHERE `MenuID` = 8021;
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(8021, 9895, 0),
(8021, 9896, 0);
-- UPDATE `gossip_menu_option` SET `ActionMenuID` = 7731 WHERE `MenuID` = 7732 AND `OptionID` = 0;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (22095, 22307, 18588)) OR (`source_type` = 1 AND `entryorguid` = 185913);
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
(22095, 0, 0, 0, 6, 0, 75, 0, 0, 0, 0, 0, 11, 39130, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Infested Root-Walker - On Just Died - Cast \'Summon Wood Mites\''),
(22095, 0, 1, 0, 0, 0, 100, 0, 15000, 20000, 32000, 38000, 11, 39000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Infested Root-Walker - In Combat - Cast \'Regrowth\' (No Repeat)'),
(22307, 0, 0, 0, 6, 0, 75, 0, 0, 0, 0, 0, 11, 39134, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Rotting Forest-Rager - On Just Died - Cast \'Summon Lots Of Wood Mites\''),
(22307, 0, 1, 0, 0, 0, 100, 0, 0, 5, 12000, 18000, 11, 15548, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Rotting Forest-Rager - In Combat - Cast \'Thunderclap\' (No Repeat)'),
(18588, 0, 0, 0, 0, 0, 100, 0, 2000, 2000, 30000, 30000, 11, 6726, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Floon - In Combat - Cast \'Silence\''),
(18588, 0, 1, 0, 0, 0, 100, 0, 4000, 4000, 5000, 5000, 11, 9672, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Floon - In Combat - Cast \'Frostbolt\''),
(18588, 0, 2, 0, 0, 0, 100, 0, 9000, 9000, 20000, 20000, 11, 11831, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Floon - In Combat - Cast \'Frost Nova\''),
(18588, 0, 3, 4, 62, 0, 100, 0, 7731, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Floon - On Gossip Option 0 Selected - Close Gossip'),
(18588, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 2, 1738, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Floon - On Gossip Option 0 Selected - Set Faction Arrakoa'),
(18588, 0, 5, 6, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Floon - On Gossip Option 0 Selected - Say Line 0'),
(18588, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Floon - On Gossip Option 0 Selected - Start Attacking'),
(18588, 0, 7, 0, 25, 0, 100, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Floon - On Reset - Set Default Faction'),
(185913, 1, 0, 4, 62, 0, 100, 0, 8660, 0, 0, 0, 85, 40632, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Skull Pile - On Gossip Option 0 Selected - Invoker Cast \'Summon Gezzarak the Huntress\''),
(185913, 1, 1, 4, 62, 0, 100, 0, 8660, 1, 0, 0, 85, 40642, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Skull Pile - On Gossip Option 1 Selected - Invoker Cast \'Summon Darkscreecher Akkarai\''),
(185913, 1, 2, 4, 62, 0, 100, 0, 8660, 2, 0, 0, 85, 40640, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Skull Pile - On Gossip Option 2 Selected - Invoker Cast \'Summon Karrog\''),
(185913, 1, 3, 4, 62, 0, 100, 0, 8660, 3, 0, 0, 85, 40644, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Skull Pile - On Gossip Option 3 Selected - Invoker Cast \'Summon Vakkiz the Windrager\''),
(185913, 1, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Skull Pile - On Gossip Option Selected - Close Gossip');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` IN (7732, 8660);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14, 15) AND `SourceGroup` = 8021;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceGroup` = 1 AND `SourceEntry` IN (22095, 22307) AND `SourceId` = 0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15, 8660, 0, 0, 0, 9, 0, 11885, 0, 0, 0, 0, 0, '', 'Show gossip menu 8660 option id 0 if quest Adversarial Blood has been taken.'),
(15, 8660, 1, 0, 0, 9, 0, 11885, 0, 0, 0, 0, 0, '', 'Show gossip menu 8660 option id 1 if quest Adversarial Blood has been taken.'),
(15, 8660, 2, 0, 0, 9, 0, 11885, 0, 0, 0, 0, 0, '', 'Show gossip menu 8660 option id 2 if quest Adversarial Blood has been taken.'),
(15, 8660, 3, 0, 0, 9, 0, 11885, 0, 0, 0, 0, 0, '', 'Show gossip menu 8660 option id 3 if quest Adversarial Blood has been taken.'),
(15, 8660, 0, 0, 1, 8, 0, 11885, 0, 0, 0, 0, 0, '', 'Show gossip menu 8660 option id 0 if quest Adversarial Blood has been rewarded.'),
(15, 8660, 1, 0, 1, 8, 0, 11885, 0, 0, 0, 0, 0, '', 'Show gossip menu 8660 option id 1 if quest Adversarial Blood has been rewarded.'),
(15, 8660, 2, 0, 1, 8, 0, 11885, 0, 0, 0, 0, 0, '', 'Show gossip menu 8660 option id 2 if quest Adversarial Blood has been rewarded.'),
(15, 8660, 3, 0, 1, 8, 0, 11885, 0, 0, 0, 0, 0, '', 'Show gossip menu 8660 option id 3 if quest Adversarial Blood has been rewarded.'),
(14, 8021, 9896, 0, 0, 5, 0, 933, 240, 0, 0, 0, 0, '', 'Show gossip menu 8021 text id 9896 if player is at least Friendly with The Consortium.'),
(14, 8021, 9895, 0, 0, 5, 0, 933, 240, 0, 1, 0, 0, '', 'Show gossip menu 8021 text id 9895 if player is not at least Friendly with The Consortium.'),
(15, 8021, 0, 0, 0, 5, 0, 933, 240, 0, 0, 0, 0, '', 'Show gossip menu 8021 option id 0 if player is at least Friendly with The Consortium.'),
(15, 7732, 0, 0, 0, 9, 0, 10009, 0, 0, 0, 0, 0, '', 'Show gossip menu 7732 option id 0 if quest Crackin\' Some Skulls has been taken.'),
(22, 1, 22095, 0, 0, 32, 0, 16, 0, 0, 0, 0, 0, '', ' Id 0 of Creature SAI for Infested Root-Walker will execute if invoker is player.'),
(22, 1, 22307, 0, 0, 32, 0, 16, 0, 0, 0, 0, 0, '', ' Id 0 of Creature SAI for Rotting Forest-Rager will execute if invoker is player.');
@@ -0,0 +1,252 @@
--
-- Quest "Blood Feeders"
DELETE FROM `quest_details` WHERE `ID`=6461;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6461,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=6461;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6461;
-- Quest "Jin'Zil's Forest Magic"
DELETE FROM `quest_details` WHERE `ID`=1058;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(1058,4,6,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=11, `EmoteOnComplete`=11 WHERE `ID`=1058;
-- Quest "Report to Kadrak"
DELETE FROM `quest_details` WHERE `ID`=6542;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6542,1,1,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=3 WHERE `ID`=6542;
-- Quest "Boulderslide Ravine"
DELETE FROM `quest_details` WHERE `ID`=6421;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6421,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6421;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6421;
-- Quest "Earthen Arise"
DELETE FROM `quest_details` WHERE `ID`=6481;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6481,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6481;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6481;
-- Quest "Cenarius' Legacy"
DELETE FROM `quest_details` WHERE `ID`=1087;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(1087,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1087;
-- Quest "Ordanus"
DELETE FROM `quest_details` WHERE `ID`=1088;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(1088,5,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1088;
-- Quest "The Den"
DELETE FROM `quest_details` WHERE `ID`=1089;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(1089,1,0,0,0,0,0,0,0,0);
-- Quest "Cycle of Rebirth"
DELETE FROM `quest_details` WHERE `ID`=6301;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6301,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6301;
-- Quest "New Life"
DELETE FROM `quest_details` WHERE `ID`=6381;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6381,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6381;
-- Quest "Harpies Threaten"
DELETE FROM `quest_details` WHERE `ID`=6282;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6282,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6282;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6282;
-- Quest "Bloodfury Bloodline"
DELETE FROM `quest_details` WHERE `ID`=6283;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6283,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6283;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6283;
-- Quest "Calling in the Reserves"
DELETE FROM `quest_details` WHERE `ID`=5881;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(5881,1,0,0,0,0,0,0,0,0);
-- Quest "Arachnophobia"
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6284;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6284;
-- Quest "Super Reaper 6000"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1093;
-- Quest "Further Instructions"
UPDATE `quest_request_items` SET `EmoteOnComplete`=3 WHERE `ID`=1094;
-- Quest "Further Instructions (Part 2)"
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1095;
-- Quest "Gerenzo Wrenchwhistle"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1096;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1096;
-- Quest "Gerenzo's Orders"
UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=1090;
-- Quest "Gerenzo's Orders (Part 2)"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1092;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1092;
-- Quest "Trouble in the Deeps"
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6562;
-- Quest "Warsong Scout Update"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=6547;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6547;
-- Quest "Warsong Runner Update"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=6545;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6545;
-- Quest "Warsong Outrider Update"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=6546;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6546;
-- Quest "Ashenvale Outrunners"
DELETE FROM `quest_details` WHERE `ID`=6503;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6503,5,0,0,0,0,0,0,0,0);
-- UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6503;
-- Quest "Satyr Horns"
-- UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=6441;
-- Quest "The Ashenvale Hunt"
DELETE FROM `quest_details` WHERE `ID`=6382;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6382,1,0,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6382;
-- Quest "The Ashenvale Hunt"
DELETE FROM `quest_details` WHERE `ID`=235;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(235,22,1,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=235;
-- Quest "The Ashenvale Hunt"
DELETE FROM `quest_details` WHERE `ID`=742;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(742,22,1,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=742;
-- Quest "The Ashenvale Hunt (Part 2)"
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6383;
-- Quest "Shadumbra's Head"
-- UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=24;
-- UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=24;
-- Quest "Ursangous's Paw"
-- UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=23;
-- UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=23;
-- Quest "Stonetalon Standstill"
DELETE FROM `quest_details` WHERE `ID`=25;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(25,6,1,0,0,0,0,0,0,0);
-- UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=25;
-- Quest "The Befouled Element"
-- UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=1918;
-- UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=1918;
-- Quest "Je'neu of the Earthen Ring"
DELETE FROM `quest_details` WHERE `ID`=824;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(824,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=1 WHERE `ID`=824;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=824;
-- Quest "Warsong Supplies"
DELETE FROM `quest_details` WHERE `ID`=6571;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6571,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6571;
UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=6571;
-- Quest "Naga at the Zoram Strand"
-- UPDATE `quest_details` SET `Emote1`=1 WHERE `ID`=6442;
-- UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6442;
-- Quest "Vorsha the Lasher"
-- UPDATE `quest_details` SET `Emote1`=1 WHERE `ID`=6641;
-- UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=6641;
-- Quest "Between a Rock and a Thistlefur"
-- UPDATE `quest_details` SET `Emote1`=5 WHERE `ID`=216;
-- UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=216;
-- Quest "King of the Foulweald"
-- DELETE FROM `quest_details` WHERE `ID`=6621;
-- INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
-- (6621,1,1,0,0,0,0,0,0,0);
-- UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=6621;
-- UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=6621;
-- Quest "Troll Charm"
-- UPDATE `quest_details` SET `Emote1`=1 WHERE `ID`=6462;
-- UPDATE `quest_request_items` SET `EmoteOnIncomplete`=14 WHERE `ID`=6462;
-- Quest "Amongst the Ruins"
UPDATE `quest_details` SET `Emote1`=1 WHERE `ID`=6921;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=6921;
UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=6921;
-- Quest "The Essence of Aku'Mai"
UPDATE `quest_details` SET `Emote1`=1 WHERE `ID`=6563;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=6563;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=6563;
-- Quest "Allegiance to the Old Gods"
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=6564;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6564;
-- Quest "Allegiance to the Old Gods (Part 2)"
DELETE FROM `quest_details` WHERE `ID`=6565;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6565,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=6565;
UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=6565;
-- Quest "Freedom to Ruul"
-- UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=6482;
-- UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1, `Emote3`=2 WHERE `ID`=6482;
-- Quest "Destroy the Legion"
UPDATE `quest_details` SET `Emote1`=5 WHERE `ID`=9534;
UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=9534;
-- Quest "Diabolical Plans"
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=9535;
UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=9535;
-- Quest "Never Again!"
DELETE FROM `quest_details` WHERE `ID`=9536;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(9536,25,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=9536;
UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1, `Emote3`=2 WHERE `ID`=9536;
-- Quest "The Lost Pages"
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=6504;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=6504;
-- Quest "Torek's Assault"
-- UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=6544;
@@ -0,0 +1,201 @@
--
UPDATE `creature` SET `spawndist` = 0, `MovementType` = 0, `PhaseId` =170, `spawntimesecs`=120 WHERE `id` = 28529;
UPDATE `creature` SET `spawndist` = 0, `MovementType` = 2, `PhaseId` =170, `spawntimesecs`=120 WHERE `id` = 28530;
UPDATE `creature` SET `spawndist` = 0, `MovementType` = 0 WHERE `id` = 28557;
UPDATE `creature` SET `spawndist` = 0, `MovementType` = 0 WHERE `id` = 28594;
UPDATE `creature_addon` SET `auras`= 29266 WHERE `guid`=130211;
-- duplicates removed.
DELETE FROM creature WHERE guid IN (128498, 128499, 128763, 128776, 128784, 128786, 128794, 129151, 129152, 129214, 129215, 129235, 129236, 129245, 129246, 129247, 129248, 129249, 129251, 129255, 129259, 129263, 129270, 129271, 129272, 129280, 129283, 129293, 129294, 129295, 129298, 129305);
DELETE FROM creature_addon WHERE guid IN (128498, 128499, 128763, 128776, 128784, 128786, 128794, 129151, 129152, 129214, 129215, 129235, 129236, 129245, 129246, 129247, 129248, 129249, 129251, 129255, 129259, 129263, 129270, 129271, 129272, 129280, 129283, 129293, 129294, 129295, 129298, 129305);
-- Acherus Geist
UPDATE creature SET position_x = 2374.8103, position_y = -5768.86914, position_z = 151.36789, orientation = 1.0397, spawndist = 10, MovementType = 1 WHERE guid = 128493;
UPDATE creature SET position_x = 2308.156738, position_y = -5692.175293, position_z = 154.035553, orientation = 5.493559, spawndist = 10, MovementType = 1 WHERE guid = 128492;
UPDATE creature SET position_x = 2294.674805, position_y = -5664.577148, position_z = 149.566483, orientation = 5.033237, spawndist = 10, MovementType = 1 WHERE guid = 128491;
UPDATE creature SET position_x = 2353.526855, position_y = -5650.782715, position_z = 155.107605, orientation = 5.975759, spawndist = 10, MovementType = 1 WHERE guid = 128490;
UPDATE creature SET position_x = 2388.947510, position_y = -5671.491211, position_z = 153.925858, orientation = 5.407634, spawndist = 15, MovementType = 1 WHERE guid = 128485;
UPDATE creature SET position_x = 2407.680664, position_y = -5656.884766, position_z = 156.329193, orientation = 6.108020, spawndist = 10, MovementType = 1 WHERE guid = 128489;
UPDATE creature SET position_x = 2396.615234, position_y = -5642.852051, position_z = 156.710114, orientation = 1.415266, spawndist = 10, MovementType = 1 WHERE guid = 128488;
UPDATE creature SET position_x = 2274.42, position_y = -5646.18, position_z = 142.258, orientation = 3.61903, spawndist = 0, MovementType = 2 WHERE guid = 128494;
UPDATE creature SET position_x = 2259.67, position_y = -5641.18, position_z = 138.909, orientation = 3.15041, spawndist = 0, MovementType = 2 WHERE guid = 128495;
UPDATE creature SET position_x = 2317.49, position_y = -5661.7, position_z = 153.201, orientation = 2.40253, spawndist = 0, MovementType = 2 WHERE guid = 128486;
UPDATE creature SET position_x = 2420.91, position_y = -5783.06, position_z = 144.912, orientation = 5.05147, spawndist = 0, MovementType = 2 WHERE guid = 128497;
UPDATE creature SET position_x = 2428.08, position_y = -5781.23, position_z = 143.936, orientation = 4.95301, spawndist = 0, MovementType = 2 WHERE guid = 128496;
UPDATE creature SET position_x = 2345.153809, position_y = -5720.771484, position_z = 153.922424, orientation = 0.743744, spawndist = 0, MovementType = 0 WHERE guid = 128578;
UPDATE `creature` SET `position_x` = -2866.342, `position_y` = 6403.193, `position_z`= 80.44, `orientation` = 0.044664 WHERE `guid`= 28647;
-- Scarlet Farm Hound
UPDATE creature SET position_x = 1993.386230, position_y = -5786.060547, position_z = 100.834045, orientation = 4.610285, spawndist = 10, MovementType = 1 WHERE guid = 128584;
UPDATE creature SET position_x = 2032.527954, position_y = -5819.889648, position_z = 100.997482, orientation = 3.675666, spawndist = 10, MovementType = 1 WHERE guid = 128586;
UPDATE creature SET position_x = 1992.902222, position_y = -5866.563477, position_z = 100.788521, orientation = 4.040874, spawndist = 10, MovementType = 1 WHERE guid = 128583;
UPDATE creature SET position_x = 1951.767578, position_y = -5825.396484, position_z = 100.842171, orientation = 3.227984, spawndist = 10, MovementType = 1 WHERE guid = 128587;
UPDATE creature SET spawndist = 10, MovementType = 1 WHERE guid = 128589;
-- Scarlet Medic
UPDATE creature SET position_x = 2172.88, position_y = -5729.58, position_z = 101.757, orientation = 1.30883 WHERE guid = 129257;
-- Scarlet Peasant
UPDATE creature SET orientation = 5.90615 WHERE guid = 128758;
-- Scarlet Captain
UPDATE `creature_addon` SET `path_id` = 1292990 WHERE `guid` = 128758;
-- Havenshire Stallion - spawntime req. for his event
UPDATE `creature` SET `spawntimesecs` = 20 WHERE `guid` IN (129217,129237,129216,129252);
DELETE FROM `creature_formations` WHERE `leaderGUID`=129217;
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(129217, 129217, 0, 0, 515, 0, 0),
(129217, 129237, 5, 45, 515, 0, 0),
(129217, 129216, 5, 315, 515, 0, 0),
(129217, 129252, 5, 0, 515, 0, 0);
UPDATE `creature_formations` SET `dist`=6, `angle`=0 WHERE `leaderGUID`=129212 AND `memberGUID`=129230;
-- Scarlet Fleet Defender - q. req.
UPDATE creature SET spawntimesecs = 60 WHERE id = 28834;
-- Scarlet Infantryman - all should have same aura addon (we can use template and remove from creature_addon)
DELETE FROM creature_addon WHERE guid IN (129264,129265,129266,129267,129268,129269,129270,129271,129272,129273,129274,129275,129276,129277,129278,129279,129281,129283,129285,129286,129287,129288,129289,129290,129291);
DELETE FROM creature_template_addon WHERE entry = 28609;
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(28609,0,0,0,1,333,'48356');
UPDATE `creature_addon` SET `auras` = "48356 52103", `bytes2`=1, `emote`=0 WHERE `guid` = 129282;
UPDATE `creature_addon` SET `auras` = "48356 52103", `bytes2`=1, `emote`=0 WHERE `guid` = 129284;
UPDATE creature SET position_x = 2417.918945, position_y = -5859.758789, position_z = 105.522697, orientation = 0.9 WHERE guid = 129286;
UPDATE creature SET position_x = 2435.682373, position_y = -5867.880859, position_z = 106.577202, orientation = 1.6 WHERE guid = 129287;
UPDATE creature SET position_x = 2144.156006, position_y = -5674.584961, position_z = 110.115265, orientation = 0.2 WHERE guid = 129291;
UPDATE creature SET position_x = 2232.0961, position_y = -5832.9101, position_z = 101.341705, orientation = 4.845213 WHERE guid = 129210;
-- Scarlet Peasant
UPDATE creature SET position_x = 2134.455811, position_y = -5743.186035, position_z = 99.443970, orientation = 2.490976 WHERE guid = 128792;
UPDATE creature SET position_x = 2085.78, position_y = -5754.1, position_z = 99.3376, orientation = 6.07106 WHERE guid = 128766;
UPDATE creature SET spawndist = 0, MovementType = 0 WHERE guid IN (128755,128761);
DELETE FROM creature_addon WHERE guid IN (128766,128782,128772,128774,128791,128792,128795);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(128766,0,0,0,1,234,'48356'),
(128782,0,0,0,1,234,'48356'),
(128772,0,0,0,1,234,'48356'),
(128774,0,0,0,1,234,'48356'),
(128791,0,0,0,1,234,'48356'),
(128792,0,0,0,1,234,'48356'),
(128795,0,0,0,1,234,'48356');
-- WAYPOINTS -- for phase 1
UPDATE creature SET MovementType = 2, spawndist = 0 WHERE guid IN (128486, 128484,128494,128495,128497,128496,129302,129299,129217);
DELETE FROM creature_addon WHERE guid IN (128486, 128484,128494,128495,128497,128496,129302,129299,129217,128735,128736,128737);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(128486, 1284860,0,0,0, 0,''),
(128484, 1284840,0,0,0, 0,''),
(128494, 1284940,0,0,0, 0,''),
(128495, 1284950,0,0,0, 0,''),
(128497, 1284970,0,0,0, 0,''),
(128496, 1284960,0,0,0, 0,''),
(129302, 1293020,2404,0,0, 0,'48356'),
(129299, 1292990,2404,0,0, 0,'48356'),
(129217, 1292170,0,0,0,0,''),
(128735, 1287350,2404,0,0, 0,''),
(128737, 1287370,2404,0,0, 0,''),
(128736, 1287360,2404,0,0, 0,'');
DELETE FROM `waypoint_data` WHERE `id` IN (1284860,1284840,1284940,1284950,1284970,1284960,1293020,1292990,1292170,1287350,1287360,1287370);
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `delay`, `action`, `orientation`, `action_chance`, `move_type`) VALUES
(1284860,1,2317.49,-5661.7,153.201,2000,0,2.40253,100,1),
(1284860,2,2339.6,-5683.8,153.922,0,0,5.5874,100,1),
(1284860,3,2355.11,-5702.48,153.92,0,0,5.47194,100,1),
(1284860,4,2385.46,-5730.73,153.922,0,0,5.43574,100,1),
(1284860,5,2407.29,-5754.73,153.907,2000,0,5.50643,100,1),
(1284860,6,2363.77,-5709.2,153.923,0,0,2.27844,100,1),
(1284860,7,2317.49,-5661.7,153.201,2000,0,2.4,100,1),
(1284840,1,2322.74,-5624.89,152.099,1000,0,0.2,100,1),
(1284840,2,2312.95,-5645.39,149.817,0,0,0.21,100,1),
(1284940,1,2274.42,-5646.18,142.258,1000,0,3.62,100,1),
(1284940,2,2263.38,-5651.55,138.595,0,0,3.37974,100,1),
(1284940,3,2220.51,-5658.85,125.151,0,0,3.72,100,1),
(1284940,4,2206.73,-5668.97,118.319,0,0,3.72453,100,1),
(1284940,5,2184.66,-5685.67,110.593,0,0,1.62937,100,1),
(1284940,6,2183.91,-5677.17,112.45,0,0,1.07671,100,1),
(1284940,7,2202.52,-5652.79,121.832,0,0,0.505729,100,1),
(1284940,8,2234.02,-5638.04,133.237,0,0,0.255441,100,1),
(1284940,9,2262.76,-5630.8,142.946,0,0,5.64327,100,1),
(1284940,10,2279.18,-5643.24,143.819,0,0,3.68213,100,1),
(1284950,1,2259.67,-5641.18,138.909,1000,0,3.15,100,1),
(1284950,2,2220.92,-5644.93,127.963,0,0,3.7,100,1),
(1284950,3,2180.75,-5671.91,113.432,0,0,5.07701,100,1),
(1284950,4,2186.25,-5687.66,110.304,0,0,0.591784,100,1),
(1284950,5,2198.87,-5677.85,113.546,0,0,0.827452,100,1),
(1284950,6,2211.37,-5665.1,120.953,0,0,0.4346,100,1),
(1284950,7,2215.85,-5662.83,122.909,0,0,0.113371,100,1),
(1284950,8,2230.85,-5660.58,127.762,0,0,0.217311,100,1),
(1284950,9,2268.12,-5652.45,140.123,0,0,2.3,100,1),
(1284970,1,2420.91,-5783.06,144.912,1000,0,5.05147,100,1),
(1284970,2,2424.91,-5795.56,136.284,0,0,5.0,100,1),
(1284970,3,2430.05,-5813.4,123.698,0,0,4.76715,100,1),
(1284970,4,2431.55,-5839.9,112.193,0,0,5.14022,100,1),
(1284970,5,2435.88,-5848.18,110.821,0,0,1.28234,100,1),
(1284970,6,2439.07,-5830.71,117.19,0,0,1.7575,100,1),
(1284970,7,2437.07,-5817.21,121.852,0,0,1.7575,100,1),
(1284970,8,2433.13,-5798.02,133.529,0,0,1.72991,100,1),
(1284970,9,2428.88,-5780.52,144.159,0,0,3.64,100,1),
(1284960,1,2428.08,-5781.23,143.936,1000,0,4.95,100,1),
(1284960,2,2431.83,-5801.73,131.007,0,0,4.9,100,1),
(1284960,3,2434.52,-5815.74,122.281,0,0,4.70491,100,1),
(1284960,4,2435.68,-5850.09,110.343,0,0,2.27017,100,1),
(1284960,5,2426.39,-5839.45,112.787,0,0,1.48386,100,1),
(1284960,6,2426.89,-5832.45,115.05,0,0,1.48386,100,1),
(1284960,7,2428.61,-5806.57,127.862,0,0,1.87184,100,1),
(1284960,8,2424.36,-5792.57,138.63,0,0,1.87184,100,1),
(1284960,9,2420.36,-5779.07,146.508,0,0,6.21274,100,1),
(1284960,10,2426.77,-5779.23,145.036,0,0,5.28497,100,1),
(1293020,1,2142.69,-5854.15,101.352,0,0,5.64134,100,0),
(1293020,2,2160.03,-5863.74,101.343,0,0,5.96987,100,0),
(1293020,3,2163.18,-5866.82,101.325,5000,0,5.95,100,0),
(1293020,4,2181.06,-5870.53,101.288,0,0,6.1,100,0),
(1293020,5,2162.67,-5866.22,101.328,0,0,2.74714,100,0),
(1293020,6,2142.94,-5853.58,101.349,0,0,2.0285,100,0),
(1293020,7,2142.59,-5841.03,101.318,0,0,1.42374,100,0),
(1293020,8,2142.77,-5819.21,100.895,0,0,1.86334,100,0),
(1293020,9,2128.82,-5790.25,98.8795,0,0,1.38032,100,0),
(1293020,10,2128.17,-5794.43,99.0854,0,0,4.67271,100,0),
(1293020,11,2130.96,-5801.12,99.619,0,0,5.31045,100,0),
(1293020,12,2143.34,-5819.31,100.926,0,0,5.01514,100,0),
(1292990,1,2144.25,-5736.86,100.243,0,0,2.01409,100,0),
(1292990,2,2137.89,-5727.64,100.314,0,0,2.35,100,0),
(1292990,3,2128.15,-5716.13,100.621,0,0,2.2,100,0),
(1292990,4,2138.36,-5728.58,100.285,5000,0,5.34968,100,0),
(1292990,5,2144.69,-5738.47,100.186,0,0,4.96091,100,0),
(1292990,6,2147.98,-5759.81,99.8653,0,0,4.61769,100,0),
(1292990,7,2145.06,-5766.31,99.5844,0,0,4.25013,100,0),
(1292990,8,2148.29,-5759.08,99.9146,0,0,1.63554,100,0),
(1292170,1,2217.34,-5873.99,101.251,1000,0,0.593412,100,1),
(1292170,2,2214.53,-5869.6,101.534,0,0,2.83545,100,1),
(1292170,3,2181.07,-5865.87,101.331,0,0,3.36324,100,1),
(1292170,4,2139.21,-5878.27,101.469,0,0,3.93265,100,1),
(1292170,5,2118.11,-5903.57,104.343,0,0,3.3436,100,1),
(1292170,6,2072.44,-5914.58,106.378,0,0,3.39073,100,1),
(1292170,7,2028.89,-5920.68,105.233,0,0,3.28863,100,1),
(1292170,8,2003.16,-5924.91,105.324,0,0,3.41822,100,1),
(1292170,9,1968.43,-5935.75,102.545,0,0,3.21401,100,1),
(1292170,10,1924.76,-5931.14,103.405,0,0,2.93127,100,1),
(1292170,11,1894.96,-5921.15,103.129,0,0,2.94698,100,1),
(1292170,12,1849.19,-5916.93,105.57,0,0,3.19438,100,1),
(1292170,13,1818.86,-5920.18,112.552,0,0,3.19438,100,1),
(1292170,14,1780.82,-5925.05,116.113,0,0,2.85273,100,1),
(1292170,15,1741.46,-5907.59,116.121,1000,1188,2.73099,100,1),
-- Scarlet Commander
(1287350,1,1775.91,-5832.22,116.268,0,0,3.27545,100,0),
(1287350,2,1755.28,-5834.67,116.466,0,0,0.155067,100,0),
(1287370,1,1762.27,-5808.16,116.622,0,0,0.0435456,100,0),
(1287370,2,1784.43,-5806.17,114.238,0,0,3.29274,100,0),
(1287360,1,1576.5323,-5779.924,117.6273,0,0, 4.752857,100,0),
(1287360,2,1578.6364,-5790.505,119.1621,0,0, 4.963344,100,0);
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=28605;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-129217 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
(-129217,0,0,0,34,0,100,0,2,14,0,0,41,0,0,0,0,0,0,11,28607,30,0,0,0,0,0,"Havenshire Stallion - On movement informer - despawn all guars"),
(-129217,0,1,0,34,0,100,0,2,14,0,0,41,0,0,0,0,0,0,11,28606,30,0,0,0,0,0,"Havenshire Stallion - On movement informer - despawn all guars"),
(-129217,0,2,0,34,0,100,0,2,14,0,0,41,0,0,0,0,0,0,11,28605,30,0,0,0,0,0,"Havenshire Stallion - On movement informer - despawn all guars"),
(-129217,0,3,0,25,0,100,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Havenshire Stallion - On reset - set active"),
(-129217,0,4,0,25,0,100,0,0,0,0,0,83,16777216,0,0,0,0,0,1,0,0,0,0,0,0,0,"Havenshire Stallion - On reset - Remove npc flag");
@@ -0,0 +1,7 @@
--
UPDATE `gameobject_template` SET `AIName`="" WHERE `entry` IN (113768, 113769, 113770, 113771, 113772);
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (32784);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (113768, 113769, 113770, 113771, 113772) AND `source_type`=1;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (32784) 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
(32784, 0, 0, 0, 54, 0, 20, 0, 0, 0, 0, 0, 85, 61734, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Noblegarden Bunny Controller - On Just summoned - Invoker Cast 'Noblegarden Bunny'");
@@ -0,0 +1,5 @@
-- Gymer
DELETE FROM `creature_template_addon` WHERE `entry`=29647;
INSERT INTO `creature_template_addon` (`entry`,`bytes1`,`bytes2`) VALUES (29647,1,0);
-- Gerk
UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`=29455;
@@ -0,0 +1,4 @@
--
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (28907) AND `source_type`=0 and `id`=1;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(28907, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Prince Valanar - On reset - Set run off");
@@ -0,0 +1,3 @@
--
UPDATE `creature_template` SET `unit_flags`=33536 WHERE `entry` IN (35337,35338,35340,35341,35342,35343,34714, 34679, 34768, 34653);
-- DELETE FROM `game_event_creature` WHERE `guid`=43465;
@@ -0,0 +1,18 @@
--
-- Phase: 128 (master: PhsaeId: 176)
-- Duplicates Removed
DELETE FROM `creature` WHERE `guid` IN (130365,130370,130364,130374,130372,130377,130367,130375,130366,130361,130371);
DELETE FROM `creature_addon` WHERE `guid` IN (130365,130370,130364,130374,130372,130377,130367,130375,130366,130361,130371);
UPDATE `creature` SET `PhaseId` = 176, `spawndist` = 0, `MovementType` = 0 WHERE `guid` = 130400;
UPDATE `creature` SET `spawndist` = 0, `MovementType` = 0 WHERE `guid` = 130401;
UPDATE `creature` SET `spawndist` = 20, `MovementType` = 1 WHERE `id` = 29189;
UPDATE `creature` SET `PhaseId` = 176 WHERE `guid` IN (130387,130419);
UPDATE `creature` SET `spawndist` = 10, `MovementType` = 1 WHERE `guid` IN (130368,130369);
-- Howling Geist
UPDATE `creature` SET `position_x` = 2597.903076, `position_y` = -5549.420410, `position_z` = 159.772934, `spawndist` = 20, `MovementType` = 1 WHERE `guid` = 130387;
UPDATE `creature` SET `position_x` = 2622.867432, `position_y` = -5481.481934, `position_z` = 156.948212, `spawndist` = 20, `MovementType` = 1 WHERE `guid` = 130386;
UPDATE `creature` SET `position_x` = 2659.806885, `position_y` = -5537.375000, `position_z` = 163.303589, `spawndist` = 20, `MovementType` = 1 WHERE `guid` = 130385;
UPDATE `creature` SET `position_x` = 2697.650391, `position_y` = -5469.664063, `position_z` = 156.943970, `spawndist` = 20, `MovementType` = 1 WHERE `guid` = 130383;
UPDATE `creature` SET `position_x` = 2735.920410, `position_y` = -5363.948730, `position_z` = 157.715302, `spawndist` = 20, `MovementType` = 1 WHERE `guid` = 130381;
@@ -0,0 +1,5 @@
--
DELETE FROM `smart_scripts` WHERE `entryorguid`=23671 AND `source_type`=0 AND `id` IN (17,18);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(23671, 0, 17, 18, 1, 0, 100, 1, 30000, 30000, 0, 0, 44, 2, 0, 0, 0, 0, 0, 9, 24118, 0, 90, 0, 0, 0, 0, "Halfdan the Ice-Hearted - Ooc - Change Phasemask of Val'kyr Observer"),
(23671, 0, 18, 0, 61, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - Ooc - despawn");
@@ -0,0 +1,4 @@
-- Add prowl spell script
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dru_prowl';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(5215,'spell_dru_prowl');
@@ -0,0 +1,10 @@
-- Attach druid's gore spell script
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dru_gore';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(210706,'spell_dru_gore');
-- Override Gore spell proc flags
DELETE FROM `spell_proc` WHERE `SpellId` IN (210706,93622);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(210706,0,7,0x00200800,0x00100000,0x08000000,0x0,0,1,1,0x403,0,0,0,0,0,0),
(93622,0,7,0x0,0x40,0x0,0x0,0,1,2,0x403,0x8,0,0,0,0,0);