[8317] Implement 48801 and ranks work as expected in 3.1.x

Original patch writed by QAston.
Original patch prepared to mangos by KAPATEJIb.
This commit is contained in:
VladimirMangos 2009-08-05 17:49:44 +04:00
parent ba170f92f2
commit dc8bf0f7e7
4 changed files with 13 additions and 3 deletions

View file

@ -8277,6 +8277,13 @@ bool Unit::isSpellCrit(Unit *pVictim, SpellEntry const *spellProto, SpellSchoolM
crit_chance+=aura->GetModifier()->m_amount;
break;
}
// Exorcism
else if (spellProto->Category == 19)
{
if (pVictim->GetCreatureTypeMask() & CREATURE_TYPEMASK_DEMON_OR_UNDEAD)
return true;
break;
}
break;
case SPELLFAMILY_SHAMAN:
// Lava Burst