mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
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');
|
||||||
@@ -4430,9 +4430,15 @@ void SpellMgr::LoadSpellInfoCorrections()
|
|||||||
// Digestive Acid (Temporary)
|
// Digestive Acid (Temporary)
|
||||||
ApplySpellFix({ 26476 }, [](SpellInfo* spellInfo)
|
ApplySpellFix({ 26476 }, [](SpellInfo* spellInfo)
|
||||||
{
|
{
|
||||||
spellInfo->Attributes |= SPELL_ATTR0_NO_IMMUNITIES;
|
spellInfo->Attributes |= SPELL_ATTR0_NO_IMMUNITIES;
|
||||||
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
|
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
|
||||||
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user