Misc DB updates.

This commit is contained in:
hondacrx
2021-04-19 10:47:02 -04:00
parent 1031dc9ed8
commit 5223c73fe1
19 changed files with 586 additions and 0 deletions
@@ -0,0 +1,5 @@
--
DELETE FROM `creature_queststarter` WHERE `quest`=10901;
DELETE FROM `quest_template_addon` WHERE `ID` IN (13431, 10900);
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `PrevQuestID`, `ExclusiveGroup`) VALUES (13431, 70, 10900, 13431), (10900, 70, 0, 0);
UPDATE `quest_template_addon` SET `ExclusiveGroup`=13431 WHERE `ID`=10901;
@@ -0,0 +1,11 @@
--
UPDATE `creature_template` SET `spell_school_immune_mask`=`spell_school_immune_mask`|2 WHERE `entry` IN (12457,16491); -- Holy
UPDATE `creature_template` SET `spell_school_immune_mask`=`spell_school_immune_mask`|4 WHERE `entry` IN (2091,2108,2447,2726,2760,4036,4037,4038,4676,5850,5852,7137,7664,7734,7735,9016,9017,9026,9816,9878,9879,10485,11502,11666,11667,11668,12056,12143,12457,16491,19203,19973,20703,21706,22323,25001,25417,30847); -- Fire
UPDATE `creature_template` SET `spell_school_immune_mask`=`spell_school_immune_mask`|8 WHERE `entry` IN (92,2258,2592,2735,2736,2752,2762,2791,4499,10485,11321,11744,11777,11778,11779,11783,11784,12201,12237,12457,14435,14455,16491,17085,17154,17156,17157,17158,17159,17160,18062,18181,21707,22036,23029,26407,28411,28585,28825); -- Nature
UPDATE `creature_template` SET `spell_school_immune_mask`=`spell_school_immune_mask`|16 WHERE `entry` IN (691,2761,3917,5461,5462,7079,7132,7428,7429,7664,7734,7735,9453,10198,10485,10642,10756,10757,12457,13280,16491,17153,17155,17167,17207,17358,19204,20704,21428,21728,22009,22035,22309,25740,25755,25756,25757,25865,26116,26178,26204,26214,26215,26216,26338,26339,26340,26341,26342,16570,24228,24601,25226,25514,25715,26316,30846); -- Frost
UPDATE `creature_template` SET `spell_school_immune_mask`=`spell_school_immune_mask`|32 WHERE `entry` IN (703,1043,1364,7664,10485,12457,16491,19206,20705,21032); -- Shadow
UPDATE `creature_template` SET `spell_school_immune_mask`=`spell_school_immune_mask`|64 WHERE `entry` IN (7734,7735,10202,10485,10662,10663,10664,11480,11483,12457,16488,16491,16530,16854,18864,18865,18866,18867,19205,20516,20702,21032,22310,26370,30848); -- Arcane
UPDATE `creature_template` SET `dmgschool` = 4 WHERE `entry` = 17153; -- Lake Spirit
UPDATE `creature_template` SET `dmgschool` = 3 WHERE `entry` = 17154; -- Muck Spawn
UPDATE `creature_template` SET `dmgschool` = 4 WHERE `entry` = 17155; -- Lake Surger
@@ -0,0 +1 @@
UPDATE `creature_template` SET `difficulty_entry_1`=0, `ScriptName`='npc_sapphiron_blizzard' WHERE `entry`=16474;
@@ -0,0 +1,5 @@
--
UPDATE `creature` SET `spawnDifficulties`='1,2' WHERE `id` IN (18956,19511);
UPDATE `smart_scripts` SET `event_flags`=7 WHERE `entryorguid` IN (18956) AND `source_type`=0;
UPDATE `smart_scripts` SET `event_flags`=7 WHERE `entryorguid` IN (1895600) AND `source_type`=9;
UPDATE `gameobject` SET `spawnDifficulties`='1,2' WHERE `spawnDifficulties` = '1' AND `id` IN (181278,181556,181557,181569,183051,182940,186633,185434,181275,184931,181276,181270,184956,184940,183296,183516,182942,182943,183036,183295,184941,183441) AND `map` NOT IN (530,548,568,571);
@@ -0,0 +1,11 @@
--
-- DELETE FROM `gameobject` WHERE `id`=64922 AND `guid`=189980;
-- DELETE FROM `gameobject_addon` WHERE `guid`=189980;
DELETE FROM `pool_gameobject` WHERE `pool_entry`=5217 ;
-- DELETE FROM `pool_creature` WHERE `guid`=134515 AND `pool_entry`=1047;
DELETE FROM `pool_template` WHERE `entry` IN (5217,5450,5506,5517,5608);
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES
(5450,1,"Icecrown node 3"),
(5506,1,"Icecrown node 59"),
(5517,1,"Icecrown node 70"),
(5608,1,"Icecrown node 161");
@@ -0,0 +1,41 @@
--
-- Add script and waypoints to Draenei Artificer
SET @ENTRY := 17228;
SET @GUID := -82823;
SET @ACTIONLIST_0 := 8282300;
SET @ACTIONLIST_1 := 8282301;
-- Remove emote from Draenei Artificer
DELETE FROM `creature_addon` WHERE `guid`=82823;
INSERT INTO `creature_addon` (`guid`, `emote`, `bytes2`) VALUES
(82823, 0, 4097);
-- Add weapon to Draenei Artificer
DELETE FROM `creature_equip_template` WHERE `CreatureID`=@ENTRY AND `ID`=2;
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`, `VerifiedBuild`) VALUES (@ENTRY, 2, 2530, 0, 0, 18019);
DELETE FROM `waypoints` WHERE `entry`=@ENTRY;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(@ENTRY, 1, -4189.97, -12460.97, 45.227, 'Draenei Artificer'),
(@ENTRY, 2, -4191.24, -12456.74, 45.444, 'Draenei Artificer'),
(@ENTRY, 3, -4192.75, -12453.75, 45.635, 'Draenei Artificer'),
(@ENTRY, 4, -4191.24, -12456.74, 45.444, 'Draenei Artificer'),
(@ENTRY, 5, -4189.97, -12460.97, 45.227, 'Draenei Artificer'),
(@ENTRY, 6, -4191.44, -12464.07, 45.340, 'Draenei Artificer');
-- Add SAI to Draenei Artificer + Actionlist 00/01
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@GUID, @ACTIONLIST_0, @ACTIONLIST_1) AND `source_type` IN (0, 9);
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@GUID,0,0,0,40,0,100,0,3,@ENTRY,0,0,80,@ACTIONLIST_0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Waypoint 3 Reached - Run Script"),
(@GUID,0,1,0,40,0,100,0,6,@ENTRY,0,0,80,@ACTIONLIST_1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Waypoint 6 Reached - Run Script"),
(@GUID,0,2,0,1,0,100,0,0,0,130000,130000,53,0,@ENTRY,1,0,0,2,1,0,0,0,0,0,0,0,"Draenei Artificer - Out of Combat - Start Waypoint"),
(@ACTIONLIST_0,9,0,0,0,0,100,0,0,0,0,0,54,60000,0,0,0,0,0,0,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Pause Waypoint"),
(@ACTIONLIST_0,9,1,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.8356,"Draenei Artificer - On Script - Set Orientation 0,8356"),
(@ACTIONLIST_0,9,2,0,0,0,100,0,1500,1500,0,0,71,2,1,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Change Equipment"),
(@ACTIONLIST_0,9,3,0,0,0,100,0,2000,2000,0,0,17,234,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Set Emote State 234"),
(@ACTIONLIST_0,9,4,0,0,0,100,0,55000,55000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Set Emote State 0"),
(@ACTIONLIST_1,9,0,0,0,0,100,0,0,0,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Pause Waypoint"),
(@ACTIONLIST_1,9,1,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.8398,"Draenei Artificer - On Script - Set Orientation 3,8398"),
(@ACTIONLIST_1,9,3,0,0,0,100,0,1500,1500,0,0,71,1,1,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Change Equipment"),
(@ACTIONLIST_1,9,4,0,0,0,100,0,2000,2000,0,0,17,234,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Set Emote State 234"),
(@ACTIONLIST_1,9,5,0,0,0,100,0,55000,55000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Set Emote State 0");
@@ -0,0 +1,5 @@
UPDATE `creature_template` SET `mechanic_immune_mask` = `mechanic_immune_mask`|33554432 WHERE `entry` IN
(36626,37504,37505,37506, -- Festergut
39863,39864,39944,39945, -- Halion (normal)
40142,40143,40144,40145, -- Halion (twilight)
34797,35447,35448,35449); -- Icehowl
@@ -0,0 +1,18 @@
SET @CGUID:= 16806; -- 1 guid
SET @GGUID:= 1577; -- 2 guids
DELETE FROM `creature` WHERE `guid` = @CGUID;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@CGUID, 16031, 329, 0, 0, '1', 0, 0, 0, 4044.78, -3333.68, 117.26, 4.153883, 7200, 0, 0, 4120, 0, 0, 0, 0, 0, '', 0);
DELETE FROM `gameobject` WHERE `guid` IN (@GGUID + 0, @GGUID + 1);
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES
(@GGUID + 0, 181071, 329, 2017, 2017, '1', 0, 4044.34, -3334.217, 115.0604, 2.740162, -0, -0, 0.9799242, 0.1993704, 300, 255, 1, '', 0),
(@GGUID + 1, 181072, 329, 2017, 2017, '1', 0, 4039.52, -3331.85, 115.061, 1.169369, -0, -0, 0.5519361, 0.8338864, 300, 255, 1, '', 0);
DELETE FROM `spell_script_names` WHERE `ScriptName` = "spell_ysida_saved_credit";
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(31912, "spell_ysida_saved_credit");
UPDATE `creature_template` SET `npcflag` = `npcflag` & ~2, `AIName` = "" WHERE `entry` = 16031;
DELETE FROM `smart_scripts` WHERE `entryorguid` = 16031;
@@ -0,0 +1,2 @@
--
UPDATE `creature_template` SET `npcflag` = `npcflag` | 2 WHERE `entry` = 16031;
@@ -0,0 +1,18 @@
-- Quest "The Emitter"
DELETE FROM `smart_scripts` WHERE `entryorguid`=1707100 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
(1707100,9,0,0,0,0,100,0,0,0,0,0,9,0,0,0,0,0,0,20,181286,0,0,0,0,0,0,"Technician Zhanaa - On Script - Activate Gameobject"),
(1707100,9,1,0,0,0,100,0,0,0,0,0,12,16550,1,39000,0,0,0,8,0,0,0,-4187.71,-13738.7,75.6549,1.85005,"Technician Zhanaa - On Script - Summon Creature 'Image of Technician Dyvuun'"),
(1707100,9,2,0,0,0,100,0,0,0,0,0,64,2,0,0,0,0,0,7,0,0,0,0,0,0,0,"Technician Zhanaa - On Script - Store Targetlist"),
(1707100,9,3,0,0,0,100,0,1000,1000,0,0,100,2,0,0,0,0,0,19,16550,10,0,0,0,0,0,"Technician Zhanaa - On Script - Send Target 2"),
(1707100,9,4,0,0,0,100,0,1000,1000,0,0,45,0,1,0,0,0,0,19,16550,10,0,0,0,0,0,"Technician Zhanaa - On Script - Set Data 0 1"),
(1707100,9,5,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,19,16550,10,0,0,0,0,0,"Technician Zhanaa - On Script - Set Orientation Closest Creature 'Image of Technician Dyvuun'"),
(1707100,9,6,0,0,0,100,0,2000,2000,0,0,5,70,0,0,0,0,0,1,0,0,0,0,0,0,0,"Technician Zhanaa - On Script - Play Emote 70"),
(1707100,9,7,0,0,0,100,0,19000,19000,0,0,59,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Technician Zhanaa - On Script - Set Run Off"),
(1707100,9,8,0,0,0,100,0,1000,1000,0,0,69,0,0,0,0,0,0,8,0,0,0,-4186.67,-13736.3,74.4813,0,"Technician Zhanaa - On Script - Move to Position"),
(1707100,9,9,0,0,0,100,0,3000,3000,0,0,17,133,0,0,0,0,0,1,0,0,0,0,0,0,0,"Technician Zhanaa - On Script - Set Emote State 133"),
(1707100,9,11,0,0,0,100,0,16000,16000,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Technician Zhanaa - On Script - Set Orientation Invoker"),
(1707100,9,12,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Technician Zhanaa - On Script - Say Line 0"),
(1707100,9,13,0,0,0,100,0,29000,29000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Technician Zhanaa - On Script - Set Emote State 0"),
(1707100,9,14,0,0,0,100,0,1000,1000,0,0,69,0,0,0,0,0,0,8,0,0,0,-4184.55,-13733.1,74.1389,0,"Technician Zhanaa - On Script - Move to Position"),
(1707100,9,15,0,0,0,100,0,3000,3000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.91986,"Technician Zhanaa - On Script - Set Orientation");
@@ -0,0 +1,449 @@
SET @CGUID :=79369; -- 2 Guids needed
DELETE FROM `creature` WHERE `guid` IN(@CGUID, @CGUID+1);
INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`PhaseId`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`,`ScriptName`,`VerifiedBuild`) VALUES
(@CGUID,16980,649,0,0,'3,4,5,6',0,0,0,646.073,60.3333,394.856,0,7200,0,0,4120,0,0,0,0,0,'',0), -- Lich King voice
(@CGUID+1,34564,649,0,0,'3,4,5,6',0,0,0,783.9305,132.9722,142.6711,3.141593,7200,0,0,4120,0,0,0,0,0,'',0); -- Anub'arak
DELETE FROM `creature_text` WHERE `CreatureID`=16980 AND `GroupId` IN (4,5); -- The Lich King Voice
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(16980,4,0,'You will have your challenge, Fordring.',14,0,100,0,0,16321,35747,0,'The Lich King SAY CHALLENGE'),
(16980,5,0,'The souls of your fallen champions will be mine, Fordring.',14,0,100,0,0,16323,35749,0,'The Lich King SAY SOULS WILL BE MINE');
DELETE FROM `creature_text` WHERE `CreatureID`=35877; -- Lich King
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(35877,0,0,'The Nerubians built an empire beneath the frozen wastes of Northrend. An empire that you so foolishly built your structures upon. MY EMPIRE.',14,0,100,11,0,16322,35748,0,'The Lich King SAY EMPIRE');
DELETE FROM `creature` WHERE `id`=34816; -- Barrett
-- 34854 (Fire Bomb)
UPDATE `creature_template` SET `ScriptName`='' WHERE `entry`=34854;
DELETE FROM `creature_template_addon`WHERE `entry`=34854;
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(34854,0,0,16908544,1,0,'66318'); -- Fire Bomb Aura
-- Added trigger flag in Slime Pool
UPDATE `creature_template` SET `ScriptName`='npc_jormungars_slime_pool' WHERE `entry`=35176;
DELETE FROM `creature_template_addon`WHERE `entry`=35176;
UPDATE `creature_template` SET `flags_extra`=128, `ScriptName`='npc_beasts_combat_stalker' WHERE `entry`=36549;
UPDATE `creature_template` SET `ScriptName`='npc_open_portal_target_toc' WHERE `entry`=17965;
UPDATE `conditions` SET `Comment`='Effect_0 hits Gormok the Impaler' WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=66636;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=67888; -- Fel Lightning
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13,1,67888,0,0,31,0,3,35458,0,0,0,0,'','Effect_0 hits Wilfred Fizzlebang');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=67864; -- Open Portal
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13,1,67864,0,0,31,0,3,17965,0,0,0,0,'','Effect_0 hits Open Portal Target');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=69016; -- Corpse Teleport
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13,1,69016,0,0,31,0,3,34797,0,0,0,0,'','Effect_0 hits Icehowl'),
(13,1,69016,0,1,31,0,3,34780,0,0,0,0,'','Effect_0 hits Lord Jaraxxus'),
(13,1,69016,0,2,31,0,3,34496,0,0,0,0,'','Effect_0 hits Eydis Darkbane'),
(13,1,69016,0,3,31,0,3,34497,0,0,0,0,'','Effect_0 hits Fjola Lightbane');
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_gormok_fire_bomb';
-- 66729 Furious Charge Summon Stalker (SERVERSIDE)
DELETE FROM `serverside_spell_effect` WHERE `SpellID`=66729 AND `EffectIndex`=0 AND `DifficultyID`=0;
INSERT INTO `serverside_spell_effect` (`SpellID`, `EffectIndex`, `DifficultyID`, `Effect`, `EffectAura`, `EffectAmplitude`, `EffectAttributes`, `EffectAuraPeriod`, `EffectBonusCoefficient`, `EffectChainAmplitude`, `EffectChainTargets`, `EffectItemType`, `EffectMechanic`, `EffectPointsPerResource`, `EffectPosFacing`, `EffectRealPointsPerLevel`, `EffectTriggerSpell`, `BonusCoefficientFromAP`, `PvpMultiplier`, `Coefficient`, `Variance`, `ResourceCoefficient`, `GroupSizeBasePointsCoefficient`, `EffectBasePoints`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectSpellClassMask1`, `EffectSpellClassMask2`, `EffectSpellClassMask3`, `EffectSpellClassMask4`, `ImplicitTarget1`, `ImplicitTarget2`) VALUES
(66729, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 35062, 64, 0, 0, 0, 0, 0, 0, 6, 53);
-- 66319 Summon Fire Bomb (SERVERSIDE)
DELETE FROM `serverside_spell` WHERE `Id`=66319;
INSERT INTO `serverside_spell` (`Id`, `DifficultyID`, `CategoryId`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `AttributesEx11`, `AttributesEx12`, `AttributesEx13`, `AttributesEx14`, `Stances`, `StancesNot`, `Targets`, `TargetCreatureType`, `RequiresSpellFocus`, `FacingCasterFlags`, `CasterAuraState`, `TargetAuraState`, `ExcludeCasterAuraState`, `ExcludeTargetAuraState`, `CasterAuraSpell`, `TargetAuraSpell`, `ExcludeCasterAuraSpell`, `ExcludeTargetAuraSpell`, `CastingTimeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `StartRecoveryCategory`, `StartRecoveryTime`, `InterruptFlags`, `AuraInterruptFlags1`, `AuraInterruptFlags2`, `ChannelInterruptFlags1`, `ChannelInterruptFlags2`, `ProcFlags`, `ProcChance`, `ProcCharges`, `ProcCooldown`, `ProcBasePPM`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `Speed`, `LaunchDelay`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `ContentTuningId`, `SpellName`, `ConeAngle`, `ConeWidth`, `MaxTargetLevel`, `MaxAffectedTargets`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `SpellFamilyFlags4`, `DmgClass`, `PreventionType`, `AreaGroupId`, `SchoolMask`, `ChargeCategoryId`) VALUES
(66319, 0, 0, 0, 0, 256, 268435456, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 125, 13, 0, 0, 0, -1, 0, 0, 0, 'Summon Fire Bomb', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0);
DELETE FROM `serverside_spell_effect` WHERE `SpellID`=66319 AND `EffectIndex`=0 AND `DifficultyID`=0;
INSERT INTO `serverside_spell_effect` (`SpellID`, `EffectIndex`, `DifficultyID`, `Effect`, `EffectAura`, `EffectAmplitude`, `EffectAttributes`, `EffectAuraPeriod`, `EffectBonusCoefficient`, `EffectChainAmplitude`, `EffectChainTargets`, `EffectItemType`, `EffectMechanic`, `EffectPointsPerResource`, `EffectPosFacing`, `EffectRealPointsPerLevel`, `EffectTriggerSpell`, `BonusCoefficientFromAP`, `PvpMultiplier`, `Coefficient`, `Variance`, `ResourceCoefficient`, `GroupSizeBasePointsCoefficient`, `EffectBasePoints`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectSpellClassMask1`, `EffectSpellClassMask2`, `EffectSpellClassMask3`, `EffectSpellClassMask4`, `ImplicitTarget1`, `ImplicitTarget2`) VALUES
(66319, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34854, 64, 0, 0, 0, 0, 0, 0, 6, 53);
DELETE FROM `spell_linked_spell` WHERE `spell_effect`=68667 AND `type`=0;
DELETE FROM `spell_script_names` WHERE `ScriptName` IN (
'spell_icehowl_arctic_breath',
'spell_icehowl_trample',
'spell_icehowl_massive_crash',
'spell_lich_king_teleport_corpse',
'spell_jormungars_burning_bile');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(66688,'spell_icehowl_arctic_breath'),
(66734,'spell_icehowl_trample'),
(66683,'spell_icehowl_massive_crash'),
(69016,'spell_lich_king_teleport_corpse'),
(66870,'spell_jormungars_burning_bile'),
(67621,'spell_jormungars_burning_bile'),
(67622,'spell_jormungars_burning_bile'),
(67623,'spell_jormungars_burning_bile');
UPDATE `creature_text` SET `comment`='Icehowl - Roar' WHERE `CreatureID`=34797 AND`GroupID`=0 AND `ID`=0;
UPDATE `creature_text` SET `comment`='Icehowl - Fail' WHERE `CreatureID`=34797 and`GroupID`=1 AND `ID`=0;
UPDATE `creature_text` SET `comment`='Icehowl - Enrage' WHERE `CreatureID`=34797 and`GroupID`=2 AND `ID`=0;
-- Open Portal Target
UPDATE `creature_template` SET /*`modelid1`=20024, `modelid2`=0,*/ `ScriptName`='npc_open_portal_target_toc' WHERE `entry`=17965;
DELETE FROM `creature_template_addon`WHERE `entry`=17965;
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(17965,0,0,16908544,50331648,0,'');
-- UPDATE `creature_template` SET `modelid1`=29890, `modelid2`=0, `modelid3`=0 WHERE `entry`=35651; -- Purple Ground Rune Argent Raid
DELETE FROM `creature_summon_groups` WHERE `summonerId`=34996;
INSERT INTO `creature_summon_groups` (`summonerId`,`summonerType`,`groupId`,`entry`,`position_x`,`position_y`,`position_z`,`orientation`,`summonType`,`summonTime`) VALUES
(34996,0,1,34497,571.684,204.9028,399.263,4.590216,8,0), -- Fjola Lightbane
(34996,0,1,34496,555.4514,205.8889,399.2634,4.886922,8,0), -- Eydis Darkbane
(34996,0,1,34567,536.5504,164.5504,394.7856,0,8,0), -- Dark Essence
(34996,0,1,34567,588.2083,115.6667,394.5307,0,8,0), -- Dark Essence
(34996,0,1,34568,542.6441,117.3194,394.7847,0,8,0), -- Light Essence
(34996,0,1,34568,589.743,163.0955,394.7754,0,8,0); -- Light Essence
-- Barrett related stuffs
DELETE FROM `npc_text` WHERE `ID`=14852;
INSERT INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextID0`, `BroadcastTextID1`, `BroadcastTextID2`, `BroadcastTextID3`, `BroadcastTextID4`, `BroadcastTextID5`, `BroadcastTextID6`, `BroadcastTextID7`, `VerifiedBuild`) VALUES
(14852, 1, 0, 0, 0, 0, 0, 0, 0, 36084, 0, 0, 0, 0, 0, 0, 0, 0);
UPDATE `creature_template` SET `gossip_menu_id`=10692 WHERE `entry`=35771;
UPDATE `creature_template` SET `gossip_menu_id`=10704 WHERE `entry`=35909;
UPDATE `creature_template` SET `npcflag`=1, `ScriptName`='npc_barrett_toc' WHERE `entry` IN (34816,35035,35766,35770,35771,35909);
DELETE FROM `gossip_menu` WHERE `MenuID` IN (10692,10693,10704,10705,10706,10610,10609,10599,10678,10687,10679,10688,10600);
INSERT INTO `gossip_menu` (`MenuID`,`TextID`,`VerifiedBuild`) VALUES
(10599,14664,0),
(10599,14667,0),
(10600,14665,0),
(10600,14668,0),
(10609,14678,0),
(10609,14679,0),
(10610,14680,0),
(10610,14682,0),
(10678,14813,0),
(10678,14815,0),
(10679,14819,0),
(10679,14820,0),
(10687,14814,0),
(10687,14816,0),
(10688,14821,0),
(10688,14822,0),
(10692,14828,0),
(10693,14829,0),
(10704,14667,0),
(10704,14850,0),
(10705,14852,0),
(10706,14853,0);
DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (10692,10693,10704,10705,10706,10610,10609,10599,10678,10687,10679,10688,10600);
INSERT INTO `gossip_menu_option` (`MenuID`,`OptionIndex`,`OptionIcon`,`OptionText`,`OptionBroadcastTextID`,`OptionType`,`OptionNpcFlag`) VALUES
(10599,0,0,'Yes. We are prepared for the challenges ahead of us.',35172,1,1),
(10599,1,0,'We want another shot at those beasts!',35215,1,1),
(10600,0,0,'Bring forth the first challenge!',35174,1,1),
(10600,1,0,'We\'re ready. This time things will be different.',35216,1,1),
(10609,0,0,'What new challenge awaits us?',35251,1,1),
(10609,1,0,'We\'re ready to fight the sorceror again.',35254,1,1),
(10610,0,0,'I am ready for the next challenge.',35538,1,1),
(10610,1,0,'Now.',35258,1,1),
(10678,0,0,'Of course!',35987,1,1),
(10678,1,0,'You\'ll be even more amazed after we take them out!',35991,1,1),
(10679,0,0,'That tough, huh?',36024,1,1),
(10679,1,0,'We\'ll just have to improve our own teamwork to match the two of them.',36025,1,1),
(10687,0,0,'Give the signal! We\'re ready to go!',35989,1,1),
(10687,1,0,'We\'re ready for anything!',35993,1,1),
(10688,0,0,'Val\'kyr? We\'re ready for them.',36027,1,1),
(10688,1,0,'Just bring them out again, then watch.',36029,1,1),
(10692,0,0,'Your words of praise are appreciated, Coliseum Master.',36047,1,1),
(10693,0,0,'That is strange...',36049,1,1),
(10704,0,0,'I have completed the Trial of the Crusader.',36082,1,1),
(10704,1,0,'I have not completed the Trial of the Crusader.',36083,1,1),
(10704,2,0,'We want another shot at those beasts!',35215,1,1),
(10706,0,0,'Yes. We are prepared for the challenges ahead of us.',35172,1,1);
DELETE FROM `gossip_menu_option_action` WHERE `MenuId` IN (10599,10609,10678,10679,10692,10704,10706);
INSERT INTO `gossip_menu_option_action` (`MenuId`, `OptionIndex`, `ActionMenuId`, `ActionPoiId`) VALUES
(10599, 0, 10600, 0),
(10599, 1, 10600, 0),
(10609, 0, 10610, 0),
(10609, 1, 10610, 0),
(10678, 0, 10687, 0),
(10678, 1, 10687, 0),
(10679, 0, 10688, 0),
(10679, 1, 10688, 0),
(10692, 0, 10693, 0),
(10704, 0, 10706, 0),
(10704, 1, 10705, 0),
(10704, 2, 10600, 0),
(10706, 0, 10600, 0);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`IN(14,15) AND `SourceGroup` IN(10704,10600,10599,10609,10610,10678,10687,10679,10688);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(15,10704,0,0,0,17,0,3916,0,0,0,0,0,'','Show gossip option if player achieved Call of the Crusade (25 player)'),
(15,10704,0,0,0,19,0,8,0,0,0,0,0,'','Show gossip option if player is in 25 version'),
(15,10704,0,0,0,13,0,0,2,2,1,0,0,'','Show gossip option if player not failed to defeat Northrend Beasts'),
(15,10704,0,0,1,17,0,3917,0,0,0,0,0,'','Show gossip option if player achieved Call of the Crusade (10 player)'),
(15,10704,0,0,1,19,0,4,0,0,0,0,0,'','Show gossip option if player is in 10 version'),
(15,10704,0,0,1,13,0,0,2,2,1,0,0,'','Show gossip option if player not failed to defeat Northrend Beasts'),
(15,10704,1,0,0,17,0,3916,0,0,1,0,0,'','Show gossip option if player not achieved Call of the Crusade (25 player)'),
(15,10704,1,0,0,19,0,8,0,0,0,0,0,'','Show gossip option if player is in 25 version'),
(15,10704,1,0,0,13,0,0,2,2,1,0,0,'','Show gossip option if player not failed to defeat Northrend Beasts'),
(15,10704,1,0,1,17,0,3917,0,0,1,0,0,'','Show gossip option if player not achieved Call of the Crusade (10 player)'),
(15,10704,1,0,1,19,0,4,0,0,0,0,0,'','Show gossip option if player is in 10 version'),
(15,10704,1,0,1,13,0,0,2,2,1,0,0,'','Show gossip option if player not failed to defeat Northrend Beasts'),
(15,10704,2,0,0,13,0,0,2,2,0,0,0,'','Show gossip option if player failed to defeat Northrend Beasts'),
(14,10704,14667,0,0,13,0,0,2,2,0,0,0,'','Show gossip text if player failed to defeat Northrend Beasts'),
(14,10704,14850,0,0,13,0,0,2,2,1,0,0,'','Show gossip text if player not failed to defeat Northrend Beasts'),
(14,10600,14668,0,0,13,0,0,2,2,0,0,0,'','Show gossip text if player failed to defeat Northrend Beasts'),
(14,10600,14665,0,0,13,0,0,2,2,1,0,0,'','Show gossip text if player not failed to defeat Northrend Beasts'),
(15,10600,0,0,0,13,0,0,2,2,1,0,0,'','Show gossip option if player not failed to defeat Northrend Beasts'),
(15,10600,1,0,0,13,0,0,2,2,0,0,0,'','Show gossip option if player failed to defeat Northrend Beasts'),
(14,10599,14667,0,0,13,0,0,2,2,0,0,0,'','Show gossip text if player failed to defeat Northrend Beasts'),
(14,10599,14664,0,0,13,0,0,2,2,1,0,0,'','Show gossip text if player not failed to defeat Northrend Beasts'),
(15,10599,0,0,0,13,0,0,2,2,1,0,0,'','Show gossip option if player not failed to defeat Northrend Beasts'),
(15,10599,1,0,0,13,0,0,2,2,0,0,0,'','Show gossip option if player failed to defeat Northrend Beasts'),
(14,10609,14679,0,0,13,0,1,2,2,0,0,0,'','Show gossip text if player failed to defeat Jaraxxus'),
(14,10609,14678,0,0,13,0,1,2,2,1,0,0,'','Show gossip text if player not failed to defeat Jaraxxus'),
(15,10609,0,0,1,13,0,1,2,2,1,0,0,'','Show gossip option if player not failed to defeat Jaraxxus'),
(15,10609,1,0,0,13,0,1,2,2,0,0,0,'','Show gossip option if player failed to defeat Jaraxxus'),
(14,10610,14682,0,0,13,0,1,2,2,0,0,0,'','Show gossip text if player failed to defeat Jaraxxus'),
(14,10610,14680,0,0,13,0,1,2,2,1,0,0,'','Show gossip text if player not failed to defeat Jaraxxus'),
(15,10610,0,0,1,13,0,1,2,2,1,0,0,'','Show gossip option if player not failed to defeat Jaraxxus'),
(15,10610,1,0,0,13,0,1,2,2,0,0,0,'','Show gossip option if player failed to defeat Jaraxxus'),
(14,10678,14815,0,0,13,0,2,2,2,0,0,0,'','Show gossip text if player failed to defeat Faction Champions'),
(14,10678,14813,0,0,13,0,2,2,2,1,0,0,'','Show gossip text if player not failed to defeat Faction Champions'),
(15,10678,0,0,1,13,0,2,2,2,1,0,0,'','Show gossip option if player not failed to defeat Faction Champions'),
(15,10678,1,0,0,13,0,2,2,2,0,0,0,'','Show gossip option if player failed to defeat Faction Champions'),
(14,10687,14816,0,0,13,0,2,2,2,0,0,0,'','Show gossip text if player failed to defeat Faction Champions'),
(14,10687,14814,0,0,13,0,2,2,2,1,0,0,'','Show gossip text if player not failed to defeat Faction Champions'),
(15,10687,0,0,1,13,0,2,2,2,1,0,0,'','Show gossip option if player not failed to defeat Faction Champions'),
(15,10687,1,0,0,13,0,2,2,2,0,0,0,'','Show gossip option if player failed to defeat Faction Champions'),
(14,10679,14820,0,0,13,0,3,2,2,0,0,0,'','Show gossip text if player failed to defeat Valkyr'),
(14,10679,14819,0,0,13,0,3,2,2,1,0,0,'','Show gossip text if player not failed to defeat Valkyr'),
(15,10679,0,0,1,13,0,3,2,2,1,0,0,'','Show gossip option if player not failed to defeat Valkyr'),
(15,10679,1,0,0,13,0,3,2,2,0,0,0,'','Show gossip option if player failed to defeat Valkyr'),
(14,10688,14822,0,0,13,0,3,2,2,0,0,0,'','Show gossip text if player failed to defeat Valkyr'),
(14,10688,14821,0,0,13,0,3,2,2,1,0,0,'','Show gossip text if player not failed to defeat Valkyr'),
(15,10688,0,0,1,13,0,3,2,2,1,0,0,'','Show gossip option if player not failed to defeat Valkyrs'),
(15,10688,1,0,0,13,0,3,2,2,0,0,0,'','Show gossip option if player failed to defeat Valkyr');
-- Gormok
DELETE FROM `script_spline_chain_meta` WHERE `entry`=34796 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(34796, 1, 0, 4181, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=34796 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(34796, 1, 0, 0, 563.93580, 229.82990, 394.80610),
(34796, 1, 0, 1, 563.84190, 224.04790, 394.89610),
(34796, 1, 0, 2, 563.84190, 222.79790, 394.89610),
(34796, 1, 0, 3, 563.84190, 218.54790, 394.89610),
(34796, 1, 0, 4, 563.84190, 216.04790, 395.39610),
(34796, 1, 0, 5, 563.84190, 204.04790, 395.39610),
(34796, 1, 0, 6, 563.84190, 202.54790, 395.39610),
(34796, 1, 0, 7, 563.84190, 186.79790, 394.64610),
(34796, 1, 0, 8, 563.74800, 179.76600, 394.48620);
-- Dreadscale
DELETE FROM `script_spline_chain_meta` WHERE `entry`=34799 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(34799, 1, 0, 10805, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=34799 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(34799, 1, 0, 0, 564.36460, 231.48260, 394.83890),
(34799, 1, 0, 1, 564.32970, 232.48200, 394.83890),
(34799, 1, 0, 2, 564.36460, 231.48260, 394.83890),
(34799, 1, 0, 3, 564.12680, 236.13020, 394.70030),
(34799, 1, 0, 4, 564.49300, 221.61810, 394.64320),
(34799, 1, 0, 5, 563.88370, 194.52080, 395.24500),
(34799, 1, 0, 6, 567.82640, 182.76910, 395.20800),
(34799, 1, 0, 7, 576.53470, 168.95140, 394.70640),
(34799, 1, 0, 8, 576.53470, 168.95140, 394.70640);
-- Icehowl
DELETE FROM `script_spline_chain_meta` WHERE `entry`=34797 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(34797, 1, 0, 6729, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=34797 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(34797, 1, 0, 0, 563.71700, 230.39930, 394.81330),
(34797, 1, 0, 1, 563.73450, 231.39920, 394.81330),
(34797, 1, 0, 2, 563.71700, 230.39930, 394.81330),
(34797, 1, 0, 3, 563.60240, 228.03130, 394.70000),
(34797, 1, 0, 4, 563.71360, 192.86810, 394.63020),
(34797, 1, 0, 5, 563.85770, 176.58850, 394.44170),
(34797, 1, 0, 6, 563.85770, 176.58850, 394.44170);
-- Barrett Ramsay
DELETE FROM `script_spline_chain_meta` WHERE `entry`=34816 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(34816, 1, 0, 1544, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=34816 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(34816, 1, 0, 0, 559.14060, 90.272570, 395.27180),
(34816, 1, 0, 1, 561.59470, 84.008530, 395.22810),
(34816, 1, 0, 2, 563.54880, 78.744500, 395.18450);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=35909 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(35909, 1, 0, 1544, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=35909 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(35909, 1, 0, 0, 559.14060, 90.272570, 395.27180),
(35909, 1, 0, 1, 561.59470, 84.008530, 395.22810),
(35909, 1, 0, 2, 563.54880, 78.744500, 395.18450);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=35035 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(35035, 1, 0, 1544, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=35035 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(35035, 1, 0, 0, 559.14060, 90.272570, 395.27180),
(35035, 1, 0, 1, 561.59470, 84.008530, 395.22810),
(35035, 1, 0, 2, 563.54880, 78.744500, 395.18450);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=35766 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(35766, 1, 0, 1544, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=35766 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(35766, 1, 0, 0, 559.14060, 90.272570, 395.27180),
(35766, 1, 0, 1, 561.59470, 84.008530, 395.22810),
(35766, 1, 0, 2, 563.54880, 78.744500, 395.18450);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=35770 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(35770, 1, 0, 1544, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=35770 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(35770, 1, 0, 0, 559.14060, 90.272570, 395.27180),
(35770, 1, 0, 1, 561.59470, 84.008530, 395.22810),
(35770, 1, 0, 2, 563.54880, 78.744500, 395.18450);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=35771 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(35771, 1, 0, 1544, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=35771 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(35771, 1, 0, 0, 559.14060, 90.272570, 395.27180),
(35771, 1, 0, 1, 561.59470, 84.008530, 395.22810),
(35771, 1, 0, 2, 563.54880, 78.744500, 395.18450);
-- Wilfred
DELETE FROM `script_spline_chain_meta` WHERE `entry`=35458 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(35458, 1, 0, 10626, 9969),
(35458, 1, 1, 4280, 3203),
(35458, 1, 2, 5631, 5266),
(35458, 1, 3, 5325, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=35458 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(35458, 1, 0, 0, 563.60070, 208.52780, 395.26960),
(35458, 1, 0, 1, 563.58330, 209.52760, 395.26960),
(35458, 1, 0, 2, 563.60070, 208.52780, 395.26960),
(35458, 1, 0, 3, 563.62780, 203.76760, 395.21350),
(35458, 1, 0, 4, 563.72610, 186.49170, 394.56950),
(35458, 1, 0, 5, 563.75180, 181.98090, 394.51520),
(35458, 1, 0, 6, 563.75180, 181.98090, 394.51520),
(35458, 1, 1, 0, 563.74210, 183.67530, 394.53560),
(35458, 1, 1, 1, 563.69400, 182.07720, 394.71280),
(35458, 1, 1, 2, 563.64580, 172.97920, 394.39000),
(35458, 1, 2, 0, 563.67610, 175.55330, 394.42580),
(35458, 1, 2, 1, 563.68090, 173.01620, 394.65770),
(35458, 1, 2, 2, 563.68090, 168.01620, 394.65770),
(35458, 1, 2, 3, 563.68580, 161.47920, 394.38960),
(35458, 1, 3, 0, 563.68260, 162.41400, 394.38780),
(35458, 1, 3, 1, 563.66330, 161.52210, 394.43900),
(35458, 1, 3, 2, 563.66330, 152.77210, 394.43900),
(35458, 1, 3, 3, 563.64410, 149.13020, 393.99010);
-- Jaraxxus
DELETE FROM `script_spline_chain_meta` WHERE `entry`=34780 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(34780, 1, 0, 1354, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=34780 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(34780, 1, 0, 0, 563.84390, 141.65610, 393.98610),
(34780, 1, 0, 1, 563.82640, 140.65630, 393.98610),
(34780, 1, 0, 2, 563.81340, 139.47290, 393.90840),
(34780, 1, 0, 3, 563.77460, 135.96830, 393.90840),
(34780, 1, 0, 4, 563.75520, 134.21640, 394.23520),
(34780, 1, 0, 5, 563.72220, 131.23440, 393.99010),
(34780, 1, 0, 6, 563.72220, 131.23440, 393.99010);
-- Fjola Lightbane
DELETE FROM `script_spline_chain_meta` WHERE `entry`=34497 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(34497, 1, 0, 3499, 2438),
(34497, 1, 1, 3586, 2437),
(34497, 1, 2, 3214, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=34497 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(34497, 1, 0, 0, 571.68400, 204.90280, 399.26300),
(34497, 1, 0, 1, 571.73790, 204.94450, 401.48890),
(34497, 1, 0, 2, 571.73790, 203.69450, 401.48890),
(34497, 1, 0, 3, 571.73790, 190.69450, 401.48890),
(34497, 1, 0, 4, 571.79170, 184.48610, 401.21480),
(34497, 1, 1, 0, 571.75040, 192.30170, 401.20640),
(34497, 1, 1, 1, 572.04100, 190.26200, 401.45710),
(34497, 1, 1, 2, 572.04100, 184.76200, 401.45710),
(34497, 1, 1, 3, 579.29100, 181.01200, 401.45710),
(34497, 1, 1, 4, 583.33160, 178.72220, 401.20780),
(34497, 1, 2, 0, 576.00200, 182.38320, 401.21590),
(34497, 1, 2, 1, 579.49060, 180.61520, 401.46680),
(34497, 1, 2, 2, 583.24060, 178.61520, 401.46680),
(34497, 1, 2, 3, 583.49060, 176.36520, 401.46680),
(34497, 1, 2, 4, 584.47920, 167.84720, 400.71780);
-- Eydis Darkbane
DELETE FROM `script_spline_chain_meta` WHERE `entry`=34496 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(34496, 1, 0, 4306, 3594),
(34496, 1, 1, 3304, 2437),
(34496, 1, 2, 2047, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=34496 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(34496, 1, 0, 0, 555.45140, 205.88890, 399.26340),
(34496, 1, 0, 1, 555.51310, 205.85760, 401.48250),
(34496, 1, 0, 2, 555.51310, 203.60760, 401.48250),
(34496, 1, 0, 3, 555.26310, 198.60760, 401.48250),
(34496, 1, 0, 4, 555.07460, 179.82640, 401.20160),
(34496, 1, 1, 0, 555.14360, 184.59820, 401.20050),
(34496, 1, 1, 1, 554.95030, 180.11680, 401.48760),
(34496, 1, 1, 2, 547.70030, 178.11680, 401.23760),
(34496, 1, 1, 3, 542.45030, 176.36680, 401.48760),
(34496, 1, 1, 4, 540.25700, 175.63540, 400.77480),
(34496, 1, 2, 0, 546.12530, 177.29520, 401.19950),
(34496, 1, 2, 1, 542.29610, 176.19790, 401.47940),
(34496, 1, 2, 2, 540.54610, 175.69790, 400.97940),
(34496, 1, 2, 3, 540.46700, 170.60070, 400.75930);
-- Lich King
DELETE FROM `script_spline_chain_meta` WHERE `entry`=35877 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(35877, 1, 0, 4474, 3594),
(35877, 1, 1, 2894, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=35877 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(35877, 1, 0, 0, 563.57120, 175.83510, 394.49540),
(35877, 1, 0, 1, 563.57120, 174.83510, 394.49540),
(35877, 1, 0, 2, 563.56950, 173.12000, 394.39130),
(35877, 1, 0, 3, 563.56410, 167.81720, 394.29680),
(35877, 1, 0, 4, 563.54860, 152.47400, 394.39250),
(35877, 1, 0, 5, 563.54860, 152.47400, 394.39250),
(35877, 1, 1, 0, 563.55220, 156.01330, 394.37050),
(35877, 1, 1, 1, 563.54960, 152.56310, 394.63950),
(35877, 1, 1, 2, 563.54960, 147.56310, 394.13950),
(35877, 1, 1, 3, 563.54960, 145.31310, 394.13950),
(35877, 1, 1, 4, 563.54960, 144.31310, 394.38950),
(35877, 1, 1, 5, 563.54690, 141.61290, 393.90840);
@@ -0,0 +1,3 @@
--
UPDATE `gameobject` SET `spawnDifficulties` = '1,2' WHERE `id` = 182947;
UPDATE `gameobject` SET `spawnDifficulties` = '2' WHERE `id` = 184222 AND `map` IN (553,554);
@@ -0,0 +1,2 @@
--
UPDATE creature_template SET AIName='' WHERE entry=21909;
@@ -0,0 +1,6 @@
DELETE FROM `spell_area` WHERE `spell` IN (30550, 30557, 30562, 30567);
INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `raceMask`, `gender`, `flags`, `quest_start_status`, `quest_end_status`) VALUES
(30550, 3457, 0, 0, 0, 0, 2, 0, 64, 11),
(30557, 3457, 0, 0, 0, 0, 2, 0, 64, 11),
(30562, 3457, 0, 0, 0, 0, 2, 0, 64, 11),
(30567, 3457, 0, 0, 0, 0, 2, 0, 64, 11);
@@ -0,0 +1 @@
UPDATE `creature_template` SET `flags_extra`=128 WHERE `entry`=23224;
@@ -0,0 +1 @@
UPDATE `reference_loot_template` SET `Chance` = 40 WHERE `Entry` IN (34278,34279) AND `Item` IN (52025,52028);
@@ -0,0 +1,3 @@
DELETE FROM `gameobject` WHERE `id` = 190557 AND `map` = 631;
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(1498,190557,631,0,0,'3,4,5,6',0,-59.4583,2157.47,30.6542,2.75761,0,0,0,1,6000,100,1,0);
@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_hor_quel_delars_will';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(70698, 'spell_hor_quel_delars_will');
@@ -0,0 +1 @@
UPDATE `creature_template` SET `mechanic_immune_mask` = `mechanic_immune_mask` & 0xFFFFFF7F;