From 1db9f96daebc88d8d008d6cf28f012bb6d9b3e19 Mon Sep 17 00:00:00 2001 From: AnonXS Date: Fri, 10 Jan 2025 18:25:13 +0100 Subject: [PATCH] Update [0512][0517] DBErrors --- ...0512_CDB-4679_VDB-20230114095027_world.sql | 31 ++++++++++--------- Updates/0517_WDB-5325_spell_list.sql | 8 ++--- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/Updates/0512_CDB-4679_VDB-20230114095027_world.sql b/Updates/0512_CDB-4679_VDB-20230114095027_world.sql index 52b87301e..13e46f572 100644 --- a/Updates/0512_CDB-4679_VDB-20230114095027_world.sql +++ b/Updates/0512_CDB-4679_VDB-20230114095027_world.sql @@ -54,28 +54,31 @@ UPDATE `quest_template` SET `RewRepFaction1`=729, `RewRepFaction2`=68, `RewRepFa UPDATE `quest_template` SET `RewRepFaction1`=730, `RewRepFaction2`=47, `RewRepFaction3`=72, `RewRepValue1`=250, `RewRepValue2`=250, `RewRepValue3`=250 WHERE `entry`= 7282; -- tbc+ 250 UPDATE `quest_template` SET `RewRepFaction1`=730, `RewRepFaction2`=47, `RewRepValue1`=250, `RewRepValue2`=250 WHERE `entry`= 7301; -- tbc+ 250 UPDATE `quest_template` SET `RewRepFaction1`=729, `RewRepFaction2`=76, `RewRepValue1`=250, `RewRepValue2`=250 WHERE `entry`= 7302; -- tbc+ 250 -UPDATE `quest_template` SET `RewRepFaction1`=530, `RewRepFaction2`=729, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7361; -- tbc+ 0 -UPDATE `quest_template` SET `RewRepFaction1`=81, `RewRepFaction2`=729, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7362; -- tbc+ 0 -UPDATE `quest_template` SET `RewRepFaction1`=68, `RewRepFaction2`=729, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7363; -- tbc+ 0 -UPDATE `quest_template` SET `RewRepFaction1`=54, `RewRepFaction2`=730, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7364; -- tbc+ 0 -UPDATE `quest_template` SET `RewRepFaction1`=69, `RewRepFaction2`=730, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7365; -- tbc+ 0 -UPDATE `quest_template` SET `RewRepFaction1`=72, `RewRepFaction2`=730, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7366; -- tbc+ 0 +UPDATE `quest_template` SET `RewRepFaction1`=0, `RewRepFaction2`=0, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7361; -- tbc+ 0 (530 729) +UPDATE `quest_template` SET `RewRepFaction1`=0, `RewRepFaction2`=0, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7362; -- tbc+ 0 (81 729) +UPDATE `quest_template` SET `RewRepFaction1`=0, `RewRepFaction2`=0, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7363; -- tbc+ 0 (68 729) +UPDATE `quest_template` SET `RewRepFaction1`=0, `RewRepFaction2`=0, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7364; -- tbc+ 0 (54 730) +UPDATE `quest_template` SET `RewRepFaction1`=0, `RewRepFaction2`=0, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7365; -- tbc+ 0 (69 730) +UPDATE `quest_template` SET `RewRepFaction1`=0, `RewRepFaction2`=0, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7366; -- tbc+ 0 (72 730) UPDATE `quest_template` SET `RewRepFaction1`=730, `RewRepFaction2`=47, `RewRepValue1`=250, `RewRepValue2`=250 WHERE `entry`= 7367; -- tbc+ 250 UPDATE `quest_template` SET `RewRepFaction1`=729, `RewRepFaction2`=76, `RewRepValue1`=250, `RewRepValue2`=250 WHERE `entry`= 7368; -- tbc+ 250 -UPDATE `quest_template` SET `RewRepFaction1`=729, `RewRepFaction2`=76, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7381; -- tbc+ 0 -UPDATE `quest_template` SET `RewRepFaction1`=730, `RewRepFaction2`=47, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7382; -- tbc+ 0 -UPDATE `quest_template` SET `RewRepFaction1`=76, `RewRepFaction2`=729, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7401; -- tbc+ 0 -UPDATE `quest_template` SET `RewRepFaction1`=47, `RewRepFaction2`=730, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7402; -- tbc+ 0 +UPDATE `quest_template` SET `RewRepFaction1`=0, `RewRepFaction2`=0, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7381; -- tbc+ 0 (729 76) +UPDATE `quest_template` SET `RewRepFaction1`=0, `RewRepFaction2`=0, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7382; -- tbc+ 0 (730 47) +UPDATE `quest_template` SET `RewRepFaction1`=0, `RewRepFaction2`=0, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7401; -- tbc+ 0 (76 729) +UPDATE `quest_template` SET `RewRepFaction1`=0, `RewRepFaction2`=0, `RewRepValue1`=0, `RewRepValue2`=0 WHERE `entry`= 7402; -- tbc+ 0 (47 730) UPDATE `quest_template` SET `RewRepFaction1`=730, `RewRepFaction2`=47, `RewRepValue1`=10, `RewRepValue2`=10 WHERE `entry`= 8271; UPDATE `quest_template` SET `RewRepFaction1`=729, `RewRepFaction2`=76, `RewRepValue1`=10, `RewRepValue2`=10 WHERE `entry`= 8272; -UPDATE `quest_template` SET `RewRepFaction1`=729, `RewRepFaction2`=889, `RewRepFaction3`=510, `RewRepValue1`=0, `RewRepValue2`=0, `RewRepValue3`=0 WHERE `entry` = 8367; -- tbc+ 0 +-- Quest X has `RewRepFaction1` = 0 but `RewRepValue1` = 0, quest will not reward this reputation. +-- Quest X has `RewRepFaction2` = 0 but `RewRepValue2` = 0, quest will not reward this reputation. +-- Quest X has `RewRepFaction3` = 0 but `RewRepValue3` = 0, quest will not reward this reputation. +UPDATE `quest_template` SET `RewRepFaction1`=0, `RewRepFaction2`=0, `RewRepFaction3`=0, `RewRepValue1`=0, `RewRepValue2`=0, `RewRepValue3`=0 WHERE `entry` = 8367; -- tbc+ 0 (729 889 510) UPDATE `quest_template` SET `RewRepFaction1`=729, `RewRepFaction2`=0, `RewRepValue1`=350, `RewRepValue2`=0 WHERE `entry`= 8369; -- tbc+ 350 -UPDATE `quest_template` SET `RewRepFaction1`=509, `RewRepFaction2`=730, `RewRepFaction3`=890, `RewRepValue1`=0, `RewRepValue2`=0, `RewRepValue3`=0 WHERE `entry` = 8371; -- tbc+ 0 +UPDATE `quest_template` SET `RewRepFaction1`=0, `RewRepFaction2`=0, `RewRepFaction3`=0, `RewRepValue1`=0, `RewRepValue2`=0, `RewRepValue3`=0 WHERE `entry` = 8371; -- tbc+ 0 (509 730 890 UPDATE `quest_template` SET `RewRepFaction1`=730, `RewRepFaction2`=0, `RewRepValue1`=350, `RewRepValue2`=0 WHERE `entry` = 8375; -- tbc+ 350 UPDATE `quest_template` SET `RewRepFaction1`=730, `RewRepFaction2`=0, `RewRepValue1`=250, `RewRepValue2`=0 WHERE `entry`= 8383; -- tbc+ 250 -UPDATE `quest_template` SET `RewRepFaction1`=730, `RewRepFaction2`=509, `RewRepFaction3`=890, `RewRepValue1`=0, `RewRepValue2`=0, `RewRepValue3`=0 WHERE `entry` = 8385; -- tbc+ 0 +UPDATE `quest_template` SET `RewRepFaction1`=0, `RewRepFaction2`=0, `RewRepFaction3`=0, `RewRepValue1`=0, `RewRepValue2`=0, `RewRepValue3`=0 WHERE `entry` = 8385; -- tbc+ 0 (730 509 890) UPDATE `quest_template` SET `RewRepFaction1`=729, `RewRepFaction2`=0, `RewRepValue1`=250, `RewRepValue2`=0 WHERE `entry`= 8387; -- tbc+ 250 -UPDATE `quest_template` SET `RewRepFaction1`=729, `RewRepFaction2`=889, `RewRepFaction3`=510, `RewRepValue1`=0, `RewRepValue2`=0, `RewRepValue3`=0 WHERE `entry` = 8388; -- tbc+ 0 +UPDATE `quest_template` SET `RewRepFaction1`=0, `RewRepFaction2`=0, `RewRepFaction3`=0, `RewRepValue1`=0, `RewRepValue2`=0, `RewRepValue3`=0 WHERE `entry` = 8388; -- tbc+ 0 (729 889 510) UPDATE `quest_template` SET `RewRepFaction1`=47, `RewRepFaction2`=0, `RewRepValue1`=25, `RewRepValue2`=0 WHERE `entry`= 5892; UPDATE `quest_template` SET `RewRepFaction1`=76, `RewRepFaction2`=0, `RewRepValue1`=25, `RewRepValue2`=0 WHERE `entry`= 5893; UPDATE `quest_template` SET `RewRepFaction1`=76, `RewRepFaction2`=0, `RewRepValue1`=10, `RewRepValue2`=0 WHERE `entry`= 6741; diff --git a/Updates/0517_WDB-5325_spell_list.sql b/Updates/0517_WDB-5325_spell_list.sql index da0267df1..d7d0b8541 100644 --- a/Updates/0517_WDB-5325_spell_list.sql +++ b/Updates/0517_WDB-5325_spell_list.sql @@ -240,7 +240,7 @@ UPDATE `creature_template` SET `CharmedSpellList`='1913605' WHERE `entry`='19136 UPDATE `creature_template` SET `CharmedSpellList`='1941305' WHERE `entry`='19413'; -- Shattered Hand Mage UPDATE `creature_template` SET `CharmedSpellList`='1941505' WHERE `entry`='19415'; -- Shattered Hand Acolyte UPDATE `creature_template` SET `CharmedSpellList`='1964305' WHERE `entry`='19643'; -- Sunfury Astromancer -UPDATE `creature_template` SET `CharmedSpellList`='1966805' WHERE `entry`='19668'; -- Shadowfiend +-- UPDATE `creature_template` SET `CharmedSpellList`='1966805' WHERE `entry`='19668'; -- Shadowfiend UPDATE `creature_template` SET `CharmedSpellList`='1970105' WHERE `entry`='19701'; -- Bonechewer Evoker UPDATE `creature_template` SET `CharmedSpellList`='1973205' WHERE `entry`='19732'; -- Ango'rosh Warlock UPDATE `creature_template` SET `CharmedSpellList`='1977905' WHERE `entry`='19779'; -- Sunfury Geologist @@ -499,7 +499,7 @@ INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `C (1941305, 'Tbc - Shattered Hand Mage', 0, 0), (1941505, 'Tbc - Shattered Hand Acolyte', 0, 0), (1964305, 'Tbc - Sunfury Astromancer', 0, 0), -(1966805, 'Tbc - Shadowfiend', 0, 0), +-- (1966805, 'Tbc - Shadowfiend', 0, 0), (1970105, 'Tbc - Bonechewer Evoker', 0, 0), (1973205, 'Tbc - Ango\'rosh Warlock', 0, 0), (1977905, 'Tbc - Sunfury Geologist', 0, 0), @@ -1090,8 +1090,8 @@ INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `Combat (1964305, 3, 38391, 0, -1, 0, 0, 100, 1, 0, 0, 0, 0, 'Sunfury Astromancer - Scorch'), (1964305, 4, 35914, 0, -1, 0, 0, 100, 1, 0, 0, 15000, 15000, 'Sunfury Astromancer - Astral Focus'), (1964305, 5, 35917, 0, -1, 0, 0, 100, 1, 0, 0, 60000, 60000, 'Sunfury Astromancer - Fiery Intellect'), -(1966805, 0, 2, 0, -1, 0, 0, 100, 1, 0, 0, 0, 0, 'Shadowfiend - Attack'), -(1966805, 6, 63619, 0, -1, 0, 0, 100, 1, 0, 0, 0, 0, 'Shadowfiend - Shadowcrawl'), +-- (1966805, 0, 2, 0, -1, 0, 0, 100, 1, 0, 0, 0, 0, 'Shadowfiend - Attack'), +-- (1966805, 6, 63619, 0, -1, 0, 0, 100, 1, 0, 0, 0, 0, 'Shadowfiend - Shadowcrawl'), (1970105, 0, 2, 0, -1, 0, 0, 100, 1, 0, 0, 0, 0, 'Bonechewer Evoker - Attack'), (1970105, 3, 9053, 0, -1, 0, 0, 100, 1, 0, 0, 0, 0, 'Bonechewer Evoker - Fireball'), (1973205, 0, 2, 0, -1, 0, 0, 100, 1, 0, 0, 0, 0, 'Ango\'rosh Warlock - Attack'),