From 9ae19e542951ff1555704e2cf9dcfbe761bd4e77 Mon Sep 17 00:00:00 2001 From: Carriola-wotlk <148633595+Carriola-wotlk@users.noreply.github.com> Date: Sat, 31 Aug 2024 17:22:18 +0200 Subject: [PATCH] fix(DB/Item): Feathermoon Headdress has the wrong stats (#19814) * fix(DB/Item): Feathermoon Headdress has the wrong stats * ITEM_MOD_SPELL_DAMAGE_DONE deprecated check removed --- data/sql/updates/pending_db_world/2024_08_31_02.sql | 9 +++++++++ src/server/game/Globals/ObjectMgr.cpp | 1 - 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 data/sql/updates/pending_db_world/2024_08_31_02.sql diff --git a/data/sql/updates/pending_db_world/2024_08_31_02.sql b/data/sql/updates/pending_db_world/2024_08_31_02.sql new file mode 100644 index 000000000..06d58166d --- /dev/null +++ b/data/sql/updates/pending_db_world/2024_08_31_02.sql @@ -0,0 +1,9 @@ +UPDATE `item_template` +SET `stat_type1` = 5, +`stat_value1` = 20, +`stat_type2` = 7, +`stat_value2` = 13, +`stat_type3` = 42, +`stat_value3` = 25, +`StatsCount` = 3 +WHERE (`entry` = 13113); diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index aff933782..17c0acdd7 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -2989,7 +2989,6 @@ void ObjectMgr::LoadItemTemplates() switch (itemTemplate.ItemStat[j].ItemStatType) { case ITEM_MOD_SPELL_HEALING_DONE: - case ITEM_MOD_SPELL_DAMAGE_DONE: LOG_ERROR("sql.sql", "Item (Entry: {}) has deprecated stat_type{} ({})", entry, j + 1, itemTemplate.ItemStat[j].ItemStatType); break; default: