mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[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:
parent
ba170f92f2
commit
dc8bf0f7e7
4 changed files with 13 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue