[10041] Use for spell 49145 and ranks for decrease SPELL_DIRECT_DAMAGE damage.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
tehmarto 2010-06-06 22:23:16 +04:00 committed by VladimirMangos
parent d757ba2a73
commit 5ea6815ea1
2 changed files with 2 additions and 2 deletions

View file

@ -1968,7 +1968,7 @@ void Unit::CalculateAbsorbAndResist(Unit *pCaster, SpellSchoolMask schoolMask, D
if (spellProto->SpellIconID == 3006)
{
// You have a chance equal to your Parry chance
if (damagetype == DIRECT_DAMAGE && // Only for direct damage
if (damagetype == SPELL_DIRECT_DAMAGE && // Only for direct spell damage
roll_chance_f(GetUnitParryChance())) // Roll chance
RemainingDamage -= RemainingDamage * currentAbsorb / 100;
continue;