fix(DB/Spells): Drums of War/Battle/Speed/Restorarion should apply Ti… (#13866)
...nnitus debuff.
This commit is contained in:
parent
b57985bcd5
commit
e6aef88aba
2 changed files with 16 additions and 3 deletions
|
|
@ -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)
|
||||
ApplySpellFix({ 26476 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->Attributes |= SPELL_ATTR0_NO_IMMUNITIES;
|
||||
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
|
||||
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALWAYS_HIT;
|
||||
spellInfo->Attributes |= SPELL_ATTR0_NO_IMMUNITIES;
|
||||
spellInfo->AttributesEx2 |= SPELL_ATTR2_IGNORE_LINE_OF_SIGHT;
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue