Core/Spells: Fixes Glyph of Victory Rush

This commit is contained in:
Lopin
2011-05-10 12:11:17 +02:00
committed by Shocker
parent 193f0b7cd3
commit 305ee4eefe

View File

@@ -10836,6 +10836,16 @@ bool Unit::isSpellCrit(Unit *pVictim, SpellEntry const *spellProto, SpellSchoolM
break;
}
break;
case SPELLFAMILY_WARRIOR:
// Victory Rush
if (spellProto->SpellFamilyFlags[1] & 0x100)
{
// Glyph of Victory Rush
if (AuraEffect const* aurEff = GetAuraEffect(58382, 0))
crit_chance += aurEff->GetAmount();
break;
}
break;
case SPELLFAMILY_PALADIN:
// Judgement of Command proc always crits on stunned target
if (spellProto->SpellFamilyName == SPELLFAMILY_PALADIN)