Core/Spells: Remove hack for Glyph of Barkskin

This commit is contained in:
Shocker committed 2012-10-28 00:38:11 +03:00
1 parent 08868574c7
commit eed7c46f4e
1 file changed
-5
-5
View File
@@ -2568,12 +2568,7 @@ float Unit::GetUnitCriticalChance(WeaponAttackType attackType, const Unit* victi
// reduce crit chance from Rating for players
if (attackType != RANGED_ATTACK)
{
ApplyResilience(victim, &crit, NULL, false, CR_CRIT_TAKEN_MELEE);
// Glyph of barkskin
if (victim->HasAura(63057) && victim->HasAura(22812))
crit -= 25.0f;
}
else
ApplyResilience(victim, &crit, NULL, false, CR_CRIT_TAKEN_RANGED);