From a6aac4d6b528099005c07e98a34579f988cd8dee Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sat, 16 Jul 2016 09:12:33 +0200 Subject: [PATCH] DB/Misc: 3.3.5a fixes --- ...16_07_16_00_world_from_335_was_2016_07_15_09_world.sql | 2 ++ ...16_07_16_01_world_from_335_was_2016_07_15_10_world.sql | 4 ++++ ...16_07_16_02_world_from_335_was_2016_07_15_11_world.sql | 6 ++++++ ...16_07_16_03_world_from_335_was_2016_07_16_00_world.sql | 8 ++++++++ ...16_07_16_04_world_from_335_was_2016_07_16_01_world.sql | 2 ++ ...16_07_16_05_world_from_335_was_2016_07_16_02_world.sql | 6 ++++++ ...16_07_16_06_world_from_335_was_2016_07_16_03_world.sql | 4 ++++ 7 files changed, 32 insertions(+) create mode 100644 sql/updates/world/2016_07_16_00_world_from_335_was_2016_07_15_09_world.sql create mode 100644 sql/updates/world/2016_07_16_01_world_from_335_was_2016_07_15_10_world.sql create mode 100644 sql/updates/world/2016_07_16_02_world_from_335_was_2016_07_15_11_world.sql create mode 100644 sql/updates/world/2016_07_16_03_world_from_335_was_2016_07_16_00_world.sql create mode 100644 sql/updates/world/2016_07_16_04_world_from_335_was_2016_07_16_01_world.sql create mode 100644 sql/updates/world/2016_07_16_05_world_from_335_was_2016_07_16_02_world.sql create mode 100644 sql/updates/world/2016_07_16_06_world_from_335_was_2016_07_16_03_world.sql diff --git a/sql/updates/world/2016_07_16_00_world_from_335_was_2016_07_15_09_world.sql b/sql/updates/world/2016_07_16_00_world_from_335_was_2016_07_15_09_world.sql new file mode 100644 index 00000000000..576d5317a4c --- /dev/null +++ b/sql/updates/world/2016_07_16_00_world_from_335_was_2016_07_15_09_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `quest_template` SET `AllowableRaces`=1101 WHERE `Id` IN (13603, 13757); diff --git a/sql/updates/world/2016_07_16_01_world_from_335_was_2016_07_15_10_world.sql b/sql/updates/world/2016_07_16_01_world_from_335_was_2016_07_15_10_world.sql new file mode 100644 index 00000000000..3b9491a1748 --- /dev/null +++ b/sql/updates/world/2016_07_16_01_world_from_335_was_2016_07_15_10_world.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=52839; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(17, 0, 52839, 0, 0, 29, 0, 28948, 40, 0, 1, 0, 0, "", "Spell Summon Escort Aura cannot be used if NPC Malmortis is within 40 yards."); diff --git a/sql/updates/world/2016_07_16_02_world_from_335_was_2016_07_15_11_world.sql b/sql/updates/world/2016_07_16_02_world_from_335_was_2016_07_15_11_world.sql new file mode 100644 index 00000000000..f0d5555af27 --- /dev/null +++ b/sql/updates/world/2016_07_16_02_world_from_335_was_2016_07_15_11_world.sql @@ -0,0 +1,6 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry` IN (65200, 65258, 65265); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(17, 0, 65200, 0, 0, 29, 0, 34320, 5, 0, 0, 0, 0, "", "Spell 'Feed Venomhide Hatchling' (used for quest 'Hungry, Hungry Hatchling') requires NPC 'Venomhide Hatchling' to be within 5 yards"), +(17, 0, 65258, 0, 0, 29, 0, 34320, 5, 0, 0, 0, 0, "", "Spell 'Feed Venomhide Hatchling' (used for quest 'Gorishi Grub') requires NPC 'Venomhide Hatchling' to be within 5 yards"), +(17, 0, 65265, 0, 0, 29, 0, 34320, 5, 0, 0, 0, 0, "", "Spell 'Feed Venomhide Hatchling' (used for quest 'Poached, Scrambled, Or Raw?') requires NPC 'Venomhide Hatchling' to be within 5 yards"); diff --git a/sql/updates/world/2016_07_16_03_world_from_335_was_2016_07_16_00_world.sql b/sql/updates/world/2016_07_16_03_world_from_335_was_2016_07_16_00_world.sql new file mode 100644 index 00000000000..0dd86f346e9 --- /dev/null +++ b/sql/updates/world/2016_07_16_03_world_from_335_was_2016_07_16_00_world.sql @@ -0,0 +1,8 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry` IN (12699, 31225); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(17, 0, 31225, 0, 0, 29, 0, 17768, 10, 0, 0, 0, 0, "", "Spell 'Shimmering Vessel' (used for quest 'Redeeming the Dead') requires NPC 'Blood Knight Stillblade' to be within 10 yards"), +(17, 0, 12699, 0, 0, 36, 1, 0, 0, 0, 1, 0, 0, "", "Spell 'Summon Screecher Spirit' (used for quest 'Screecher Spirits') can only be used if target is dead AND"), +(17, 0, 12699, 0, 0, 31, 1, 3, 5307, 0, 0, 0, 0, "", "Spell 'Summon Screecher Spirit' (used for quest 'Screecher Spirits') can only be used if target is NPC 'Vale Screecher'"), +(17, 0, 12699, 0, 1, 36, 1, 0, 0, 0, 1, 0, 0, "", "Spell 'Summon Screecher Spirit' (used for quest 'Screecher Spirits') can only be used if target is dead AND"), +(17, 0, 12699, 0, 1, 31, 1, 3, 5308, 0, 0, 0, 0, "", "Spell 'Summon Screecher Spirit' (used for quest 'Screecher Spirits') can only be used if target is NPC 'Rogue Vale Screecher'"); diff --git a/sql/updates/world/2016_07_16_04_world_from_335_was_2016_07_16_01_world.sql b/sql/updates/world/2016_07_16_04_world_from_335_was_2016_07_16_01_world.sql new file mode 100644 index 00000000000..25b0dd9a071 --- /dev/null +++ b/sql/updates/world/2016_07_16_04_world_from_335_was_2016_07_16_01_world.sql @@ -0,0 +1,2 @@ +-- +DELETE FROM `reference_loot_template` WHERE `Entry`=24701 AND `Item`=6661; diff --git a/sql/updates/world/2016_07_16_05_world_from_335_was_2016_07_16_02_world.sql b/sql/updates/world/2016_07_16_05_world_from_335_was_2016_07_16_02_world.sql new file mode 100644 index 00000000000..ab625246ea7 --- /dev/null +++ b/sql/updates/world/2016_07_16_05_world_from_335_was_2016_07_16_02_world.sql @@ -0,0 +1,6 @@ +SET @Guid:=86240; +UPDATE `creature` SET `spawntimesecs`=86400 WHERE `guid` BETWEEN @Guid AND @Guid+12; +SET @Guid:=52664; +UPDATE `creature` SET `spawntimesecs`=86400 WHERE `guid` BETWEEN @Guid AND @Guid+4; +SET @Guid:=91573; +UPDATE `creature` SET `spawntimesecs`=86400 WHERE `guid` BETWEEN @Guid AND @Guid+14; diff --git a/sql/updates/world/2016_07_16_06_world_from_335_was_2016_07_16_03_world.sql b/sql/updates/world/2016_07_16_06_world_from_335_was_2016_07_16_03_world.sql new file mode 100644 index 00000000000..986a96a6d57 --- /dev/null +++ b/sql/updates/world/2016_07_16_06_world_from_335_was_2016_07_16_03_world.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_hun_roar_of_sacrifice'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(53480, 'spell_hun_roar_of_sacrifice');