mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 20:32:21 +01:00
DB/Quests: Init ProvidedItemCount for quests using StartItem
(cherry picked from commit 0c809efd86)
This commit is contained in:
4
sql/updates/world/master/2024_05_22_04_world.sql
Normal file
4
sql/updates/world/master/2024_05_22_04_world.sql
Normal file
@@ -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);
|
||||
Reference in New Issue
Block a user