*Fix exorcism target check and crit chance calculation
*Do not apply spelldmg bonuses to conflagrate multiple times. --HG-- branch : trunk
This commit is contained in:
1 parent
c3516ad8f3
commit
63a936b0b7
3 files changed
+14
-3
No files matched your search
@@ -9629,6 +9629,14 @@ bool Unit::isSpellCrit(Unit *pVictim, SpellEntry const *spellProto, SpellSchoolM
|
||||
crit_chance+=aura->GetAmount();
|
||||
break;
|
||||
}
|
||||
// Exorcism - "If the target is Undead or Demon, it will always critically hit"
|
||||
else if(spellProto->SpellFamilyFlags[1]&0x2)
|
||||
{
|
||||
if(pVictim->GetCreatureType() == CREATURE_TYPE_DEMON
|
||||
|| pVictim->GetCreatureType() == CREATURE_TYPE_UNDEAD)
|
||||
return true;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case SPELLFAMILY_SHAMAN:
|
||||
// Lava Burst
|
||||
|
||||
Reference in new issue
Block a user