mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 13:16:23 +00:00
fix(Scripts/Hunter): Bestial Wrath shoul not be castable on dead pets. (#9896)
Bestial Wrath should expire while pet is offline.
This commit is contained in:
@@ -7552,6 +7552,12 @@ void SpellMgr::LoadDbcDataCorrections()
|
||||
spellInfo->EffectSpellClassMask[EFFECT_1][1] = 0x00020000;
|
||||
});
|
||||
|
||||
// Bestial Wrath
|
||||
ApplySpellFix({ 19574 }, [](SpellEntry* spellInfo)
|
||||
{
|
||||
spellInfo->AttributesEx4 |= SPELL_ATTR4_AURA_EXPIRES_OFFLINE;
|
||||
});
|
||||
|
||||
for (uint32 i = 0; i < sSpellStore.GetNumRows(); ++i)
|
||||
{
|
||||
SpellEntry* spellInfo = (SpellEntry*)sSpellStore.LookupEntry(i);
|
||||
|
||||
Reference in New Issue
Block a user