fix(DB/Spell): Valentine event buffs grouping (#18319)

* fix(DB/Spell): Valentine event buffs grouping
fixes AzerothCore issue #18285

* fix(DB/Spell): Valentine event buffs grouping

fixes AzerothCore issue #18285
compacted the original query

* fix(DB/Spell): Valentine event buffs grouping

fixes AzerothCore issue #18285
compacted the original query
added back the column names

* fix(DB/Spell): Valentine event buffs grouping

fixes AzerothCore issue #18285
compacted the original query
added back the column names
added deletion before insert
moved id from 2 to 1035
This commit is contained in:
kasvati
2024-02-13 20:20:19 +01:00
committed by GitHub
parent e282f6caaa
commit 0c95ddf285

View File

@@ -0,0 +1,16 @@
-- disables buff stacking for items 49856, 49857, 49858, 49859, 49861, 49860
-- making sure group is free
DELETE FROM `spell_group`
WHERE `id` = 1035
AND `spell_id` IN (70233, 70234, 70235, 70242, 70243, 70244);
-- inserting spell_id's for the group
INSERT INTO `spell_group` (`id`, `spell_id`, `special_flag`)
VALUES
(1035, 70233, 16),
(1035, 70234, 16),
(1035, 70235, 16),
(1035, 70242, 16),
(1035, 70243, 16),
(1035, 70244, 16);