Core/Mechanic: Fixed wrong caster level at resist chance calculation.

This commit is contained in:
bytewarrior
2011-10-18 10:52:33 +03:00
parent 27e1a5d7b6
commit 496c2da6f3
+1 -1
View File
@@ -1595,7 +1595,7 @@ void Unit::CalcAbsorbResist(Unit* victim, SpellSchoolMask schoolMask, DamageEffe
static uint32 const BOSS_LEVEL = 83;
static float const BOSS_RESISTANCE_CONSTANT = 510.0f;
uint32 level = getLevel();
uint32 level = victim->getLevel();
float resistanceConstant = 0.0f;
if (level == BOSS_LEVEL)