fix(DB/Spells): Drums of War/Battle/Speed/Restorarion should apply Ti… (#13866)
...nnitus debuff.
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
--
|
||||||
|
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (35475,35476,35477,35478) AND `spell_effect`=51120;
|
||||||
|
INSERT INTO `spell_linked_spell` VALUES
|
||||||
|
(35475,51120,1,'Drums of War - Tinnitus'),
|
||||||
|
(35476,51120,1,'Drums of Battle - Tinnitus'),
|
||||||
|
(35477,51120,1,'Drums of Speed - Tinnitus'),
|
||||||
|
(35478,51120,1,'Drums of War - Tinnitus');
|
||||||
@@ -4435,6 +4435,12 @@ void SpellMgr::LoadSpellInfoCorrections()
|
|||||||
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALWAYS_HIT;
|
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALWAYS_HIT;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Drums of War/Battle/Speed/Restoration
|
||||||
|
ApplySpellFix({ 35475, 35476, 35477, 35478 }, [](SpellInfo* spellInfo)
|
||||||
|
{
|
||||||
|
spellInfo->ExcludeTargetAuraSpell = 51120;
|
||||||
|
});
|
||||||
|
|
||||||
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||||
{
|
{
|
||||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user