From c8f25b67246b36a9c648c2733f70dc1ef71d1939 Mon Sep 17 00:00:00 2001 From: funjoker Date: Tue, 28 May 2024 23:08:03 +0200 Subject: DB: Correct sql order --- .../2024_05_28_01_2024_03_30_00_world.sql | 71 +++++ .../2024_05_28_01_world_2024_05_23_00_world.sql | 1 - .../2024_05_28_02_2024_04_02_00_world.sql | 17 ++ .../2024_05_28_02_world_2024_05_22_05_world.sql | 329 --------------------- .../2024_05_28_03_2024_04_02_01_world.sql | 160 ++++++++++ .../2024_05_28_03_world_2024_05_22_04_world.sql | 4 - .../2024_05_28_04_2024_04_02_02_world.sql | 18 ++ .../2024_05_28_04_world_2024_05_18_01_world.sql | 17 -- .../2024_05_28_05_2024_04_07_00_world.sql | 221 ++++++++++++++ .../2024_05_28_05_world_2024_05_06_01_world.sql | 53 ---- .../2024_05_28_06_2024_04_11_00_world.sql | 3 + .../2024_05_28_06_world_2024_05_05_01_world.sql | 2 - .../2024_05_28_07_2024_04_13_00_world.sql | 6 + .../2024_05_28_07_world_2024_04_28_00_world.sql | 7 - .../2024_05_28_08_2024_04_15_00_world.sql | 45 +++ .../2024_05_28_08_world_2024_04_27_00_world.sql | 3 - .../2024_05_28_09_2024_04_16_00_world.sql | 91 ++++++ .../2024_05_28_09_world_2024_04_26_00_world.sql | 14 - .../2024_05_28_10_2024_04_20_00_world.sql | 311 +++++++++++++++++++ .../2024_05_28_10_world_2024_04_25_00_world.sql | 11 - .../2024_05_28_12_2024_04_20_00_world.sql | 311 ------------------- .../2024_05_28_12_world_2024_04_25_00_world.sql | 11 + .../2024_05_28_13_2024_04_16_00_world.sql | 91 ------ .../2024_05_28_13_world_2024_04_26_00_world.sql | 14 + .../2024_05_28_14_2024_04_15_00_world.sql | 45 --- .../2024_05_28_14_world_2024_04_27_00_world.sql | 3 + .../2024_05_28_15_2024_04_13_00_world.sql | 6 - .../2024_05_28_15_world_2024_04_28_00_world.sql | 7 + .../2024_05_28_16_2024_04_11_00_world.sql | 3 - .../2024_05_28_16_world_2024_05_05_01_world.sql | 2 + .../2024_05_28_17_2024_04_07_00_world.sql | 221 -------------- .../2024_05_28_17_world_2024_05_06_01_world.sql | 53 ++++ .../2024_05_28_18_2024_04_02_02_world.sql | 18 -- .../2024_05_28_18_world_2024_05_18_01_world.sql | 17 ++ .../2024_05_28_19_2024_04_02_01_world.sql | 160 ---------- .../2024_05_28_19_world_2024_05_22_04_world.sql | 4 + .../2024_05_28_20_2024_04_02_00_world.sql | 17 -- .../2024_05_28_20_world_2024_05_22_05_world.sql | 329 +++++++++++++++++++++ .../2024_05_28_21_2024_03_30_00_world.sql | 71 ----- .../2024_05_28_21_world_2024_05_23_00_world.sql | 1 + 40 files changed, 1384 insertions(+), 1384 deletions(-) create mode 100644 sql/updates/world/cata_classic/2024_05_28_01_2024_03_30_00_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_01_world_2024_05_23_00_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_02_2024_04_02_00_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_02_world_2024_05_22_05_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_03_2024_04_02_01_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_03_world_2024_05_22_04_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_04_2024_04_02_02_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_04_world_2024_05_18_01_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_05_2024_04_07_00_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_05_world_2024_05_06_01_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_06_2024_04_11_00_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_06_world_2024_05_05_01_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_07_2024_04_13_00_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_07_world_2024_04_28_00_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_08_2024_04_15_00_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_08_world_2024_04_27_00_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_09_2024_04_16_00_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_09_world_2024_04_26_00_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_10_2024_04_20_00_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_10_world_2024_04_25_00_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_12_2024_04_20_00_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_12_world_2024_04_25_00_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_13_2024_04_16_00_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_13_world_2024_04_26_00_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_14_2024_04_15_00_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_14_world_2024_04_27_00_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_15_2024_04_13_00_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_15_world_2024_04_28_00_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_16_2024_04_11_00_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_16_world_2024_05_05_01_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_17_2024_04_07_00_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_17_world_2024_05_06_01_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_18_2024_04_02_02_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_18_world_2024_05_18_01_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_19_2024_04_02_01_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_19_world_2024_05_22_04_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_20_2024_04_02_00_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_20_world_2024_05_22_05_world.sql delete mode 100644 sql/updates/world/cata_classic/2024_05_28_21_2024_03_30_00_world.sql create mode 100644 sql/updates/world/cata_classic/2024_05_28_21_world_2024_05_23_00_world.sql (limited to 'sql') diff --git a/sql/updates/world/cata_classic/2024_05_28_01_2024_03_30_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_01_2024_03_30_00_world.sql new file mode 100644 index 00000000000..7d6e46091e7 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_01_2024_03_30_00_world.sql @@ -0,0 +1,71 @@ +DELIMITER ;; +CREATE PROCEDURE creature_health_2024_03_30_00_world() BEGIN + IF NOT EXISTS (SELECT * FROM `information_schema`.`columns` WHERE `table_schema`=SCHEMA() AND `table_name`='creature' AND `column_name`='curHealthPct') THEN + + ALTER TABLE `creature` + CHANGE COLUMN `curhealth` `curHealthPct` INT UNSIGNED NOT NULL DEFAULT 100, + DROP COLUMN `curmana`; + + END IF; +END;; + +DELIMITER ; +CALL creature_health_2024_03_30_00_world(); + +DROP PROCEDURE IF EXISTS creature_health_2024_03_30_00_world; + +UPDATE `creature` c +INNER JOIN `creature_template` ct ON c.`id`=ct.`entry` +SET c.`curHealthPct`=100 +WHERE ct.`RegenHealth`=1; + +-- Spells +DELETE FROM `serverside_spell` WHERE `Id` IN (86562); +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`, `CasterAuraType`, `TargetAuraType`, `ExcludeCasterAuraType`, `ExcludeTargetAuraType`, `CastingTimeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `StartRecoveryCategory`, `StartRecoveryTime`, `InterruptFlags`, `AuraInterruptFlags1`, `AuraInterruptFlags2`, `ChannelInterruptFlags1`, `ChannelInterruptFlags2`, `ProcFlags`, `ProcFlags2`, `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 +(86562, 0, 0, 0, 0, 384, 268435456, 0, 0, 128, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, '1 Health', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0); + +UPDATE `serverside_spell` SET `AttributesEx4`=128, `AttributesEx5`=8, `ProcChance`=0 WHERE `Id` IN (24931, 24959, 28838, 73342); +UPDATE `serverside_spell` SET `Attributes`=384, `DurationIndex`=0 WHERE `Id` IN (24931, 24959); + +DELETE FROM `serverside_spell_effect` WHERE `SpellID` IN (24931, 24959, 43645, 73342, 86562); +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 +(24931, 0, 0, 77, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(24959, 0, 0, 77, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(43645, 0, 0, 77, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(73342, 0, 0, 77, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), +(86562, 0, 0, 77, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_gen_set_health_1', 'spell_gen_set_health_100', 'spell_gen_set_health_500'); +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(24931, 'spell_gen_set_health_100'), +(24959, 'spell_gen_set_health_500'), +(28838, 'spell_gen_set_health_1'), +(43645, 'spell_gen_set_health_1'), +(73342, 'spell_gen_set_health_1'), +(86562, 'spell_gen_set_health_1'); + +-- Special cases +UPDATE `creature` SET `curHealthPct`=100 WHERE `id` IN (6172, 6177, 16601, 26335); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (16601, 26335); + +UPDATE `smart_scripts` SET `id`=2 WHERE `entryorguid` IN (6172,6177) AND `source_type`=0 AND `id`=1 AND `event_type`=8; +UPDATE `smart_scripts` SET `link`=1 WHERE `entryorguid` IN (6172,6177) AND `source_type`=0 AND `id`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (16601, 26335) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (6172,6177) AND `source_type`=0 AND `id`=1; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(6172,0,1,0,61,0,100,0,0,0,0,0,0,'',11,28838,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Henze Faulk - Event linked - Cast ''1 Health'''), +(6177,0,1,0,61,0,100,0,0,0,0,0,0,'',11,28838,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Narm Faulk - Event linked - Cast ''1 Health'''), +(16601,0,0,0,25,0,100,0,0,0,0,0,0,'',11,28838,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Dying Blood Elf - On reset - Cast ''1 Health'''), +(26335,0,0,0,25,0,100,0,0,0,0,0,0,'',11,43645,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Fallen Earthen Warrior - On reset - Cast ''1 Health'''); + +UPDATE `creature` SET `curHealthPct`=100 WHERE `id` IN (4510,7604,7605,7606,7607,7608,18192,18256,25063,27894,28781,30236,34775,34776,34793,34802,34929,34935,34944,35069,35273); +UPDATE `creature` SET `curHealthPct`=10 WHERE `id` IN (16483,149917,166800); +UPDATE `creature` SET `curHealthPct`=20 WHERE `id` IN (44617,44795,44857,50047,156609,156610,156612,156622); +UPDATE `creature` SET `curHealthPct`=30 WHERE `id` IN (13020,25661,30035,31273,31304,166784); +UPDATE `creature` SET `curHealthPct`=40 WHERE `id` IN (18708,20869,166791); +UPDATE `creature` SET `curHealthPct`=50 WHERE `id` IN (166786,166796); +UPDATE `creature` SET `curHealthPct`=60 WHERE `id` IN (12423,12427,12428,12429,12430,17551); + +DELETE FROM `creature` WHERE `guid`=137747 AND `id`=36789; +UPDATE `creature` SET `spawnDifficulties`='3,4,5,6', `curHealthPct`=50 WHERE `id`=36789; diff --git a/sql/updates/world/cata_classic/2024_05_28_01_world_2024_05_23_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_01_world_2024_05_23_00_world.sql deleted file mode 100644 index e109eed82cd..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_01_world_2024_05_23_00_world.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE `creature_text` MODIFY COLUMN `Language` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `Type`; diff --git a/sql/updates/world/cata_classic/2024_05_28_02_2024_04_02_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_02_2024_04_02_00_world.sql new file mode 100644 index 00000000000..a40494c0ea4 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_02_2024_04_02_00_world.sql @@ -0,0 +1,17 @@ +DELIMITER ;; +CREATE PROCEDURE waypoint_path_velocity_2024_04_02_00() BEGIN + IF NOT EXISTS (SELECT * FROM `information_schema`.`columns` WHERE `table_schema`=SCHEMA() AND `table_name`='waypoint_path' AND `column_name`='Velocity') THEN + + ALTER TABLE `waypoint_path` + ADD COLUMN `Velocity` float NULL DEFAULT NULL AFTER `Flags`; + + END IF; +END;; + +DELIMITER ; +CALL waypoint_path_velocity_2024_04_02_00(); + +DROP PROCEDURE IF EXISTS waypoint_path_velocity_2024_04_02_00; + +UPDATE `waypoint_path` SET `Velocity`=4.0 WHERE `PathId`=9301100; +UPDATE `waypoint_path` SET `Velocity`=35.0 WHERE `PathId` IN(11432300, 11432301, 11432302, 11432303, 11432304); diff --git a/sql/updates/world/cata_classic/2024_05_28_02_world_2024_05_22_05_world.sql b/sql/updates/world/cata_classic/2024_05_28_02_world_2024_05_22_05_world.sql deleted file mode 100644 index e16c42424e8..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_02_world_2024_05_22_05_world.sql +++ /dev/null @@ -1,329 +0,0 @@ --- Creature templates -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry` IN (32600, 32597); -- Dalaran Visitor -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry` IN (32596, 32598, 32601); -- Dalaran Visitor -UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29668, 29673); -- Arathi Basin Portal -UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29669, 29674); -- Alterac Valley Portal -UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29670, 29675); -- Eye of the Storm Portal -UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (34952, 34953); -- Isle of Conquest Portal -UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32724; -- Warmage Mumplina -UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32722; -- Warmage Lukems -UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=27870; -- Wild Flower -UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29672, 29667); -- Warsong Gulch Portal -UPDATE `creature_template` SET `npcflag`=281474976710659 WHERE `entry`=49750; -- Warchief's Herald -UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378 WHERE `entry`=37859; -- Ignis the Furnace Master Image -UPDATE `creature_template` SET `unit_flags3`=67108864 WHERE `entry`=31236; -- Dappled Stag -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31796; -- Cosmetic Worg Pup -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31742; -- Cosmetic Prairie Dog -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31795; -- Cosmetic Smolderweb Hatchling -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31740; -- Cosmetic Turtle -UPDATE `creature_template` SET `unit_flags3`=67108864 WHERE `entry`=31233; -- Sinewy Wolf -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31741; -- Cosmetic Rabbit -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29766; -- Cosmetic Totem Alliance Water -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31735; -- Cosmetic Pig -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29764; -- Cosmetic Totem Alliance Earth -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31732; -- Cosmetic Rat -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29765; -- Cosmetic Totem Alliance Fire -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31733; -- Cosmetic Cockroach -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31730; -- Cosmetic Frog -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29763; -- Cosmetic Totem Alliance Air -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31719; -- Cosmetic Frenzy -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31728; -- Cosmetic Cat Set 1/2 -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31729; -- Cosmetic Cat Set 2/2 -UPDATE `creature_template` SET `unit_flags`=256 WHERE `entry`=18927; -- Human Commoner -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31714; -- Cosmetic Ribbon Snake -UPDATE `creature_template` SET `unit_flags`=256 WHERE `entry`=20102; -- Goblin Commoner -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31710; -- Cosmetic Black Kingsnake -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31711; -- Cosmetic Brown Snake -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29782; -- Cosmetic Mechanical Sheep -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31709; -- Cosmetic Albino Snake -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29780; -- Cosmetic Mechanical Chicken -UPDATE `creature_template` SET `unit_flags`=33554432 WHERE `entry`=29812; -- [DND] Dalaran Toy Store Plane String Bunny -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29781; -- Cosmetic Mechanical Squirrel -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=28160; -- Archmage Pentarus -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29777; -- Cosmetic Mechanical Gorilla -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29784; -- Cosmetic Clockwork Robot (Blue) -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29785; -- Cosmetic Clockwork Robot (Red) -UPDATE `creature_template` SET `unit_flags`=33554432 WHERE `entry`=29807; -- [DND] Dalaran Toy Store Plane String Hook -UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29783; -- Cosmetic Clockwork Robot -UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=32441; -- Underbelly Croc -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=31229; -- Ancient Watcher -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=31400; -- Azure Front Channel Stalker -UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=30352; -- Skybreaker Marine -UPDATE `creature_template` SET `unit_flags3`=335544320 WHERE `entry`=32435; -- Vern -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=33778; -- Tournament Hippogryph -UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=30755; -- Kor'kron Reaver - -UPDATE `creature_template_addon` SET `visibilityDistanceType`=0 WHERE `entry`=16128; -- 16128 (Rhonin) -UPDATE `creature_template_addon` SET `visibilityDistanceType`=0 WHERE `entry`=28332; -- 28332 (Generic Trigger LAB (Large AOI)) - --- Difficulties -UPDATE `creature_template_difficulty` SET `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (31402,32748,19481,61081,96773,96772,32652,32606,73516,73517,34252,35498,28990,28997,31581,31582,37941,35495,33963,35607,29535,50152,50153,50150,29538,50144,29537,36776,50142,50148,50147,31756,23033,35826,31085,31081,31080,174271,50171,50163,29523,29494,28994,28992,35500,50174,32265,35497,50158,50156,50157,29497,50160,31580,47581,29496,28991,31579,35494,35594,37942,33964,32747,29528,28958,32749,30094,51512,29703,29491,32744,32745,32322,32743,29548,29527,32425,47579,28995,34330,32466,30885,28956,36774,31768,29715,32337,20102,29499,29529,28993,31758,32516,69973,32428,32339,32746,29702,31757,32336,69971,29495,28160,31755,23472,25058,29802,32328,30095,29547,69321,69318,15732,32342,32470,15730,40212,35496)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29778 AND `DifficultyID`=0); -- Scout Nisstina -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (32600,32596,32598,32597,32601)); -- Dalaran Visitor -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32709 AND `DifficultyID`=0); -- Hunaka Greenhoof -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32697 AND `DifficultyID`=0); -- Dak'hal the Black -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29668,29673)); -- Arathi Basin Portal -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29669,29674)); -- Alterac Valley Portal -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29670,29675)); -- Eye of the Storm Portal -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (34952,34953)); -- Isle of Conquest Portal -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32631 AND `DifficultyID`=0); -- Alfred Copperworth -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32737 AND `DifficultyID`=0); -- Archmage John Nicholas -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32741 AND `DifficultyID`=0); -- Conjurer Weinhaus -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32734 AND `DifficultyID`=0); -- Arcanist Ginsberg -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32735 AND `DifficultyID`=0); -- Alchemist Burroughs -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32738 AND `DifficultyID`=0); -- Kat Sunflower -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32724 AND `DifficultyID`=0); -- Warmage Mumplina -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32722 AND `DifficultyID`=0); -- Warmage Lukems -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32287 AND `DifficultyID`=0); -- Archmage Alvareaux -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32843 AND `DifficultyID`=0); -- Tabea -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32844 AND `DifficultyID`=0); -- Apollo -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=16128 AND `DifficultyID`=0); -- Rhonin -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30117 AND `DifficultyID`=0); -- Archmage Modera -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30115 AND `DifficultyID`=0); -- Vereesa Windrunner -UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=52649 WHERE (`Entry`=30116 AND `DifficultyID`=0); -- Archmage Aethas Sunreaver -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32733 AND `DifficultyID`=0); -- Joboba Mezbreaker -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32728 AND `DifficultyID`=0); -- Illusionist Karina -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28699 AND `DifficultyID`=0); -- Charles Worth -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28726 AND `DifficultyID`=0); -- Dominique Stefano -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29510 AND `DifficultyID`=0); -- Linna Bruder -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29508 AND `DifficultyID`=0); -- Andellion -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29509 AND `DifficultyID`=0); -- Namha Moonwater -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28700 AND `DifficultyID`=0); -- Diane Cannings -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28696 AND `DifficultyID`=0); -- Derik Marks -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29507 AND `DifficultyID`=0); -- Manfred Staller -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32651 AND `DifficultyID`=0); -- Wounded Dalaran Shield Guard -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29640 AND `DifficultyID`=0); -- Josie Birch -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28706 AND `DifficultyID`=0); -- Olisarra the Kind -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32653 AND `DifficultyID`=0); -- Wounded Dalaran Serpent -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32650 AND `DifficultyID`=0); -- Wounded Dalaran Protector -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29511 AND `DifficultyID`=0); -- Lalla Brightweave -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29628 AND `DifficultyID`=0); -- Angelique Butler -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29512 AND `DifficultyID`=0); -- Ainderu Summerleaf -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28718 AND `DifficultyID`=0); -- Ranid Glowergold -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32684 AND `DifficultyID`=0); -- Mona Everspring -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32677 AND `DifficultyID`=0); -- Whirt the All-Knowing -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32515 AND `DifficultyID`=0); -- Braeg Stoutbeard -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28721 AND `DifficultyID`=0); -- Tiffany Cartier -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32172 AND `DifficultyID`=0); -- Harold Winston -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28722 AND `DifficultyID`=0); -- Bryan Landers -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29514 AND `DifficultyID`=0); -- Findle Whistlesteam -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28697 AND `DifficultyID`=0); -- Timofey Oshenko -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29929 AND `DifficultyID`=0); -- Mechano-Hog -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712, `VerifiedBuild`=52649 WHERE (`Entry`=40160 AND `DifficultyID`=0); -- Frozo the Renowned -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29513 AND `DifficultyID`=0); -- Didi the Wrench -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28725 AND `DifficultyID`=0); -- Patricia Egan -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28698 AND `DifficultyID`=0); -- Jedidiah Handers -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28728 AND `DifficultyID`=0); -- Dorian Fines -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32706 AND `DifficultyID`=0); -- Saedelin Whitedawn -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=93432 AND `DifficultyID`=0); -- Nethaera's Light -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28703 AND `DifficultyID`=0); -- Linzy Blackbolt -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=27870 AND `DifficultyID`=0); -- Wild Flower -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=26043 AND `DifficultyID`=0); -- Steam Burst -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29506 AND `DifficultyID`=0); -- Orland Schaeffer -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28694 AND `DifficultyID`=0); -- Alard Schmied -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32451 AND `DifficultyID`=0); -- Dalaran Citizen -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28716 AND `DifficultyID`=0); -- Palja Amboss -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28675 AND `DifficultyID`=0); -- Teller Rames -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29282 AND `DifficultyID`=0); -- Paymaster Alstein -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28676 AND `DifficultyID`=0); -- Teller Althiellis -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28677 AND `DifficultyID`=0); -- Teller Hanners -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29672,29667)); -- Warsong Gulch Portal -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29657 AND `DifficultyID`=0); -- High Arcanist Savor -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=50149 AND `DifficultyID`=0); -- Vinsun -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29665 AND `DifficultyID`=0); -- Pazik "The Pick" Prylock -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=37780 AND `DifficultyID`=0); -- Dark Ranger Vorel -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32249 AND `DifficultyID`=0); -- Worg Pup -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268697600, `VerifiedBuild`=52649 WHERE (`Entry`=32664 AND `DifficultyID`=0); -- Segacedi -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32170 AND `DifficultyID`=0); -- Magister Surdiel -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31886 AND `DifficultyID`=0); -- Nargut -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32252 AND `DifficultyID`=0); -- Wanathan -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31557 AND `DifficultyID`=0); -- Uda the Beast -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32251 AND `DifficultyID`=0); -- Shokavis -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=36670 AND `DifficultyID`=0); -- Magister Hathorel -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32420 AND `DifficultyID`=0); -- Mimbihi -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32415 AND `DifficultyID`=0); -- Hamaka -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31885 AND `DifficultyID`=0); -- Rhukah -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32253 AND `DifficultyID`=0); -- Kyunghee -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32419 AND `DifficultyID`=0); -- Umbiwa -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32412 AND `DifficultyID`=0); -- Mato -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32418 AND `DifficultyID`=0); -- Abohba -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29631 AND `DifficultyID`=0); -- Awilo Lon'gomba -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31031 AND `DifficultyID`=0); -- Misensi -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32692 AND `DifficultyID`=0); -- Arcanist Alec -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32687 AND `DifficultyID`=0); -- Linda Ann Kastinglow -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31238 AND `DifficultyID`=0); -- Hira Snowdawn -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28674 AND `DifficultyID`=0); -- Aludane Whitecloud -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32732 AND `DifficultyID`=0); -- Dorfus Alphamage -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32730 AND `DifficultyID`=0); -- Goldlilly Gleamingfell -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31439 AND `DifficultyID`=0); -- Archmage Timear -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29325 AND `DifficultyID`=0); -- Torgo the Younger -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29660 AND `DifficultyID`=0); -- Grand Marauder Sai -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32169 AND `DifficultyID`=0); -- Arcanist Braedin -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32424 AND `DifficultyID`=0); -- Laire Brewgold -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30608 AND `DifficultyID`=0); -- Paymaster Amadi -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30606 AND `DifficultyID`=0); -- Paymaster Chang -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30607 AND `DifficultyID`=0); -- Teller Plushner -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30604 AND `DifficultyID`=0); -- Teller Almeida -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30605 AND `DifficultyID`=0); -- Teller Gee -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32426 AND `DifficultyID`=0); -- Coira Longrifle -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28686 AND `DifficultyID`=0); -- Caliel Brightwillow -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=20735 AND `DifficultyID`=0); -- Archmage Lan'dalock -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28692 AND `DifficultyID`=0); -- "Red" Jack Findle -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=37776 AND `DifficultyID`=0); -- Apprentice Nelphi -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=37859 AND `DifficultyID`=0); -- Ignis the Furnace Master Image -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32715 AND `DifficultyID`=0); -- Sorrow -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28691 AND `DifficultyID`=0); -- Susana Averoy -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=50155 AND `DifficultyID`=0); -- Naseev -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=31517 AND `DifficultyID`=0); -- Dalaran Fountain Invis Stalker -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28705 AND `DifficultyID`=0); -- Katherine Lee -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31032 AND `DifficultyID`=0); -- Derek Odds -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32416 AND `DifficultyID`=0); -- Stefen Cotter -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28682 AND `DifficultyID`=0); -- Inzi Charmlight -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30490 AND `DifficultyID`=0); -- Rin Duoctane -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29530 AND `DifficultyID`=0); -- Binzik Goldbook -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32450 AND `DifficultyID`=0); -- Badluck -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=35790 AND `DifficultyID`=0); -- Usuri Brightcoin -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28715 AND `DifficultyID`=0); -- Endora Moorehead -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28742 AND `DifficultyID`=0); -- Marcia Chase -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32514 AND `DifficultyID`=0); -- Vanessa Sellers -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29636 AND `DifficultyID`=0); -- Hagatha Moorehead -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32421 AND `DifficultyID`=0); -- Marcella Bloom -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=36669 AND `DifficultyID`=0); -- Arcanist Tybalin -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32413 AND `DifficultyID`=0); -- Isirami Fairwind -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=15760 AND `DifficultyID`=0); -- Winter Reveler -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29505 AND `DifficultyID`=0); -- Imindril Spearsong -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31236 AND `DifficultyID`=0); -- Dappled Stag -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32702 AND `DifficultyID`=0); -- Drog Skullbreaker -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28776 AND `DifficultyID`=0); -- Elizabeth Ross -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31796 AND `DifficultyID`=0); -- Cosmetic Worg Pup -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28774 AND `DifficultyID`=0); -- Andrew Matthews -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29532 AND `DifficultyID`=0); -- Ajay Green -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32693 AND `DifficultyID`=0); -- Sabriana Sorrowgaze -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31742 AND `DifficultyID`=0); -- Cosmetic Prairie Dog -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31795 AND `DifficultyID`=0); -- Cosmetic Smolderweb Hatchling -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33031 AND `DifficultyID`=0); -- Sebastian Bower -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32690 AND `DifficultyID`=0); -- Bitty Frostflinger -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28708 AND `DifficultyID`=0); -- Kizi Copperclip -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32691 AND `DifficultyID`=0); -- Magus Fansy Goodbringer -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32679 AND `DifficultyID`=0); -- Darthalia Ebonscorch -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31740 AND `DifficultyID`=0); -- Cosmetic Turtle -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31233 AND `DifficultyID`=0); -- Sinewy Wolf -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29478 AND `DifficultyID`=0); -- Jepetto Joybuzz -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31741 AND `DifficultyID`=0); -- Cosmetic Rabbit -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32689 AND `DifficultyID`=0); -- Adorean Lew -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29476 AND `DifficultyID`=0); -- Dagna Flintlock -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31852 AND `DifficultyID`=0); -- Wooly Mammoth -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33027 AND `DifficultyID`=0); -- Jessica Sellers -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32686 AND `DifficultyID`=0); -- Tomas Riogain -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=36851 AND `DifficultyID`=0); -- Aquanos -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28704 AND `DifficultyID`=0); -- Dorothy Egan -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29716 AND `DifficultyID`=0); -- Clockwork Assistant -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28723 AND `DifficultyID`=0); -- Larana Drome -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29766 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Water -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28702 AND `DifficultyID`=0); -- Professor Pallin -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28690 AND `DifficultyID`=0); -- Tassia Whisperglen -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32685 AND `DifficultyID`=0); -- Kitz Proudbreeze -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32216 AND `DifficultyID`=0); -- Mei Francis -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31735 AND `DifficultyID`=0); -- Cosmetic Pig -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29764 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Earth -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32683 AND `DifficultyID`=0); -- Grezla the Hag -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31732 AND `DifficultyID`=0); -- Cosmetic Rat -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29765 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Fire -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=36856 AND `DifficultyID`=0); -- Shandy Glossgleam -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32680 AND `DifficultyID`=0); -- Fabioso the Fabulous -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31733 AND `DifficultyID`=0); -- Cosmetic Cockroach -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32681 AND `DifficultyID`=0); -- The Magnificent Merleaux -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31730 AND `DifficultyID`=0); -- Cosmetic Frog -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29763 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Air -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32678 AND `DifficultyID`=0); -- Emeline Fizzlefry -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=31719 AND `DifficultyID`=0); -- Cosmetic Frenzy -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28951 AND `DifficultyID`=0); -- Breanni -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31728 AND `DifficultyID`=0); -- Cosmetic Cat Set 1/2 -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=31769 AND `DifficultyID`=0); -- Stabled Hunter Pet -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32676 AND `DifficultyID`=0); -- Grindle Firespark -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31729 AND `DifficultyID`=0); -- Cosmetic Cat Set 2/2 -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32726 AND `DifficultyID`=0); -- The Chooch -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32727 AND `DifficultyID`=0); -- Natalie Tootiblare -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32675 AND `DifficultyID`=0); -- Babagahnoosh the Grumpy -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29261 AND `DifficultyID`=0); -- Windle Sparkshine -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32668 AND `DifficultyID`=0); -- Emi -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32669 AND `DifficultyID`=0); -- Colin -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28687 AND `DifficultyID`=0); -- Amisi Azuregaze -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31136 AND `DifficultyID`=0); -- High Warlord Uro -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32731 AND `DifficultyID`=0); -- Metopious Loreseeker -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28685 AND `DifficultyID`=0); -- Narisa Redgold -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32729 AND `DifficultyID`=0); -- Lofwyr Le'Fleur -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31714 AND `DifficultyID`=0); -- Cosmetic Ribbon Snake -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28701 AND `DifficultyID`=0); -- Timothy Jones -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32411 AND `DifficultyID`=0); -- Afsaneh Asrar -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30137 AND `DifficultyID`=0); -- Shifty Vickers -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32207 AND `DifficultyID`=0); -- Armored Brown Bear -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29641 AND `DifficultyID`=0); -- Theresa Wolf -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31710 AND `DifficultyID`=0); -- Cosmetic Black Kingsnake -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31711 AND `DifficultyID`=0); -- Cosmetic Brown Snake -UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=52649 WHERE (`Entry`=34244 AND `DifficultyID`=0); -- Jean Pierre Poulain -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29782 AND `DifficultyID`=0); -- Cosmetic Mechanical Sheep -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31709 AND `DifficultyID`=0); -- Cosmetic Albino Snake -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29780 AND `DifficultyID`=0); -- Cosmetic Mechanical Chicken -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28727 AND `DifficultyID`=0); -- Edward Egan -UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=52649 WHERE (`Entry`=34984 AND `DifficultyID`=0); -- World Trigger (Not Floating) -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=29812 AND `DifficultyID`=0); -- [DND] Dalaran Toy Store Plane String Bunny -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29781 AND `DifficultyID`=0); -- Cosmetic Mechanical Squirrel -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28693 AND `DifficultyID`=0); -- Enchanter Nalthanis -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32403 AND `DifficultyID`=0); -- Sandra Bartan -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33422 AND `DifficultyID`=0); -- Unbound Seer -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32334 AND `DifficultyID`=0); -- Nixi Fireclaw -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29777 AND `DifficultyID`=0); -- Cosmetic Mechanical Gorilla -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29493 AND `DifficultyID`=0); -- Jarold Puller -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29784 AND `DifficultyID`=0); -- Cosmetic Clockwork Robot (Blue) -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29785 AND `DifficultyID`=0); -- Cosmetic Clockwork Robot (Red) -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29049 AND `DifficultyID`=0); -- Arille Azuregaze -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=29807 AND `DifficultyID`=0); -- [DND] Dalaran Toy Store Plane String Hook -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28714 AND `DifficultyID`=0); -- Ildine Sorrowspear -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29783 AND `DifficultyID`=0); -- Cosmetic Clockwork Robot -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31228 AND `DifficultyID`=0); -- Grove Walker -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30104 AND `DifficultyID`=0); -- Adamman the Trader -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33026 AND `DifficultyID`=0); -- Sarah Brady -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=52649 WHERE (`Entry`=32441 AND `DifficultyID`=0); -- Underbelly Croc -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31229 AND `DifficultyID`=0); -- Ancient Watcher -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=31400 AND `DifficultyID`=0); -- Azure Front Channel Stalker -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32688 AND `DifficultyID`=0); -- Archmage Tenaj -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30352 AND `DifficultyID`=0); -- Skybreaker Marine -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=27047 AND `DifficultyID`=0); -- Invisible Stalker (Floating Only) -UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368, `VerifiedBuild`=52649 WHERE (`Entry`=31689 AND `DifficultyID`=0); -- Gnome Diver -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30726 AND `DifficultyID`=0); -- Archivist Betha -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=31643 AND `DifficultyID`=0); -- Dalaran Well Teleport Bunny -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28707 AND `DifficultyID`=0); -- Angelo Pescatore -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32435 AND `DifficultyID`=0); -- Vern -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33778 AND `DifficultyID`=0); -- Tournament Hippogryph -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28989 AND `DifficultyID`=0); -- Aemara -UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=52649 WHERE (`Entry`=25171 AND `DifficultyID`=0); -- Invisible Stalker (Scale x0.5) -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30755 AND `DifficultyID`=0); -- Kor'kron Reaver -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29254 AND `DifficultyID`=0); -- Silver Covenant Guardian Mage -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29714 AND `DifficultyID`=0); -- Lucian Trias -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=28332 AND `DifficultyID`=0); -- Generic Trigger LAB (Large AOI) -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29156 AND `DifficultyID`=0); -- Archmage Celindra -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29255 AND `DifficultyID`=0); -- Sunreaver Guardian Mage - -DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`!=0 AND `Entry` IN (29778,32600,32596,32598,32597,32601,32709,32697,29668,29673,29669,29674,29670,29675,34952,34953,32631,32737,32741,32734,32735,32738,32724,32722,32287,32843,32844,16128,30117,30115,30116,32733,32728,28699,28726,29510,29508,29509,28700,28696,29507,32651,29640,28706,32653,32650,29511,29628,29512,28718,32684,32677,32515,28721,32172,28722,29514,28697,29929,40160,29513,28725,28698,28728,32706,93432,28703,27870,26043,29506,28694,32451,28716,28675,29282,28676,28677,29672,29667,29657,50149,29665,37780,32249,32664,32170,31886,32252,31557,32251,36670,32420,32415,31885,32253,32419,32412,32418,29631,31031,32692,32687,31238,28674,32732,32730,31439,29325,29660,32169,32424,30608,30606,30607,30604,30605,32426,28686,20735,28692,37776,37859,32715,28691,50155,31517,28705,31032,32416,28682,30490,29530,32450,35790,28715,28742,32514,29636,32421,36669,32413,15760,29505,31236,32702,28776,31796,28774,29532,32693,31742,31795,33031,32690,28708,32691,32679,31740,31233,29478,31741,32689,29476,31852,33027,32686,36851,28704,29716,28723,29766,28702,28690,32685,32216,31735,29764,32683,31732,29765,36856,32680,31733,32681,31730,29763,32678,31719,28951,31728,31769,32676,31729,32726,32727,32675,29261,32668,32669,28687,31136,32731,28685,32729,31714,28701,32411,30137,32207,29641,31710,31711,34244,29782,31709,29780,28727,34984,29812,29781,28693,32403,33422,32334,29777,29493,29784,29785,29049,29807,28714,29783,31228,30104,33026,32441,31229,31400,32688,30352,27047,31689,30726,31643,28707,32435,33778,28989,25171,30755,29254,29714,28332,29156,29255,31402,32748,19481,61081,96773,96772,32652,32606,73516,73517,34252,35498,28990,28997,31581,31582,37941,35495,33963,35607,29535,50152,50153,50150,29538,50144,29537,36776,50142,50148,50147,31756,23033,35826,31085,31081,31080,174271,50171,50163,29523,29494,28994,28992,35500,50174,32265,35497,50158,50156,50157,29497,50160,31580,47581,29496,28991,31579,35494,35594,37942,33964,32747,29528,28958,32749,30094,51512,29703,29491,32744,32745,32322,32743,29548,29527,32425,47579,28995,34330,32466,30885,28956,36774,31768,29715,32337,20102,29499,29529,28993,31758,32516,69973,32428,32339,32746,29702,31757,32336,69971,29495,28160,31755,23472,25058,29802,32328,30095,29547,69321,69318,15732,32342,32470,15730,40212,35496)); - -DELETE FROM `creature_questitem` WHERE `CreatureEntry`=36776 AND `DifficultyID`=1; - --- Models -UPDATE `creature_model_info` SET `VerifiedBuild`=52649 WHERE `DisplayID` IN (25195, 26525, 17476, 28183, 28181, 26495, 26484, 26499, 29743, 28205, 28119, 28174, 28177, 28173, 28172, 19284, 28178, 27944, 27949, 27886, 28317, 52602, 16024, 26771, 28222, 26770, 28171, 28166, 23337, 24916, 25615, 25649, 26377, 26336, 26335, 25616, 25612, 26337, 28124, 26398, 25622, 28125, 5966, 28123, 26378, 26376, 28152, 28145, 28000, 25645, 27799, 25646, 26374, 25613, 25871, 46947, 51414, 31713, 25648, 25614, 25651, 28189, 61133, 25619, 24897, 24898, 24895, 24890, 23501, 26338, 25611, 29145, 29833, 25876, 25637, 25881, 25596, 26103, 25597, 25598, 26503, 26494, 27560, 27557, 30841, 26072, 26413, 29831, 28986, 26445, 26496, 36907, 36906, 36904, 36898, 26444, 26417, 30686, 36900, 26443, 30439, 9563, 12200, 36899, 27801, 26501, 29744, 36905, 36903, 26074, 18793, 18785, 837, 26073, 18805, 18804, 22003, 27853, 27616, 27852, 28680, 27961, 27957, 27019, 27854, 27960, 21270, 27955, 27959, 26394, 27448, 30042, 28162, 28155, 27585, 27524, 27587, 25595, 21272, 28170, 28168, 27215, 27592, 26138, 27217, 26502, 26414, 27800, 27963, 27161, 27159, 27160, 27157, 27158, 27965, 27465, 25604, 27216, 36893, 19744, 36756, 26321, 25609, 26309, 25878, 30764, 29834, 36894, 30807, 17200, 29835, 28191, 25608, 36882, 36879, 36881, 36883, 26312, 25621, 27449, 36880, 27958, 25602, 27556, 27068, 26372, 35705, 29921, 25636, 26311, 25655, 27999, 26397, 25877, 27962, 28755, 27559, 27956, 29832, 30842, 28987, 26339, 28204, 10957, 23167, 28201, 25674, 27719, 25673, 19339, 26373, 28163, 24607, 28160, 28161, 28147, 27883, 24235, 18800, 26396, 28159, 27244, 25807, 28433, 28154, 30415, 25620, 26442, 25647, 28207, 26521, 26759, 25618, 25607, 28153, 27822, 37403, 27680, 26437, 26518, 25879, 28150, 28199, 26519, 30358, 28148, 3233, 28202, 28149, 26517, 28146, 17170, 27918, 28194, 25791, 11709, 26330, 26997, 28144, 5555, 28164, 28165, 28143, 26395, 26078, 28208, 35704, 25594, 27972, 25605, 27398, 27509, 26070, 25806, 30310, 28169, 20833, 18801, 25603, 26441, 28167, 26440, 2954, 26075, 27954, 19342, 26779, 27821, 27782, 1206, 2957, 29132, 26526, 26313, 2955, 802, 27334, 7920, 25650, 28006, 26465, 26532, 25610, 27952, 28618, 28203, 26438, 2710, 27914, 26464, 26310, 25166, 27912, 26524, 26307, 26530, 26531, 25882, 26570, 25635, 26547, 26998, 16925, 26557, 27766, 1988, 26766, 28432, 833, 27211, 47456, 47453, 8811, 17612, 28156, 27331, 27657, 27287, 13349, 20763, 27930, 22471, 25875, 17188, 27329, 29076, 26068, 27915, 25947, 29836, 26071); -UPDATE `creature_model_info` SET `BoundingRadius`=0.425056040287017822, `CombatReach`=0.300000011920928955, `VerifiedBuild`=52649 WHERE `DisplayID`=27718; -UPDATE `creature_model_info` SET `BoundingRadius`=0.25, `CombatReach`=0.25, `VerifiedBuild`=52649 WHERE `DisplayID`=16259; - --- Gameobject templates -UPDATE `gameobject_template` SET `VerifiedBuild`=52649 WHERE `entry` IN (194019, 191665, 191959, 193174, 192197, 193578, 191997, 191684, 192872, 201936, 192843, 193786, 192070, 194939, 278457, 191939, 191915, 191928, 192097, 191733, 192095, 191901, 191903, 200297, 191440, 193785, 192207, 191918, 191912, 193932, 193627, 192083, 191462, 191466, 191889, 191894, 191475, 191029, 193929, 192099, 192109, 192856, 192498, 192697, 193089, 191768, 192113, 194942, 193902, 192219, 192216, 192893, 191676, 191929, 191988, 191895, 191941, 192093, 178435, 180797, 195427, 193787, 193180, 194940, 191940, 193071, 192221, 191951, 192089, 191913, 191934, 193918, 192823, 191677, 194018, 192854, 208317, 192117, 194943, 193898, 192214, 193173, 191916, 192088, 191910, 193924, 193624, 192090, 191946, 191980, 191899, 191468, 191482, 201301, 192839, 191230, 178429, 191009, 193935, 194147, 191935, 191998, 193930, 193928, 193951, 178434, 193949, 191680, 193019, 192069, 192628, 193178, 193177, 191948, 192205, 191909, 193912, 191897, 191904, 191479, 180798, 191943, 201935, 200296, 192211, 192200, 191735, 191919, 191931, 193085, 191983, 191465, 191900, 191896, 191478, 180799, 201300, 192713, 192847, 192004, 191681, 191965, 192210, 192199, 193175, 191953, 180844, 191932, 193931, 191993, 191992, 191473, 191469, 192827, 192845, 178746, 191886, 193179, 193897, 192208, 193936, 208316, 193927, 192851, 193082, 193911, 191892, 192084, 192818, 192651, 192086, 201934, 192887, 192852, 195428, 192112, 192116, 192218, 192059, 192010, 191911, 191994, 191995, 193914, 191472, 191891, 192098, 192828, 192840, 266869, 191955, 192002, 192202, 214500, 193626, 192096, 191687, 193919, 191974, 191463, 191481, 193189, 187567, 194021, 193205, 192848, 193782, 195533, 191958, 194941, 192212, 190960, 193921, 191927, 278574, 191986, 191461, 191683, 191471, 193926, 192853, 192824, 192233, 195532, 193783, 193088, 191949, 194945, 191966, 193899, 191734, 193987, 192091, 191678, 193081, 191991, 191893, 191476, 191229, 191682, 192227, 194020, 184633, 192115, 192209, 192213, 192103, 191674, 193915, 191984, 191981, 193913, 191888, 191467, 192085, 191679, 192068, 187194, 192228, 192846, 192855, 192629, 192003, 193781, 193901, 192223, 191942, 193922, 192844, 192841, 191444, 193202, 192820, 193942, 194938, 192892, 193900, 193086, 192196, 192094, 193083, 191887, 192836, 192850, 191956, 192882, 193904, 194011, 192849, 194944, 193903, 193934, 191675, 191917, 187299, 191732, 191987, 191947, 191999, 191890, 191474, 191688, 201299, 192092, 192838, 191030, 192110, 192234, 188215, 193784, 194937, 193896, 193176, 192204, 191924, 191975, 193422, 192111, 202443, 192230, 191731, 192118, 192119, 192222, 193625, 191990, 193172, 191902, 191464, 191477, 191445, 191954, 192825, 191952, 179976, 192087, 192229, 194012, 191950, 192102, 192224, 192217, 192201, 192203, 193925, 191925, 191933, 193916, 193084, 193910, 191989, 193920, 193423, 191957, 193214, 192232, 191769, 191964, 194946, 193402, 192215, 192206, 193923, 191926, 191686, 193080, 193917, 191898, 191480, 194115, 193909, 180796, 191741, 201855, 202616, 192225, 191960, 192114, 192220, 193087, 191914, 193933, 191930, 193950, 192198, 191470, 193190, 191945, 192067, 191028, 193610, 192231); -UPDATE `gameobject_template` SET `ContentTuningId`=196, `VerifiedBuild`=52649 WHERE `entry`=192869; -- LAVA BLAST - by Pyroco - -UPDATE `gameobject_template_addon` SET `WorldEffectID`=2773 WHERE `entry`=266869; -- Fishing Bobber -UPDATE `gameobject_template_addon` SET `flags`=262144, `WorldEffectID`=8830 WHERE `entry`=208317; -- Warchief's Command Board -UPDATE `gameobject_template_addon` SET `flags`=262144, `WorldEffectID`=8830 WHERE `entry`=208316; -- Hero's Call Board -UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry`=192820; -- Tower -UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry` IN (192234, 192232, 192230, 192227); -- Argent Vanguard Tower -UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry` IN (192233, 192231, 192228, 192229); -- Argent Vanguard Support -UPDATE `gameobject_template_addon` SET `WorldEffectID`=16227 WHERE `entry` IN (191030, 191028, 191029); -- Barbershop Chair - -UPDATE `gameobject_questitem` SET `VerifiedBuild`=52649 WHERE (`Idx`=0 AND `GameObjectEntry` IN (192827,192818,192828,192825,192824,192823)); diff --git a/sql/updates/world/cata_classic/2024_05_28_03_2024_04_02_01_world.sql b/sql/updates/world/cata_classic/2024_05_28_03_2024_04_02_01_world.sql new file mode 100644 index 00000000000..1b9712a1102 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_03_2024_04_02_01_world.sql @@ -0,0 +1,160 @@ +SET @CGUID := 3000073; +SET @OGUID := 3001623; +SET @POOL_ID := 800009; +SET @SPAWNGROUP := 1242; + +UPDATE `battleground_template` SET `Weight` = 1 WHERE `ID` = 120; + +DELETE FROM `graveyard_zone` where `ID` IN (1735, 1736, 1738, 1739, 1740); +INSERT INTO `graveyard_zone` (`ID`, `GhostZone`, `Comment`) VALUES +(1735, 5449, 'Battle for Gilneas - Mines'), +(1736, 5449, 'Battle for Gilneas - Lighthouse'), +(1738, 5449, 'Battle for Gilneas - Waterworks'), +(1739, 5449, 'Battle for Gilneas - Horde Start'), +(1740, 5449, 'Battle for Gilneas - Alliance Start'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 27 AND `SourceEntry` IN (1735, 1736, 1738, 1739, 1740); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceEntry`, `SourceGroup`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `Comment`) VALUES +-- Bases +(27, 1740, 5449, 0, 6, 469, 0, 'Graveyard - Battle for Gilneas - Alliance Base - Team Alliance'), +(27, 1739, 5449, 0, 6, 67, 0, 'Graveyard - Battle for Gilneas - Horde Base - Team Horde'), +-- Mines +(27, 1735, 5449, 0, 6, 469, 0, 'Graveyard - Battle for Gilneas - Mines- Team Alliance'), +(27, 1735, 5449, 0, 11, 8853, 5, 'Graveyard - Battle for Gilneas - Mines - Alliance Controlled'), +(27, 1735, 5449, 1, 6, 67, 0, 'Graveyard - Battle for Gilneas - Mines - Team Horde'), +(27, 1735, 5449, 1, 11, 8853, 4, 'Graveyard - Battle for Gilneas - Mines - Horde Controlled'), +-- Waterworks +(27, 1738, 5449, 0, 6, 469, 0, 'Graveyard - Battle for Gilneas - Waterworks - Team Alliance'), +(27, 1738, 5449, 0, 11, 8852, 5, 'Graveyard - Battle for Gilneas - Waterworks - Alliance Controlled'), +(27, 1738, 5449, 1, 6, 67, 0, 'Graveyard - Battle for Gilneas - Waterworks - Team Horde'), +(27, 1738, 5449, 1, 11, 8852, 4, 'Graveyard - Battle for Gilneas - Waterworks - Horde Controlled'), +-- Lighthouse +(27, 1736, 5449, 0, 6, 469, 0, 'Graveyard - Battle for Gilneas - Lighthouse - Team Alliance'), +(27, 1736, 5449, 0, 11, 8851, 5, 'Graveyard - Battle for Gilneas - Lighthouse - Alliance Controlled'), +(27, 1736, 5449, 1, 6, 67, 0, 'Graveyard - Battle for Gilneas - Lighthouse - Team Horde'), +(27, 1736, 5449, 1, 11, 8851, 4, 'Graveyard - Battle for Gilneas - Lighthouse - Horde Controlled'); + +DELETE FROM `world_state` WHERE `ID` IN (8851, 8852, 8853, 17355, 17356, 17357, 17358, 17359, 17360); +INSERT INTO `world_state` (`ID`, `DefaultValue`, `MapIDs`, `Comment`) VALUES +(8851, 1, '761', 'Battle for Gilneas - Lighthouse control state POI'), +(8852, 1, '761', 'Battle for Gilneas - Waterworks control state POI'), +(8853, 1, '761', 'Battle for Gilneas - Mines control state POI'), +(17355, 0, '761', 'Battle for Gilneas - Lighthouse Horde control state widget'), +(17356, 0, '761', 'Battle for Gilneas - Lighthouse Alliance control state widget'), +(17358, 0, '761', 'Battle for Gilneas - Waterworks Horde control state widget'), +(17357, 0, '761', 'Battle for Gilneas - Waterworks Alliance control state widget'), +(17360, 0, '761', 'Battle for Gilneas - Mines Horde control state widget'), +(17359, 0, '761', 'Battle for Gilneas - Mines Alliance control state widget'); + +-- Areatrigger Scripts for buffs +DELETE FROM `areatrigger_scripts` WHERE `entry` IN (6266, 6265, 6267, 6269, 6268); +INSERT INTO `areatrigger_scripts` (`entry`,`ScriptName`) VALUES +(6265, 'at_battleground_buffs'), +(6266, 'at_battleground_buffs'), +(6267, 'at_battleground_buffs'), +(6268, 'at_battleground_buffs'), +(6269, 'at_battleground_buffs'); + +DELETE FROM `pool_template` WHERE `entry` BETWEEN @POOL_ID+0 AND @POOL_ID+2; +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES +(@POOL_ID+0, 1, 'Battle for Gilneas - Mines Buff'), +(@POOL_ID+1, 1, 'Battle for Gilneas - Lighthouse Buff'), +(@POOL_ID+2, 1, 'Battle for Gilneas - Waterworks Buff'); + +DELETE FROM `pool_members` WHERE `poolSpawnId` BETWEEN @POOL_ID+0 AND @POOL_ID+2; +INSERT INTO `pool_members` (`type`, `spawnId`, `poolSpawnId`, `chance`, `description`) VALUES +(1, @OGUID+5, @POOL_ID+0, 0, 'Battle for Gilneas - Berserker Buff - Mines'), +(1, @OGUID+26, @POOL_ID+0, 0, 'Battle for Gilneas - Food Buff - Mines'), +(1, @OGUID+32, @POOL_ID+0, 0, 'Battle for Gilneas - Speed Buff - Mines'), + +(1, @OGUID+4, @POOL_ID+1, 0, 'Battle for Gilneas - Berserker Buff - Lighthouse'), +(1, @OGUID+30, @POOL_ID+1, 0, 'Battle for Gilneas - Food Buff - Lighthouse'), +(1, @OGUID+33, @POOL_ID+1, 0, 'Battle for Gilneas - Speed Buff - Lighthouse'), + +(1, @OGUID+8, @POOL_ID+2, 0, 'Battle for Gilneas - Berserker Buff - Waterworks'), +(1, @OGUID+31, @POOL_ID+2, 0, 'Battle for Gilneas - Food Buff - Waterworks'), +(1, @OGUID+28, @POOL_ID+2, 0, 'Battle for Gilneas - Speed Buff - Waterworks'); + +DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+5; +INSERT INTO `spawn_group_template` (`groupId`, `groupName`, `groupFlags`) VALUES +(@SPAWNGROUP+0, 'Battle for Gilneas - Mines - Horde Controlled (graveyard)', 0x20), +(@SPAWNGROUP+1, 'Battle for Gilneas - Mines - Alliance Controlled (graveyard)', 0x20), +(@SPAWNGROUP+2, 'Battle for Gilneas - Waterworks - Horde Controlled (graveyard)', 0x20), +(@SPAWNGROUP+3, 'Battle for Gilneas - Waterworks - Alliance Controlled (graveyard)', 0x20), +(@SPAWNGROUP+4, 'Battle for Gilneas - Lighthouse - Horde Controlled (graveyard)', 0x20), +(@SPAWNGROUP+5, 'Battle for Gilneas - Lighthouse - Alliance Controlled (graveyard)', 0x20); + +DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+5; +INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES +(@SPAWNGROUP+0, 0, @CGUID+334), +(@SPAWNGROUP+1, 0, @CGUID+500), +(@SPAWNGROUP+2, 0, @CGUID+335), +(@SPAWNGROUP+3, 0, @CGUID+501), +(@SPAWNGROUP+4, 0, @CGUID+502), +(@SPAWNGROUP+5, 0, @CGUID+55); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=33 AND `SourceEntry` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+5; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(33, 0, @SPAWNGROUP+0, 0, 0, 11, 0, 8853, 4, 0, 0, 0, 0, '', 'Battle for Gilneas - Mines - Horde Controlled'), +(33, 0, @SPAWNGROUP+1, 0, 0, 11, 0, 8853, 5, 0, 0, 0, 0, '', 'Battle for Gilneas - Mines - Alliance Controlled'), +(33, 0, @SPAWNGROUP+2, 0, 0, 11, 0, 8852, 4, 0, 0, 0, 0, '', 'Battle for Gilneas - Waterworks - Horde Controlled'), +(33, 0, @SPAWNGROUP+3, 0, 0, 11, 0, 8852, 5, 0, 0, 0, 0, '', 'Battle for Gilneas - Waterworks - Alliance Controlled'), +(33, 0, @SPAWNGROUP+4, 0, 0, 11, 0, 8851, 4, 0, 0, 0, 0, '', 'Battle for Gilneas - Lighthouse - Horde Controlled'), +(33, 0, @SPAWNGROUP+5, 0, 0, 11, 0, 8851, 5, 0, 0, 0, 0, '', 'Battle for Gilneas - Lighthouse - Alliance Controlled'); + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+35; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES +(@OGUID+0, 207083, 761, 5449, 5453, '0', '0', 0, 851.224853515625, 1361.31494140625, 30.00773239135742187, 4.136432647705078125, 0, 0, -0.87881660461425781, 0.477159708738327026, 7200, 255, 1, 53989), -- Stove (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+1, 207082, 761, 5449, 5453, '0', '0', 0, 885.692138671875, 1375.1756591796875, 29.34804534912109375, 1.893678903579711914, 0, 0, 0.811573028564453125, 0.584250986576080322, 7200, 255, 1, 53989), -- Cauldron (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+2, 205495, 761, 5449, 5453, '0', '0', 0, 1395.9600830078125, 977.2569580078125, -13.7897014617919921, 6.265733242034912109, 0, 0, -0.00872611999511718, 0.999961912631988525, 7200, 255, 1, 53989), -- Horde Gate (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+3, 205496, 761, 5449, 5453, '0', '0', 0, 918.29864501953125, 1336.4896240234375, 20.45499992370605468, 2.827429771423339843, 0, 0, 0.987688064575195312, 0.156436234712600708, 7200, 255, 1, 53989), -- Alliance Gate (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+4, 180380, 761, 5449, 5453, '0', '0', 0, 1063.564208984375, 1308.9791259765625, 4.911691665649414062, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 90, 255, 1, 53989), -- Berserk Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+5, 180382, 761, 5449, 5453, '0', '0', 0, 1195.72998046875, 1020.29998779296875, 7.978740215301513671, 5.777040958404541015, 0, 0, -0.25037956237792968, 0.968147754669189453, 90, 255, 1, 53989), -- Berserk Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+6, 180147, 761, 5449, 5453, '0', '0', 0, 1111.4305419921875, 921.6163330078125, 30.07139015197753906, 5.567600727081298828, 0, 0, -0.35020732879638671, 0.936672210693359375, 90, 255, 1, 53989), -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+7, 180146, 761, 5449, 5453, '0', '0', 0, 966.4580078125, 1043.5699462890625, 13.14669990539550781, 0.907570242881774902, 0, 0, 0.438370704650878906, 0.898794233798980712, 90, 255, 1, 53989), -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+8, 180148, 761, 5449, 5453, '0', '0', 0, 990.2969970703125, 983.37298583984375, 12.98260021209716796, 4.555310726165771484, 0, 0, -0.76040554046630859, 0.649448513984680175, 90, 255, 1, 53989), -- Berserk Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+9, 267985, 761, 5449, 5453, '0', '0', 0, 933.6484375, 1427.4461669921875, 28.91886138916015625, 4.066620349884033203, 0, 0, -0.89493370056152343, 0.44619917869567871, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only01 (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+10, 267984, 761, 5449, 5453, '0', '0', 0, 1065.8585205078125, 1307.032470703125, 4.974267482757568359, 5.5065155029296875, 0, 0, -0.3786478042602539, 0.925540864467620849, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only02 (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+11, 205045, 761, 5449, 5453, '0', '0', 0, 1196.86083984375, 1022.99267578125, 8.256913185119628906, 2.617989301681518554, 0, 0, 0.965925216674804687, 0.258821308612823486, 7200, 255, 1, 53989), -- Cauldron (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+12, 205037, 761, 5449, 5453, '0', '0', 0, 926.920166015625, 1014.3675537109375, 19.86332321166992187, 0.226890549063682556, 0, 0, 0.113202095031738281, 0.993571996688842773, 7200, 255, 1, 53989), -- Fire (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+13, 205036, 761, 5449, 5453, '0', '0', 0, 927.24725341796875, 1015.525146484375, 19.00165557861328125, 2.783795118331909179, 0, 0, 0.984040260314941406, 0.177946031093597412, 7200, 255, 1, 53989), -- Stove (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+14, 205038, 761, 5449, 5453, '0', '0', 0, 927.7421875, 1016.9154052734375, 19.86332321166992187, 0.270525157451629638, 0, 0, 0.134850502014160156, 0.990865945816040039, 7200, 255, 1, 53989), -- Fire (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+15, 267983, 761, 5449, 5453, '0', '0', 0, 1066.7442626953125, 1307.72900390625, 4.978141307830810546, 4.476771354675292968, 0, 0, -0.78531646728515625, 0.619094550609588623, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only01 (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+16, 267985, 761, 5449, 5453, '0', '0', 0, 1015.02655029296875, 929.04248046875, 14.26296329498291015, 3.263772249221801757, 0, 0, -0.99813461303710937, 0.061051756143569946, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only01 (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+17, 207177, 761, 5449, 5453, '0', '0', 0, 918.390625, 1336.640625, 27.42519950866699218, 2.844882726669311523, 0, 0, 0.989015579223632812, 0.147811368107795715, 7200, 255, 1, 53989), -- Alliance Door (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+18, 207178, 761, 5449, 5453, '0', '0', 0, 1395.970458984375, 977.09027099609375, 7.635970115661621093, 6.274459362030029296, 0, 0, -0.00436305999755859, 0.999990463256835937, 7200, 255, 1, 53989), -- Horde Gate (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+22, 228053, 761, 5449, 5452, '0', '0', 0, 1251.0086669921875, 958.26910400390625, 5.668474674224853515, 5.86425018310546875, 0, 0, -0.20793914794921875, 0.97814178466796875, 7200, 255, 1, 53989), -- Capture Point (Area: Mines - Difficulty: 0) CreateObject2 +(@OGUID+23, 228050, 761, 5449, 5452, '0', '0', 0, 1057.7396240234375, 1278.26220703125, 3.179371118545532226, 4.909808158874511718, 0, 0, -0.63397979736328125, 0.773349583148956298, 7200, 255, 1, 53989), -- Capture Point (Area: Mines - Difficulty: 0) CreateObject1 +(@OGUID+24, 228052, 761, 5449, 5451, '0', '0', 0, 980.03302001953125, 948.73785400390625, 12.73535633087158203, 5.877463817596435546, 0, 0, -0.20147228240966796, 0.979494214057922363, 7200, 255, 1, 53989), -- Capture Point (Area: Waterworks - Difficulty: 0) CreateObject2 +(@OGUID+26, 180145, 761, 5449, 5452, '0', '0', 0, 1195.72998046875, 1020.29998779296875, 7.978740215301513671, 5.777040958404541015, 0, 0, -0.25037956237792968, 0.968147754669189453, 90, 255, 1, 53989), -- Food Buff (Area: Mines - Difficulty: 0) CreateObject2 +(@OGUID+28, 180384, 761, 5449, 5453, '0', '0', 0, 990.2969970703125, 983.37298583984375, 12.98260021209716796, 4.555310726165771484, 0, 0, -0.76040554046630859, 0.649448513984680175, 90, 255, 1, 53989), -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+30, 180144, 761, 5449, 5451, '0', '0', 0, 1063.564208984375, 1308.9791259765625, 4.911691665649414062, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 90, 255, 1, 53989), -- Food Buff (Area: Waterworks - Difficulty: 0) CreateObject1 +(@OGUID+31, 180383, 761, 5449, 5451, '0', '0', 0, 990.2969970703125, 983.37298583984375, 12.98260021209716796, 4.555310726165771484, 0, 0, -0.76040554046630859, 0.649448513984680175, 90, 255, 1, 53989), -- Food Buff (Area: Waterworks - Difficulty: 0) CreateObject2 +(@OGUID+32, 180381, 761, 5449, 5451, '0', '0', 0, 1195.72998046875, 1020.29998779296875, 7.978740215301513671, 5.777040958404541015, 0, 0, -0.25037956237792968, 0.968147754669189453, 90, 255, 1, 53989), -- Speed Buff (Area: Waterworks - Difficulty: 0) CreateObject1 +(@OGUID+33, 180379, 761, 5449, 5453, '0', '0', 0, 1063.564208984375, 1308.9791259765625, 4.911691665649414062, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 90, 255, 1, 0); -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 + +DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+35; +INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES +(@OGUID+0, 0, 0, 0.465614736080169677, 0.884987533092498779, 0, 0), -- Stove +(@OGUID+1, 0, 0, 0.465614736080169677, 0.884987533092498779, 0, 0), -- Cauldron +(@OGUID+9, 0, 0, -0.70710676908493041, 0.707106769084930419, 0, 0), -- Doodad_firewoodpile-indoor-only01 +(@OGUID+10, 0, 0, 0.911762058734893798, -0.41071885824203491, 0, 0), -- Doodad_firewoodpile-indoor-only02 +(@OGUID+11, 0, 0, -0.27563735842704772, 0.961261689662933349, 0, 0), -- Cauldron +(@OGUID+12, 0, 0, -0.17364829778671264, 0.984807729721069335, 0, 0), -- Fire +(@OGUID+13, 0, 0, -0.17364829778671264, 0.984807729721069335, 0, 0), -- Stove +(@OGUID+14, 0, 0, -0.17364829778671264, 0.984807729721069335, 0, 0), -- Fire +(@OGUID+15, 0, 0, 0.911762058734893798, -0.41071885824203491, 0, 0), -- Doodad_firewoodpile-indoor-only01 +(@OGUID+16, 0, 0, 0.927183866500854492, -0.37460660934448242, 0, 0); -- Doodad_firewoodpile-indoor-only01 + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+600; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES +(@CGUID+0, 14848, 761, 5449, 5453, '0', '0', 0, 0, 2, 1073.699951171875, 1166.6800537109375, 5.155783653259277343, 0.645771801471710205, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Herald (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@CGUID+55, 13116, 761, 5449, 5451, '0', '0', 0, 0, 1, 1035.8800048828125, 1341.280029296875, 11.622833251953125, 4.415682792663574218, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) +(@CGUID+56, 13117, 761, 5449, 5451, '0', '0', 0, 0, 1, 1407.4300537109375, 977.114990234375, 7.525483608245849609, 3.141592741012573242, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual) +(@CGUID+57, 13116, 761, 5449, 5451, '0', '0', 0, 0, 1, 899.10198974609375, 1341.3699951171875, 27.65543365478515625, 6.038839340209960937, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual) +(@CGUID+334, 13117, 761, 5449, 5451, '0', '0', 0, 0, 1, 1252.3199462890625, 831.593994140625, 27.872833251953125, 1.48352980613708496, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) +(@CGUID+335, 13117, 761, 5449, 5451, '0', '0', 0, 0, 1, 886.45001220703125, 936.66802978515625, 24.44873428344726562, 0.453785598278045654, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) + +(@CGUID+500, 13116, 761, 5449, 5451, '0', '0', 0, 0, 1, 1252.3199462890625, 831.593994140625, 27.872833251953125, 1.48352980613708496, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 0), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) +(@CGUID+501, 13116, 761, 5449, 5451, '0', '0', 0, 0, 1, 886.45001220703125, 936.66802978515625, 24.44873428344726562, 0.453785598278045654, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 0), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) +(@CGUID+502, 13117, 761, 5449, 5451, '0', '0', 0, 0, 1, 1035.8800048828125, 1341.280029296875, 11.622833251953125, 4.415682792663574218, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 0); -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) diff --git a/sql/updates/world/cata_classic/2024_05_28_03_world_2024_05_22_04_world.sql b/sql/updates/world/cata_classic/2024_05_28_03_world_2024_05_22_04_world.sql deleted file mode 100644 index be7cf02d729..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_03_world_2024_05_22_04_world.sql +++ /dev/null @@ -1,4 +0,0 @@ -INSERT INTO `quest_template_addon` (`ID`, `ProvidedItemCount`) -(SELECT qt.`ID`, 1 FROM `quest_template` qt -LEFT JOIN `quest_template_addon` qta ON qta.`ID` = qt.`ID` -WHERE qt.`StartItem`!=0 AND qta.`ProvidedItemCount` IS NULL); diff --git a/sql/updates/world/cata_classic/2024_05_28_04_2024_04_02_02_world.sql b/sql/updates/world/cata_classic/2024_05_28_04_2024_04_02_02_world.sql new file mode 100644 index 00000000000..36ba10f884e --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_04_2024_04_02_02_world.sql @@ -0,0 +1,18 @@ +SET @CGUID := 3000073; +SET @SPAWNGROUP := 1242; + +UPDATE `creature` SET `guid`=@CGUID+1 WHERE `guid`=@CGUID+55; +UPDATE `creature` SET `guid`=@CGUID+2 WHERE `guid`=@CGUID+56; +UPDATE `creature` SET `guid`=@CGUID+3 WHERE `guid`=@CGUID+57; +UPDATE `creature` SET `guid`=@CGUID+4 WHERE `guid`=@CGUID+334; +UPDATE `creature` SET `guid`=@CGUID+5 WHERE `guid`=@CGUID+335; +UPDATE `creature` SET `guid`=@CGUID+6 WHERE `guid`=@CGUID+500; +UPDATE `creature` SET `guid`=@CGUID+7 WHERE `guid`=@CGUID+501; +UPDATE `creature` SET `guid`=@CGUID+8 WHERE `guid`=@CGUID+502; + +UPDATE `spawn_group` SET `spawnId`=@CGUID+1 WHERE `groupId`=@SPAWNGROUP+0 AND `spawnId`=@CGUID+55; +UPDATE `spawn_group` SET `spawnId`=@CGUID+4 WHERE `groupId`=@SPAWNGROUP+0 AND `spawnId`=@CGUID+334; +UPDATE `spawn_group` SET `spawnId`=@CGUID+5 WHERE `groupId`=@SPAWNGROUP+0 AND `spawnId`=@CGUID+335; +UPDATE `spawn_group` SET `spawnId`=@CGUID+6 WHERE `groupId`=@SPAWNGROUP+0 AND `spawnId`=@CGUID+500; +UPDATE `spawn_group` SET `spawnId`=@CGUID+7 WHERE `groupId`=@SPAWNGROUP+0 AND `spawnId`=@CGUID+501; +UPDATE `spawn_group` SET `spawnId`=@CGUID+8 WHERE `groupId`=@SPAWNGROUP+0 AND `spawnId`=@CGUID+502; diff --git a/sql/updates/world/cata_classic/2024_05_28_04_world_2024_05_18_01_world.sql b/sql/updates/world/cata_classic/2024_05_28_04_world_2024_05_18_01_world.sql deleted file mode 100644 index 726c4bcbbb8..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_04_world_2024_05_18_01_world.sql +++ /dev/null @@ -1,17 +0,0 @@ -DELIMITER ;; -CREATE PROCEDURE 2024_05_18_01_areatrigger_spellvisual() BEGIN - IF NOT EXISTS (SELECT * FROM `information_schema`.`columns` WHERE `table_schema`=SCHEMA() AND `table_name`='areatrigger_create_properties' AND `column_name`='SpellsForVisuals') THEN - - ALTER TABLE `areatrigger` - DROP COLUMN `SpellForVisuals`; - - ALTER TABLE `areatrigger_create_properties` - ADD COLUMN `SpellForVisuals` INT AFTER `DecalPropertiesId`; - - END IF; -END;; - -DELIMITER ; -CALL 2024_05_18_01_areatrigger_spellvisual(); - -DROP PROCEDURE IF EXISTS 2024_05_18_01_areatrigger_spellvisual; diff --git a/sql/updates/world/cata_classic/2024_05_28_05_2024_04_07_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_05_2024_04_07_00_world.sql new file mode 100644 index 00000000000..9c961ff6290 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_05_2024_04_07_00_world.sql @@ -0,0 +1,221 @@ +-- Love is in the Air +SET @CGUID := 3000000; +SET @OGUID := 3000000; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+20; +DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+20; +DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+20; + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+606; +DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+606; +DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+606; + +SET @OGUID := 3000607; + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+27; +DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+27; +DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+27; + +SET @CGUID := 3000032; +SET @OGUID := 3000861; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+17; +DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+17; +DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+17; + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+163; +DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+163; +DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+163; + +-- Cata classic only (cherry-pick) +-- DELETE FROM `creature` WHERE `guid` BETWEEN 3000021 AND 3000025; +-- DELETE FROM `game_event_creature` WHERE `guid` BETWEEN 3000021 AND 3000025; +-- DELETE FROM `creature` WHERE `guid` BETWEEN 3000026 AND 3000031; +-- DELETE FROM `game_event_creature` WHERE `guid` BETWEEN 3000026 AND 3000031; +-- DELETE FROM `creature` WHERE `guid` BETWEEN 2000000 AND 2000004; +-- DELETE FROM `game_event_creature` WHERE `guid` BETWEEN 2000000 AND 2000004; +-- DELETE FROM `creature` WHERE `guid` BETWEEN 3000050 AND 3000054; +-- DELETE FROM `game_event_creature` WHERE `guid` BETWEEN 3000050 AND 3000054; +-- DELETE FROM `creature` WHERE `guid` BETWEEN 3000055 AND 3000060; +-- DELETE FROM `game_event_creature` WHERE `guid` BETWEEN 3000055 AND 3000060; +-- DELETE FROM `creature` WHERE `guid` BETWEEN 2000005 AND 2000010; +-- DELETE FROM `game_event_creature` WHERE `guid` BETWEEN 2000005 AND 2000010; + +-- DELETE FROM `gameobject` WHERE `guid` BETWEEN 3000635 AND 3000719; +-- DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 3000635 AND 3000719; +-- DELETE FROM `gameobject` WHERE `guid` BETWEEN 3000720 AND 3000860; +-- DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 3000720 AND 3000860; +-- DELETE FROM `gameobject` WHERE `guid` BETWEEN 2000000 AND 2000154; +-- DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 2000000 AND 2000154; +-- DELETE FROM `gameobject` WHERE `guid` BETWEEN 3001025 AND 3001144; +-- DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 3001025 AND 3001144; +-- DELETE FROM `gameobject` WHERE `guid` BETWEEN 3001145 AND 3001258; +-- DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 3001145 AND 3001258; +-- DELETE FROM `gameobject` WHERE `guid` BETWEEN 2000155 AND 2000376; +-- DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 2000155 AND 2000376; + +-- Noblegarden +SET @CGUID := 3000061; +SET @OGUID := 3001259; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; +DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+60; +DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+60; + +SET @CGUID := 3000063; +SET @OGUID := 3001320; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; +DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+60; +DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+60; + +SET @CGUID := 3000065; +SET @OGUID := 3001381; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; +DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+60; +DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+60; + +SET @CGUID := 2000011; +SET @OGUID := 2000377; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; +DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+60; +DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+60; + +SET @CGUID := 3000067; +SET @OGUID := 3001442; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; +DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+59; +DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+59; + +SET @CGUID := 3000069; +SET @OGUID := 3001502; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; +DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+59; +DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+59; + +SET @CGUID := 3000071; +SET @OGUID := 3001562; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; +DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+60; +DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+60; + +SET @CGUID := 2000013; +SET @OGUID := 2000438; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; +DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+60; +DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+60; + +-- Battle for Gilneas +SET @CGUID := 3000073; +SET @OGUID := 3001623; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+8; + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+35; +DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+35; + +SET @CGUID := 3000000; +SET @OGUID := 3000000; +SET @POOL_ID := 800009; +SET @SPAWNGROUP := 1242; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+8; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES +(@CGUID+0, 14848, 761, 5449, 5453, '0', 0, 0, 0, 2, 1073.699951171875, 1166.6800537109375, 5.155783653259277343, 0.645771801471710205, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Herald (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@CGUID+1, 13116, 761, 5449, 5451, '0', 0, 0, 0, 1, 1035.8800048828125, 1341.280029296875, 11.622833251953125, 4.415682792663574218, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) +(@CGUID+2, 13117, 761, 5449, 5451, '0', 0, 0, 0, 1, 1407.4300537109375, 977.114990234375, 7.525483608245849609, 3.141592741012573242, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual) +(@CGUID+3, 13116, 761, 5449, 5451, '0', 0, 0, 0, 1, 899.10198974609375, 1341.3699951171875, 27.65543365478515625, 6.038839340209960937, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual) +(@CGUID+4, 13117, 761, 5449, 5451, '0', 0, 0, 0, 1, 1252.3199462890625, 831.593994140625, 27.872833251953125, 1.48352980613708496, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) +(@CGUID+5, 13117, 761, 5449, 5451, '0', 0, 0, 0, 1, 886.45001220703125, 936.66802978515625, 24.44873428344726562, 0.453785598278045654, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) +(@CGUID+6, 13116, 761, 5449, 5451, '0', 0, 0, 0, 1, 1252.3199462890625, 831.593994140625, 27.872833251953125, 1.48352980613708496, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 0), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) +(@CGUID+7, 13116, 761, 5449, 5451, '0', 0, 0, 0, 1, 886.45001220703125, 936.66802978515625, 24.44873428344726562, 0.453785598278045654, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 0), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) +(@CGUID+8, 13117, 761, 5449, 5451, '0', 0, 0, 0, 1, 1035.8800048828125, 1341.280029296875, 11.622833251953125, 4.415682792663574218, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 0); -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) + +DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+5; +INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES +(@SPAWNGROUP+0, 0, @CGUID+4), +(@SPAWNGROUP+1, 0, @CGUID+6), +(@SPAWNGROUP+2, 0, @CGUID+5), +(@SPAWNGROUP+3, 0, @CGUID+7), +(@SPAWNGROUP+4, 0, @CGUID+8), +(@SPAWNGROUP+5, 0, @CGUID+1); + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+27; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES +(@OGUID+0, 207083, 761, 5449, 5453, '0', 0, 0, 851.224853515625, 1361.31494140625, 30.00773239135742187, 4.136432647705078125, 0, 0, -0.87881660461425781, 0.477159708738327026, 7200, 255, 1, 53989), -- Stove (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+1, 207082, 761, 5449, 5453, '0', 0, 0, 885.692138671875, 1375.1756591796875, 29.34804534912109375, 1.893678903579711914, 0, 0, 0.811573028564453125, 0.584250986576080322, 7200, 255, 1, 53989), -- Cauldron (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+2, 205495, 761, 5449, 5453, '0', 0, 0, 1395.9600830078125, 977.2569580078125, -13.7897014617919921, 6.265733242034912109, 0, 0, -0.00872611999511718, 0.999961912631988525, 7200, 255, 1, 53989), -- Horde Gate (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+3, 205496, 761, 5449, 5453, '0', 0, 0, 918.29864501953125, 1336.4896240234375, 20.45499992370605468, 2.827429771423339843, 0, 0, 0.987688064575195312, 0.156436234712600708, 7200, 255, 1, 53989), -- Alliance Gate (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+4, 180380, 761, 5449, 5453, '0', 0, 0, 1063.564208984375, 1308.9791259765625, 4.911691665649414062, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 90, 255, 1, 53989), -- Berserk Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+5, 180382, 761, 5449, 5453, '0', 0, 0, 1195.72998046875, 1020.29998779296875, 7.978740215301513671, 5.777040958404541015, 0, 0, -0.25037956237792968, 0.968147754669189453, 90, 255, 1, 53989), -- Berserk Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+6, 180147, 761, 5449, 5453, '0', 0, 0, 1111.4305419921875, 921.6163330078125, 30.07139015197753906, 5.567600727081298828, 0, 0, -0.35020732879638671, 0.936672210693359375, 90, 255, 1, 53989), -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+7, 180146, 761, 5449, 5453, '0', 0, 0, 966.4580078125, 1043.5699462890625, 13.14669990539550781, 0.907570242881774902, 0, 0, 0.438370704650878906, 0.898794233798980712, 90, 255, 1, 53989), -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+8, 180148, 761, 5449, 5453, '0', 0, 0, 990.2969970703125, 983.37298583984375, 12.98260021209716796, 4.555310726165771484, 0, 0, -0.76040554046630859, 0.649448513984680175, 90, 255, 1, 53989), -- Berserk Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+9, 267985, 761, 5449, 5453, '0', 0, 0, 933.6484375, 1427.4461669921875, 28.91886138916015625, 4.066620349884033203, 0, 0, -0.89493370056152343, 0.44619917869567871, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only01 (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+10, 267984, 761, 5449, 5453, '0', 0, 0, 1065.8585205078125, 1307.032470703125, 4.974267482757568359, 5.5065155029296875, 0, 0, -0.3786478042602539, 0.925540864467620849, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only02 (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+11, 205045, 761, 5449, 5453, '0', 0, 0, 1196.86083984375, 1022.99267578125, 8.256913185119628906, 2.617989301681518554, 0, 0, 0.965925216674804687, 0.258821308612823486, 7200, 255, 1, 53989), -- Cauldron (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+12, 205037, 761, 5449, 5453, '0', 0, 0, 926.920166015625, 1014.3675537109375, 19.86332321166992187, 0.226890549063682556, 0, 0, 0.113202095031738281, 0.993571996688842773, 7200, 255, 1, 53989), -- Fire (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+13, 205036, 761, 5449, 5453, '0', 0, 0, 927.24725341796875, 1015.525146484375, 19.00165557861328125, 2.783795118331909179, 0, 0, 0.984040260314941406, 0.177946031093597412, 7200, 255, 1, 53989), -- Stove (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+14, 205038, 761, 5449, 5453, '0', 0, 0, 927.7421875, 1016.9154052734375, 19.86332321166992187, 0.270525157451629638, 0, 0, 0.134850502014160156, 0.990865945816040039, 7200, 255, 1, 53989), -- Fire (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+15, 267983, 761, 5449, 5453, '0', 0, 0, 1066.7442626953125, 1307.72900390625, 4.978141307830810546, 4.476771354675292968, 0, 0, -0.78531646728515625, 0.619094550609588623, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only01 (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+16, 267985, 761, 5449, 5453, '0', 0, 0, 1015.02655029296875, 929.04248046875, 14.26296329498291015, 3.263772249221801757, 0, 0, -0.99813461303710937, 0.061051756143569946, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only01 (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+17, 207177, 761, 5449, 5453, '0', 0, 0, 918.390625, 1336.640625, 27.42519950866699218, 2.844882726669311523, 0, 0, 0.989015579223632812, 0.147811368107795715, 7200, 255, 1, 53989), -- Alliance Door (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+18, 207178, 761, 5449, 5453, '0', 0, 0, 1395.970458984375, 977.09027099609375, 7.635970115661621093, 6.274459362030029296, 0, 0, -0.00436305999755859, 0.999990463256835937, 7200, 255, 1, 53989), -- Horde Gate (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+19, 228053, 761, 5449, 5452, '0', 0, 0, 1251.0086669921875, 958.26910400390625, 5.668474674224853515, 5.86425018310546875, 0, 0, -0.20793914794921875, 0.97814178466796875, 7200, 255, 1, 53989), -- Capture Point (Area: Mines - Difficulty: 0) CreateObject2 +(@OGUID+20, 228050, 761, 5449, 5452, '0', 0, 0, 1057.7396240234375, 1278.26220703125, 3.179371118545532226, 4.909808158874511718, 0, 0, -0.63397979736328125, 0.773349583148956298, 7200, 255, 1, 53989), -- Capture Point (Area: Mines - Difficulty: 0) CreateObject1 +(@OGUID+21, 228052, 761, 5449, 5451, '0', 0, 0, 980.03302001953125, 948.73785400390625, 12.73535633087158203, 5.877463817596435546, 0, 0, -0.20147228240966796, 0.979494214057922363, 7200, 255, 1, 53989), -- Capture Point (Area: Waterworks - Difficulty: 0) CreateObject2 +(@OGUID+22, 180145, 761, 5449, 5452, '0', 0, 0, 1195.72998046875, 1020.29998779296875, 7.978740215301513671, 5.777040958404541015, 0, 0, -0.25037956237792968, 0.968147754669189453, 90, 255, 1, 53989), -- Food Buff (Area: Mines - Difficulty: 0) CreateObject2 +(@OGUID+23, 180384, 761, 5449, 5453, '0', 0, 0, 990.2969970703125, 983.37298583984375, 12.98260021209716796, 4.555310726165771484, 0, 0, -0.76040554046630859, 0.649448513984680175, 90, 255, 1, 53989), -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 +(@OGUID+24, 180144, 761, 5449, 5451, '0', 0, 0, 1063.564208984375, 1308.9791259765625, 4.911691665649414062, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 90, 255, 1, 53989), -- Food Buff (Area: Waterworks - Difficulty: 0) CreateObject1 +(@OGUID+25, 180383, 761, 5449, 5451, '0', 0, 0, 990.2969970703125, 983.37298583984375, 12.98260021209716796, 4.555310726165771484, 0, 0, -0.76040554046630859, 0.649448513984680175, 90, 255, 1, 53989), -- Food Buff (Area: Waterworks - Difficulty: 0) CreateObject2 +(@OGUID+26, 180381, 761, 5449, 5451, '0', 0, 0, 1195.72998046875, 1020.29998779296875, 7.978740215301513671, 5.777040958404541015, 0, 0, -0.25037956237792968, 0.968147754669189453, 90, 255, 1, 53989), -- Speed Buff (Area: Waterworks - Difficulty: 0) CreateObject1 +(@OGUID+27, 180379, 761, 5449, 5453, '0', 0, 0, 1063.564208984375, 1308.9791259765625, 4.911691665649414062, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 90, 255, 1, 0); -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 + +DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+35; +INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES +(@OGUID+0, 0, 0, 0.465614736080169677, 0.884987533092498779, 0, 0), -- Stove +(@OGUID+1, 0, 0, 0.465614736080169677, 0.884987533092498779, 0, 0), -- Cauldron +(@OGUID+9, 0, 0, -0.70710676908493041, 0.707106769084930419, 0, 0), -- Doodad_firewoodpile-indoor-only01 +(@OGUID+10, 0, 0, 0.911762058734893798, -0.41071885824203491, 0, 0), -- Doodad_firewoodpile-indoor-only02 +(@OGUID+11, 0, 0, -0.27563735842704772, 0.961261689662933349, 0, 0), -- Cauldron +(@OGUID+12, 0, 0, -0.17364829778671264, 0.984807729721069335, 0, 0), -- Fire +(@OGUID+13, 0, 0, -0.17364829778671264, 0.984807729721069335, 0, 0), -- Stove +(@OGUID+14, 0, 0, -0.17364829778671264, 0.984807729721069335, 0, 0), -- Fire +(@OGUID+15, 0, 0, 0.911762058734893798, -0.41071885824203491, 0, 0), -- Doodad_firewoodpile-indoor-only01 +(@OGUID+16, 0, 0, 0.927183866500854492, -0.37460660934448242, 0, 0); -- Doodad_firewoodpile-indoor-only01 + +DELETE FROM `pool_members` WHERE `poolSpawnId` BETWEEN @POOL_ID+0 AND @POOL_ID+2; +INSERT INTO `pool_members` (`type`, `spawnId`, `poolSpawnId`, `chance`, `description`) VALUES +(1, @OGUID+5, @POOL_ID+0, 0, 'Battle for Gilneas - Berserker Buff - Mines'), +(1, @OGUID+22, @POOL_ID+0, 0, 'Battle for Gilneas - Food Buff - Mines'), +(1, @OGUID+26, @POOL_ID+0, 0, 'Battle for Gilneas - Speed Buff - Mines'), + +(1, @OGUID+4, @POOL_ID+1, 0, 'Battle for Gilneas - Berserker Buff - Lighthouse'), +(1, @OGUID+24, @POOL_ID+1, 0, 'Battle for Gilneas - Food Buff - Lighthouse'), +(1, @OGUID+27, @POOL_ID+1, 0, 'Battle for Gilneas - Speed Buff - Lighthouse'), + +(1, @OGUID+8, @POOL_ID+2, 0, 'Battle for Gilneas - Berserker Buff - Waterworks'), +(1, @OGUID+25, @POOL_ID+2, 0, 'Battle for Gilneas - Food Buff - Waterworks'), +(1, @OGUID+23, @POOL_ID+2, 0, 'Battle for Gilneas - Speed Buff - Waterworks'); diff --git a/sql/updates/world/cata_classic/2024_05_28_05_world_2024_05_06_01_world.sql b/sql/updates/world/cata_classic/2024_05_28_05_world_2024_05_06_01_world.sql deleted file mode 100644 index 21101bfcde8..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_05_world_2024_05_06_01_world.sql +++ /dev/null @@ -1,53 +0,0 @@ -DELETE FROM `creature_movement_override` WHERE `SpawnId` NOT IN (851331,6000693,6000695,6000700,6000707,6000708,6000709,6000721,6000723,6000727,6000729,6000732,6000736,6000763); -UPDATE `creature_movement_override` SET `HoverInitiallyEnabled`=0 WHERE `SpawnId` IN (6000693,6000695,6000700,6000707,6000708,6000709,6000721,6000723,6000727,6000729,6000732,6000736,6000763); - -DELETE FROM `creature_static_flags_override` WHERE `SpawnId` IN (106339, 106340, 125724, 395475, 395522, 395523, 395542, 395570, 460002, 460043, 650356, 850856, 850858, 850861, 850862, 850864, 850865, 850866, 850867, 850868, 850871, 850973, 851014, 851023, 851084, 851100, 851115, 851127, 851155, 851158, 851182, 851194, 851201, 1050851, 1050886, 1050973, 1050980, 1050981, 1051014, 6000695, 8000023, 8000024, 9000012, 9000013, 9000211, 9000224, 9001454, 9001469); -INSERT INTO `creature_static_flags_override` (`SpawnId`, `DifficultyId`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`) VALUES -(106339, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(106340, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(125724, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(395475, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(395522, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(395523, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(395542, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(395570, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(460002, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(460043, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(650356, 0, 0x0, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(850856, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(850858, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(850861, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(850862, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(850864, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(850865, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(850866, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(850867, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(850868, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(850871, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(850973, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(851014, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(851023, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(851084, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(851100, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(851115, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(851127, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(851155, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(851158, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(851182, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(851194, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(851201, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(1050851, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(1050886, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(1050973, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(1050980, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(1050981, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(1051014, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(6000695, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(8000023, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(8000024, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(9000012, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(9000013, 0, 0x20000100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(9000211, 0, 0x0, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(9000224, 0, 0x0, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(9001454, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), -(9001469, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL); diff --git a/sql/updates/world/cata_classic/2024_05_28_06_2024_04_11_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_06_2024_04_11_00_world.sql new file mode 100644 index 00000000000..74ce05c2e0b --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_06_2024_04_11_00_world.sql @@ -0,0 +1,3 @@ +ALTER TABLE `smart_scripts` + ADD `action_param_string` VARCHAR(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `action_param7`, + ADD `target_param_string` VARCHAR(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `target_param4`; diff --git a/sql/updates/world/cata_classic/2024_05_28_06_world_2024_05_05_01_world.sql b/sql/updates/world/cata_classic/2024_05_28_06_world_2024_05_05_01_world.sql deleted file mode 100644 index cc0cec1cf92..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_06_world_2024_05_05_01_world.sql +++ /dev/null @@ -1,2 +0,0 @@ -DELETE FROM `world_safe_locs` WHERE `ID`=80000; -UPDATE `graveyard_zone` SET `ID`=6928, `Comment`='BRD Hub Safe Loc' WHERE `ID`=80000; diff --git a/sql/updates/world/cata_classic/2024_05_28_07_2024_04_13_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_07_2024_04_13_00_world.sql new file mode 100644 index 00000000000..59da801d645 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_07_2024_04_13_00_world.sql @@ -0,0 +1,6 @@ +UPDATE `conditions` SET `ConditionValue2`=1 WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9184 AND `ConditionTypeOrReference`=1 AND `ConditionValue1`=45963; +UPDATE `conditions` SET `ConditionValue2`=1 WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=8288 AND `ConditionTypeOrReference`=1 AND `ConditionValue1`=36620; +UPDATE `conditions` SET `ConditionValue2`=0 WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=1 AND `SourceEntry`=25084 AND `ConditionTypeOrReference`=1 AND `ConditionValue1`=45111; +UPDATE `conditions` SET `ConditionValue2`=1 WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=11 AND `SourceEntry`=22258 AND `ConditionTypeOrReference`=1 AND `ConditionValue1`=38708; +UPDATE `conditions` SET `ConditionValue2`=1 WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup`=630 AND `SourceEntry`=0 AND `ConditionTypeOrReference`=1 AND `ConditionValue1`=106205; +UPDATE `conditions` SET `ConditionValue2`=3 WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup`=13775 AND `SourceEntry`=10588 AND `ConditionTypeOrReference`=1 AND `ConditionValue1`=305742; diff --git a/sql/updates/world/cata_classic/2024_05_28_07_world_2024_04_28_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_07_world_2024_04_28_00_world.sql deleted file mode 100644 index 44d981a5908..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_07_world_2024_04_28_00_world.sql +++ /dev/null @@ -1,7 +0,0 @@ -UPDATE `creature_template_difficulty` SET `StaticFlags2`= `StaticFlags2` | 0x2 WHERE `Entry` IN (3977, 10162, 10184, 11380, 11382, 11502, 11583, 11981, 11982, 11983, 11988, 12017, 12018, 12056, 12057, 12098, 12118, 12259, 12264, 12435, 12804, 13020, 14020, 14352, 14507, 14509, 14510, 14515, 14517, 14601, 14834, 15082, 15083, 15084, 15085, 15114, 15263, 15275, 15276, 15277, 15299, 15339, 15340, 15341, 15348, 15369, 15370, 15385, 15386, 15388, 15389, 15390, 15391, 15392, 15509, 15510, 15511, 15516, 15517, 15543, 15544, 15550, 15589, 15608, 15687, 15688, 15689, 15690, 15691, 15727, 15928, 15929, 15930, 15931, 15932, 15936, 15952, 15953, 15954, 15956, 15989, 15990, 16011, 16028, 16042, 16060, 16061, 16062, 16063, 16064, 16065, 16097, 16101, 16102, 16103, 16104, 16151, 16152, 16179, 16180, 16181, 16457, 16524, 16775, 16776, 16777, 16778, 17225, 17256, 17257, 17307, 17521, 17533, 17534, 17535, 17536, 17537, 17543, 17546, 17547, 17548, 17602, 17767, 17808, 17842, 17888, 17968, 18040, 18041, 18168, 18254, 18472, 18473, 18780, 18805, 18829, 18831, 18832, 18834, 18835, 18836, 18847, 19044, 19389, 19514, 19516, 19622, 20051, 20060, 20062, 20063, 20064, 20905, 20906, 20908, 20909, 20910, 20911, 21174, 21212, 21213, 21214, 21215, 21216, 21217, 21219, 21253, 21268, 21269, 21270, 21271, 21272, 21273, 21274, 21350, 21785, 21845, 21875, 21932, 21958, 21964, 21965, 21966, 22009, 22036, 22055, 22056, 22140, 22361, 22409, 22841, 22856, 22871, 22887, 22898, 22917, 22947, 22948, 22949, 22950, 22951, 22952, 23035, 23054, 23126, 23195, 23394, 23418, 23419, 23420, 23576, 23812, 23863, 24143, 24850, 24882, 24892, 25038, 25165, 25166, 25315, 25319, 25740, 25741, 25840, 25960, 26631, 26632, 26650, 27656, 27696, 27767, 27769, 27770, 27773, 27774, 27775, 27776, 27777, 27778, 27779, 27780, 27781, 27782, 28546, 28859, 28860, 29311, 30449, 30451, 30452, 30549, 31125, 32845, 32857, 32865, 32867, 32871, 32906, 32913, 32914, 32915, 32927, 32930, 32933, 32934, 33113, 33118, 33139, 33186, 33264, 33271, 33280, 33288, 33293, 33329, 33432, 33515, 33524, 33651, 33663, 33667, 33670, 33768, 33862, 33993, 34014, 34034, 34035, 34055, 34297, 34441, 34444, 34445, 34447, 34448, 34449, 34450, 34451, 34453, 34454, 34455, 34456, 34458, 34459, 34460, 34461, 34463, 34465, 34466, 34467, 34468, 34469, 34470, 34471, 34472, 34473, 34474, 34475, 34496, 34497, 34515, 34564, 34567, 34568, 34780, 34796, 34797, 34799, 34815, 34826, 34921, 35013, 35144, 35145, 36497, 36502, 36549, 36597, 36612, 36626, 36627, 36658, 36678, 36791, 36853, 36855, 36897, 36899, 37022, 37126, 37530, 37535, 37562, 37672, 37697, 37813, 37868, 37886, 37890, 37907, 37934, 37949, 37955, 37970, 37972, 37973, 38004, 38009, 38010, 38135, 38136, 38216, 38248, 38285, 38308, 38309, 38367, 38386, 38433, 38569, 38572, 38667, 38752, 38883, 39165, 39231, 39378, 39425, 39428, 39587, 39665, 39679, 39698, 39700, 39705, 39731, 39732, 39746, 39747, 39751, 39800, 39814, 39863, 39899, 40142, 40586, 40765, 40825, 40960, 41270, 41376, 41378, 41379, 41442, 41570, 42166, 42178, 42179, 42180, 42333, 42347, 42897, 43214, 43296, 43324, 43612, 43614, 43622, 43686, 43687, 43688, 43689, 43707, 43719, 43735, 43873, 43875, 43878, 43888, 43922, 44023, 44031, 44600, 44819, 44864, 44881, 45213, 45858, 45870, 45871, 45872, 45992, 45993, 46753, 46965, 47120, 48233, 48571, 49930, 49938, 50264, 51398, 51410, 51412, 51413, 51414, 51415, 51437, 51438, 51449, 51452, 51599, 51932, 52148, 52150, 52363, 52409, 52498, 52530, 52558, 52571, 52675, 53494, 53682, 53683, 53691, 53694, 53695, 53772, 53785, 53825, 53833, 53879, 53920, 54192, 54199, 54258, 54404, 54432, 55265, 55294, 55308, 55312, 55689, 55869, 56173, 56427, 56439, 56448, 56541, 56589, 56636, 56637, 56710, 56717, 56719, 56732, 56747, 56877, 56884, 56906, 57694, 57773, 57962, 58632, 58633, 58722, 58739, 58826, 59051, 59080, 59150, 59153, 59184, 59220, 59223, 59303, 59479, 59613, 59789, 59915, 60009, 60016, 60018, 60019, 60020, 60040, 60043, 60047, 60051, 60089, 60143, 60399, 60400, 60410, 60583, 60585, 60586, 60648, 60701, 60708, 60709, 60710, 60788, 60847, 60999, 61174, 61243, 61344, 61398, 61421, 61423, 61427, 61429, 61442, 61444, 61445, 61478, 61485, 61567, 61634, 61707, 62164, 62205, 62397, 62402, 62405, 62408, 62442, 62511, 62533, 62543, 62637, 62711, 62837, 62848, 62980, 62983, 63025, 63026, 63191, 63297, 63311, 63312, 63313, 63316, 63318, 63435, 63539, 63859, 63872, 64280, 64281, 64286, 64560, 64564, 64565, 64894, 65173, 65174, 65201, 65329, 65498, 65499, 65500, 66091, 66746, 66920, 67374, 67385, 67390, 67426, 67559, 67567, 67705, 67827, 67853, 67977, 68036, 68066, 68067, 68068, 68069, 68078, 68079, 68080, 68081, 68122, 68123, 68124, 68125, 68151, 68159, 68160, 68161, 68162, 68177, 68208, 68397, 68476, 68904, 68905, 69012, 69013, 69014, 69017, 69078, 69095, 69131, 69132, 69134, 69232, 69427, 69465, 69473, 69650, 69653, 69699, 69700, 69701, 69712, 69756, 69781, 69964, 70135, 70212, 70229, 70235, 70238, 70247, 70248, 70249, 70250, 70251, 70252, 70271, 70455, 70468, 70469, 70474, 70475, 70590, 70592, 70640, 70683, 70762, 70763, 70893, 70959, 70963, 71030, 71123, 71133, 71152, 71153, 71154, 71155, 71156, 71157, 71158, 71160, 71161, 71212, 71213, 71214, 71215, 71216, 71217, 71218, 71219, 71220, 71276, 71327, 71328, 71329, 71330, 71454, 71466, 71475, 71479, 71480, 71504, 71515, 71529, 71543, 71592, 71734, 71858, 71859, 71865, 71889, 71967, 72001, 72002, 72003, 72051, 72065, 72224, 72249, 72276, 72349, 72436, 72550, 72616, 72619, 72620, 72726, 72748, 72749, 72750, 73081, 73103, 73224, 73334, 73462, 73524, 73620, 73663, 73958); --- Manually added flag for currently scripted post MoP raid bosses -UPDATE `creature_template_difficulty` SET `StaticFlags2`= `StaticFlags2` | 0x2 WHERE `Entry` = 122450; -- Garothi Worldbreaker -UPDATE `creature_template_difficulty` SET `StaticFlags2`= `StaticFlags2` | 0x2 WHERE `Entry` = 114323; -- Guarm -UPDATE `creature_template_difficulty` SET `StaticFlags2`= `StaticFlags2` | 0x2 WHERE `Entry` = 201261; -- Kazzara the Hellforged -UPDATE `creature_template_difficulty` SET `StaticFlags2`= `StaticFlags2` | 0x2 WHERE `Entry` = 175732; -- Sylvanas Windrunner -UPDATE `creature_template_difficulty` SET `StaticFlags2`= `StaticFlags2` | 0x2 WHERE `Entry` = 181954; -- Anduin Wrynn diff --git a/sql/updates/world/cata_classic/2024_05_28_08_2024_04_15_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_08_2024_04_15_00_world.sql new file mode 100644 index 00000000000..e91560dba3c --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_08_2024_04_15_00_world.sql @@ -0,0 +1,45 @@ +-- Custom gossip 21257 (from 3.3.5) is used by Navarrogg (99624) +DELETE FROM `gossip_menu` WHERE (`MenuID`=21257 AND `TextID`=15846); +DELETE FROM `gossip_menu` WHERE (`MenuID`=11375 AND `TextID`=15846); +DELETE FROM `gossip_menu` WHERE (`MenuID`=11394 AND `TextID` IN (15873,15872,15871)); +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(11375, 15846, 53788), -- 40352 (Witch Doctor Hez'tok) +(11394, 15873, 53788), -- 40492 (Zild'jian) +(11394, 15872, 53788), -- 40492 (Zild'jian) +(11394, 15871, 53788); -- 40492 (Zild'jian) + +UPDATE `gossip_menu` SET `VerifiedBuild`=53788 WHERE (`MenuID`=11341 AND `TextID`=15796) OR (`MenuID`=11345 AND `TextID`=15806) OR (`MenuID`=11391 AND `TextID`=15865); +UPDATE `gossip_menu` SET `VerifiedBuild`=53788 WHERE (`MenuID`=11397 AND `TextID`=15877) OR (`MenuID`=11398 AND `TextID`=15876); + +DELETE FROM `gossip_menu_option` WHERE (`MenuID`=21257 AND `OptionID`=0); +DELETE FROM `gossip_menu_option` WHERE (`OptionID`=0 AND `MenuID` IN (11341,11375)); +INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES +(11341, 93994, 0, 0, 'Would you call down the Spirit of the Tiger again, Vanira?', 40445, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, 75186, NULL, 53788), +(11375, 94022, 0, 0, 'Let us consult the omens.', 40385, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 53788); + +UPDATE `gossip_menu_option` SET `GossipOptionID`=94211, `VerifiedBuild`=53788 WHERE (`MenuID`=11398 AND `OptionID`=0); +UPDATE `gossip_menu_option` SET `GossipOptionID`=94004, `OptionText`='I need to get to Razor Hill to recruit on behalf of Vol''jin. May I borrow a bat?', `SpellID`=75421, `VerifiedBuild`=53788 WHERE (`MenuID`=11345 AND `OptionID`=1); +UPDATE `gossip_menu_option` SET `GossipOptionID`=94003, `OptionText`='I am ready to take back the Echo Isles. Take me to the staging area!', `SpellID`=75422, `VerifiedBuild`=53788 WHERE (`MenuID`=11345 AND `OptionID`=2); +UPDATE `gossip_menu_option` SET `GossipOptionID`=94005, `SpellID`=74978, `VerifiedBuild`=53788 WHERE (`MenuID`=11345 AND `OptionID`=0); + +DELETE FROM `npc_text` WHERE `ID` IN (15871,15872); +INSERT INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextId0`, `BroadcastTextId1`, `BroadcastTextId2`, `BroadcastTextId3`, `BroadcastTextId4`, `BroadcastTextId5`, `BroadcastTextId6`, `BroadcastTextId7`, `VerifiedBuild`) VALUES +(15872, 1, 0, 0, 0, 0, 0, 0, 0, 40475, 0, 0, 0, 0, 0, 0, 0, 53788), -- 15872 +(15871, 1, 0, 0, 0, 0, 0, 0, 0, 40472, 0, 0, 0, 0, 0, 0, 0, 53788); -- 15871 + +UPDATE `npc_text` SET `VerifiedBuild`=53788 WHERE `ID` IN (15865, 15873, 15877, 15876); +UPDATE `npc_text` SET `VerifiedBuild`=53788 WHERE `ID` IN (15806, 15846, 15796); + +DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=39654 AND `MenuID` IN (11397,11398)) OR (`CreatureID`=40492 AND `MenuID`=11394) OR (`CreatureID`=40352); +INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES +(40352, 11375, 53788), -- Witch Doctor Hez'tok +(39654, 11398, 53788), -- Vol'jin +(40492, 11394, 53788); -- Zild'jian + +UPDATE `creature_template_gossip` SET `VerifiedBuild`=53788 WHERE (`CreatureID`=40184 AND `MenuID`=11341) OR (`CreatureID`=40204 AND `MenuID`=11345) OR (`CreatureID`=40391 AND `MenuID`=11391); + +UPDATE `smart_scripts` SET `event_param1`=11375 WHERE `entryorguid`=40352 AND `source_type`=0 AND `id`=0; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=21257; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=11375; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 11375, 0, 0, 0, 47, 0, 25480, 10, 0, 0, 0, 0, '', 'Gossip menu option requires quest 25480 taken or completed'); diff --git a/sql/updates/world/cata_classic/2024_05_28_08_world_2024_04_27_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_08_world_2024_04_27_00_world.sql deleted file mode 100644 index b01213bf329..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_08_world_2024_04_27_00_world.sql +++ /dev/null @@ -1,3 +0,0 @@ -DELETE FROM `spell_proc` WHERE `SpellId` IN (429020); -INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES -(429020,0x00,224,0x00400800,0x00000000,0x00000000,0x00000000,0x0,0x0,0x2,0x2,0x403,0x0,0x0,0,0,0,0); -- Fragile Echoes diff --git a/sql/updates/world/cata_classic/2024_05_28_09_2024_04_16_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_09_2024_04_16_00_world.sql new file mode 100644 index 00000000000..b96eec0cb21 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_09_2024_04_16_00_world.sql @@ -0,0 +1,91 @@ +SET @OGUID := 3000028; +SET @CGUID := 3000009; +SET @TRIGGER_ID_ALLIANCE := 30; -- Trigger ID for capture flag area trigger alliance +SET @TRIGGER_ID_HORDE := 31; -- Trigger ID for capture flag area trigger horde +SET @TRIGGER_SPAWN_ID := 65; + +UPDATE `battleground_template` SET `Weight` = 1 WHERE `ID` = 108; + +DELETE FROM `graveyard_zone` where `ID` IN (1728, 1729, 1749, 1750); +INSERT INTO `graveyard_zone` (`ID`, `GhostZone`, `Comment`) VALUES +(1728, 5031, 'Twin Peaks - Horde Base'), +(1729, 5031, 'Twin Peaks - Alliance Base'), +(1749, 5031, 'Twin Peaks - Alliance Center'), +(1750, 5031, 'Twin Peaks - Horde Center'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 27 AND `SourceEntry` IN (1728, 1729, 1749, 1750); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceEntry`, `SourceGroup`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `NegativeCondition`, `Comment`) VALUES +(27, 1729, 5031, 0, 6, 469, 0, 0, 'Graveyard - Twin Peaks - Alliance Base - Team Alliance'), +(27, 1728, 5031, 0, 6, 67, 0, 0, 'Graveyard - Twin Peaks - Horde Base - Team Horde'), +(27, 1749, 5031, 0, 6, 469, 0, 0, 'Graveyard - Twin Peaks - Alliance Center - Team Alliance'), +(27, 1749, 5031, 0, 23, 5775, 0, 1, 'Graveyard - Twin Peaks - Alliance Center - Not near Horde Base'), +(27, 1749, 5031, 0, 23, 5681, 0, 1, 'Graveyard - Twin Peaks - Alliance Center - Not in Horde Base'), +(27, 1729, 5031, 0, 23, 5776, 0, 1, 'Graveyard - Twin Peaks - Alliance Base - Not near Alliance Base'), +(27, 1729, 5031, 0, 23, 5680, 0, 1, 'Graveyard - Twin Peaks - Alliance Base - Not in Alliance Base'), +(27, 1750, 5031, 0, 6, 67, 0, 0, 'Graveyard - Twin Peaks - Horde Center - Team Horde'), +(27, 1750, 5031, 0, 23, 5776, 0, 1, 'Graveyard - Twin Peaks - Horde Center - Not near Alliance Base'), +(27, 1750, 5031, 0, 23, 5680, 0, 1, 'Graveyard - Twin Peaks - Horde Center - Not in Alliance Base'), +(27, 1728, 5031, 0, 23, 5775, 0, 1, 'Graveyard - Twin Peaks - Horde Base - Not near Horde Base'), +(27, 1728, 5031, 0, 23, 5681, 0, 1, 'Graveyard - Twin Peaks - Horde Base - Not in Horde Base'); + +DELETE FROM `areatrigger_scripts` WHERE `entry` IN (5907, 5908, 5910, 5909, 5911, 5906); +INSERT INTO `areatrigger_scripts` (`entry`,`ScriptName`) VALUES +(5908, 'at_battleground_buffs'), +(5907, 'at_battleground_buffs'), +(5910, 'at_battleground_buffs'), +(5909, 'at_battleground_buffs'), +(5911, 'at_battleground_buffs'), +(5906, 'at_battleground_buffs'); + +DELETE FROM `gameobject` WHERE `guid` IN (216144, 216129, 216143, 220777, 216139, 216138, 216133, 216131, 216137, 216142, 216134); +-- fix buff respawn times +UPDATE `gameobject` SET `spawntimesecs` = 90 WHERE `guid` IN (216130, 216136, 216135, 216132); + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+16; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES +(@OGUID+0, 180322, 726, 5031, 5681, '0', '0', 0, 1832.0103759765625, 516.01910400390625, 26.99340248107910156, 6.248279094696044921, 0, 0, -0.01745223999023437, 0.999847710132598876, 7200, 255, 1, 54205), -- Ghost Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+1, 303120, 726, 5031, 5681, '0', '0', 0, 1953.2412109375, 394.69012451171875, -9.54223155975341796, 0.549776852130889892, 0, 0, 0.271439552307128906, 0.962455451488494873, 7200, 255, 0, 54205), -- Doodad_vr_cookpot_01 (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+2, 180322, 726, 5031, 5681, '0', '0', 0, 1857.8004150390625, 512.55902099609375, 34.93069839477539062, 0.052358884364366531, 0, 0, 0.02617645263671875, 0.999657332897186279, 7200, 255, 1, 54205), -- Ghost Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+3, 179899, 726, 5031, 5681, '0', '0', 0, 1611.2708740234375, 306.963531494140625, 0.248635083436965942, 4.989840030670166015, 0, 0, -0.60253429412841796, 0.798092961311340332, 90, 255, 1, 54205), -- Speed Buff (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+4, 180322, 726, 5031, 5681, '0', '0', 0, 1846.3992919921875, 513.5538330078125, 30.47980117797851562, 0, 0, 0, 0, 1, 7200, 255, 1, 54205), -- Ghost Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+5, 208205, 726, 5031, 5681, '0', '0', 0, 1556.656005859375, 314.71270751953125, 1.589000582695007324, 6.178466320037841796, 0, 0, -0.05233573913574218, 0.998629570007324218, 7200, 255, 1, 54205), -- Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+6, 208207, 726, 5031, 5681, '0', '0', 0, 1558.087890625, 372.765380859375, 1.723726868629455566, 6.178466320037841796, 0, 0, -0.05233573913574218, 0.998629570007324218, 7200, 255, 1, 54205), -- Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+7, 208206, 726, 5031, 5681, '0', '0', 0, 1574.6053466796875, 321.2420654296875, 1.589889883995056152, 6.178466320037841796, 0, 0, -0.05233573913574218, 0.998629570007324218, 7200, 255, 1, 54205), -- Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+8, 203710, 726, 5031, 5681, '0', '0', 0, 1558.6226806640625, 379.159515380859375, -6.4096693992614746, 4.607671737670898437, 0, 0, -0.74314403533935546, 0.669131457805633544, 7200, 255, 1, 54205), -- Portcullis (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+9, 180322, 726, 5031, 5681, '0', '0', 0, 1820.470458984375, 517.435791015625, 25.55260086059570312, 6.248279094696044921, 0, 0, -0.01745223999023437, 0.999847710132598876, 7200, 255, 1, 54205), -- Ghost Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+10, 206653, 726, 5031, 5681, '0', '0', 0, 2135.52490234375, 218.9260101318359375, 43.60945510864257812, 5.75086069107055664, 0, 0, -0.263031005859375, 0.96478736400604248, 7200, 255, 1, 54205), -- Wildhammer Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+11, 206655, 726, 5031, 5681, '0', '0', 0, 2118.087646484375, 154.6754302978515625, 43.57088851928710937, 2.609261274337768554, 0, 0, 0.964786529541015625, 0.263034075498580932, 7200, 255, 1, 54205), -- Wildhammer Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+12, 206654, 726, 5031, 5681, '0', '0', 0, 2156, 219.2058868408203125, 43.62560272216796875, 2.609261274337768554, 0, 0, 0.964786529541015625, 0.263034075498580932, 7200, 255, 1, 54205), -- Wildhammer Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+13, 303119, 726, 5031, 5681, '0', '0', 0, 1986.051025390625, 420.545745849609375, -20.7072296142578125, 5.148722648620605468, 0, 0, -0.53729915618896484, 0.843391716480255126, 7200, 255, 1, 54205), -- Doodad_firewoodpile-indoor-only01 (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+14, 227741, 726, 5031, 5681, '0', '0', 0, 2117.63720703125, 191.6822967529296875, 44.05199050903320312, 6.021387100219726562, 0, 0, -0.13052558898925781, 0.991444945335388183, 7200, 255, 1, 54205), -- Alliance Flag (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+15, 227740, 726, 5031, 5681, '0', '0', 0, 1578.3367919921875, 344.045135498046875, 2.418408870697021484, 2.792518377304077148, 0, 0, 0.984807014465332031, 0.173652306199073791, 7200, 255, 1, 54205), -- Horde Flag (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 +(@OGUID+16, 179871, 726, 5031, 5681, '0', '0', 0, 2088.864501953125, 258.630218505859375, 43.79682540893554687, 1.66558992862701416, 0, 0, 0.73981475830078125, 0.672810614109039306, 90, 255, 1, 54205); -- Speed Buff (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 + +DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+16; +INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES +(@OGUID+1, 0, 0, 0.390731066465377807, 0.920504868030548095, 0, 0), -- Doodad_vr_cookpot_01 +(@OGUID+5, 0, 0, -0.05233581736683845, 0.998629570007324218, 0, 0), -- Gate +(@OGUID+6, 0, 0, -0.05233581736683845, 0.998629570007324218, 0, 0), -- Gate +(@OGUID+7, 0, 0, -0.05233581736683845, 0.998629570007324218, 0, 0), -- Gate +(@OGUID+8, 0, 0, -0.05233581736683845, 0.998629570007324218, 0, 0), -- Portcullis +(@OGUID+10, 0, 0, 0.964787304401397705, 0.263031333684921264, 0, 0), -- Wildhammer Gate +(@OGUID+11, 0, 0, 0.964787304401397705, 0.263031333684921264, 0, 0), -- Wildhammer Gate +(@OGUID+12, 0, 0, 0.964787304401397705, 0.263031333684921264, 0, 0), -- Wildhammer Gate +(@OGUID+13, 0, 0, 0.390731066465377807, 0.920504868030548095, 0, 0); -- Doodad_firewoodpile-indoor-only01 + +DELETE FROM `creature` WHERE `guid` = @CGUID+0; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES +(@CGUID+0, 13117, 726, 5031, 0, '0', '0', 0, 0, 1, 1818.3055419921875, 153.1302032470703125, 1.889904022216796875, 1.631284713745117187, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205); -- Horde Spirit Guide (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) + +DELETE FROM `areatrigger` WHERE `SpawnId` BETWEEN @TRIGGER_SPAWN_ID+0 AND @TRIGGER_SPAWN_ID+1 AND `IsCustom` = 1; +INSERT INTO `areatrigger` (`SpawnId`, `AreaTriggerCreatePropertiesId`, `IsCustom`, `MapId`, `PosX`, `PosY`, `PosZ`, `Orientation`, `ScriptName`, `Comment`) VALUES +(@TRIGGER_SPAWN_ID+0, @TRIGGER_ID_ALLIANCE, 1, 726, 2117.63720703125, 191.6822967529296875, 44.05199050903320312, 6.021387100219726562, 'areatrigger_action_capture_flag', 'Twin Peaks - Capture Flag - Alliance'), +(@TRIGGER_SPAWN_ID+1, @TRIGGER_ID_HORDE, 1, 726, 1578.3367919921875, 344.045135498046875, 2.418408870697021484, 2.792518377304077148, 'areatrigger_action_capture_flag', 'Twin Peaks - Capture Flag - Horde'); + +-- 75 seconds for quick cap aura +UPDATE `serverside_spell` SET `DurationIndex` = 62 WHERE `Id` = 183317; + +DELETE FROM `world_state` WHERE `ID` IN (5746, 5747); +INSERT INTO `world_state` (`ID`, `DefaultValue`, `MapIDs`, `Comment`) VALUES +(5746, 0, '726', 'Twin Peaks - Double Jeopardy Alliance'), +(5747, 0, '726', 'Twin Peaks - Double Jeopardy Horde'); diff --git a/sql/updates/world/cata_classic/2024_05_28_09_world_2024_04_26_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_09_world_2024_04_26_00_world.sql deleted file mode 100644 index b0546695d1e..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_09_world_2024_04_26_00_world.sql +++ /dev/null @@ -1,14 +0,0 @@ -DROP TABLE IF EXISTS `creature_static_flags_override`; -CREATE TABLE `creature_static_flags_override` ( - `SpawnId` BIGINT UNSIGNED NOT NULL, - `DifficultyId` TINYINT UNSIGNED NOT NULL DEFAULT 0, - `StaticFlags1` INT UNSIGNED, - `StaticFlags2` INT UNSIGNED, - `StaticFlags3` INT UNSIGNED, - `StaticFlags4` INT UNSIGNED, - `StaticFlags5` INT UNSIGNED, - `StaticFlags6` INT UNSIGNED, - `StaticFlags7` INT UNSIGNED, - `StaticFlags8` INT UNSIGNED, - PRIMARY KEY (`SpawnId`, `DifficultyId`) -); diff --git a/sql/updates/world/cata_classic/2024_05_28_10_2024_04_20_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_10_2024_04_20_00_world.sql new file mode 100644 index 00000000000..5584ed0f3ea --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_10_2024_04_20_00_world.sql @@ -0,0 +1,311 @@ +-- Unit flags +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22293; -- Inactive Fel Reaver +UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=20922; -- Fallen Vindicator +UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=20899; -- Void Conduit +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20772; -- Netherock +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20769; -- Salaadin's Energy Ball +UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=20561; -- Withered Corpse +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20454; -- Nexus-King Salhadaar +UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=20243; -- Scrapped Fel Reaver +UPDATE `creature_template` SET `unit_flags`=33555200, `unit_flags2`=2048, `unit_flags3`=1 WHERE `entry`=20148; -- Dead Doomguard +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20132; -- Socrethar +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19568; -- Unending Voidwraith +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19565; -- Enormous Void Storm +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19554; -- Dimensius the All-Devouring +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19336; -- Void Spawner XL +UPDATE `creature_template` SET `unit_flags`=33554496 WHERE `entry`=19507; -- Sunseeker Gene-Splicer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17980; -- Laj +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17978; -- Thorngrin the Tender +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17977; -- Warp Splinter +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17976; -- Commander Sarannis +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17975; -- High Botanist Freywinn +UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048 WHERE `entry`=21962; -- Udalo +UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=21101; -- Unbound Void Zone +UPDATE `creature_template` SET `unit_flags`=832, `unit_flags2`=2048 WHERE `entry`=20977; -- Millhouse Manastorm +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20912; -- Harbinger Skyriss +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20911; -- Blackwing Drakonaar +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20910; -- Twilight Drakonaar +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20909; -- Sulfuron Magma-Thrower +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20908; -- Akkiris Lightning-Waker +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20905; -- Blazing Trickster +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20904; -- Warden Mellichar +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20900; -- Unchained Doombringer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20898; -- Gargantuan Abyssal +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20886; -- Wrath-Scryer Soccothrates +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20885; -- Dalliah the Doomsayer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20870; -- Zereketh the Unbound +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19710; -- Gatewatcher Iron-Hand +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19220; -- Pathaleon the Calculator +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19219; -- Mechano-Lord Capacitus +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19218; -- Gatewatcher Gyro-Kill +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22517; -- World Trigger (Large AOI) +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20064; -- Thaladred the Darkener +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20063; -- Master Engineer Telonicus +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20062; -- Grand Astromancer Capernian +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20060; -- Lord Sanguinar +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20052; -- Crystalcore Mechanic +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20050; -- Crimson Hand Inquisitor +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20049; -- Crimson Hand Blood Knight +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20048; -- Crimson Hand Centurion +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20047; -- Crimson Hand Battle Mage +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20046; -- Astromancer Lord +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20045; -- Nether Scryer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20044; -- Novice Astromancer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20043; -- Apprentice Star Scryer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20042; -- Tempest-Smith +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20041; -- Crystalcore Sentinel +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20040; -- Crystalcore Devastator +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20039; -- Phoenix-Hawk +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20038; -- Phoenix-Hawk Hatchling +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20037; -- Tempest Falconer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20036; -- Bloodwarder Squire +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20035; -- Bloodwarder Marshal +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20034; -- Star Scryer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20033; -- Astromancer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20032; -- Bloodwarder Vindicator +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20031; -- Bloodwarder Legionnaire +UPDATE `creature_template` SET `npcflag`=1, `unit_flags2`=2048 WHERE `entry`=19622; -- Kael'thas Sunstrider +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19551; -- Ember of Al'ar +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19516; -- Void Reaver +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19514; -- Al'ar +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18928; -- Astromancer Solarian Spotlight +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18925; -- Solarium Agent +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18806; -- Solarium Priest +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18805; -- High Astromancer Solarian +UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=21364; -- Phoenix Egg +UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=21362; -- Phoenix +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21274; -- Staff of Disintegration +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21273; -- Phaseshift Bulwark +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21272; -- Warp Slicer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21271; -- Infinity Blades +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21270; -- Cosmic Infuser +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21269; -- Devastation +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21268; -- Netherstrand Longbow +UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=19400; -- Fel Reaver Sentry +UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=19399; -- Fel Cannon +UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=19398; -- Gan'arg Peon +UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=19397; -- Mo'arg Overseer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19359; -- Legion Transporter: Beta (Alliance) +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19358; -- Legion Transporter: Alpha (Alliance) +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19336; -- Void Spawner XL +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19292; -- Legion Transporter: Beta +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19291; -- Legion Transporter: Alpha +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19215; -- Infernal Relay (Hellfire) +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18946; -- Infernal Siegebreaker +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18945; -- Pit Commander +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18729; -- Infernal Rain (Hellfire) +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=16887; -- Eye of Honor Hold +UPDATE `creature_template` SET `unit_flags`=768, `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=16852; -- Sedai's Corpse +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=16598; -- Eye of Thrallmar +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=15242; -- Bat Rider Guard +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17537; -- Vazruden +UPDATE `creature_template` SET `unit_flags`=64, `unit_flags2`=2048 WHERE `entry`=17307; -- Vazruden the Herald +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17309; -- Hellfire Watcher +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17308; -- Omor the Unscarred +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17306; -- Watchkeeper Gargolmar +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21174; -- Magtheridon +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17653; -- Shadowmoon Channeler +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17381; -- The Maker +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17380; -- Broggok +UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048 WHERE `entry`=17377; -- Keli'dan the Breaker +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17256; -- Hellfire Channeler +UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048 WHERE `entry`=57909; -- Thrallmar Invader +UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048 WHERE `entry`=57908; -- Thrallmar Scryer +UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048 WHERE `entry`=17693; -- Shattered Hand Scout +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17623; -- Reaver Guard +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17622; -- Sharpshooter Guard +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17621; -- Heathen Guard +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17611; -- Warchief's Portal +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17462; -- Shattered Hand Zealot +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17461; -- Shattered Hand Blood Guard +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17427; -- Shattered Hand Archer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=16809; -- Warbringer O'mrogg +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=16808; -- Warchief Kargath Bladefist +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=16807; -- Grand Warlock Nethekurse +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20923; -- Blood Guard Porung +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18829; -- Hellfire Warder +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17257; -- Magtheridon +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=24925; -- Boss Portal: Purple (3.00) +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23348; -- Captain Skyshatter +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23346; -- Wing Commander Mulverick +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23345; -- Wing Commander Ichman +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23344; -- Corlok the Vet +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23342; -- Trope the Filth-Belcher +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23340; -- Murg "Oldie" Muckjaw +UPDATE `creature_template` SET `unit_flags`=768, `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=23287; -- Murkblood Miner +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23283; -- Lady Sinestra +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23188; -- Dragonmaw Transporter +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22859; -- Shadowhoof Summoner +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22274; -- Dragonmaw Skybreaker +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22146; -- Summoning Voidstorm +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22112; -- Karynaku +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22082; -- Shadowmoon Slayer +UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=21908; -- Spellbound Terrorguard +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21727; -- Flanis Swiftwing +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21725; -- Kagrosh +UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=21711; -- Haalum +UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=21710; -- Uylaru +UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=21709; -- Eykenen +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21657; -- Neltharaku +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21648; -- Mature Netherwing Drake +UPDATE `creature_template` SET `unit_flags`=576 WHERE `entry`=21506; -- Azaloth +UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=21416; -- Lakaan +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21404; -- Legion Hold Fel Reaver +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21315; -- Ruul the Darkener +UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048 WHERE `entry`=21307; -- Eva +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21166; -- Illidari Dreadlord +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21153; -- Kor'kron Wyvern Rider +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21102; -- Uvuros +UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=19760; -- Cooling Infernal +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19382; -- Wildhammer Gryphon Rider +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18528; -- Xi'ri +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23524; -- Ashtongue Spiritbinder +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23523; -- Ashtongue Elementalist +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23472; -- World Trigger (Large AOI, Not Immune PC/NPC) +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23436; -- Image of Dementia +UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=23421; -- Ashtongue Channeler +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23420; -- Essence of Anger +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23419; -- Essence of Desire +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23418; -- Essence of Suffering +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23403; -- Illidari Assassin +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23402; -- Illidari Battle-mage +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23401; -- Hungering Soul Fragment +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23400; -- Illidari Archon +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23399; -- Suffering Soul Fragment +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23397; -- Illidari Blood Lord +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23394; -- Promenade Sentinel +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23374; -- Ashtongue Stalker +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23339; -- Illidari Heartseeker +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23337; -- Illidari Centurion +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23330; -- Dragonmaw Wind Reaver +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23318; -- Ashtongue Rogue +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23239; -- Bonechewer Combatant +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23237; -- Bonechewer Blood Prophet +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23236; -- Bonechewer Shield Disciple +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23235; -- Bonechewer Blade Fury +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23226; -- Illidari Elite +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23223; -- Bonechewer Spectator +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23222; -- Bonechewer Brawler +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23216; -- Ashtongue Defender +UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=23215; -- Ashtongue Sorcerer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23197; -- Maiev Shadowsong +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23196; -- Bonechewer Behemoth +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23147; -- Shadowmoon Grunt +UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=23089; -- Akama +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23049; -- Shadowmoon Weapon Master +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23047; -- Shadowmoon Soldier +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23030; -- Dragonmaw Sky Stalker +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23018; -- Shadowmoon Houndmaster +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22997; -- Flame of Azzinoth +UPDATE `creature_template` SET `unit_flags2`=2080 WHERE `entry`=22996; -- Blade of Azzinoth +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22964; -- Priestess of Delight +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22962; -- Mistress of Woe +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22960; -- Dragonmaw Wyrmcaller +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22957; -- Mistress of Dementia +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22956; -- Priestess of Torment +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22954; -- Illidari Fearbringer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22953; -- Wrathbone Flayer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22952; -- Veras Darkshadow +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22951; -- Lady Malande +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22950; -- High Nethermancer Zerevor +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22949; -- Gathios the Shatterer +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22948; -- Gurtogg Bloodboil +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22947; -- Mother Shahraz +UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=22946; -- Shadowmoon War Hound +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22945; -- Shadowmoon Blood Mage +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22917; -- Illidan Stormrage +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22898; -- Supremus +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22887; -- High Warlord Naj'entus +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22885; -- Dragon Turtle +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22884; -- Leviathan +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22883; -- Aqueous Spawn +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22882; -- Shadowmoon Deathshaper +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22881; -- Aqueous Surger +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22880; -- Shadowmoon Champion +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22879; -- Shadowmoon Reaver +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22878; -- Aqueous Lord +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22877; -- Coilskar Wrangler +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22875; -- Coilskar Sea-Caller +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22874; -- Coilskar Harpooner +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22873; -- Coilskar General +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22871; -- Teron Gorefiend +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22869; -- Illidari Boneslicer +UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=22856; -- Reliquary of the Lost +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22855; -- Illidari Nightlord +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22853; -- Illidari Defiler +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22849; -- Ashtongue Feral Spirit +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22848; -- Storm Fury +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22847; -- Ashtongue Primalist +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22846; -- Ashtongue Stormcaller +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22845; -- Ashtongue Mystic +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22844; -- Ashtongue Battlelord +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22841; -- Shade of Akama +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22517; -- World Trigger (Large AOI) +UPDATE `creature_template` SET `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=123252; -- Vormu +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22876; -- Coilskar Soothsayer + +UPDATE `creature_template_addon` SET `visibilityDistanceType`=4 WHERE `entry`=20772; -- 20772 (Netherock) +UPDATE `creature_template_addon` SET `StandState`=0, `emote`=0, `auras`='29266' WHERE `entry`=20148; -- 20148 (Dead Doomguard) + +DELETE FROM `creature_template_movement` WHERE `CreatureId`=115598; +INSERT INTO `creature_template_movement` (`CreatureId`, `HoverInitiallyEnabled`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES +(115598, 1, 0, 0, NULL); + +-- Static flags +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`Entry`=5202 AND `DifficultyID`=0); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`DifficultyID`=0 AND `Entry` IN (20561,143231,72823,29145,28343,25994,25962,25918,25913,22494,22280,22279,21751,21734,21733,21732,21267,21259,21089,21065,20934,20931,20930,20929,20920,20803,20796,20780,20778,20774,20773,20772,20685,20512,20498,20485,20484,20471,20470,20464,20463,20447,20435,20416,20410,20409,20397,20393,20341,20326,20285,20281,20248,20221,20207,20203,20202,20194,20162,20140,20139,20136,20135,20134,20132,20112,20102,20092,20066,19940,19926,19880,19840,19839,19832,19831,19830,19780,19779,19776,19737,19731,19728,19727,19709,19707,19690,19686,19657,19651,19645,19643,19635,19634,19623,19621,19617,19612,19610,19593,19589,19588,19582,19578,19570,19569,19546,19545,19544,19543,19541,19529,19482,19469,19468,19467,19466,19453,18886,18885,18883,18882,18881,18880,18879,18857,18855,18853,18852,18850,18593,17636,16781)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912 WHERE (`DifficultyID`=0 AND `Entry` IN (62627,20153,20133,19868,19867,19866,19724,19723,19654,19568,19565,19439,19336,17066)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE (`DifficultyID`=0 AND `Entry` IN (26258,22351,22350,22348,20673,20671,20611,20454,16592)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`DifficultyID`=0 AND `Entry` IN (23491,22069,22068,22065,22063,21997,21974,21233,21090,20933,20858,20608,20553,20243,20148,19554)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256 WHERE (`DifficultyID`=0 AND `Entry` IN (22293,20899)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712 WHERE (`DifficultyID`=0 AND `Entry` IN (20922)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368 WHERE (`DifficultyID`=0 AND `Entry` IN (20804,20084,19656,19421)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624 WHERE (`Entry`=20775 AND `DifficultyID`=0); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368 WHERE (`Entry` IN (19919)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (19969,19964,19962,19958,19920,19953,19949,19633,19608,19557,19509,19508,19507,19505,19486,18587,18422,18421,18420,18419,18405,18404,18155,17994,17993,17980,17978,17977,17976,17975)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (21304,21303,20912,20886,20885,20883,20882,20870,20859,20857)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624 WHERE (`Entry`=20904); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`Entry` IN (21962,21761,21414,21290,21186,21101,21030)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (20990,20988,20481,20478,20059,19735,19510,19221,19220,19168,19167,19166)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (20064,20063,20062,20052,20050,20049,20048,20047,20046,20045,20044,20043,20042,20041,20040,20039,20038,20037,20036,20035,20034,20033,20032,20031,19622,19551,19516,18805,12999,21362,21274,21273,21272,21271,21269,21268,18925,18806)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`Entry` IN (20602,21369,18928)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368 WHERE (`Entry` IN (19514)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912 WHERE (`Entry` IN (21002)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=806355200 WHERE (`Entry` IN (21364)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`DifficultyID`=0 AND `Entry` IN (66533,66532,66531,61325,51904,51903,51800,30735,30734,30722,30721,25994,25962,25934,25900,24937,24918,22431,22430,22231,22107,21283,21256,21175,21133,20793,20238,20237,20236,20235,20234,20231,19937,19836,19766,19764,19763,19736,19701,19683,19682,19562,19558,19459,19458,19457,19455,19451,19446,19445,19444,19443,19442,19436,19435,19426,19425,19424,19422,19415,19414,19413,19411,19410,19409,19408,19401,19354,19332,19316,19315,19314,19310,19309,19308,19298,19295,19273,19264,19263,19258,19257,19256,19255,19253,19229,19190,19007,19006,18998,18997,18986,18977,18972,18971,18970,18969,18966,18965,18950,18949,18948,18944,18931,18930,18785,18758,18733,18677,18267,18266,17657,17585,17282,17277,17226,17123,17058,16978,16977,16976,16964,16960,16954,16938,16937,16925,16912,16911,16907,16905,16904,16878,16876,16873,16871,16870,16867,16848,16847,16846,16845,16842,16794,16793,16792,16791,16790,16781,16591,16583,16580,12999)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256 WHERE (`DifficultyID`=0 AND `Entry` IN (17062,16852)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912 WHERE (`DifficultyID`=0 AND `Entry` IN (20251,19336,17066)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624 WHERE (`DifficultyID`=0 AND `Entry` IN (24933,22177)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368 WHERE (`DifficultyID`=0 AND `Entry` IN (22432,21391,19656)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712 WHERE (`Entry`=20158 AND `DifficultyID`=0); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`DifficultyID`=0 AND `Entry` IN (24959,24921,22461,22002,22001,21996,21993,20781,20617,19624,19399,19393,19376,19359,19358,19329,19328,19326,19292,19291,19279,19278,19277,19276,19225,17060,17059,16865,2615,2614)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE (`DifficultyID`=0 AND `Entry` IN (26258,26223,26222,22467,22403,22402,22401,22003,21999,21237,21236,21182,21173,20816,20815,20814,20813,19009,19008,18849,18828,18818,16592)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=1048576 WHERE (`DifficultyID`=0 AND `Entry` IN (18729)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912 WHERE (`Entry`=17307); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (54607,17537,17517,17478,17455,17308,17306,17281,17271,17270,17269,17264,17259)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256 WHERE (`Entry`=17662); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912 WHERE (`Entry` IN (55108,54638,21174)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`Entry`=16006); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (54746,54637,19016,18894,17626,17624,17491,17477,17429,17416,17414,17400,17399,17398,17397,17395,17381,17380,17377,17371,17370,17256)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE (`Entry`=17296); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`Entry` IN (17376,20709,19524,19523,18370,17611,17578,17471)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712 WHERE (`Entry` IN (57909,57908)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (18829,17695,17694,17671,17670,17465,17464,17420,17083,16809,16808,16807,16704,16700,16699,16594,16593,16523,16507,17301)); +UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=9 WHERE (`Entry`=22515 AND `DifficultyID`=0); +DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (23033,21348,23188,22417,22395,22146,22139,21879,21807,21657,21512,21417,21403,21347,21334,21211,21210,20289,20288,20286,19382,17066,21153,21710,113941,23496,23308,22315,22080,22079,22078,22071,22070,22066,22054,22001,21996,21993,21924,21705,21704,21703,21420,21096,21095,21094,21092,21041,20076,19388,19387,18528,2630,2615,2614,66545,66544,66543,61385,49568,25994,25962,25938,25905,23489,23454,23452,23443,23434,23376,23370,23348,23346,23345,23344,23342,23340,23324,23311,23309,23291,23166,23150,23148,23146,23145,23144,23143,23142,23141,23140,23139,22966,22864,22863,22862,22861,22860,22859,22858,22857,22433,22253,22252,22214,22211,22138,22113,22093,22084,22082,22081,22072,22037,22018,22017,22016,22012,22011,21986,21979,21955,21954,21953,21938,21937,21908,21897,21860,21822,21808,21803,21802,21797,21789,21777,21775,21774,21773,21772,21771,21770,21769,21754,21753,21749,21746,21744,21743,21742,21736,21722,21721,21720,21719,21718,21717,21699,21663,21656,21639,21520,21505,21503,21499,21478,21477,21472,21455,21454,21453,21450,21408,21404,21402,21386,21385,21384,21340,21337,21336,21330,21316,21315,21314,21309,21305,21302,21295,21293,21291,21207,21205,21196,21195,21183,21180,21179,21178,21171,21168,21166,21164,21108,21102,21059,21050,21049,21026,21024,20878,20872,20795,20684,20683,20563,20502,19827,19826,19825,19823,19806,19802,19801,19800,19799,19796,19795,19792,19789,19788,19784,19769,19768,19767,19765,19762,19759,21080,19757,19756,19755,19754,19740,19532,19530,19528,19526,19521,19520,19518,19517,19504,19395,19394,19384,19375,19374,19373,19372,19371,19370,19369,19368,19362,19355,19353,19352,19351,18696,18695,18694,17008,16781)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE (`DifficultyID`=0 AND `Entry` IN (21307,26258,22003,22000,21999,21153,16592)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`DifficultyID`=0 AND `Entry` IN (23287,66545,66544,66543,61385,49568,25994,25962,25938,25905,23489,23454,23452,23443,23434,23376,23370,23348,23346,23345,23344,23342,23340,23324,23311,23309,23291,23166,23150,23148,23146,23145,23144,23143,23142,23141,23140,23139,22966,22864,22863,22862,22861,22860,22859,22858,22857,22433,22253,22252,22214,22211,22138,22113,22093,22084,22082,22081,22072,22037,22018,22017,22016,22012,22011,21986,21979,21955,21954,21953,21938,21937,21908,21897,21860,21822,21808,21803,21802,21797,21789,21777,21775,21774,21773,21772,21771,21770,21769,21754,21753,21749,21746,21744,21743,21742,21736,21722,21721,21720,21719,21718,21717,21699,21663,21656,21639,21520,21505,21503,21499,21478,21477,21472,21455,21454,21453,21450,21408,21404,21402,21386,21385,21384,21340,21337,21336,21330,21316,21315,21314,21309,21305,21302,21295,21293,21291,21207,21205,21196,21195,21183,21180,21179,21178,21171,21168,21166,21164,21108,21102,21059,21050,21049,21026,21024,20878,20872,20795,20684,20683,20563,20502,19827,19826,19825,19823,19806,19802,19801,19800,19799,19796,19795,19792,19789,19788,19784,19769,19768,19767,19765,19762,19759,21080,19757,19756,19755,19754,19740,19532,19530,19528,19526,19521,19520,19518,19517,19504,19395,19394,19384,19375,19374,19373,19372,19371,19370,19369,19368,19362,19355,19353,19352,19351,18696,18695,18694,17008,16781)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712 WHERE (`DifficultyID`=0 AND `Entry` IN (21711,21709,21506,21416)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912 WHERE (`DifficultyID`=0 AND `Entry` IN (23188,22417,22395,22146,22139,21879,21807,21657,21512,21417,21403,21347,21334,21211,21210,20289,20288,20286,19382,17066)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624 WHERE (`DifficultyID`=0 AND `Entry` IN (23209,22083,22061)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368 WHERE (`DifficultyID`=0 AND `Entry` IN (23164,22274,22073,22006,21648,21348,21292,21029,21027)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256 WHERE (`DifficultyID`=0 AND `Entry` IN (21727,21725,21710,19760)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`DifficultyID`=0 AND `Entry` IN (113941,23496,23308,22315,22080,22079,22078,22071,22070,22066,22054,22001,21996,21993,21924,21705,21704,21703,21420,21096,21095,21094,21092,21041,20076,19388,19387,18528,2630,2615,2614)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912 WHERE (`Entry` IN (23124,23472,23033,22517,22515)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`Entry` IN (23499,22897,22894)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624 WHERE (`Entry` IN (23410,23369)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE (`Entry` IN (23095,23084)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368 WHERE (`Entry` IN (23330,23030,22886)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (22876,123252,23524,23523,23469,23436,23421,23411,23403,23402,23401,23400,23399,23397,23394,23374,23371,23339,23337,23319,23318,23239,23237,23236,23235,23232,23226,23223,23222,23216,23215,23197,23196,23172,23159,23158,23147,23083,23049,23047,23028,23018,22965,22964,22963,22962,22960,22959,22957,22956,22955,22954,22953,22952,22951,22949,22948,22947,22946,22945,22939,22898,22887,22885,22884,22883,22882,22881,22880,22879,22878,22877,22875,22874,22873,22871,22869,22855,22853,22849,22848,22847,22846,22845,22844)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=537919744 WHERE (`Entry` IN (23417)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`Entry` IN (23502,23448,23412,23351,23336,23288,23259,23210,23080,22996,22896,22856)); diff --git a/sql/updates/world/cata_classic/2024_05_28_10_world_2024_04_25_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_10_world_2024_04_25_00_world.sql deleted file mode 100644 index baafa8a79b8..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_10_world_2024_04_25_00_world.sql +++ /dev/null @@ -1,11 +0,0 @@ -UPDATE `world_state` SET `DefaultValue`=192, `Comment`='Trophy of Strife - Dragonflight Season 3 (Currency) - Max quantity' WHERE `ID`=25259; -UPDATE `world_state` SET `DefaultValue`=0 WHERE `ID` IN (24880, 24882); - -DELETE FROM `world_state` WHERE `ID` IN (25395,25413,25456,25457,25468,26001); -INSERT INTO `world_state` (`ID`, `DefaultValue`, `MapIDs`, `AreaIDs`, `ScriptName`, `Comment`) VALUES -(25395, 2, NULL, NULL, '', '10.2.6 Professions - Personal Tracker - S4 Spark Drops (Hidden) (Currency) - Max quantity'), -(25413, 8, NULL, NULL, '', 'Trophy of Strife - Dragonflight Season 4 (Currency) - Max quantity'), -(25456, 120, NULL, NULL, '', 'Drake/Whelpling Awakened Crest (Currency) - Max quantity'), -(25457, 120, NULL, NULL, '', 'Aspect/Wyrm Awakened Crest (Currency) - Max quantity'), -(25468, 135000, NULL, NULL, '', 'Conquest - Dragonflight Season 4 (Currency) - Max quantity'), -(26001, 1, NULL, NULL, '', '10.2.6 Rewards - Personal Tracker - S4 Dinar Drops (Hidden) (Currency) - Max quantity'); diff --git a/sql/updates/world/cata_classic/2024_05_28_12_2024_04_20_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_12_2024_04_20_00_world.sql deleted file mode 100644 index 5584ed0f3ea..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_12_2024_04_20_00_world.sql +++ /dev/null @@ -1,311 +0,0 @@ --- Unit flags -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22293; -- Inactive Fel Reaver -UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=20922; -- Fallen Vindicator -UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=20899; -- Void Conduit -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20772; -- Netherock -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20769; -- Salaadin's Energy Ball -UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=20561; -- Withered Corpse -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20454; -- Nexus-King Salhadaar -UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=20243; -- Scrapped Fel Reaver -UPDATE `creature_template` SET `unit_flags`=33555200, `unit_flags2`=2048, `unit_flags3`=1 WHERE `entry`=20148; -- Dead Doomguard -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20132; -- Socrethar -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19568; -- Unending Voidwraith -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19565; -- Enormous Void Storm -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19554; -- Dimensius the All-Devouring -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19336; -- Void Spawner XL -UPDATE `creature_template` SET `unit_flags`=33554496 WHERE `entry`=19507; -- Sunseeker Gene-Splicer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17980; -- Laj -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17978; -- Thorngrin the Tender -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17977; -- Warp Splinter -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17976; -- Commander Sarannis -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17975; -- High Botanist Freywinn -UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048 WHERE `entry`=21962; -- Udalo -UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=21101; -- Unbound Void Zone -UPDATE `creature_template` SET `unit_flags`=832, `unit_flags2`=2048 WHERE `entry`=20977; -- Millhouse Manastorm -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20912; -- Harbinger Skyriss -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20911; -- Blackwing Drakonaar -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20910; -- Twilight Drakonaar -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20909; -- Sulfuron Magma-Thrower -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20908; -- Akkiris Lightning-Waker -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20905; -- Blazing Trickster -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20904; -- Warden Mellichar -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20900; -- Unchained Doombringer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20898; -- Gargantuan Abyssal -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20886; -- Wrath-Scryer Soccothrates -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20885; -- Dalliah the Doomsayer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20870; -- Zereketh the Unbound -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19710; -- Gatewatcher Iron-Hand -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19220; -- Pathaleon the Calculator -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19219; -- Mechano-Lord Capacitus -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19218; -- Gatewatcher Gyro-Kill -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22517; -- World Trigger (Large AOI) -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20064; -- Thaladred the Darkener -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20063; -- Master Engineer Telonicus -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20062; -- Grand Astromancer Capernian -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20060; -- Lord Sanguinar -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20052; -- Crystalcore Mechanic -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20050; -- Crimson Hand Inquisitor -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20049; -- Crimson Hand Blood Knight -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20048; -- Crimson Hand Centurion -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20047; -- Crimson Hand Battle Mage -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20046; -- Astromancer Lord -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20045; -- Nether Scryer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20044; -- Novice Astromancer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20043; -- Apprentice Star Scryer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20042; -- Tempest-Smith -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20041; -- Crystalcore Sentinel -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20040; -- Crystalcore Devastator -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20039; -- Phoenix-Hawk -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20038; -- Phoenix-Hawk Hatchling -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20037; -- Tempest Falconer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20036; -- Bloodwarder Squire -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20035; -- Bloodwarder Marshal -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20034; -- Star Scryer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20033; -- Astromancer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20032; -- Bloodwarder Vindicator -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20031; -- Bloodwarder Legionnaire -UPDATE `creature_template` SET `npcflag`=1, `unit_flags2`=2048 WHERE `entry`=19622; -- Kael'thas Sunstrider -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19551; -- Ember of Al'ar -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19516; -- Void Reaver -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19514; -- Al'ar -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18928; -- Astromancer Solarian Spotlight -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18925; -- Solarium Agent -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18806; -- Solarium Priest -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18805; -- High Astromancer Solarian -UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=21364; -- Phoenix Egg -UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=21362; -- Phoenix -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21274; -- Staff of Disintegration -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21273; -- Phaseshift Bulwark -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21272; -- Warp Slicer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21271; -- Infinity Blades -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21270; -- Cosmic Infuser -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21269; -- Devastation -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21268; -- Netherstrand Longbow -UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=19400; -- Fel Reaver Sentry -UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=19399; -- Fel Cannon -UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=19398; -- Gan'arg Peon -UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=19397; -- Mo'arg Overseer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19359; -- Legion Transporter: Beta (Alliance) -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19358; -- Legion Transporter: Alpha (Alliance) -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19336; -- Void Spawner XL -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19292; -- Legion Transporter: Beta -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19291; -- Legion Transporter: Alpha -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19215; -- Infernal Relay (Hellfire) -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18946; -- Infernal Siegebreaker -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18945; -- Pit Commander -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18729; -- Infernal Rain (Hellfire) -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=16887; -- Eye of Honor Hold -UPDATE `creature_template` SET `unit_flags`=768, `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=16852; -- Sedai's Corpse -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=16598; -- Eye of Thrallmar -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=15242; -- Bat Rider Guard -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17537; -- Vazruden -UPDATE `creature_template` SET `unit_flags`=64, `unit_flags2`=2048 WHERE `entry`=17307; -- Vazruden the Herald -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17309; -- Hellfire Watcher -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17308; -- Omor the Unscarred -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17306; -- Watchkeeper Gargolmar -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21174; -- Magtheridon -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17653; -- Shadowmoon Channeler -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17381; -- The Maker -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17380; -- Broggok -UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048 WHERE `entry`=17377; -- Keli'dan the Breaker -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17256; -- Hellfire Channeler -UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048 WHERE `entry`=57909; -- Thrallmar Invader -UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048 WHERE `entry`=57908; -- Thrallmar Scryer -UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048 WHERE `entry`=17693; -- Shattered Hand Scout -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17623; -- Reaver Guard -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17622; -- Sharpshooter Guard -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17621; -- Heathen Guard -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17611; -- Warchief's Portal -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17462; -- Shattered Hand Zealot -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17461; -- Shattered Hand Blood Guard -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17427; -- Shattered Hand Archer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=16809; -- Warbringer O'mrogg -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=16808; -- Warchief Kargath Bladefist -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=16807; -- Grand Warlock Nethekurse -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=20923; -- Blood Guard Porung -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18829; -- Hellfire Warder -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=17257; -- Magtheridon -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=24925; -- Boss Portal: Purple (3.00) -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23348; -- Captain Skyshatter -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23346; -- Wing Commander Mulverick -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23345; -- Wing Commander Ichman -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23344; -- Corlok the Vet -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23342; -- Trope the Filth-Belcher -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23340; -- Murg "Oldie" Muckjaw -UPDATE `creature_template` SET `unit_flags`=768, `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=23287; -- Murkblood Miner -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23283; -- Lady Sinestra -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23188; -- Dragonmaw Transporter -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22859; -- Shadowhoof Summoner -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22274; -- Dragonmaw Skybreaker -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22146; -- Summoning Voidstorm -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22112; -- Karynaku -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22082; -- Shadowmoon Slayer -UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=21908; -- Spellbound Terrorguard -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21727; -- Flanis Swiftwing -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21725; -- Kagrosh -UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=21711; -- Haalum -UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=21710; -- Uylaru -UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=21709; -- Eykenen -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21657; -- Neltharaku -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21648; -- Mature Netherwing Drake -UPDATE `creature_template` SET `unit_flags`=576 WHERE `entry`=21506; -- Azaloth -UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=21416; -- Lakaan -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21404; -- Legion Hold Fel Reaver -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21315; -- Ruul the Darkener -UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048 WHERE `entry`=21307; -- Eva -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21166; -- Illidari Dreadlord -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21153; -- Kor'kron Wyvern Rider -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=21102; -- Uvuros -UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=19760; -- Cooling Infernal -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=19382; -- Wildhammer Gryphon Rider -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=18528; -- Xi'ri -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23524; -- Ashtongue Spiritbinder -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23523; -- Ashtongue Elementalist -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23472; -- World Trigger (Large AOI, Not Immune PC/NPC) -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23436; -- Image of Dementia -UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=23421; -- Ashtongue Channeler -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23420; -- Essence of Anger -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23419; -- Essence of Desire -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23418; -- Essence of Suffering -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23403; -- Illidari Assassin -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23402; -- Illidari Battle-mage -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23401; -- Hungering Soul Fragment -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23400; -- Illidari Archon -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23399; -- Suffering Soul Fragment -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23397; -- Illidari Blood Lord -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23394; -- Promenade Sentinel -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23374; -- Ashtongue Stalker -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23339; -- Illidari Heartseeker -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23337; -- Illidari Centurion -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23330; -- Dragonmaw Wind Reaver -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23318; -- Ashtongue Rogue -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23239; -- Bonechewer Combatant -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23237; -- Bonechewer Blood Prophet -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23236; -- Bonechewer Shield Disciple -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23235; -- Bonechewer Blade Fury -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23226; -- Illidari Elite -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23223; -- Bonechewer Spectator -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23222; -- Bonechewer Brawler -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23216; -- Ashtongue Defender -UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=23215; -- Ashtongue Sorcerer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23197; -- Maiev Shadowsong -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23196; -- Bonechewer Behemoth -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23147; -- Shadowmoon Grunt -UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=23089; -- Akama -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23049; -- Shadowmoon Weapon Master -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23047; -- Shadowmoon Soldier -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23030; -- Dragonmaw Sky Stalker -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=23018; -- Shadowmoon Houndmaster -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22997; -- Flame of Azzinoth -UPDATE `creature_template` SET `unit_flags2`=2080 WHERE `entry`=22996; -- Blade of Azzinoth -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22964; -- Priestess of Delight -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22962; -- Mistress of Woe -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22960; -- Dragonmaw Wyrmcaller -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22957; -- Mistress of Dementia -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22956; -- Priestess of Torment -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22954; -- Illidari Fearbringer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22953; -- Wrathbone Flayer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22952; -- Veras Darkshadow -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22951; -- Lady Malande -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22950; -- High Nethermancer Zerevor -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22949; -- Gathios the Shatterer -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22948; -- Gurtogg Bloodboil -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22947; -- Mother Shahraz -UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=22946; -- Shadowmoon War Hound -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22945; -- Shadowmoon Blood Mage -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22917; -- Illidan Stormrage -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22898; -- Supremus -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22887; -- High Warlord Naj'entus -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22885; -- Dragon Turtle -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22884; -- Leviathan -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22883; -- Aqueous Spawn -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22882; -- Shadowmoon Deathshaper -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22881; -- Aqueous Surger -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22880; -- Shadowmoon Champion -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22879; -- Shadowmoon Reaver -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22878; -- Aqueous Lord -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22877; -- Coilskar Wrangler -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22875; -- Coilskar Sea-Caller -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22874; -- Coilskar Harpooner -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22873; -- Coilskar General -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22871; -- Teron Gorefiend -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22869; -- Illidari Boneslicer -UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=22856; -- Reliquary of the Lost -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22855; -- Illidari Nightlord -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22853; -- Illidari Defiler -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22849; -- Ashtongue Feral Spirit -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22848; -- Storm Fury -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22847; -- Ashtongue Primalist -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22846; -- Ashtongue Stormcaller -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22845; -- Ashtongue Mystic -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22844; -- Ashtongue Battlelord -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22841; -- Shade of Akama -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22517; -- World Trigger (Large AOI) -UPDATE `creature_template` SET `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=123252; -- Vormu -UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=22876; -- Coilskar Soothsayer - -UPDATE `creature_template_addon` SET `visibilityDistanceType`=4 WHERE `entry`=20772; -- 20772 (Netherock) -UPDATE `creature_template_addon` SET `StandState`=0, `emote`=0, `auras`='29266' WHERE `entry`=20148; -- 20148 (Dead Doomguard) - -DELETE FROM `creature_template_movement` WHERE `CreatureId`=115598; -INSERT INTO `creature_template_movement` (`CreatureId`, `HoverInitiallyEnabled`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES -(115598, 1, 0, 0, NULL); - --- Static flags -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`Entry`=5202 AND `DifficultyID`=0); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`DifficultyID`=0 AND `Entry` IN (20561,143231,72823,29145,28343,25994,25962,25918,25913,22494,22280,22279,21751,21734,21733,21732,21267,21259,21089,21065,20934,20931,20930,20929,20920,20803,20796,20780,20778,20774,20773,20772,20685,20512,20498,20485,20484,20471,20470,20464,20463,20447,20435,20416,20410,20409,20397,20393,20341,20326,20285,20281,20248,20221,20207,20203,20202,20194,20162,20140,20139,20136,20135,20134,20132,20112,20102,20092,20066,19940,19926,19880,19840,19839,19832,19831,19830,19780,19779,19776,19737,19731,19728,19727,19709,19707,19690,19686,19657,19651,19645,19643,19635,19634,19623,19621,19617,19612,19610,19593,19589,19588,19582,19578,19570,19569,19546,19545,19544,19543,19541,19529,19482,19469,19468,19467,19466,19453,18886,18885,18883,18882,18881,18880,18879,18857,18855,18853,18852,18850,18593,17636,16781)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912 WHERE (`DifficultyID`=0 AND `Entry` IN (62627,20153,20133,19868,19867,19866,19724,19723,19654,19568,19565,19439,19336,17066)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE (`DifficultyID`=0 AND `Entry` IN (26258,22351,22350,22348,20673,20671,20611,20454,16592)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`DifficultyID`=0 AND `Entry` IN (23491,22069,22068,22065,22063,21997,21974,21233,21090,20933,20858,20608,20553,20243,20148,19554)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256 WHERE (`DifficultyID`=0 AND `Entry` IN (22293,20899)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712 WHERE (`DifficultyID`=0 AND `Entry` IN (20922)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368 WHERE (`DifficultyID`=0 AND `Entry` IN (20804,20084,19656,19421)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624 WHERE (`Entry`=20775 AND `DifficultyID`=0); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368 WHERE (`Entry` IN (19919)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (19969,19964,19962,19958,19920,19953,19949,19633,19608,19557,19509,19508,19507,19505,19486,18587,18422,18421,18420,18419,18405,18404,18155,17994,17993,17980,17978,17977,17976,17975)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (21304,21303,20912,20886,20885,20883,20882,20870,20859,20857)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624 WHERE (`Entry`=20904); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`Entry` IN (21962,21761,21414,21290,21186,21101,21030)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (20990,20988,20481,20478,20059,19735,19510,19221,19220,19168,19167,19166)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (20064,20063,20062,20052,20050,20049,20048,20047,20046,20045,20044,20043,20042,20041,20040,20039,20038,20037,20036,20035,20034,20033,20032,20031,19622,19551,19516,18805,12999,21362,21274,21273,21272,21271,21269,21268,18925,18806)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`Entry` IN (20602,21369,18928)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368 WHERE (`Entry` IN (19514)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912 WHERE (`Entry` IN (21002)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=806355200 WHERE (`Entry` IN (21364)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`DifficultyID`=0 AND `Entry` IN (66533,66532,66531,61325,51904,51903,51800,30735,30734,30722,30721,25994,25962,25934,25900,24937,24918,22431,22430,22231,22107,21283,21256,21175,21133,20793,20238,20237,20236,20235,20234,20231,19937,19836,19766,19764,19763,19736,19701,19683,19682,19562,19558,19459,19458,19457,19455,19451,19446,19445,19444,19443,19442,19436,19435,19426,19425,19424,19422,19415,19414,19413,19411,19410,19409,19408,19401,19354,19332,19316,19315,19314,19310,19309,19308,19298,19295,19273,19264,19263,19258,19257,19256,19255,19253,19229,19190,19007,19006,18998,18997,18986,18977,18972,18971,18970,18969,18966,18965,18950,18949,18948,18944,18931,18930,18785,18758,18733,18677,18267,18266,17657,17585,17282,17277,17226,17123,17058,16978,16977,16976,16964,16960,16954,16938,16937,16925,16912,16911,16907,16905,16904,16878,16876,16873,16871,16870,16867,16848,16847,16846,16845,16842,16794,16793,16792,16791,16790,16781,16591,16583,16580,12999)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256 WHERE (`DifficultyID`=0 AND `Entry` IN (17062,16852)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912 WHERE (`DifficultyID`=0 AND `Entry` IN (20251,19336,17066)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624 WHERE (`DifficultyID`=0 AND `Entry` IN (24933,22177)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368 WHERE (`DifficultyID`=0 AND `Entry` IN (22432,21391,19656)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712 WHERE (`Entry`=20158 AND `DifficultyID`=0); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`DifficultyID`=0 AND `Entry` IN (24959,24921,22461,22002,22001,21996,21993,20781,20617,19624,19399,19393,19376,19359,19358,19329,19328,19326,19292,19291,19279,19278,19277,19276,19225,17060,17059,16865,2615,2614)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE (`DifficultyID`=0 AND `Entry` IN (26258,26223,26222,22467,22403,22402,22401,22003,21999,21237,21236,21182,21173,20816,20815,20814,20813,19009,19008,18849,18828,18818,16592)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=1048576 WHERE (`DifficultyID`=0 AND `Entry` IN (18729)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912 WHERE (`Entry`=17307); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (54607,17537,17517,17478,17455,17308,17306,17281,17271,17270,17269,17264,17259)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256 WHERE (`Entry`=17662); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912 WHERE (`Entry` IN (55108,54638,21174)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`Entry`=16006); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (54746,54637,19016,18894,17626,17624,17491,17477,17429,17416,17414,17400,17399,17398,17397,17395,17381,17380,17377,17371,17370,17256)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE (`Entry`=17296); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`Entry` IN (17376,20709,19524,19523,18370,17611,17578,17471)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712 WHERE (`Entry` IN (57909,57908)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (18829,17695,17694,17671,17670,17465,17464,17420,17083,16809,16808,16807,16704,16700,16699,16594,16593,16523,16507,17301)); -UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=9 WHERE (`Entry`=22515 AND `DifficultyID`=0); -DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (23033,21348,23188,22417,22395,22146,22139,21879,21807,21657,21512,21417,21403,21347,21334,21211,21210,20289,20288,20286,19382,17066,21153,21710,113941,23496,23308,22315,22080,22079,22078,22071,22070,22066,22054,22001,21996,21993,21924,21705,21704,21703,21420,21096,21095,21094,21092,21041,20076,19388,19387,18528,2630,2615,2614,66545,66544,66543,61385,49568,25994,25962,25938,25905,23489,23454,23452,23443,23434,23376,23370,23348,23346,23345,23344,23342,23340,23324,23311,23309,23291,23166,23150,23148,23146,23145,23144,23143,23142,23141,23140,23139,22966,22864,22863,22862,22861,22860,22859,22858,22857,22433,22253,22252,22214,22211,22138,22113,22093,22084,22082,22081,22072,22037,22018,22017,22016,22012,22011,21986,21979,21955,21954,21953,21938,21937,21908,21897,21860,21822,21808,21803,21802,21797,21789,21777,21775,21774,21773,21772,21771,21770,21769,21754,21753,21749,21746,21744,21743,21742,21736,21722,21721,21720,21719,21718,21717,21699,21663,21656,21639,21520,21505,21503,21499,21478,21477,21472,21455,21454,21453,21450,21408,21404,21402,21386,21385,21384,21340,21337,21336,21330,21316,21315,21314,21309,21305,21302,21295,21293,21291,21207,21205,21196,21195,21183,21180,21179,21178,21171,21168,21166,21164,21108,21102,21059,21050,21049,21026,21024,20878,20872,20795,20684,20683,20563,20502,19827,19826,19825,19823,19806,19802,19801,19800,19799,19796,19795,19792,19789,19788,19784,19769,19768,19767,19765,19762,19759,21080,19757,19756,19755,19754,19740,19532,19530,19528,19526,19521,19520,19518,19517,19504,19395,19394,19384,19375,19374,19373,19372,19371,19370,19369,19368,19362,19355,19353,19352,19351,18696,18695,18694,17008,16781)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE (`DifficultyID`=0 AND `Entry` IN (21307,26258,22003,22000,21999,21153,16592)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`DifficultyID`=0 AND `Entry` IN (23287,66545,66544,66543,61385,49568,25994,25962,25938,25905,23489,23454,23452,23443,23434,23376,23370,23348,23346,23345,23344,23342,23340,23324,23311,23309,23291,23166,23150,23148,23146,23145,23144,23143,23142,23141,23140,23139,22966,22864,22863,22862,22861,22860,22859,22858,22857,22433,22253,22252,22214,22211,22138,22113,22093,22084,22082,22081,22072,22037,22018,22017,22016,22012,22011,21986,21979,21955,21954,21953,21938,21937,21908,21897,21860,21822,21808,21803,21802,21797,21789,21777,21775,21774,21773,21772,21771,21770,21769,21754,21753,21749,21746,21744,21743,21742,21736,21722,21721,21720,21719,21718,21717,21699,21663,21656,21639,21520,21505,21503,21499,21478,21477,21472,21455,21454,21453,21450,21408,21404,21402,21386,21385,21384,21340,21337,21336,21330,21316,21315,21314,21309,21305,21302,21295,21293,21291,21207,21205,21196,21195,21183,21180,21179,21178,21171,21168,21166,21164,21108,21102,21059,21050,21049,21026,21024,20878,20872,20795,20684,20683,20563,20502,19827,19826,19825,19823,19806,19802,19801,19800,19799,19796,19795,19792,19789,19788,19784,19769,19768,19767,19765,19762,19759,21080,19757,19756,19755,19754,19740,19532,19530,19528,19526,19521,19520,19518,19517,19504,19395,19394,19384,19375,19374,19373,19372,19371,19370,19369,19368,19362,19355,19353,19352,19351,18696,18695,18694,17008,16781)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712 WHERE (`DifficultyID`=0 AND `Entry` IN (21711,21709,21506,21416)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912 WHERE (`DifficultyID`=0 AND `Entry` IN (23188,22417,22395,22146,22139,21879,21807,21657,21512,21417,21403,21347,21334,21211,21210,20289,20288,20286,19382,17066)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624 WHERE (`DifficultyID`=0 AND `Entry` IN (23209,22083,22061)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368 WHERE (`DifficultyID`=0 AND `Entry` IN (23164,22274,22073,22006,21648,21348,21292,21029,21027)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=256 WHERE (`DifficultyID`=0 AND `Entry` IN (21727,21725,21710,19760)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`DifficultyID`=0 AND `Entry` IN (113941,23496,23308,22315,22080,22079,22078,22071,22070,22066,22054,22001,21996,21993,21924,21705,21704,21703,21420,21096,21095,21094,21092,21041,20076,19388,19387,18528,2630,2615,2614)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912 WHERE (`Entry` IN (23124,23472,23033,22517,22515)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`Entry` IN (23499,22897,22894)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624 WHERE (`Entry` IN (23410,23369)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE (`Entry` IN (23095,23084)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368 WHERE (`Entry` IN (23330,23030,22886)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry` IN (22876,123252,23524,23523,23469,23436,23421,23411,23403,23402,23401,23400,23399,23397,23394,23374,23371,23339,23337,23319,23318,23239,23237,23236,23235,23232,23226,23223,23222,23216,23215,23197,23196,23172,23159,23158,23147,23083,23049,23047,23028,23018,22965,22964,22963,22962,22960,22959,22957,22956,22955,22954,22953,22952,22951,22949,22948,22947,22946,22945,22939,22898,22887,22885,22884,22883,22882,22881,22880,22879,22878,22877,22875,22874,22873,22871,22869,22855,22853,22849,22848,22847,22846,22845,22844)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=537919744 WHERE (`Entry` IN (23417)); -UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE (`Entry` IN (23502,23448,23412,23351,23336,23288,23259,23210,23080,22996,22896,22856)); diff --git a/sql/updates/world/cata_classic/2024_05_28_12_world_2024_04_25_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_12_world_2024_04_25_00_world.sql new file mode 100644 index 00000000000..baafa8a79b8 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_12_world_2024_04_25_00_world.sql @@ -0,0 +1,11 @@ +UPDATE `world_state` SET `DefaultValue`=192, `Comment`='Trophy of Strife - Dragonflight Season 3 (Currency) - Max quantity' WHERE `ID`=25259; +UPDATE `world_state` SET `DefaultValue`=0 WHERE `ID` IN (24880, 24882); + +DELETE FROM `world_state` WHERE `ID` IN (25395,25413,25456,25457,25468,26001); +INSERT INTO `world_state` (`ID`, `DefaultValue`, `MapIDs`, `AreaIDs`, `ScriptName`, `Comment`) VALUES +(25395, 2, NULL, NULL, '', '10.2.6 Professions - Personal Tracker - S4 Spark Drops (Hidden) (Currency) - Max quantity'), +(25413, 8, NULL, NULL, '', 'Trophy of Strife - Dragonflight Season 4 (Currency) - Max quantity'), +(25456, 120, NULL, NULL, '', 'Drake/Whelpling Awakened Crest (Currency) - Max quantity'), +(25457, 120, NULL, NULL, '', 'Aspect/Wyrm Awakened Crest (Currency) - Max quantity'), +(25468, 135000, NULL, NULL, '', 'Conquest - Dragonflight Season 4 (Currency) - Max quantity'), +(26001, 1, NULL, NULL, '', '10.2.6 Rewards - Personal Tracker - S4 Dinar Drops (Hidden) (Currency) - Max quantity'); diff --git a/sql/updates/world/cata_classic/2024_05_28_13_2024_04_16_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_13_2024_04_16_00_world.sql deleted file mode 100644 index b96eec0cb21..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_13_2024_04_16_00_world.sql +++ /dev/null @@ -1,91 +0,0 @@ -SET @OGUID := 3000028; -SET @CGUID := 3000009; -SET @TRIGGER_ID_ALLIANCE := 30; -- Trigger ID for capture flag area trigger alliance -SET @TRIGGER_ID_HORDE := 31; -- Trigger ID for capture flag area trigger horde -SET @TRIGGER_SPAWN_ID := 65; - -UPDATE `battleground_template` SET `Weight` = 1 WHERE `ID` = 108; - -DELETE FROM `graveyard_zone` where `ID` IN (1728, 1729, 1749, 1750); -INSERT INTO `graveyard_zone` (`ID`, `GhostZone`, `Comment`) VALUES -(1728, 5031, 'Twin Peaks - Horde Base'), -(1729, 5031, 'Twin Peaks - Alliance Base'), -(1749, 5031, 'Twin Peaks - Alliance Center'), -(1750, 5031, 'Twin Peaks - Horde Center'); - -DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 27 AND `SourceEntry` IN (1728, 1729, 1749, 1750); -INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceEntry`, `SourceGroup`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `NegativeCondition`, `Comment`) VALUES -(27, 1729, 5031, 0, 6, 469, 0, 0, 'Graveyard - Twin Peaks - Alliance Base - Team Alliance'), -(27, 1728, 5031, 0, 6, 67, 0, 0, 'Graveyard - Twin Peaks - Horde Base - Team Horde'), -(27, 1749, 5031, 0, 6, 469, 0, 0, 'Graveyard - Twin Peaks - Alliance Center - Team Alliance'), -(27, 1749, 5031, 0, 23, 5775, 0, 1, 'Graveyard - Twin Peaks - Alliance Center - Not near Horde Base'), -(27, 1749, 5031, 0, 23, 5681, 0, 1, 'Graveyard - Twin Peaks - Alliance Center - Not in Horde Base'), -(27, 1729, 5031, 0, 23, 5776, 0, 1, 'Graveyard - Twin Peaks - Alliance Base - Not near Alliance Base'), -(27, 1729, 5031, 0, 23, 5680, 0, 1, 'Graveyard - Twin Peaks - Alliance Base - Not in Alliance Base'), -(27, 1750, 5031, 0, 6, 67, 0, 0, 'Graveyard - Twin Peaks - Horde Center - Team Horde'), -(27, 1750, 5031, 0, 23, 5776, 0, 1, 'Graveyard - Twin Peaks - Horde Center - Not near Alliance Base'), -(27, 1750, 5031, 0, 23, 5680, 0, 1, 'Graveyard - Twin Peaks - Horde Center - Not in Alliance Base'), -(27, 1728, 5031, 0, 23, 5775, 0, 1, 'Graveyard - Twin Peaks - Horde Base - Not near Horde Base'), -(27, 1728, 5031, 0, 23, 5681, 0, 1, 'Graveyard - Twin Peaks - Horde Base - Not in Horde Base'); - -DELETE FROM `areatrigger_scripts` WHERE `entry` IN (5907, 5908, 5910, 5909, 5911, 5906); -INSERT INTO `areatrigger_scripts` (`entry`,`ScriptName`) VALUES -(5908, 'at_battleground_buffs'), -(5907, 'at_battleground_buffs'), -(5910, 'at_battleground_buffs'), -(5909, 'at_battleground_buffs'), -(5911, 'at_battleground_buffs'), -(5906, 'at_battleground_buffs'); - -DELETE FROM `gameobject` WHERE `guid` IN (216144, 216129, 216143, 220777, 216139, 216138, 216133, 216131, 216137, 216142, 216134); --- fix buff respawn times -UPDATE `gameobject` SET `spawntimesecs` = 90 WHERE `guid` IN (216130, 216136, 216135, 216132); - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+16; -INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES -(@OGUID+0, 180322, 726, 5031, 5681, '0', '0', 0, 1832.0103759765625, 516.01910400390625, 26.99340248107910156, 6.248279094696044921, 0, 0, -0.01745223999023437, 0.999847710132598876, 7200, 255, 1, 54205), -- Ghost Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+1, 303120, 726, 5031, 5681, '0', '0', 0, 1953.2412109375, 394.69012451171875, -9.54223155975341796, 0.549776852130889892, 0, 0, 0.271439552307128906, 0.962455451488494873, 7200, 255, 0, 54205), -- Doodad_vr_cookpot_01 (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+2, 180322, 726, 5031, 5681, '0', '0', 0, 1857.8004150390625, 512.55902099609375, 34.93069839477539062, 0.052358884364366531, 0, 0, 0.02617645263671875, 0.999657332897186279, 7200, 255, 1, 54205), -- Ghost Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+3, 179899, 726, 5031, 5681, '0', '0', 0, 1611.2708740234375, 306.963531494140625, 0.248635083436965942, 4.989840030670166015, 0, 0, -0.60253429412841796, 0.798092961311340332, 90, 255, 1, 54205), -- Speed Buff (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+4, 180322, 726, 5031, 5681, '0', '0', 0, 1846.3992919921875, 513.5538330078125, 30.47980117797851562, 0, 0, 0, 0, 1, 7200, 255, 1, 54205), -- Ghost Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+5, 208205, 726, 5031, 5681, '0', '0', 0, 1556.656005859375, 314.71270751953125, 1.589000582695007324, 6.178466320037841796, 0, 0, -0.05233573913574218, 0.998629570007324218, 7200, 255, 1, 54205), -- Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+6, 208207, 726, 5031, 5681, '0', '0', 0, 1558.087890625, 372.765380859375, 1.723726868629455566, 6.178466320037841796, 0, 0, -0.05233573913574218, 0.998629570007324218, 7200, 255, 1, 54205), -- Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+7, 208206, 726, 5031, 5681, '0', '0', 0, 1574.6053466796875, 321.2420654296875, 1.589889883995056152, 6.178466320037841796, 0, 0, -0.05233573913574218, 0.998629570007324218, 7200, 255, 1, 54205), -- Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+8, 203710, 726, 5031, 5681, '0', '0', 0, 1558.6226806640625, 379.159515380859375, -6.4096693992614746, 4.607671737670898437, 0, 0, -0.74314403533935546, 0.669131457805633544, 7200, 255, 1, 54205), -- Portcullis (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+9, 180322, 726, 5031, 5681, '0', '0', 0, 1820.470458984375, 517.435791015625, 25.55260086059570312, 6.248279094696044921, 0, 0, -0.01745223999023437, 0.999847710132598876, 7200, 255, 1, 54205), -- Ghost Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+10, 206653, 726, 5031, 5681, '0', '0', 0, 2135.52490234375, 218.9260101318359375, 43.60945510864257812, 5.75086069107055664, 0, 0, -0.263031005859375, 0.96478736400604248, 7200, 255, 1, 54205), -- Wildhammer Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+11, 206655, 726, 5031, 5681, '0', '0', 0, 2118.087646484375, 154.6754302978515625, 43.57088851928710937, 2.609261274337768554, 0, 0, 0.964786529541015625, 0.263034075498580932, 7200, 255, 1, 54205), -- Wildhammer Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+12, 206654, 726, 5031, 5681, '0', '0', 0, 2156, 219.2058868408203125, 43.62560272216796875, 2.609261274337768554, 0, 0, 0.964786529541015625, 0.263034075498580932, 7200, 255, 1, 54205), -- Wildhammer Gate (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+13, 303119, 726, 5031, 5681, '0', '0', 0, 1986.051025390625, 420.545745849609375, -20.7072296142578125, 5.148722648620605468, 0, 0, -0.53729915618896484, 0.843391716480255126, 7200, 255, 1, 54205), -- Doodad_firewoodpile-indoor-only01 (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+14, 227741, 726, 5031, 5681, '0', '0', 0, 2117.63720703125, 191.6822967529296875, 44.05199050903320312, 6.021387100219726562, 0, 0, -0.13052558898925781, 0.991444945335388183, 7200, 255, 1, 54205), -- Alliance Flag (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+15, 227740, 726, 5031, 5681, '0', '0', 0, 1578.3367919921875, 344.045135498046875, 2.418408870697021484, 2.792518377304077148, 0, 0, 0.984807014465332031, 0.173652306199073791, 7200, 255, 1, 54205), -- Horde Flag (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 -(@OGUID+16, 179871, 726, 5031, 5681, '0', '0', 0, 2088.864501953125, 258.630218505859375, 43.79682540893554687, 1.66558992862701416, 0, 0, 0.73981475830078125, 0.672810614109039306, 90, 255, 1, 54205); -- Speed Buff (Area: Dragonmaw Flag Room - Difficulty: 0) CreateObject1 - -DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+16; -INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES -(@OGUID+1, 0, 0, 0.390731066465377807, 0.920504868030548095, 0, 0), -- Doodad_vr_cookpot_01 -(@OGUID+5, 0, 0, -0.05233581736683845, 0.998629570007324218, 0, 0), -- Gate -(@OGUID+6, 0, 0, -0.05233581736683845, 0.998629570007324218, 0, 0), -- Gate -(@OGUID+7, 0, 0, -0.05233581736683845, 0.998629570007324218, 0, 0), -- Gate -(@OGUID+8, 0, 0, -0.05233581736683845, 0.998629570007324218, 0, 0), -- Portcullis -(@OGUID+10, 0, 0, 0.964787304401397705, 0.263031333684921264, 0, 0), -- Wildhammer Gate -(@OGUID+11, 0, 0, 0.964787304401397705, 0.263031333684921264, 0, 0), -- Wildhammer Gate -(@OGUID+12, 0, 0, 0.964787304401397705, 0.263031333684921264, 0, 0), -- Wildhammer Gate -(@OGUID+13, 0, 0, 0.390731066465377807, 0.920504868030548095, 0, 0); -- Doodad_firewoodpile-indoor-only01 - -DELETE FROM `creature` WHERE `guid` = @CGUID+0; -INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES -(@CGUID+0, 13117, 726, 5031, 0, '0', '0', 0, 0, 1, 1818.3055419921875, 153.1302032470703125, 1.889904022216796875, 1.631284713745117187, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205); -- Horde Spirit Guide (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) - -DELETE FROM `areatrigger` WHERE `SpawnId` BETWEEN @TRIGGER_SPAWN_ID+0 AND @TRIGGER_SPAWN_ID+1 AND `IsCustom` = 1; -INSERT INTO `areatrigger` (`SpawnId`, `AreaTriggerCreatePropertiesId`, `IsCustom`, `MapId`, `PosX`, `PosY`, `PosZ`, `Orientation`, `ScriptName`, `Comment`) VALUES -(@TRIGGER_SPAWN_ID+0, @TRIGGER_ID_ALLIANCE, 1, 726, 2117.63720703125, 191.6822967529296875, 44.05199050903320312, 6.021387100219726562, 'areatrigger_action_capture_flag', 'Twin Peaks - Capture Flag - Alliance'), -(@TRIGGER_SPAWN_ID+1, @TRIGGER_ID_HORDE, 1, 726, 1578.3367919921875, 344.045135498046875, 2.418408870697021484, 2.792518377304077148, 'areatrigger_action_capture_flag', 'Twin Peaks - Capture Flag - Horde'); - --- 75 seconds for quick cap aura -UPDATE `serverside_spell` SET `DurationIndex` = 62 WHERE `Id` = 183317; - -DELETE FROM `world_state` WHERE `ID` IN (5746, 5747); -INSERT INTO `world_state` (`ID`, `DefaultValue`, `MapIDs`, `Comment`) VALUES -(5746, 0, '726', 'Twin Peaks - Double Jeopardy Alliance'), -(5747, 0, '726', 'Twin Peaks - Double Jeopardy Horde'); diff --git a/sql/updates/world/cata_classic/2024_05_28_13_world_2024_04_26_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_13_world_2024_04_26_00_world.sql new file mode 100644 index 00000000000..b0546695d1e --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_13_world_2024_04_26_00_world.sql @@ -0,0 +1,14 @@ +DROP TABLE IF EXISTS `creature_static_flags_override`; +CREATE TABLE `creature_static_flags_override` ( + `SpawnId` BIGINT UNSIGNED NOT NULL, + `DifficultyId` TINYINT UNSIGNED NOT NULL DEFAULT 0, + `StaticFlags1` INT UNSIGNED, + `StaticFlags2` INT UNSIGNED, + `StaticFlags3` INT UNSIGNED, + `StaticFlags4` INT UNSIGNED, + `StaticFlags5` INT UNSIGNED, + `StaticFlags6` INT UNSIGNED, + `StaticFlags7` INT UNSIGNED, + `StaticFlags8` INT UNSIGNED, + PRIMARY KEY (`SpawnId`, `DifficultyId`) +); diff --git a/sql/updates/world/cata_classic/2024_05_28_14_2024_04_15_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_14_2024_04_15_00_world.sql deleted file mode 100644 index e91560dba3c..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_14_2024_04_15_00_world.sql +++ /dev/null @@ -1,45 +0,0 @@ --- Custom gossip 21257 (from 3.3.5) is used by Navarrogg (99624) -DELETE FROM `gossip_menu` WHERE (`MenuID`=21257 AND `TextID`=15846); -DELETE FROM `gossip_menu` WHERE (`MenuID`=11375 AND `TextID`=15846); -DELETE FROM `gossip_menu` WHERE (`MenuID`=11394 AND `TextID` IN (15873,15872,15871)); -INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES -(11375, 15846, 53788), -- 40352 (Witch Doctor Hez'tok) -(11394, 15873, 53788), -- 40492 (Zild'jian) -(11394, 15872, 53788), -- 40492 (Zild'jian) -(11394, 15871, 53788); -- 40492 (Zild'jian) - -UPDATE `gossip_menu` SET `VerifiedBuild`=53788 WHERE (`MenuID`=11341 AND `TextID`=15796) OR (`MenuID`=11345 AND `TextID`=15806) OR (`MenuID`=11391 AND `TextID`=15865); -UPDATE `gossip_menu` SET `VerifiedBuild`=53788 WHERE (`MenuID`=11397 AND `TextID`=15877) OR (`MenuID`=11398 AND `TextID`=15876); - -DELETE FROM `gossip_menu_option` WHERE (`MenuID`=21257 AND `OptionID`=0); -DELETE FROM `gossip_menu_option` WHERE (`OptionID`=0 AND `MenuID` IN (11341,11375)); -INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES -(11341, 93994, 0, 0, 'Would you call down the Spirit of the Tiger again, Vanira?', 40445, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, 75186, NULL, 53788), -(11375, 94022, 0, 0, 'Let us consult the omens.', 40385, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 53788); - -UPDATE `gossip_menu_option` SET `GossipOptionID`=94211, `VerifiedBuild`=53788 WHERE (`MenuID`=11398 AND `OptionID`=0); -UPDATE `gossip_menu_option` SET `GossipOptionID`=94004, `OptionText`='I need to get to Razor Hill to recruit on behalf of Vol''jin. May I borrow a bat?', `SpellID`=75421, `VerifiedBuild`=53788 WHERE (`MenuID`=11345 AND `OptionID`=1); -UPDATE `gossip_menu_option` SET `GossipOptionID`=94003, `OptionText`='I am ready to take back the Echo Isles. Take me to the staging area!', `SpellID`=75422, `VerifiedBuild`=53788 WHERE (`MenuID`=11345 AND `OptionID`=2); -UPDATE `gossip_menu_option` SET `GossipOptionID`=94005, `SpellID`=74978, `VerifiedBuild`=53788 WHERE (`MenuID`=11345 AND `OptionID`=0); - -DELETE FROM `npc_text` WHERE `ID` IN (15871,15872); -INSERT INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextId0`, `BroadcastTextId1`, `BroadcastTextId2`, `BroadcastTextId3`, `BroadcastTextId4`, `BroadcastTextId5`, `BroadcastTextId6`, `BroadcastTextId7`, `VerifiedBuild`) VALUES -(15872, 1, 0, 0, 0, 0, 0, 0, 0, 40475, 0, 0, 0, 0, 0, 0, 0, 53788), -- 15872 -(15871, 1, 0, 0, 0, 0, 0, 0, 0, 40472, 0, 0, 0, 0, 0, 0, 0, 53788); -- 15871 - -UPDATE `npc_text` SET `VerifiedBuild`=53788 WHERE `ID` IN (15865, 15873, 15877, 15876); -UPDATE `npc_text` SET `VerifiedBuild`=53788 WHERE `ID` IN (15806, 15846, 15796); - -DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=39654 AND `MenuID` IN (11397,11398)) OR (`CreatureID`=40492 AND `MenuID`=11394) OR (`CreatureID`=40352); -INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES -(40352, 11375, 53788), -- Witch Doctor Hez'tok -(39654, 11398, 53788), -- Vol'jin -(40492, 11394, 53788); -- Zild'jian - -UPDATE `creature_template_gossip` SET `VerifiedBuild`=53788 WHERE (`CreatureID`=40184 AND `MenuID`=11341) OR (`CreatureID`=40204 AND `MenuID`=11345) OR (`CreatureID`=40391 AND `MenuID`=11391); - -UPDATE `smart_scripts` SET `event_param1`=11375 WHERE `entryorguid`=40352 AND `source_type`=0 AND `id`=0; -DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=21257; -DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=11375; -INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES -(15, 11375, 0, 0, 0, 47, 0, 25480, 10, 0, 0, 0, 0, '', 'Gossip menu option requires quest 25480 taken or completed'); diff --git a/sql/updates/world/cata_classic/2024_05_28_14_world_2024_04_27_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_14_world_2024_04_27_00_world.sql new file mode 100644 index 00000000000..b01213bf329 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_14_world_2024_04_27_00_world.sql @@ -0,0 +1,3 @@ +DELETE FROM `spell_proc` WHERE `SpellId` IN (429020); +INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES +(429020,0x00,224,0x00400800,0x00000000,0x00000000,0x00000000,0x0,0x0,0x2,0x2,0x403,0x0,0x0,0,0,0,0); -- Fragile Echoes diff --git a/sql/updates/world/cata_classic/2024_05_28_15_2024_04_13_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_15_2024_04_13_00_world.sql deleted file mode 100644 index 59da801d645..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_15_2024_04_13_00_world.sql +++ /dev/null @@ -1,6 +0,0 @@ -UPDATE `conditions` SET `ConditionValue2`=1 WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9184 AND `ConditionTypeOrReference`=1 AND `ConditionValue1`=45963; -UPDATE `conditions` SET `ConditionValue2`=1 WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=8288 AND `ConditionTypeOrReference`=1 AND `ConditionValue1`=36620; -UPDATE `conditions` SET `ConditionValue2`=0 WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=1 AND `SourceEntry`=25084 AND `ConditionTypeOrReference`=1 AND `ConditionValue1`=45111; -UPDATE `conditions` SET `ConditionValue2`=1 WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=11 AND `SourceEntry`=22258 AND `ConditionTypeOrReference`=1 AND `ConditionValue1`=38708; -UPDATE `conditions` SET `ConditionValue2`=1 WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup`=630 AND `SourceEntry`=0 AND `ConditionTypeOrReference`=1 AND `ConditionValue1`=106205; -UPDATE `conditions` SET `ConditionValue2`=3 WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup`=13775 AND `SourceEntry`=10588 AND `ConditionTypeOrReference`=1 AND `ConditionValue1`=305742; diff --git a/sql/updates/world/cata_classic/2024_05_28_15_world_2024_04_28_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_15_world_2024_04_28_00_world.sql new file mode 100644 index 00000000000..44d981a5908 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_15_world_2024_04_28_00_world.sql @@ -0,0 +1,7 @@ +UPDATE `creature_template_difficulty` SET `StaticFlags2`= `StaticFlags2` | 0x2 WHERE `Entry` IN (3977, 10162, 10184, 11380, 11382, 11502, 11583, 11981, 11982, 11983, 11988, 12017, 12018, 12056, 12057, 12098, 12118, 12259, 12264, 12435, 12804, 13020, 14020, 14352, 14507, 14509, 14510, 14515, 14517, 14601, 14834, 15082, 15083, 15084, 15085, 15114, 15263, 15275, 15276, 15277, 15299, 15339, 15340, 15341, 15348, 15369, 15370, 15385, 15386, 15388, 15389, 15390, 15391, 15392, 15509, 15510, 15511, 15516, 15517, 15543, 15544, 15550, 15589, 15608, 15687, 15688, 15689, 15690, 15691, 15727, 15928, 15929, 15930, 15931, 15932, 15936, 15952, 15953, 15954, 15956, 15989, 15990, 16011, 16028, 16042, 16060, 16061, 16062, 16063, 16064, 16065, 16097, 16101, 16102, 16103, 16104, 16151, 16152, 16179, 16180, 16181, 16457, 16524, 16775, 16776, 16777, 16778, 17225, 17256, 17257, 17307, 17521, 17533, 17534, 17535, 17536, 17537, 17543, 17546, 17547, 17548, 17602, 17767, 17808, 17842, 17888, 17968, 18040, 18041, 18168, 18254, 18472, 18473, 18780, 18805, 18829, 18831, 18832, 18834, 18835, 18836, 18847, 19044, 19389, 19514, 19516, 19622, 20051, 20060, 20062, 20063, 20064, 20905, 20906, 20908, 20909, 20910, 20911, 21174, 21212, 21213, 21214, 21215, 21216, 21217, 21219, 21253, 21268, 21269, 21270, 21271, 21272, 21273, 21274, 21350, 21785, 21845, 21875, 21932, 21958, 21964, 21965, 21966, 22009, 22036, 22055, 22056, 22140, 22361, 22409, 22841, 22856, 22871, 22887, 22898, 22917, 22947, 22948, 22949, 22950, 22951, 22952, 23035, 23054, 23126, 23195, 23394, 23418, 23419, 23420, 23576, 23812, 23863, 24143, 24850, 24882, 24892, 25038, 25165, 25166, 25315, 25319, 25740, 25741, 25840, 25960, 26631, 26632, 26650, 27656, 27696, 27767, 27769, 27770, 27773, 27774, 27775, 27776, 27777, 27778, 27779, 27780, 27781, 27782, 28546, 28859, 28860, 29311, 30449, 30451, 30452, 30549, 31125, 32845, 32857, 32865, 32867, 32871, 32906, 32913, 32914, 32915, 32927, 32930, 32933, 32934, 33113, 33118, 33139, 33186, 33264, 33271, 33280, 33288, 33293, 33329, 33432, 33515, 33524, 33651, 33663, 33667, 33670, 33768, 33862, 33993, 34014, 34034, 34035, 34055, 34297, 34441, 34444, 34445, 34447, 34448, 34449, 34450, 34451, 34453, 34454, 34455, 34456, 34458, 34459, 34460, 34461, 34463, 34465, 34466, 34467, 34468, 34469, 34470, 34471, 34472, 34473, 34474, 34475, 34496, 34497, 34515, 34564, 34567, 34568, 34780, 34796, 34797, 34799, 34815, 34826, 34921, 35013, 35144, 35145, 36497, 36502, 36549, 36597, 36612, 36626, 36627, 36658, 36678, 36791, 36853, 36855, 36897, 36899, 37022, 37126, 37530, 37535, 37562, 37672, 37697, 37813, 37868, 37886, 37890, 37907, 37934, 37949, 37955, 37970, 37972, 37973, 38004, 38009, 38010, 38135, 38136, 38216, 38248, 38285, 38308, 38309, 38367, 38386, 38433, 38569, 38572, 38667, 38752, 38883, 39165, 39231, 39378, 39425, 39428, 39587, 39665, 39679, 39698, 39700, 39705, 39731, 39732, 39746, 39747, 39751, 39800, 39814, 39863, 39899, 40142, 40586, 40765, 40825, 40960, 41270, 41376, 41378, 41379, 41442, 41570, 42166, 42178, 42179, 42180, 42333, 42347, 42897, 43214, 43296, 43324, 43612, 43614, 43622, 43686, 43687, 43688, 43689, 43707, 43719, 43735, 43873, 43875, 43878, 43888, 43922, 44023, 44031, 44600, 44819, 44864, 44881, 45213, 45858, 45870, 45871, 45872, 45992, 45993, 46753, 46965, 47120, 48233, 48571, 49930, 49938, 50264, 51398, 51410, 51412, 51413, 51414, 51415, 51437, 51438, 51449, 51452, 51599, 51932, 52148, 52150, 52363, 52409, 52498, 52530, 52558, 52571, 52675, 53494, 53682, 53683, 53691, 53694, 53695, 53772, 53785, 53825, 53833, 53879, 53920, 54192, 54199, 54258, 54404, 54432, 55265, 55294, 55308, 55312, 55689, 55869, 56173, 56427, 56439, 56448, 56541, 56589, 56636, 56637, 56710, 56717, 56719, 56732, 56747, 56877, 56884, 56906, 57694, 57773, 57962, 58632, 58633, 58722, 58739, 58826, 59051, 59080, 59150, 59153, 59184, 59220, 59223, 59303, 59479, 59613, 59789, 59915, 60009, 60016, 60018, 60019, 60020, 60040, 60043, 60047, 60051, 60089, 60143, 60399, 60400, 60410, 60583, 60585, 60586, 60648, 60701, 60708, 60709, 60710, 60788, 60847, 60999, 61174, 61243, 61344, 61398, 61421, 61423, 61427, 61429, 61442, 61444, 61445, 61478, 61485, 61567, 61634, 61707, 62164, 62205, 62397, 62402, 62405, 62408, 62442, 62511, 62533, 62543, 62637, 62711, 62837, 62848, 62980, 62983, 63025, 63026, 63191, 63297, 63311, 63312, 63313, 63316, 63318, 63435, 63539, 63859, 63872, 64280, 64281, 64286, 64560, 64564, 64565, 64894, 65173, 65174, 65201, 65329, 65498, 65499, 65500, 66091, 66746, 66920, 67374, 67385, 67390, 67426, 67559, 67567, 67705, 67827, 67853, 67977, 68036, 68066, 68067, 68068, 68069, 68078, 68079, 68080, 68081, 68122, 68123, 68124, 68125, 68151, 68159, 68160, 68161, 68162, 68177, 68208, 68397, 68476, 68904, 68905, 69012, 69013, 69014, 69017, 69078, 69095, 69131, 69132, 69134, 69232, 69427, 69465, 69473, 69650, 69653, 69699, 69700, 69701, 69712, 69756, 69781, 69964, 70135, 70212, 70229, 70235, 70238, 70247, 70248, 70249, 70250, 70251, 70252, 70271, 70455, 70468, 70469, 70474, 70475, 70590, 70592, 70640, 70683, 70762, 70763, 70893, 70959, 70963, 71030, 71123, 71133, 71152, 71153, 71154, 71155, 71156, 71157, 71158, 71160, 71161, 71212, 71213, 71214, 71215, 71216, 71217, 71218, 71219, 71220, 71276, 71327, 71328, 71329, 71330, 71454, 71466, 71475, 71479, 71480, 71504, 71515, 71529, 71543, 71592, 71734, 71858, 71859, 71865, 71889, 71967, 72001, 72002, 72003, 72051, 72065, 72224, 72249, 72276, 72349, 72436, 72550, 72616, 72619, 72620, 72726, 72748, 72749, 72750, 73081, 73103, 73224, 73334, 73462, 73524, 73620, 73663, 73958); +-- Manually added flag for currently scripted post MoP raid bosses +UPDATE `creature_template_difficulty` SET `StaticFlags2`= `StaticFlags2` | 0x2 WHERE `Entry` = 122450; -- Garothi Worldbreaker +UPDATE `creature_template_difficulty` SET `StaticFlags2`= `StaticFlags2` | 0x2 WHERE `Entry` = 114323; -- Guarm +UPDATE `creature_template_difficulty` SET `StaticFlags2`= `StaticFlags2` | 0x2 WHERE `Entry` = 201261; -- Kazzara the Hellforged +UPDATE `creature_template_difficulty` SET `StaticFlags2`= `StaticFlags2` | 0x2 WHERE `Entry` = 175732; -- Sylvanas Windrunner +UPDATE `creature_template_difficulty` SET `StaticFlags2`= `StaticFlags2` | 0x2 WHERE `Entry` = 181954; -- Anduin Wrynn diff --git a/sql/updates/world/cata_classic/2024_05_28_16_2024_04_11_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_16_2024_04_11_00_world.sql deleted file mode 100644 index 74ce05c2e0b..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_16_2024_04_11_00_world.sql +++ /dev/null @@ -1,3 +0,0 @@ -ALTER TABLE `smart_scripts` - ADD `action_param_string` VARCHAR(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `action_param7`, - ADD `target_param_string` VARCHAR(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `target_param4`; diff --git a/sql/updates/world/cata_classic/2024_05_28_16_world_2024_05_05_01_world.sql b/sql/updates/world/cata_classic/2024_05_28_16_world_2024_05_05_01_world.sql new file mode 100644 index 00000000000..cc0cec1cf92 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_16_world_2024_05_05_01_world.sql @@ -0,0 +1,2 @@ +DELETE FROM `world_safe_locs` WHERE `ID`=80000; +UPDATE `graveyard_zone` SET `ID`=6928, `Comment`='BRD Hub Safe Loc' WHERE `ID`=80000; diff --git a/sql/updates/world/cata_classic/2024_05_28_17_2024_04_07_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_17_2024_04_07_00_world.sql deleted file mode 100644 index 9c961ff6290..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_17_2024_04_07_00_world.sql +++ /dev/null @@ -1,221 +0,0 @@ --- Love is in the Air -SET @CGUID := 3000000; -SET @OGUID := 3000000; - -DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+20; -DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+20; -DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+20; - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+606; -DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+606; -DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+606; - -SET @OGUID := 3000607; - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+27; -DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+27; -DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+27; - -SET @CGUID := 3000032; -SET @OGUID := 3000861; - -DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+17; -DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+17; -DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+17; - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+163; -DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+163; -DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+163; - --- Cata classic only (cherry-pick) --- DELETE FROM `creature` WHERE `guid` BETWEEN 3000021 AND 3000025; --- DELETE FROM `game_event_creature` WHERE `guid` BETWEEN 3000021 AND 3000025; --- DELETE FROM `creature` WHERE `guid` BETWEEN 3000026 AND 3000031; --- DELETE FROM `game_event_creature` WHERE `guid` BETWEEN 3000026 AND 3000031; --- DELETE FROM `creature` WHERE `guid` BETWEEN 2000000 AND 2000004; --- DELETE FROM `game_event_creature` WHERE `guid` BETWEEN 2000000 AND 2000004; --- DELETE FROM `creature` WHERE `guid` BETWEEN 3000050 AND 3000054; --- DELETE FROM `game_event_creature` WHERE `guid` BETWEEN 3000050 AND 3000054; --- DELETE FROM `creature` WHERE `guid` BETWEEN 3000055 AND 3000060; --- DELETE FROM `game_event_creature` WHERE `guid` BETWEEN 3000055 AND 3000060; --- DELETE FROM `creature` WHERE `guid` BETWEEN 2000005 AND 2000010; --- DELETE FROM `game_event_creature` WHERE `guid` BETWEEN 2000005 AND 2000010; - --- DELETE FROM `gameobject` WHERE `guid` BETWEEN 3000635 AND 3000719; --- DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 3000635 AND 3000719; --- DELETE FROM `gameobject` WHERE `guid` BETWEEN 3000720 AND 3000860; --- DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 3000720 AND 3000860; --- DELETE FROM `gameobject` WHERE `guid` BETWEEN 2000000 AND 2000154; --- DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 2000000 AND 2000154; --- DELETE FROM `gameobject` WHERE `guid` BETWEEN 3001025 AND 3001144; --- DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 3001025 AND 3001144; --- DELETE FROM `gameobject` WHERE `guid` BETWEEN 3001145 AND 3001258; --- DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 3001145 AND 3001258; --- DELETE FROM `gameobject` WHERE `guid` BETWEEN 2000155 AND 2000376; --- DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 2000155 AND 2000376; - --- Noblegarden -SET @CGUID := 3000061; -SET @OGUID := 3001259; - -DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; -DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+60; -DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+60; - -SET @CGUID := 3000063; -SET @OGUID := 3001320; - -DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; -DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+60; -DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+60; - -SET @CGUID := 3000065; -SET @OGUID := 3001381; - -DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; -DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+60; -DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+60; - -SET @CGUID := 2000011; -SET @OGUID := 2000377; - -DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; -DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+60; -DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+60; - -SET @CGUID := 3000067; -SET @OGUID := 3001442; - -DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; -DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+59; -DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+59; - -SET @CGUID := 3000069; -SET @OGUID := 3001502; - -DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; -DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+59; -DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+59; - -SET @CGUID := 3000071; -SET @OGUID := 3001562; - -DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; -DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+60; -DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+60; - -SET @CGUID := 2000013; -SET @OGUID := 2000438; - -DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; -DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1; - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+60; -DELETE FROM `pool_members` WHERE `type`=1 AND `spawnId` BETWEEN @OGUID+0 AND @OGUID+60; - --- Battle for Gilneas -SET @CGUID := 3000073; -SET @OGUID := 3001623; - -DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+8; - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+35; -DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+35; - -SET @CGUID := 3000000; -SET @OGUID := 3000000; -SET @POOL_ID := 800009; -SET @SPAWNGROUP := 1242; - -DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+8; -INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES -(@CGUID+0, 14848, 761, 5449, 5453, '0', 0, 0, 0, 2, 1073.699951171875, 1166.6800537109375, 5.155783653259277343, 0.645771801471710205, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Herald (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@CGUID+1, 13116, 761, 5449, 5451, '0', 0, 0, 0, 1, 1035.8800048828125, 1341.280029296875, 11.622833251953125, 4.415682792663574218, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) -(@CGUID+2, 13117, 761, 5449, 5451, '0', 0, 0, 0, 1, 1407.4300537109375, 977.114990234375, 7.525483608245849609, 3.141592741012573242, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual) -(@CGUID+3, 13116, 761, 5449, 5451, '0', 0, 0, 0, 1, 899.10198974609375, 1341.3699951171875, 27.65543365478515625, 6.038839340209960937, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual) -(@CGUID+4, 13117, 761, 5449, 5451, '0', 0, 0, 0, 1, 1252.3199462890625, 831.593994140625, 27.872833251953125, 1.48352980613708496, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) -(@CGUID+5, 13117, 761, 5449, 5451, '0', 0, 0, 0, 1, 886.45001220703125, 936.66802978515625, 24.44873428344726562, 0.453785598278045654, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) -(@CGUID+6, 13116, 761, 5449, 5451, '0', 0, 0, 0, 1, 1252.3199462890625, 831.593994140625, 27.872833251953125, 1.48352980613708496, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 0), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) -(@CGUID+7, 13116, 761, 5449, 5451, '0', 0, 0, 0, 1, 886.45001220703125, 936.66802978515625, 24.44873428344726562, 0.453785598278045654, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 0), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) -(@CGUID+8, 13117, 761, 5449, 5451, '0', 0, 0, 0, 1, 1035.8800048828125, 1341.280029296875, 11.622833251953125, 4.415682792663574218, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 0); -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) - -DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+5; -INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES -(@SPAWNGROUP+0, 0, @CGUID+4), -(@SPAWNGROUP+1, 0, @CGUID+6), -(@SPAWNGROUP+2, 0, @CGUID+5), -(@SPAWNGROUP+3, 0, @CGUID+7), -(@SPAWNGROUP+4, 0, @CGUID+8), -(@SPAWNGROUP+5, 0, @CGUID+1); - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+27; -INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES -(@OGUID+0, 207083, 761, 5449, 5453, '0', 0, 0, 851.224853515625, 1361.31494140625, 30.00773239135742187, 4.136432647705078125, 0, 0, -0.87881660461425781, 0.477159708738327026, 7200, 255, 1, 53989), -- Stove (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+1, 207082, 761, 5449, 5453, '0', 0, 0, 885.692138671875, 1375.1756591796875, 29.34804534912109375, 1.893678903579711914, 0, 0, 0.811573028564453125, 0.584250986576080322, 7200, 255, 1, 53989), -- Cauldron (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+2, 205495, 761, 5449, 5453, '0', 0, 0, 1395.9600830078125, 977.2569580078125, -13.7897014617919921, 6.265733242034912109, 0, 0, -0.00872611999511718, 0.999961912631988525, 7200, 255, 1, 53989), -- Horde Gate (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+3, 205496, 761, 5449, 5453, '0', 0, 0, 918.29864501953125, 1336.4896240234375, 20.45499992370605468, 2.827429771423339843, 0, 0, 0.987688064575195312, 0.156436234712600708, 7200, 255, 1, 53989), -- Alliance Gate (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+4, 180380, 761, 5449, 5453, '0', 0, 0, 1063.564208984375, 1308.9791259765625, 4.911691665649414062, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 90, 255, 1, 53989), -- Berserk Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+5, 180382, 761, 5449, 5453, '0', 0, 0, 1195.72998046875, 1020.29998779296875, 7.978740215301513671, 5.777040958404541015, 0, 0, -0.25037956237792968, 0.968147754669189453, 90, 255, 1, 53989), -- Berserk Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+6, 180147, 761, 5449, 5453, '0', 0, 0, 1111.4305419921875, 921.6163330078125, 30.07139015197753906, 5.567600727081298828, 0, 0, -0.35020732879638671, 0.936672210693359375, 90, 255, 1, 53989), -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+7, 180146, 761, 5449, 5453, '0', 0, 0, 966.4580078125, 1043.5699462890625, 13.14669990539550781, 0.907570242881774902, 0, 0, 0.438370704650878906, 0.898794233798980712, 90, 255, 1, 53989), -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+8, 180148, 761, 5449, 5453, '0', 0, 0, 990.2969970703125, 983.37298583984375, 12.98260021209716796, 4.555310726165771484, 0, 0, -0.76040554046630859, 0.649448513984680175, 90, 255, 1, 53989), -- Berserk Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+9, 267985, 761, 5449, 5453, '0', 0, 0, 933.6484375, 1427.4461669921875, 28.91886138916015625, 4.066620349884033203, 0, 0, -0.89493370056152343, 0.44619917869567871, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only01 (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+10, 267984, 761, 5449, 5453, '0', 0, 0, 1065.8585205078125, 1307.032470703125, 4.974267482757568359, 5.5065155029296875, 0, 0, -0.3786478042602539, 0.925540864467620849, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only02 (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+11, 205045, 761, 5449, 5453, '0', 0, 0, 1196.86083984375, 1022.99267578125, 8.256913185119628906, 2.617989301681518554, 0, 0, 0.965925216674804687, 0.258821308612823486, 7200, 255, 1, 53989), -- Cauldron (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+12, 205037, 761, 5449, 5453, '0', 0, 0, 926.920166015625, 1014.3675537109375, 19.86332321166992187, 0.226890549063682556, 0, 0, 0.113202095031738281, 0.993571996688842773, 7200, 255, 1, 53989), -- Fire (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+13, 205036, 761, 5449, 5453, '0', 0, 0, 927.24725341796875, 1015.525146484375, 19.00165557861328125, 2.783795118331909179, 0, 0, 0.984040260314941406, 0.177946031093597412, 7200, 255, 1, 53989), -- Stove (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+14, 205038, 761, 5449, 5453, '0', 0, 0, 927.7421875, 1016.9154052734375, 19.86332321166992187, 0.270525157451629638, 0, 0, 0.134850502014160156, 0.990865945816040039, 7200, 255, 1, 53989), -- Fire (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+15, 267983, 761, 5449, 5453, '0', 0, 0, 1066.7442626953125, 1307.72900390625, 4.978141307830810546, 4.476771354675292968, 0, 0, -0.78531646728515625, 0.619094550609588623, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only01 (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+16, 267985, 761, 5449, 5453, '0', 0, 0, 1015.02655029296875, 929.04248046875, 14.26296329498291015, 3.263772249221801757, 0, 0, -0.99813461303710937, 0.061051756143569946, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only01 (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+17, 207177, 761, 5449, 5453, '0', 0, 0, 918.390625, 1336.640625, 27.42519950866699218, 2.844882726669311523, 0, 0, 0.989015579223632812, 0.147811368107795715, 7200, 255, 1, 53989), -- Alliance Door (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+18, 207178, 761, 5449, 5453, '0', 0, 0, 1395.970458984375, 977.09027099609375, 7.635970115661621093, 6.274459362030029296, 0, 0, -0.00436305999755859, 0.999990463256835937, 7200, 255, 1, 53989), -- Horde Gate (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+19, 228053, 761, 5449, 5452, '0', 0, 0, 1251.0086669921875, 958.26910400390625, 5.668474674224853515, 5.86425018310546875, 0, 0, -0.20793914794921875, 0.97814178466796875, 7200, 255, 1, 53989), -- Capture Point (Area: Mines - Difficulty: 0) CreateObject2 -(@OGUID+20, 228050, 761, 5449, 5452, '0', 0, 0, 1057.7396240234375, 1278.26220703125, 3.179371118545532226, 4.909808158874511718, 0, 0, -0.63397979736328125, 0.773349583148956298, 7200, 255, 1, 53989), -- Capture Point (Area: Mines - Difficulty: 0) CreateObject1 -(@OGUID+21, 228052, 761, 5449, 5451, '0', 0, 0, 980.03302001953125, 948.73785400390625, 12.73535633087158203, 5.877463817596435546, 0, 0, -0.20147228240966796, 0.979494214057922363, 7200, 255, 1, 53989), -- Capture Point (Area: Waterworks - Difficulty: 0) CreateObject2 -(@OGUID+22, 180145, 761, 5449, 5452, '0', 0, 0, 1195.72998046875, 1020.29998779296875, 7.978740215301513671, 5.777040958404541015, 0, 0, -0.25037956237792968, 0.968147754669189453, 90, 255, 1, 53989), -- Food Buff (Area: Mines - Difficulty: 0) CreateObject2 -(@OGUID+23, 180384, 761, 5449, 5453, '0', 0, 0, 990.2969970703125, 983.37298583984375, 12.98260021209716796, 4.555310726165771484, 0, 0, -0.76040554046630859, 0.649448513984680175, 90, 255, 1, 53989), -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+24, 180144, 761, 5449, 5451, '0', 0, 0, 1063.564208984375, 1308.9791259765625, 4.911691665649414062, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 90, 255, 1, 53989), -- Food Buff (Area: Waterworks - Difficulty: 0) CreateObject1 -(@OGUID+25, 180383, 761, 5449, 5451, '0', 0, 0, 990.2969970703125, 983.37298583984375, 12.98260021209716796, 4.555310726165771484, 0, 0, -0.76040554046630859, 0.649448513984680175, 90, 255, 1, 53989), -- Food Buff (Area: Waterworks - Difficulty: 0) CreateObject2 -(@OGUID+26, 180381, 761, 5449, 5451, '0', 0, 0, 1195.72998046875, 1020.29998779296875, 7.978740215301513671, 5.777040958404541015, 0, 0, -0.25037956237792968, 0.968147754669189453, 90, 255, 1, 53989), -- Speed Buff (Area: Waterworks - Difficulty: 0) CreateObject1 -(@OGUID+27, 180379, 761, 5449, 5453, '0', 0, 0, 1063.564208984375, 1308.9791259765625, 4.911691665649414062, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 90, 255, 1, 0); -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 - -DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+35; -INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES -(@OGUID+0, 0, 0, 0.465614736080169677, 0.884987533092498779, 0, 0), -- Stove -(@OGUID+1, 0, 0, 0.465614736080169677, 0.884987533092498779, 0, 0), -- Cauldron -(@OGUID+9, 0, 0, -0.70710676908493041, 0.707106769084930419, 0, 0), -- Doodad_firewoodpile-indoor-only01 -(@OGUID+10, 0, 0, 0.911762058734893798, -0.41071885824203491, 0, 0), -- Doodad_firewoodpile-indoor-only02 -(@OGUID+11, 0, 0, -0.27563735842704772, 0.961261689662933349, 0, 0), -- Cauldron -(@OGUID+12, 0, 0, -0.17364829778671264, 0.984807729721069335, 0, 0), -- Fire -(@OGUID+13, 0, 0, -0.17364829778671264, 0.984807729721069335, 0, 0), -- Stove -(@OGUID+14, 0, 0, -0.17364829778671264, 0.984807729721069335, 0, 0), -- Fire -(@OGUID+15, 0, 0, 0.911762058734893798, -0.41071885824203491, 0, 0), -- Doodad_firewoodpile-indoor-only01 -(@OGUID+16, 0, 0, 0.927183866500854492, -0.37460660934448242, 0, 0); -- Doodad_firewoodpile-indoor-only01 - -DELETE FROM `pool_members` WHERE `poolSpawnId` BETWEEN @POOL_ID+0 AND @POOL_ID+2; -INSERT INTO `pool_members` (`type`, `spawnId`, `poolSpawnId`, `chance`, `description`) VALUES -(1, @OGUID+5, @POOL_ID+0, 0, 'Battle for Gilneas - Berserker Buff - Mines'), -(1, @OGUID+22, @POOL_ID+0, 0, 'Battle for Gilneas - Food Buff - Mines'), -(1, @OGUID+26, @POOL_ID+0, 0, 'Battle for Gilneas - Speed Buff - Mines'), - -(1, @OGUID+4, @POOL_ID+1, 0, 'Battle for Gilneas - Berserker Buff - Lighthouse'), -(1, @OGUID+24, @POOL_ID+1, 0, 'Battle for Gilneas - Food Buff - Lighthouse'), -(1, @OGUID+27, @POOL_ID+1, 0, 'Battle for Gilneas - Speed Buff - Lighthouse'), - -(1, @OGUID+8, @POOL_ID+2, 0, 'Battle for Gilneas - Berserker Buff - Waterworks'), -(1, @OGUID+25, @POOL_ID+2, 0, 'Battle for Gilneas - Food Buff - Waterworks'), -(1, @OGUID+23, @POOL_ID+2, 0, 'Battle for Gilneas - Speed Buff - Waterworks'); diff --git a/sql/updates/world/cata_classic/2024_05_28_17_world_2024_05_06_01_world.sql b/sql/updates/world/cata_classic/2024_05_28_17_world_2024_05_06_01_world.sql new file mode 100644 index 00000000000..21101bfcde8 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_17_world_2024_05_06_01_world.sql @@ -0,0 +1,53 @@ +DELETE FROM `creature_movement_override` WHERE `SpawnId` NOT IN (851331,6000693,6000695,6000700,6000707,6000708,6000709,6000721,6000723,6000727,6000729,6000732,6000736,6000763); +UPDATE `creature_movement_override` SET `HoverInitiallyEnabled`=0 WHERE `SpawnId` IN (6000693,6000695,6000700,6000707,6000708,6000709,6000721,6000723,6000727,6000729,6000732,6000736,6000763); + +DELETE FROM `creature_static_flags_override` WHERE `SpawnId` IN (106339, 106340, 125724, 395475, 395522, 395523, 395542, 395570, 460002, 460043, 650356, 850856, 850858, 850861, 850862, 850864, 850865, 850866, 850867, 850868, 850871, 850973, 851014, 851023, 851084, 851100, 851115, 851127, 851155, 851158, 851182, 851194, 851201, 1050851, 1050886, 1050973, 1050980, 1050981, 1051014, 6000695, 8000023, 8000024, 9000012, 9000013, 9000211, 9000224, 9001454, 9001469); +INSERT INTO `creature_static_flags_override` (`SpawnId`, `DifficultyId`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`) VALUES +(106339, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(106340, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(125724, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(395475, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(395522, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(395523, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(395542, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(395570, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(460002, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(460043, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(650356, 0, 0x0, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(850856, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(850858, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(850861, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(850862, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(850864, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(850865, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(850866, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(850867, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(850868, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(850871, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(850973, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(851014, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(851023, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(851084, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(851100, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(851115, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(851127, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(851155, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(851158, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(851182, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(851194, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(851201, 0, 0x100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(1050851, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(1050886, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(1050973, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(1050980, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(1050981, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(1051014, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(6000695, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(8000023, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(8000024, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(9000012, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(9000013, 0, 0x20000100, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(9000211, 0, 0x0, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(9000224, 0, 0x0, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(9001454, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(9001469, 0, 0x20000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL); diff --git a/sql/updates/world/cata_classic/2024_05_28_18_2024_04_02_02_world.sql b/sql/updates/world/cata_classic/2024_05_28_18_2024_04_02_02_world.sql deleted file mode 100644 index 36ba10f884e..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_18_2024_04_02_02_world.sql +++ /dev/null @@ -1,18 +0,0 @@ -SET @CGUID := 3000073; -SET @SPAWNGROUP := 1242; - -UPDATE `creature` SET `guid`=@CGUID+1 WHERE `guid`=@CGUID+55; -UPDATE `creature` SET `guid`=@CGUID+2 WHERE `guid`=@CGUID+56; -UPDATE `creature` SET `guid`=@CGUID+3 WHERE `guid`=@CGUID+57; -UPDATE `creature` SET `guid`=@CGUID+4 WHERE `guid`=@CGUID+334; -UPDATE `creature` SET `guid`=@CGUID+5 WHERE `guid`=@CGUID+335; -UPDATE `creature` SET `guid`=@CGUID+6 WHERE `guid`=@CGUID+500; -UPDATE `creature` SET `guid`=@CGUID+7 WHERE `guid`=@CGUID+501; -UPDATE `creature` SET `guid`=@CGUID+8 WHERE `guid`=@CGUID+502; - -UPDATE `spawn_group` SET `spawnId`=@CGUID+1 WHERE `groupId`=@SPAWNGROUP+0 AND `spawnId`=@CGUID+55; -UPDATE `spawn_group` SET `spawnId`=@CGUID+4 WHERE `groupId`=@SPAWNGROUP+0 AND `spawnId`=@CGUID+334; -UPDATE `spawn_group` SET `spawnId`=@CGUID+5 WHERE `groupId`=@SPAWNGROUP+0 AND `spawnId`=@CGUID+335; -UPDATE `spawn_group` SET `spawnId`=@CGUID+6 WHERE `groupId`=@SPAWNGROUP+0 AND `spawnId`=@CGUID+500; -UPDATE `spawn_group` SET `spawnId`=@CGUID+7 WHERE `groupId`=@SPAWNGROUP+0 AND `spawnId`=@CGUID+501; -UPDATE `spawn_group` SET `spawnId`=@CGUID+8 WHERE `groupId`=@SPAWNGROUP+0 AND `spawnId`=@CGUID+502; diff --git a/sql/updates/world/cata_classic/2024_05_28_18_world_2024_05_18_01_world.sql b/sql/updates/world/cata_classic/2024_05_28_18_world_2024_05_18_01_world.sql new file mode 100644 index 00000000000..726c4bcbbb8 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_18_world_2024_05_18_01_world.sql @@ -0,0 +1,17 @@ +DELIMITER ;; +CREATE PROCEDURE 2024_05_18_01_areatrigger_spellvisual() BEGIN + IF NOT EXISTS (SELECT * FROM `information_schema`.`columns` WHERE `table_schema`=SCHEMA() AND `table_name`='areatrigger_create_properties' AND `column_name`='SpellsForVisuals') THEN + + ALTER TABLE `areatrigger` + DROP COLUMN `SpellForVisuals`; + + ALTER TABLE `areatrigger_create_properties` + ADD COLUMN `SpellForVisuals` INT AFTER `DecalPropertiesId`; + + END IF; +END;; + +DELIMITER ; +CALL 2024_05_18_01_areatrigger_spellvisual(); + +DROP PROCEDURE IF EXISTS 2024_05_18_01_areatrigger_spellvisual; diff --git a/sql/updates/world/cata_classic/2024_05_28_19_2024_04_02_01_world.sql b/sql/updates/world/cata_classic/2024_05_28_19_2024_04_02_01_world.sql deleted file mode 100644 index 1b9712a1102..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_19_2024_04_02_01_world.sql +++ /dev/null @@ -1,160 +0,0 @@ -SET @CGUID := 3000073; -SET @OGUID := 3001623; -SET @POOL_ID := 800009; -SET @SPAWNGROUP := 1242; - -UPDATE `battleground_template` SET `Weight` = 1 WHERE `ID` = 120; - -DELETE FROM `graveyard_zone` where `ID` IN (1735, 1736, 1738, 1739, 1740); -INSERT INTO `graveyard_zone` (`ID`, `GhostZone`, `Comment`) VALUES -(1735, 5449, 'Battle for Gilneas - Mines'), -(1736, 5449, 'Battle for Gilneas - Lighthouse'), -(1738, 5449, 'Battle for Gilneas - Waterworks'), -(1739, 5449, 'Battle for Gilneas - Horde Start'), -(1740, 5449, 'Battle for Gilneas - Alliance Start'); - -DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 27 AND `SourceEntry` IN (1735, 1736, 1738, 1739, 1740); -INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceEntry`, `SourceGroup`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `Comment`) VALUES --- Bases -(27, 1740, 5449, 0, 6, 469, 0, 'Graveyard - Battle for Gilneas - Alliance Base - Team Alliance'), -(27, 1739, 5449, 0, 6, 67, 0, 'Graveyard - Battle for Gilneas - Horde Base - Team Horde'), --- Mines -(27, 1735, 5449, 0, 6, 469, 0, 'Graveyard - Battle for Gilneas - Mines- Team Alliance'), -(27, 1735, 5449, 0, 11, 8853, 5, 'Graveyard - Battle for Gilneas - Mines - Alliance Controlled'), -(27, 1735, 5449, 1, 6, 67, 0, 'Graveyard - Battle for Gilneas - Mines - Team Horde'), -(27, 1735, 5449, 1, 11, 8853, 4, 'Graveyard - Battle for Gilneas - Mines - Horde Controlled'), --- Waterworks -(27, 1738, 5449, 0, 6, 469, 0, 'Graveyard - Battle for Gilneas - Waterworks - Team Alliance'), -(27, 1738, 5449, 0, 11, 8852, 5, 'Graveyard - Battle for Gilneas - Waterworks - Alliance Controlled'), -(27, 1738, 5449, 1, 6, 67, 0, 'Graveyard - Battle for Gilneas - Waterworks - Team Horde'), -(27, 1738, 5449, 1, 11, 8852, 4, 'Graveyard - Battle for Gilneas - Waterworks - Horde Controlled'), --- Lighthouse -(27, 1736, 5449, 0, 6, 469, 0, 'Graveyard - Battle for Gilneas - Lighthouse - Team Alliance'), -(27, 1736, 5449, 0, 11, 8851, 5, 'Graveyard - Battle for Gilneas - Lighthouse - Alliance Controlled'), -(27, 1736, 5449, 1, 6, 67, 0, 'Graveyard - Battle for Gilneas - Lighthouse - Team Horde'), -(27, 1736, 5449, 1, 11, 8851, 4, 'Graveyard - Battle for Gilneas - Lighthouse - Horde Controlled'); - -DELETE FROM `world_state` WHERE `ID` IN (8851, 8852, 8853, 17355, 17356, 17357, 17358, 17359, 17360); -INSERT INTO `world_state` (`ID`, `DefaultValue`, `MapIDs`, `Comment`) VALUES -(8851, 1, '761', 'Battle for Gilneas - Lighthouse control state POI'), -(8852, 1, '761', 'Battle for Gilneas - Waterworks control state POI'), -(8853, 1, '761', 'Battle for Gilneas - Mines control state POI'), -(17355, 0, '761', 'Battle for Gilneas - Lighthouse Horde control state widget'), -(17356, 0, '761', 'Battle for Gilneas - Lighthouse Alliance control state widget'), -(17358, 0, '761', 'Battle for Gilneas - Waterworks Horde control state widget'), -(17357, 0, '761', 'Battle for Gilneas - Waterworks Alliance control state widget'), -(17360, 0, '761', 'Battle for Gilneas - Mines Horde control state widget'), -(17359, 0, '761', 'Battle for Gilneas - Mines Alliance control state widget'); - --- Areatrigger Scripts for buffs -DELETE FROM `areatrigger_scripts` WHERE `entry` IN (6266, 6265, 6267, 6269, 6268); -INSERT INTO `areatrigger_scripts` (`entry`,`ScriptName`) VALUES -(6265, 'at_battleground_buffs'), -(6266, 'at_battleground_buffs'), -(6267, 'at_battleground_buffs'), -(6268, 'at_battleground_buffs'), -(6269, 'at_battleground_buffs'); - -DELETE FROM `pool_template` WHERE `entry` BETWEEN @POOL_ID+0 AND @POOL_ID+2; -INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES -(@POOL_ID+0, 1, 'Battle for Gilneas - Mines Buff'), -(@POOL_ID+1, 1, 'Battle for Gilneas - Lighthouse Buff'), -(@POOL_ID+2, 1, 'Battle for Gilneas - Waterworks Buff'); - -DELETE FROM `pool_members` WHERE `poolSpawnId` BETWEEN @POOL_ID+0 AND @POOL_ID+2; -INSERT INTO `pool_members` (`type`, `spawnId`, `poolSpawnId`, `chance`, `description`) VALUES -(1, @OGUID+5, @POOL_ID+0, 0, 'Battle for Gilneas - Berserker Buff - Mines'), -(1, @OGUID+26, @POOL_ID+0, 0, 'Battle for Gilneas - Food Buff - Mines'), -(1, @OGUID+32, @POOL_ID+0, 0, 'Battle for Gilneas - Speed Buff - Mines'), - -(1, @OGUID+4, @POOL_ID+1, 0, 'Battle for Gilneas - Berserker Buff - Lighthouse'), -(1, @OGUID+30, @POOL_ID+1, 0, 'Battle for Gilneas - Food Buff - Lighthouse'), -(1, @OGUID+33, @POOL_ID+1, 0, 'Battle for Gilneas - Speed Buff - Lighthouse'), - -(1, @OGUID+8, @POOL_ID+2, 0, 'Battle for Gilneas - Berserker Buff - Waterworks'), -(1, @OGUID+31, @POOL_ID+2, 0, 'Battle for Gilneas - Food Buff - Waterworks'), -(1, @OGUID+28, @POOL_ID+2, 0, 'Battle for Gilneas - Speed Buff - Waterworks'); - -DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+5; -INSERT INTO `spawn_group_template` (`groupId`, `groupName`, `groupFlags`) VALUES -(@SPAWNGROUP+0, 'Battle for Gilneas - Mines - Horde Controlled (graveyard)', 0x20), -(@SPAWNGROUP+1, 'Battle for Gilneas - Mines - Alliance Controlled (graveyard)', 0x20), -(@SPAWNGROUP+2, 'Battle for Gilneas - Waterworks - Horde Controlled (graveyard)', 0x20), -(@SPAWNGROUP+3, 'Battle for Gilneas - Waterworks - Alliance Controlled (graveyard)', 0x20), -(@SPAWNGROUP+4, 'Battle for Gilneas - Lighthouse - Horde Controlled (graveyard)', 0x20), -(@SPAWNGROUP+5, 'Battle for Gilneas - Lighthouse - Alliance Controlled (graveyard)', 0x20); - -DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+5; -INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES -(@SPAWNGROUP+0, 0, @CGUID+334), -(@SPAWNGROUP+1, 0, @CGUID+500), -(@SPAWNGROUP+2, 0, @CGUID+335), -(@SPAWNGROUP+3, 0, @CGUID+501), -(@SPAWNGROUP+4, 0, @CGUID+502), -(@SPAWNGROUP+5, 0, @CGUID+55); - -DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=33 AND `SourceEntry` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+5; -INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES -(33, 0, @SPAWNGROUP+0, 0, 0, 11, 0, 8853, 4, 0, 0, 0, 0, '', 'Battle for Gilneas - Mines - Horde Controlled'), -(33, 0, @SPAWNGROUP+1, 0, 0, 11, 0, 8853, 5, 0, 0, 0, 0, '', 'Battle for Gilneas - Mines - Alliance Controlled'), -(33, 0, @SPAWNGROUP+2, 0, 0, 11, 0, 8852, 4, 0, 0, 0, 0, '', 'Battle for Gilneas - Waterworks - Horde Controlled'), -(33, 0, @SPAWNGROUP+3, 0, 0, 11, 0, 8852, 5, 0, 0, 0, 0, '', 'Battle for Gilneas - Waterworks - Alliance Controlled'), -(33, 0, @SPAWNGROUP+4, 0, 0, 11, 0, 8851, 4, 0, 0, 0, 0, '', 'Battle for Gilneas - Lighthouse - Horde Controlled'), -(33, 0, @SPAWNGROUP+5, 0, 0, 11, 0, 8851, 5, 0, 0, 0, 0, '', 'Battle for Gilneas - Lighthouse - Alliance Controlled'); - -DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+35; -INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES -(@OGUID+0, 207083, 761, 5449, 5453, '0', '0', 0, 851.224853515625, 1361.31494140625, 30.00773239135742187, 4.136432647705078125, 0, 0, -0.87881660461425781, 0.477159708738327026, 7200, 255, 1, 53989), -- Stove (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+1, 207082, 761, 5449, 5453, '0', '0', 0, 885.692138671875, 1375.1756591796875, 29.34804534912109375, 1.893678903579711914, 0, 0, 0.811573028564453125, 0.584250986576080322, 7200, 255, 1, 53989), -- Cauldron (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+2, 205495, 761, 5449, 5453, '0', '0', 0, 1395.9600830078125, 977.2569580078125, -13.7897014617919921, 6.265733242034912109, 0, 0, -0.00872611999511718, 0.999961912631988525, 7200, 255, 1, 53989), -- Horde Gate (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+3, 205496, 761, 5449, 5453, '0', '0', 0, 918.29864501953125, 1336.4896240234375, 20.45499992370605468, 2.827429771423339843, 0, 0, 0.987688064575195312, 0.156436234712600708, 7200, 255, 1, 53989), -- Alliance Gate (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+4, 180380, 761, 5449, 5453, '0', '0', 0, 1063.564208984375, 1308.9791259765625, 4.911691665649414062, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 90, 255, 1, 53989), -- Berserk Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+5, 180382, 761, 5449, 5453, '0', '0', 0, 1195.72998046875, 1020.29998779296875, 7.978740215301513671, 5.777040958404541015, 0, 0, -0.25037956237792968, 0.968147754669189453, 90, 255, 1, 53989), -- Berserk Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+6, 180147, 761, 5449, 5453, '0', '0', 0, 1111.4305419921875, 921.6163330078125, 30.07139015197753906, 5.567600727081298828, 0, 0, -0.35020732879638671, 0.936672210693359375, 90, 255, 1, 53989), -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+7, 180146, 761, 5449, 5453, '0', '0', 0, 966.4580078125, 1043.5699462890625, 13.14669990539550781, 0.907570242881774902, 0, 0, 0.438370704650878906, 0.898794233798980712, 90, 255, 1, 53989), -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+8, 180148, 761, 5449, 5453, '0', '0', 0, 990.2969970703125, 983.37298583984375, 12.98260021209716796, 4.555310726165771484, 0, 0, -0.76040554046630859, 0.649448513984680175, 90, 255, 1, 53989), -- Berserk Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+9, 267985, 761, 5449, 5453, '0', '0', 0, 933.6484375, 1427.4461669921875, 28.91886138916015625, 4.066620349884033203, 0, 0, -0.89493370056152343, 0.44619917869567871, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only01 (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+10, 267984, 761, 5449, 5453, '0', '0', 0, 1065.8585205078125, 1307.032470703125, 4.974267482757568359, 5.5065155029296875, 0, 0, -0.3786478042602539, 0.925540864467620849, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only02 (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+11, 205045, 761, 5449, 5453, '0', '0', 0, 1196.86083984375, 1022.99267578125, 8.256913185119628906, 2.617989301681518554, 0, 0, 0.965925216674804687, 0.258821308612823486, 7200, 255, 1, 53989), -- Cauldron (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+12, 205037, 761, 5449, 5453, '0', '0', 0, 926.920166015625, 1014.3675537109375, 19.86332321166992187, 0.226890549063682556, 0, 0, 0.113202095031738281, 0.993571996688842773, 7200, 255, 1, 53989), -- Fire (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+13, 205036, 761, 5449, 5453, '0', '0', 0, 927.24725341796875, 1015.525146484375, 19.00165557861328125, 2.783795118331909179, 0, 0, 0.984040260314941406, 0.177946031093597412, 7200, 255, 1, 53989), -- Stove (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+14, 205038, 761, 5449, 5453, '0', '0', 0, 927.7421875, 1016.9154052734375, 19.86332321166992187, 0.270525157451629638, 0, 0, 0.134850502014160156, 0.990865945816040039, 7200, 255, 1, 53989), -- Fire (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+15, 267983, 761, 5449, 5453, '0', '0', 0, 1066.7442626953125, 1307.72900390625, 4.978141307830810546, 4.476771354675292968, 0, 0, -0.78531646728515625, 0.619094550609588623, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only01 (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+16, 267985, 761, 5449, 5453, '0', '0', 0, 1015.02655029296875, 929.04248046875, 14.26296329498291015, 3.263772249221801757, 0, 0, -0.99813461303710937, 0.061051756143569946, 7200, 255, 1, 53989), -- Doodad_firewoodpile-indoor-only01 (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+17, 207177, 761, 5449, 5453, '0', '0', 0, 918.390625, 1336.640625, 27.42519950866699218, 2.844882726669311523, 0, 0, 0.989015579223632812, 0.147811368107795715, 7200, 255, 1, 53989), -- Alliance Door (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+18, 207178, 761, 5449, 5453, '0', '0', 0, 1395.970458984375, 977.09027099609375, 7.635970115661621093, 6.274459362030029296, 0, 0, -0.00436305999755859, 0.999990463256835937, 7200, 255, 1, 53989), -- Horde Gate (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+22, 228053, 761, 5449, 5452, '0', '0', 0, 1251.0086669921875, 958.26910400390625, 5.668474674224853515, 5.86425018310546875, 0, 0, -0.20793914794921875, 0.97814178466796875, 7200, 255, 1, 53989), -- Capture Point (Area: Mines - Difficulty: 0) CreateObject2 -(@OGUID+23, 228050, 761, 5449, 5452, '0', '0', 0, 1057.7396240234375, 1278.26220703125, 3.179371118545532226, 4.909808158874511718, 0, 0, -0.63397979736328125, 0.773349583148956298, 7200, 255, 1, 53989), -- Capture Point (Area: Mines - Difficulty: 0) CreateObject1 -(@OGUID+24, 228052, 761, 5449, 5451, '0', '0', 0, 980.03302001953125, 948.73785400390625, 12.73535633087158203, 5.877463817596435546, 0, 0, -0.20147228240966796, 0.979494214057922363, 7200, 255, 1, 53989), -- Capture Point (Area: Waterworks - Difficulty: 0) CreateObject2 -(@OGUID+26, 180145, 761, 5449, 5452, '0', '0', 0, 1195.72998046875, 1020.29998779296875, 7.978740215301513671, 5.777040958404541015, 0, 0, -0.25037956237792968, 0.968147754669189453, 90, 255, 1, 53989), -- Food Buff (Area: Mines - Difficulty: 0) CreateObject2 -(@OGUID+28, 180384, 761, 5449, 5453, '0', '0', 0, 990.2969970703125, 983.37298583984375, 12.98260021209716796, 4.555310726165771484, 0, 0, -0.76040554046630859, 0.649448513984680175, 90, 255, 1, 53989), -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@OGUID+30, 180144, 761, 5449, 5451, '0', '0', 0, 1063.564208984375, 1308.9791259765625, 4.911691665649414062, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 90, 255, 1, 53989), -- Food Buff (Area: Waterworks - Difficulty: 0) CreateObject1 -(@OGUID+31, 180383, 761, 5449, 5451, '0', '0', 0, 990.2969970703125, 983.37298583984375, 12.98260021209716796, 4.555310726165771484, 0, 0, -0.76040554046630859, 0.649448513984680175, 90, 255, 1, 53989), -- Food Buff (Area: Waterworks - Difficulty: 0) CreateObject2 -(@OGUID+32, 180381, 761, 5449, 5451, '0', '0', 0, 1195.72998046875, 1020.29998779296875, 7.978740215301513671, 5.777040958404541015, 0, 0, -0.25037956237792968, 0.968147754669189453, 90, 255, 1, 53989), -- Speed Buff (Area: Waterworks - Difficulty: 0) CreateObject1 -(@OGUID+33, 180379, 761, 5449, 5453, '0', '0', 0, 1063.564208984375, 1308.9791259765625, 4.911691665649414062, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 90, 255, 1, 0); -- Speed Buff (Area: Horde Landing - Difficulty: 0) CreateObject1 - -DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+35; -INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES -(@OGUID+0, 0, 0, 0.465614736080169677, 0.884987533092498779, 0, 0), -- Stove -(@OGUID+1, 0, 0, 0.465614736080169677, 0.884987533092498779, 0, 0), -- Cauldron -(@OGUID+9, 0, 0, -0.70710676908493041, 0.707106769084930419, 0, 0), -- Doodad_firewoodpile-indoor-only01 -(@OGUID+10, 0, 0, 0.911762058734893798, -0.41071885824203491, 0, 0), -- Doodad_firewoodpile-indoor-only02 -(@OGUID+11, 0, 0, -0.27563735842704772, 0.961261689662933349, 0, 0), -- Cauldron -(@OGUID+12, 0, 0, -0.17364829778671264, 0.984807729721069335, 0, 0), -- Fire -(@OGUID+13, 0, 0, -0.17364829778671264, 0.984807729721069335, 0, 0), -- Stove -(@OGUID+14, 0, 0, -0.17364829778671264, 0.984807729721069335, 0, 0), -- Fire -(@OGUID+15, 0, 0, 0.911762058734893798, -0.41071885824203491, 0, 0), -- Doodad_firewoodpile-indoor-only01 -(@OGUID+16, 0, 0, 0.927183866500854492, -0.37460660934448242, 0, 0); -- Doodad_firewoodpile-indoor-only01 - -DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+600; -INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES -(@CGUID+0, 14848, 761, 5449, 5453, '0', '0', 0, 0, 2, 1073.699951171875, 1166.6800537109375, 5.155783653259277343, 0.645771801471710205, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Herald (Area: Horde Landing - Difficulty: 0) CreateObject1 -(@CGUID+55, 13116, 761, 5449, 5451, '0', '0', 0, 0, 1, 1035.8800048828125, 1341.280029296875, 11.622833251953125, 4.415682792663574218, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) -(@CGUID+56, 13117, 761, 5449, 5451, '0', '0', 0, 0, 1, 1407.4300537109375, 977.114990234375, 7.525483608245849609, 3.141592741012573242, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual) -(@CGUID+57, 13116, 761, 5449, 5451, '0', '0', 0, 0, 1, 899.10198974609375, 1341.3699951171875, 27.65543365478515625, 6.038839340209960937, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual) -(@CGUID+334, 13117, 761, 5449, 5451, '0', '0', 0, 0, 1, 1252.3199462890625, 831.593994140625, 27.872833251953125, 1.48352980613708496, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) -(@CGUID+335, 13117, 761, 5449, 5451, '0', '0', 0, 0, 1, 886.45001220703125, 936.66802978515625, 24.44873428344726562, 0.453785598278045654, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53989), -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) - -(@CGUID+500, 13116, 761, 5449, 5451, '0', '0', 0, 0, 1, 1252.3199462890625, 831.593994140625, 27.872833251953125, 1.48352980613708496, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 0), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) -(@CGUID+501, 13116, 761, 5449, 5451, '0', '0', 0, 0, 1, 886.45001220703125, 936.66802978515625, 24.44873428344726562, 0.453785598278045654, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 0), -- Alliance Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) -(@CGUID+502, 13117, 761, 5449, 5451, '0', '0', 0, 0, 1, 1035.8800048828125, 1341.280029296875, 11.622833251953125, 4.415682792663574218, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 0); -- Horde Spirit Guide (Area: Waterworks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost) diff --git a/sql/updates/world/cata_classic/2024_05_28_19_world_2024_05_22_04_world.sql b/sql/updates/world/cata_classic/2024_05_28_19_world_2024_05_22_04_world.sql new file mode 100644 index 00000000000..be7cf02d729 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_19_world_2024_05_22_04_world.sql @@ -0,0 +1,4 @@ +INSERT INTO `quest_template_addon` (`ID`, `ProvidedItemCount`) +(SELECT qt.`ID`, 1 FROM `quest_template` qt +LEFT JOIN `quest_template_addon` qta ON qta.`ID` = qt.`ID` +WHERE qt.`StartItem`!=0 AND qta.`ProvidedItemCount` IS NULL); diff --git a/sql/updates/world/cata_classic/2024_05_28_20_2024_04_02_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_20_2024_04_02_00_world.sql deleted file mode 100644 index a40494c0ea4..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_20_2024_04_02_00_world.sql +++ /dev/null @@ -1,17 +0,0 @@ -DELIMITER ;; -CREATE PROCEDURE waypoint_path_velocity_2024_04_02_00() BEGIN - IF NOT EXISTS (SELECT * FROM `information_schema`.`columns` WHERE `table_schema`=SCHEMA() AND `table_name`='waypoint_path' AND `column_name`='Velocity') THEN - - ALTER TABLE `waypoint_path` - ADD COLUMN `Velocity` float NULL DEFAULT NULL AFTER `Flags`; - - END IF; -END;; - -DELIMITER ; -CALL waypoint_path_velocity_2024_04_02_00(); - -DROP PROCEDURE IF EXISTS waypoint_path_velocity_2024_04_02_00; - -UPDATE `waypoint_path` SET `Velocity`=4.0 WHERE `PathId`=9301100; -UPDATE `waypoint_path` SET `Velocity`=35.0 WHERE `PathId` IN(11432300, 11432301, 11432302, 11432303, 11432304); diff --git a/sql/updates/world/cata_classic/2024_05_28_20_world_2024_05_22_05_world.sql b/sql/updates/world/cata_classic/2024_05_28_20_world_2024_05_22_05_world.sql new file mode 100644 index 00000000000..e16c42424e8 --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_20_world_2024_05_22_05_world.sql @@ -0,0 +1,329 @@ +-- Creature templates +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry` IN (32600, 32597); -- Dalaran Visitor +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry` IN (32596, 32598, 32601); -- Dalaran Visitor +UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29668, 29673); -- Arathi Basin Portal +UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29669, 29674); -- Alterac Valley Portal +UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29670, 29675); -- Eye of the Storm Portal +UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (34952, 34953); -- Isle of Conquest Portal +UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32724; -- Warmage Mumplina +UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32722; -- Warmage Lukems +UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=27870; -- Wild Flower +UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29672, 29667); -- Warsong Gulch Portal +UPDATE `creature_template` SET `npcflag`=281474976710659 WHERE `entry`=49750; -- Warchief's Herald +UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378 WHERE `entry`=37859; -- Ignis the Furnace Master Image +UPDATE `creature_template` SET `unit_flags3`=67108864 WHERE `entry`=31236; -- Dappled Stag +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31796; -- Cosmetic Worg Pup +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31742; -- Cosmetic Prairie Dog +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31795; -- Cosmetic Smolderweb Hatchling +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31740; -- Cosmetic Turtle +UPDATE `creature_template` SET `unit_flags3`=67108864 WHERE `entry`=31233; -- Sinewy Wolf +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31741; -- Cosmetic Rabbit +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29766; -- Cosmetic Totem Alliance Water +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31735; -- Cosmetic Pig +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29764; -- Cosmetic Totem Alliance Earth +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31732; -- Cosmetic Rat +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29765; -- Cosmetic Totem Alliance Fire +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31733; -- Cosmetic Cockroach +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31730; -- Cosmetic Frog +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29763; -- Cosmetic Totem Alliance Air +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31719; -- Cosmetic Frenzy +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31728; -- Cosmetic Cat Set 1/2 +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31729; -- Cosmetic Cat Set 2/2 +UPDATE `creature_template` SET `unit_flags`=256 WHERE `entry`=18927; -- Human Commoner +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31714; -- Cosmetic Ribbon Snake +UPDATE `creature_template` SET `unit_flags`=256 WHERE `entry`=20102; -- Goblin Commoner +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31710; -- Cosmetic Black Kingsnake +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31711; -- Cosmetic Brown Snake +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29782; -- Cosmetic Mechanical Sheep +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31709; -- Cosmetic Albino Snake +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29780; -- Cosmetic Mechanical Chicken +UPDATE `creature_template` SET `unit_flags`=33554432 WHERE `entry`=29812; -- [DND] Dalaran Toy Store Plane String Bunny +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29781; -- Cosmetic Mechanical Squirrel +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=28160; -- Archmage Pentarus +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29777; -- Cosmetic Mechanical Gorilla +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29784; -- Cosmetic Clockwork Robot (Blue) +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29785; -- Cosmetic Clockwork Robot (Red) +UPDATE `creature_template` SET `unit_flags`=33554432 WHERE `entry`=29807; -- [DND] Dalaran Toy Store Plane String Hook +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29783; -- Cosmetic Clockwork Robot +UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=32441; -- Underbelly Croc +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=31229; -- Ancient Watcher +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=31400; -- Azure Front Channel Stalker +UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=30352; -- Skybreaker Marine +UPDATE `creature_template` SET `unit_flags3`=335544320 WHERE `entry`=32435; -- Vern +UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=33778; -- Tournament Hippogryph +UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=30755; -- Kor'kron Reaver + +UPDATE `creature_template_addon` SET `visibilityDistanceType`=0 WHERE `entry`=16128; -- 16128 (Rhonin) +UPDATE `creature_template_addon` SET `visibilityDistanceType`=0 WHERE `entry`=28332; -- 28332 (Generic Trigger LAB (Large AOI)) + +-- Difficulties +UPDATE `creature_template_difficulty` SET `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (31402,32748,19481,61081,96773,96772,32652,32606,73516,73517,34252,35498,28990,28997,31581,31582,37941,35495,33963,35607,29535,50152,50153,50150,29538,50144,29537,36776,50142,50148,50147,31756,23033,35826,31085,31081,31080,174271,50171,50163,29523,29494,28994,28992,35500,50174,32265,35497,50158,50156,50157,29497,50160,31580,47581,29496,28991,31579,35494,35594,37942,33964,32747,29528,28958,32749,30094,51512,29703,29491,32744,32745,32322,32743,29548,29527,32425,47579,28995,34330,32466,30885,28956,36774,31768,29715,32337,20102,29499,29529,28993,31758,32516,69973,32428,32339,32746,29702,31757,32336,69971,29495,28160,31755,23472,25058,29802,32328,30095,29547,69321,69318,15732,32342,32470,15730,40212,35496)); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29778 AND `DifficultyID`=0); -- Scout Nisstina +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (32600,32596,32598,32597,32601)); -- Dalaran Visitor +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32709 AND `DifficultyID`=0); -- Hunaka Greenhoof +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32697 AND `DifficultyID`=0); -- Dak'hal the Black +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29668,29673)); -- Arathi Basin Portal +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29669,29674)); -- Alterac Valley Portal +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29670,29675)); -- Eye of the Storm Portal +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (34952,34953)); -- Isle of Conquest Portal +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32631 AND `DifficultyID`=0); -- Alfred Copperworth +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32737 AND `DifficultyID`=0); -- Archmage John Nicholas +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32741 AND `DifficultyID`=0); -- Conjurer Weinhaus +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32734 AND `DifficultyID`=0); -- Arcanist Ginsberg +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32735 AND `DifficultyID`=0); -- Alchemist Burroughs +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32738 AND `DifficultyID`=0); -- Kat Sunflower +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32724 AND `DifficultyID`=0); -- Warmage Mumplina +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32722 AND `DifficultyID`=0); -- Warmage Lukems +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32287 AND `DifficultyID`=0); -- Archmage Alvareaux +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32843 AND `DifficultyID`=0); -- Tabea +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32844 AND `DifficultyID`=0); -- Apollo +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=16128 AND `DifficultyID`=0); -- Rhonin +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30117 AND `DifficultyID`=0); -- Archmage Modera +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30115 AND `DifficultyID`=0); -- Vereesa Windrunner +UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=52649 WHERE (`Entry`=30116 AND `DifficultyID`=0); -- Archmage Aethas Sunreaver +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32733 AND `DifficultyID`=0); -- Joboba Mezbreaker +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32728 AND `DifficultyID`=0); -- Illusionist Karina +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28699 AND `DifficultyID`=0); -- Charles Worth +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28726 AND `DifficultyID`=0); -- Dominique Stefano +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29510 AND `DifficultyID`=0); -- Linna Bruder +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29508 AND `DifficultyID`=0); -- Andellion +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29509 AND `DifficultyID`=0); -- Namha Moonwater +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28700 AND `DifficultyID`=0); -- Diane Cannings +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28696 AND `DifficultyID`=0); -- Derik Marks +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29507 AND `DifficultyID`=0); -- Manfred Staller +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32651 AND `DifficultyID`=0); -- Wounded Dalaran Shield Guard +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29640 AND `DifficultyID`=0); -- Josie Birch +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28706 AND `DifficultyID`=0); -- Olisarra the Kind +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32653 AND `DifficultyID`=0); -- Wounded Dalaran Serpent +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32650 AND `DifficultyID`=0); -- Wounded Dalaran Protector +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29511 AND `DifficultyID`=0); -- Lalla Brightweave +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29628 AND `DifficultyID`=0); -- Angelique Butler +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29512 AND `DifficultyID`=0); -- Ainderu Summerleaf +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28718 AND `DifficultyID`=0); -- Ranid Glowergold +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32684 AND `DifficultyID`=0); -- Mona Everspring +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32677 AND `DifficultyID`=0); -- Whirt the All-Knowing +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32515 AND `DifficultyID`=0); -- Braeg Stoutbeard +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28721 AND `DifficultyID`=0); -- Tiffany Cartier +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32172 AND `DifficultyID`=0); -- Harold Winston +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28722 AND `DifficultyID`=0); -- Bryan Landers +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29514 AND `DifficultyID`=0); -- Findle Whistlesteam +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28697 AND `DifficultyID`=0); -- Timofey Oshenko +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29929 AND `DifficultyID`=0); -- Mechano-Hog +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712, `VerifiedBuild`=52649 WHERE (`Entry`=40160 AND `DifficultyID`=0); -- Frozo the Renowned +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29513 AND `DifficultyID`=0); -- Didi the Wrench +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28725 AND `DifficultyID`=0); -- Patricia Egan +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28698 AND `DifficultyID`=0); -- Jedidiah Handers +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28728 AND `DifficultyID`=0); -- Dorian Fines +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32706 AND `DifficultyID`=0); -- Saedelin Whitedawn +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=93432 AND `DifficultyID`=0); -- Nethaera's Light +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28703 AND `DifficultyID`=0); -- Linzy Blackbolt +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=27870 AND `DifficultyID`=0); -- Wild Flower +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=26043 AND `DifficultyID`=0); -- Steam Burst +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29506 AND `DifficultyID`=0); -- Orland Schaeffer +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28694 AND `DifficultyID`=0); -- Alard Schmied +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32451 AND `DifficultyID`=0); -- Dalaran Citizen +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28716 AND `DifficultyID`=0); -- Palja Amboss +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28675 AND `DifficultyID`=0); -- Teller Rames +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29282 AND `DifficultyID`=0); -- Paymaster Alstein +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28676 AND `DifficultyID`=0); -- Teller Althiellis +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28677 AND `DifficultyID`=0); -- Teller Hanners +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29672,29667)); -- Warsong Gulch Portal +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29657 AND `DifficultyID`=0); -- High Arcanist Savor +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=50149 AND `DifficultyID`=0); -- Vinsun +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29665 AND `DifficultyID`=0); -- Pazik "The Pick" Prylock +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=37780 AND `DifficultyID`=0); -- Dark Ranger Vorel +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32249 AND `DifficultyID`=0); -- Worg Pup +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268697600, `VerifiedBuild`=52649 WHERE (`Entry`=32664 AND `DifficultyID`=0); -- Segacedi +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32170 AND `DifficultyID`=0); -- Magister Surdiel +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31886 AND `DifficultyID`=0); -- Nargut +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32252 AND `DifficultyID`=0); -- Wanathan +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31557 AND `DifficultyID`=0); -- Uda the Beast +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32251 AND `DifficultyID`=0); -- Shokavis +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=36670 AND `DifficultyID`=0); -- Magister Hathorel +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32420 AND `DifficultyID`=0); -- Mimbihi +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32415 AND `DifficultyID`=0); -- Hamaka +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31885 AND `DifficultyID`=0); -- Rhukah +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32253 AND `DifficultyID`=0); -- Kyunghee +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32419 AND `DifficultyID`=0); -- Umbiwa +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32412 AND `DifficultyID`=0); -- Mato +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32418 AND `DifficultyID`=0); -- Abohba +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29631 AND `DifficultyID`=0); -- Awilo Lon'gomba +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31031 AND `DifficultyID`=0); -- Misensi +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32692 AND `DifficultyID`=0); -- Arcanist Alec +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32687 AND `DifficultyID`=0); -- Linda Ann Kastinglow +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31238 AND `DifficultyID`=0); -- Hira Snowdawn +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28674 AND `DifficultyID`=0); -- Aludane Whitecloud +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32732 AND `DifficultyID`=0); -- Dorfus Alphamage +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32730 AND `DifficultyID`=0); -- Goldlilly Gleamingfell +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31439 AND `DifficultyID`=0); -- Archmage Timear +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29325 AND `DifficultyID`=0); -- Torgo the Younger +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29660 AND `DifficultyID`=0); -- Grand Marauder Sai +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32169 AND `DifficultyID`=0); -- Arcanist Braedin +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32424 AND `DifficultyID`=0); -- Laire Brewgold +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30608 AND `DifficultyID`=0); -- Paymaster Amadi +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30606 AND `DifficultyID`=0); -- Paymaster Chang +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30607 AND `DifficultyID`=0); -- Teller Plushner +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30604 AND `DifficultyID`=0); -- Teller Almeida +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30605 AND `DifficultyID`=0); -- Teller Gee +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32426 AND `DifficultyID`=0); -- Coira Longrifle +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28686 AND `DifficultyID`=0); -- Caliel Brightwillow +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=20735 AND `DifficultyID`=0); -- Archmage Lan'dalock +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28692 AND `DifficultyID`=0); -- "Red" Jack Findle +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=37776 AND `DifficultyID`=0); -- Apprentice Nelphi +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=37859 AND `DifficultyID`=0); -- Ignis the Furnace Master Image +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32715 AND `DifficultyID`=0); -- Sorrow +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28691 AND `DifficultyID`=0); -- Susana Averoy +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=50155 AND `DifficultyID`=0); -- Naseev +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=31517 AND `DifficultyID`=0); -- Dalaran Fountain Invis Stalker +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28705 AND `DifficultyID`=0); -- Katherine Lee +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31032 AND `DifficultyID`=0); -- Derek Odds +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32416 AND `DifficultyID`=0); -- Stefen Cotter +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28682 AND `DifficultyID`=0); -- Inzi Charmlight +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30490 AND `DifficultyID`=0); -- Rin Duoctane +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29530 AND `DifficultyID`=0); -- Binzik Goldbook +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32450 AND `DifficultyID`=0); -- Badluck +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=35790 AND `DifficultyID`=0); -- Usuri Brightcoin +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28715 AND `DifficultyID`=0); -- Endora Moorehead +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28742 AND `DifficultyID`=0); -- Marcia Chase +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32514 AND `DifficultyID`=0); -- Vanessa Sellers +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29636 AND `DifficultyID`=0); -- Hagatha Moorehead +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32421 AND `DifficultyID`=0); -- Marcella Bloom +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=36669 AND `DifficultyID`=0); -- Arcanist Tybalin +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32413 AND `DifficultyID`=0); -- Isirami Fairwind +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=15760 AND `DifficultyID`=0); -- Winter Reveler +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29505 AND `DifficultyID`=0); -- Imindril Spearsong +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31236 AND `DifficultyID`=0); -- Dappled Stag +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32702 AND `DifficultyID`=0); -- Drog Skullbreaker +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28776 AND `DifficultyID`=0); -- Elizabeth Ross +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31796 AND `DifficultyID`=0); -- Cosmetic Worg Pup +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28774 AND `DifficultyID`=0); -- Andrew Matthews +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29532 AND `DifficultyID`=0); -- Ajay Green +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32693 AND `DifficultyID`=0); -- Sabriana Sorrowgaze +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31742 AND `DifficultyID`=0); -- Cosmetic Prairie Dog +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31795 AND `DifficultyID`=0); -- Cosmetic Smolderweb Hatchling +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33031 AND `DifficultyID`=0); -- Sebastian Bower +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32690 AND `DifficultyID`=0); -- Bitty Frostflinger +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28708 AND `DifficultyID`=0); -- Kizi Copperclip +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32691 AND `DifficultyID`=0); -- Magus Fansy Goodbringer +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32679 AND `DifficultyID`=0); -- Darthalia Ebonscorch +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31740 AND `DifficultyID`=0); -- Cosmetic Turtle +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31233 AND `DifficultyID`=0); -- Sinewy Wolf +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29478 AND `DifficultyID`=0); -- Jepetto Joybuzz +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31741 AND `DifficultyID`=0); -- Cosmetic Rabbit +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32689 AND `DifficultyID`=0); -- Adorean Lew +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29476 AND `DifficultyID`=0); -- Dagna Flintlock +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31852 AND `DifficultyID`=0); -- Wooly Mammoth +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33027 AND `DifficultyID`=0); -- Jessica Sellers +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32686 AND `DifficultyID`=0); -- Tomas Riogain +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=36851 AND `DifficultyID`=0); -- Aquanos +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28704 AND `DifficultyID`=0); -- Dorothy Egan +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29716 AND `DifficultyID`=0); -- Clockwork Assistant +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28723 AND `DifficultyID`=0); -- Larana Drome +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29766 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Water +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28702 AND `DifficultyID`=0); -- Professor Pallin +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28690 AND `DifficultyID`=0); -- Tassia Whisperglen +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32685 AND `DifficultyID`=0); -- Kitz Proudbreeze +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32216 AND `DifficultyID`=0); -- Mei Francis +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31735 AND `DifficultyID`=0); -- Cosmetic Pig +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29764 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Earth +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32683 AND `DifficultyID`=0); -- Grezla the Hag +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31732 AND `DifficultyID`=0); -- Cosmetic Rat +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29765 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Fire +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=36856 AND `DifficultyID`=0); -- Shandy Glossgleam +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32680 AND `DifficultyID`=0); -- Fabioso the Fabulous +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31733 AND `DifficultyID`=0); -- Cosmetic Cockroach +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32681 AND `DifficultyID`=0); -- The Magnificent Merleaux +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31730 AND `DifficultyID`=0); -- Cosmetic Frog +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29763 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Air +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32678 AND `DifficultyID`=0); -- Emeline Fizzlefry +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=31719 AND `DifficultyID`=0); -- Cosmetic Frenzy +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28951 AND `DifficultyID`=0); -- Breanni +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31728 AND `DifficultyID`=0); -- Cosmetic Cat Set 1/2 +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=31769 AND `DifficultyID`=0); -- Stabled Hunter Pet +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32676 AND `DifficultyID`=0); -- Grindle Firespark +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31729 AND `DifficultyID`=0); -- Cosmetic Cat Set 2/2 +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32726 AND `DifficultyID`=0); -- The Chooch +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32727 AND `DifficultyID`=0); -- Natalie Tootiblare +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32675 AND `DifficultyID`=0); -- Babagahnoosh the Grumpy +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29261 AND `DifficultyID`=0); -- Windle Sparkshine +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32668 AND `DifficultyID`=0); -- Emi +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32669 AND `DifficultyID`=0); -- Colin +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28687 AND `DifficultyID`=0); -- Amisi Azuregaze +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31136 AND `DifficultyID`=0); -- High Warlord Uro +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32731 AND `DifficultyID`=0); -- Metopious Loreseeker +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28685 AND `DifficultyID`=0); -- Narisa Redgold +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32729 AND `DifficultyID`=0); -- Lofwyr Le'Fleur +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31714 AND `DifficultyID`=0); -- Cosmetic Ribbon Snake +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28701 AND `DifficultyID`=0); -- Timothy Jones +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32411 AND `DifficultyID`=0); -- Afsaneh Asrar +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30137 AND `DifficultyID`=0); -- Shifty Vickers +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32207 AND `DifficultyID`=0); -- Armored Brown Bear +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29641 AND `DifficultyID`=0); -- Theresa Wolf +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31710 AND `DifficultyID`=0); -- Cosmetic Black Kingsnake +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31711 AND `DifficultyID`=0); -- Cosmetic Brown Snake +UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=52649 WHERE (`Entry`=34244 AND `DifficultyID`=0); -- Jean Pierre Poulain +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29782 AND `DifficultyID`=0); -- Cosmetic Mechanical Sheep +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31709 AND `DifficultyID`=0); -- Cosmetic Albino Snake +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29780 AND `DifficultyID`=0); -- Cosmetic Mechanical Chicken +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28727 AND `DifficultyID`=0); -- Edward Egan +UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=52649 WHERE (`Entry`=34984 AND `DifficultyID`=0); -- World Trigger (Not Floating) +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=29812 AND `DifficultyID`=0); -- [DND] Dalaran Toy Store Plane String Bunny +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29781 AND `DifficultyID`=0); -- Cosmetic Mechanical Squirrel +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28693 AND `DifficultyID`=0); -- Enchanter Nalthanis +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32403 AND `DifficultyID`=0); -- Sandra Bartan +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33422 AND `DifficultyID`=0); -- Unbound Seer +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32334 AND `DifficultyID`=0); -- Nixi Fireclaw +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29777 AND `DifficultyID`=0); -- Cosmetic Mechanical Gorilla +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29493 AND `DifficultyID`=0); -- Jarold Puller +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29784 AND `DifficultyID`=0); -- Cosmetic Clockwork Robot (Blue) +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29785 AND `DifficultyID`=0); -- Cosmetic Clockwork Robot (Red) +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29049 AND `DifficultyID`=0); -- Arille Azuregaze +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=29807 AND `DifficultyID`=0); -- [DND] Dalaran Toy Store Plane String Hook +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28714 AND `DifficultyID`=0); -- Ildine Sorrowspear +UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29783 AND `DifficultyID`=0); -- Cosmetic Clockwork Robot +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31228 AND `DifficultyID`=0); -- Grove Walker +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30104 AND `DifficultyID`=0); -- Adamman the Trader +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33026 AND `DifficultyID`=0); -- Sarah Brady +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=52649 WHERE (`Entry`=32441 AND `DifficultyID`=0); -- Underbelly Croc +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31229 AND `DifficultyID`=0); -- Ancient Watcher +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=31400 AND `DifficultyID`=0); -- Azure Front Channel Stalker +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32688 AND `DifficultyID`=0); -- Archmage Tenaj +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30352 AND `DifficultyID`=0); -- Skybreaker Marine +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=27047 AND `DifficultyID`=0); -- Invisible Stalker (Floating Only) +UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368, `VerifiedBuild`=52649 WHERE (`Entry`=31689 AND `DifficultyID`=0); -- Gnome Diver +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30726 AND `DifficultyID`=0); -- Archivist Betha +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=31643 AND `DifficultyID`=0); -- Dalaran Well Teleport Bunny +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28707 AND `DifficultyID`=0); -- Angelo Pescatore +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32435 AND `DifficultyID`=0); -- Vern +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33778 AND `DifficultyID`=0); -- Tournament Hippogryph +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28989 AND `DifficultyID`=0); -- Aemara +UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=52649 WHERE (`Entry`=25171 AND `DifficultyID`=0); -- Invisible Stalker (Scale x0.5) +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30755 AND `DifficultyID`=0); -- Kor'kron Reaver +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29254 AND `DifficultyID`=0); -- Silver Covenant Guardian Mage +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29714 AND `DifficultyID`=0); -- Lucian Trias +UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=28332 AND `DifficultyID`=0); -- Generic Trigger LAB (Large AOI) +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29156 AND `DifficultyID`=0); -- Archmage Celindra +UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29255 AND `DifficultyID`=0); -- Sunreaver Guardian Mage + +DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`!=0 AND `Entry` IN (29778,32600,32596,32598,32597,32601,32709,32697,29668,29673,29669,29674,29670,29675,34952,34953,32631,32737,32741,32734,32735,32738,32724,32722,32287,32843,32844,16128,30117,30115,30116,32733,32728,28699,28726,29510,29508,29509,28700,28696,29507,32651,29640,28706,32653,32650,29511,29628,29512,28718,32684,32677,32515,28721,32172,28722,29514,28697,29929,40160,29513,28725,28698,28728,32706,93432,28703,27870,26043,29506,28694,32451,28716,28675,29282,28676,28677,29672,29667,29657,50149,29665,37780,32249,32664,32170,31886,32252,31557,32251,36670,32420,32415,31885,32253,32419,32412,32418,29631,31031,32692,32687,31238,28674,32732,32730,31439,29325,29660,32169,32424,30608,30606,30607,30604,30605,32426,28686,20735,28692,37776,37859,32715,28691,50155,31517,28705,31032,32416,28682,30490,29530,32450,35790,28715,28742,32514,29636,32421,36669,32413,15760,29505,31236,32702,28776,31796,28774,29532,32693,31742,31795,33031,32690,28708,32691,32679,31740,31233,29478,31741,32689,29476,31852,33027,32686,36851,28704,29716,28723,29766,28702,28690,32685,32216,31735,29764,32683,31732,29765,36856,32680,31733,32681,31730,29763,32678,31719,28951,31728,31769,32676,31729,32726,32727,32675,29261,32668,32669,28687,31136,32731,28685,32729,31714,28701,32411,30137,32207,29641,31710,31711,34244,29782,31709,29780,28727,34984,29812,29781,28693,32403,33422,32334,29777,29493,29784,29785,29049,29807,28714,29783,31228,30104,33026,32441,31229,31400,32688,30352,27047,31689,30726,31643,28707,32435,33778,28989,25171,30755,29254,29714,28332,29156,29255,31402,32748,19481,61081,96773,96772,32652,32606,73516,73517,34252,35498,28990,28997,31581,31582,37941,35495,33963,35607,29535,50152,50153,50150,29538,50144,29537,36776,50142,50148,50147,31756,23033,35826,31085,31081,31080,174271,50171,50163,29523,29494,28994,28992,35500,50174,32265,35497,50158,50156,50157,29497,50160,31580,47581,29496,28991,31579,35494,35594,37942,33964,32747,29528,28958,32749,30094,51512,29703,29491,32744,32745,32322,32743,29548,29527,32425,47579,28995,34330,32466,30885,28956,36774,31768,29715,32337,20102,29499,29529,28993,31758,32516,69973,32428,32339,32746,29702,31757,32336,69971,29495,28160,31755,23472,25058,29802,32328,30095,29547,69321,69318,15732,32342,32470,15730,40212,35496)); + +DELETE FROM `creature_questitem` WHERE `CreatureEntry`=36776 AND `DifficultyID`=1; + +-- Models +UPDATE `creature_model_info` SET `VerifiedBuild`=52649 WHERE `DisplayID` IN (25195, 26525, 17476, 28183, 28181, 26495, 26484, 26499, 29743, 28205, 28119, 28174, 28177, 28173, 28172, 19284, 28178, 27944, 27949, 27886, 28317, 52602, 16024, 26771, 28222, 26770, 28171, 28166, 23337, 24916, 25615, 25649, 26377, 26336, 26335, 25616, 25612, 26337, 28124, 26398, 25622, 28125, 5966, 28123, 26378, 26376, 28152, 28145, 28000, 25645, 27799, 25646, 26374, 25613, 25871, 46947, 51414, 31713, 25648, 25614, 25651, 28189, 61133, 25619, 24897, 24898, 24895, 24890, 23501, 26338, 25611, 29145, 29833, 25876, 25637, 25881, 25596, 26103, 25597, 25598, 26503, 26494, 27560, 27557, 30841, 26072, 26413, 29831, 28986, 26445, 26496, 36907, 36906, 36904, 36898, 26444, 26417, 30686, 36900, 26443, 30439, 9563, 12200, 36899, 27801, 26501, 29744, 36905, 36903, 26074, 18793, 18785, 837, 26073, 18805, 18804, 22003, 27853, 27616, 27852, 28680, 27961, 27957, 27019, 27854, 27960, 21270, 27955, 27959, 26394, 27448, 30042, 28162, 28155, 27585, 27524, 27587, 25595, 21272, 28170, 28168, 27215, 27592, 26138, 27217, 26502, 26414, 27800, 27963, 27161, 27159, 27160, 27157, 27158, 27965, 27465, 25604, 27216, 36893, 19744, 36756, 26321, 25609, 26309, 25878, 30764, 29834, 36894, 30807, 17200, 29835, 28191, 25608, 36882, 36879, 36881, 36883, 26312, 25621, 27449, 36880, 27958, 25602, 27556, 27068, 26372, 35705, 29921, 25636, 26311, 25655, 27999, 26397, 25877, 27962, 28755, 27559, 27956, 29832, 30842, 28987, 26339, 28204, 10957, 23167, 28201, 25674, 27719, 25673, 19339, 26373, 28163, 24607, 28160, 28161, 28147, 27883, 24235, 18800, 26396, 28159, 27244, 25807, 28433, 28154, 30415, 25620, 26442, 25647, 28207, 26521, 26759, 25618, 25607, 28153, 27822, 37403, 27680, 26437, 26518, 25879, 28150, 28199, 26519, 30358, 28148, 3233, 28202, 28149, 26517, 28146, 17170, 27918, 28194, 25791, 11709, 26330, 26997, 28144, 5555, 28164, 28165, 28143, 26395, 26078, 28208, 35704, 25594, 27972, 25605, 27398, 27509, 26070, 25806, 30310, 28169, 20833, 18801, 25603, 26441, 28167, 26440, 2954, 26075, 27954, 19342, 26779, 27821, 27782, 1206, 2957, 29132, 26526, 26313, 2955, 802, 27334, 7920, 25650, 28006, 26465, 26532, 25610, 27952, 28618, 28203, 26438, 2710, 27914, 26464, 26310, 25166, 27912, 26524, 26307, 26530, 26531, 25882, 26570, 25635, 26547, 26998, 16925, 26557, 27766, 1988, 26766, 28432, 833, 27211, 47456, 47453, 8811, 17612, 28156, 27331, 27657, 27287, 13349, 20763, 27930, 22471, 25875, 17188, 27329, 29076, 26068, 27915, 25947, 29836, 26071); +UPDATE `creature_model_info` SET `BoundingRadius`=0.425056040287017822, `CombatReach`=0.300000011920928955, `VerifiedBuild`=52649 WHERE `DisplayID`=27718; +UPDATE `creature_model_info` SET `BoundingRadius`=0.25, `CombatReach`=0.25, `VerifiedBuild`=52649 WHERE `DisplayID`=16259; + +-- Gameobject templates +UPDATE `gameobject_template` SET `VerifiedBuild`=52649 WHERE `entry` IN (194019, 191665, 191959, 193174, 192197, 193578, 191997, 191684, 192872, 201936, 192843, 193786, 192070, 194939, 278457, 191939, 191915, 191928, 192097, 191733, 192095, 191901, 191903, 200297, 191440, 193785, 192207, 191918, 191912, 193932, 193627, 192083, 191462, 191466, 191889, 191894, 191475, 191029, 193929, 192099, 192109, 192856, 192498, 192697, 193089, 191768, 192113, 194942, 193902, 192219, 192216, 192893, 191676, 191929, 191988, 191895, 191941, 192093, 178435, 180797, 195427, 193787, 193180, 194940, 191940, 193071, 192221, 191951, 192089, 191913, 191934, 193918, 192823, 191677, 194018, 192854, 208317, 192117, 194943, 193898, 192214, 193173, 191916, 192088, 191910, 193924, 193624, 192090, 191946, 191980, 191899, 191468, 191482, 201301, 192839, 191230, 178429, 191009, 193935, 194147, 191935, 191998, 193930, 193928, 193951, 178434, 193949, 191680, 193019, 192069, 192628, 193178, 193177, 191948, 192205, 191909, 193912, 191897, 191904, 191479, 180798, 191943, 201935, 200296, 192211, 192200, 191735, 191919, 191931, 193085, 191983, 191465, 191900, 191896, 191478, 180799, 201300, 192713, 192847, 192004, 191681, 191965, 192210, 192199, 193175, 191953, 180844, 191932, 193931, 191993, 191992, 191473, 191469, 192827, 192845, 178746, 191886, 193179, 193897, 192208, 193936, 208316, 193927, 192851, 193082, 193911, 191892, 192084, 192818, 192651, 192086, 201934, 192887, 192852, 195428, 192112, 192116, 192218, 192059, 192010, 191911, 191994, 191995, 193914, 191472, 191891, 192098, 192828, 192840, 266869, 191955, 192002, 192202, 214500, 193626, 192096, 191687, 193919, 191974, 191463, 191481, 193189, 187567, 194021, 193205, 192848, 193782, 195533, 191958, 194941, 192212, 190960, 193921, 191927, 278574, 191986, 191461, 191683, 191471, 193926, 192853, 192824, 192233, 195532, 193783, 193088, 191949, 194945, 191966, 193899, 191734, 193987, 192091, 191678, 193081, 191991, 191893, 191476, 191229, 191682, 192227, 194020, 184633, 192115, 192209, 192213, 192103, 191674, 193915, 191984, 191981, 193913, 191888, 191467, 192085, 191679, 192068, 187194, 192228, 192846, 192855, 192629, 192003, 193781, 193901, 192223, 191942, 193922, 192844, 192841, 191444, 193202, 192820, 193942, 194938, 192892, 193900, 193086, 192196, 192094, 193083, 191887, 192836, 192850, 191956, 192882, 193904, 194011, 192849, 194944, 193903, 193934, 191675, 191917, 187299, 191732, 191987, 191947, 191999, 191890, 191474, 191688, 201299, 192092, 192838, 191030, 192110, 192234, 188215, 193784, 194937, 193896, 193176, 192204, 191924, 191975, 193422, 192111, 202443, 192230, 191731, 192118, 192119, 192222, 193625, 191990, 193172, 191902, 191464, 191477, 191445, 191954, 192825, 191952, 179976, 192087, 192229, 194012, 191950, 192102, 192224, 192217, 192201, 192203, 193925, 191925, 191933, 193916, 193084, 193910, 191989, 193920, 193423, 191957, 193214, 192232, 191769, 191964, 194946, 193402, 192215, 192206, 193923, 191926, 191686, 193080, 193917, 191898, 191480, 194115, 193909, 180796, 191741, 201855, 202616, 192225, 191960, 192114, 192220, 193087, 191914, 193933, 191930, 193950, 192198, 191470, 193190, 191945, 192067, 191028, 193610, 192231); +UPDATE `gameobject_template` SET `ContentTuningId`=196, `VerifiedBuild`=52649 WHERE `entry`=192869; -- LAVA BLAST - by Pyroco + +UPDATE `gameobject_template_addon` SET `WorldEffectID`=2773 WHERE `entry`=266869; -- Fishing Bobber +UPDATE `gameobject_template_addon` SET `flags`=262144, `WorldEffectID`=8830 WHERE `entry`=208317; -- Warchief's Command Board +UPDATE `gameobject_template_addon` SET `flags`=262144, `WorldEffectID`=8830 WHERE `entry`=208316; -- Hero's Call Board +UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry`=192820; -- Tower +UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry` IN (192234, 192232, 192230, 192227); -- Argent Vanguard Tower +UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry` IN (192233, 192231, 192228, 192229); -- Argent Vanguard Support +UPDATE `gameobject_template_addon` SET `WorldEffectID`=16227 WHERE `entry` IN (191030, 191028, 191029); -- Barbershop Chair + +UPDATE `gameobject_questitem` SET `VerifiedBuild`=52649 WHERE (`Idx`=0 AND `GameObjectEntry` IN (192827,192818,192828,192825,192824,192823)); diff --git a/sql/updates/world/cata_classic/2024_05_28_21_2024_03_30_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_21_2024_03_30_00_world.sql deleted file mode 100644 index 7d6e46091e7..00000000000 --- a/sql/updates/world/cata_classic/2024_05_28_21_2024_03_30_00_world.sql +++ /dev/null @@ -1,71 +0,0 @@ -DELIMITER ;; -CREATE PROCEDURE creature_health_2024_03_30_00_world() BEGIN - IF NOT EXISTS (SELECT * FROM `information_schema`.`columns` WHERE `table_schema`=SCHEMA() AND `table_name`='creature' AND `column_name`='curHealthPct') THEN - - ALTER TABLE `creature` - CHANGE COLUMN `curhealth` `curHealthPct` INT UNSIGNED NOT NULL DEFAULT 100, - DROP COLUMN `curmana`; - - END IF; -END;; - -DELIMITER ; -CALL creature_health_2024_03_30_00_world(); - -DROP PROCEDURE IF EXISTS creature_health_2024_03_30_00_world; - -UPDATE `creature` c -INNER JOIN `creature_template` ct ON c.`id`=ct.`entry` -SET c.`curHealthPct`=100 -WHERE ct.`RegenHealth`=1; - --- Spells -DELETE FROM `serverside_spell` WHERE `Id` IN (86562); -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`, `CasterAuraType`, `TargetAuraType`, `ExcludeCasterAuraType`, `ExcludeTargetAuraType`, `CastingTimeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `StartRecoveryCategory`, `StartRecoveryTime`, `InterruptFlags`, `AuraInterruptFlags1`, `AuraInterruptFlags2`, `ChannelInterruptFlags1`, `ChannelInterruptFlags2`, `ProcFlags`, `ProcFlags2`, `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 -(86562, 0, 0, 0, 0, 384, 268435456, 0, 0, 128, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, '1 Health', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0); - -UPDATE `serverside_spell` SET `AttributesEx4`=128, `AttributesEx5`=8, `ProcChance`=0 WHERE `Id` IN (24931, 24959, 28838, 73342); -UPDATE `serverside_spell` SET `Attributes`=384, `DurationIndex`=0 WHERE `Id` IN (24931, 24959); - -DELETE FROM `serverside_spell_effect` WHERE `SpellID` IN (24931, 24959, 43645, 73342, 86562); -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 -(24931, 0, 0, 77, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), -(24959, 0, 0, 77, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), -(43645, 0, 0, 77, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), -(73342, 0, 0, 77, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0), -(86562, 0, 0, 77, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0); - -DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_gen_set_health_1', 'spell_gen_set_health_100', 'spell_gen_set_health_500'); -INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES -(24931, 'spell_gen_set_health_100'), -(24959, 'spell_gen_set_health_500'), -(28838, 'spell_gen_set_health_1'), -(43645, 'spell_gen_set_health_1'), -(73342, 'spell_gen_set_health_1'), -(86562, 'spell_gen_set_health_1'); - --- Special cases -UPDATE `creature` SET `curHealthPct`=100 WHERE `id` IN (6172, 6177, 16601, 26335); - -UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (16601, 26335); - -UPDATE `smart_scripts` SET `id`=2 WHERE `entryorguid` IN (6172,6177) AND `source_type`=0 AND `id`=1 AND `event_type`=8; -UPDATE `smart_scripts` SET `link`=1 WHERE `entryorguid` IN (6172,6177) AND `source_type`=0 AND `id`=0; -DELETE FROM `smart_scripts` WHERE `entryorguid` IN (16601, 26335) AND `source_type`=0; -DELETE FROM `smart_scripts` WHERE `entryorguid` IN (6172,6177) AND `source_type`=0 AND `id`=1; -INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES -(6172,0,1,0,61,0,100,0,0,0,0,0,0,'',11,28838,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Henze Faulk - Event linked - Cast ''1 Health'''), -(6177,0,1,0,61,0,100,0,0,0,0,0,0,'',11,28838,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Narm Faulk - Event linked - Cast ''1 Health'''), -(16601,0,0,0,25,0,100,0,0,0,0,0,0,'',11,28838,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Dying Blood Elf - On reset - Cast ''1 Health'''), -(26335,0,0,0,25,0,100,0,0,0,0,0,0,'',11,43645,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Fallen Earthen Warrior - On reset - Cast ''1 Health'''); - -UPDATE `creature` SET `curHealthPct`=100 WHERE `id` IN (4510,7604,7605,7606,7607,7608,18192,18256,25063,27894,28781,30236,34775,34776,34793,34802,34929,34935,34944,35069,35273); -UPDATE `creature` SET `curHealthPct`=10 WHERE `id` IN (16483,149917,166800); -UPDATE `creature` SET `curHealthPct`=20 WHERE `id` IN (44617,44795,44857,50047,156609,156610,156612,156622); -UPDATE `creature` SET `curHealthPct`=30 WHERE `id` IN (13020,25661,30035,31273,31304,166784); -UPDATE `creature` SET `curHealthPct`=40 WHERE `id` IN (18708,20869,166791); -UPDATE `creature` SET `curHealthPct`=50 WHERE `id` IN (166786,166796); -UPDATE `creature` SET `curHealthPct`=60 WHERE `id` IN (12423,12427,12428,12429,12430,17551); - -DELETE FROM `creature` WHERE `guid`=137747 AND `id`=36789; -UPDATE `creature` SET `spawnDifficulties`='3,4,5,6', `curHealthPct`=50 WHERE `id`=36789; diff --git a/sql/updates/world/cata_classic/2024_05_28_21_world_2024_05_23_00_world.sql b/sql/updates/world/cata_classic/2024_05_28_21_world_2024_05_23_00_world.sql new file mode 100644 index 00000000000..e109eed82cd --- /dev/null +++ b/sql/updates/world/cata_classic/2024_05_28_21_world_2024_05_23_00_world.sql @@ -0,0 +1 @@ +ALTER TABLE `creature_text` MODIFY COLUMN `Language` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `Type`; -- cgit v1.2.3