Core/Spells: Nature's Blessing will now correctly grant its bonus only for eligible direct healing spells

This commit is contained in:
Ovahlord committed 2019-10-14 00:56:47 +02:00
1 parent 72ee5ccef4
commit 0a71e7c2c2
3 files changed
+22 -5

No files matched your search

+7
View File
@@ -5629,6 +5629,13 @@ void SpellMgr::LoadSpellInfoCorrections()
if (spellInfo->SpellIconID == 2721 && spellInfo->SpellFamilyFlags[0] & 0x2)
spellInfo->SpellFamilyFlags[0] |= 0x40;
break;
case SPELLFAMILY_SHAMAN:
// Nature's Blessing should also affect Greater Healing Wave and Riptide
if (spellInfo->SpellIconID == 2012 && spellInfo->HasAura(SPELL_AURA_DUMMY))
spellInfo->Effects[EFFECT_0].SpellClassMask[2] = (0x00000010 | 0x00010000);
break;
default:
break;
}
}