Core/Spells: spell crit supression will no longer increase the crit chance against lower level targets
This commit is contained in:
1 parent
e5a9630b49
commit
8821936ec6
1 file changed
+2
-1
@@ -6823,7 +6823,8 @@ float Unit::SpellCritChanceTaken(Unit const* caster, SpellInfo const* spellInfo,
|
||||
if (GetTypeId() == TYPEID_UNIT)
|
||||
{
|
||||
int32 const levelDiff = static_cast<int32>(getLevelForTarget(caster)) - caster->getLevel();
|
||||
crit_chance -= levelDiff * 0.7f;
|
||||
if (levelDiff > 0)
|
||||
crit_chance -= levelDiff * 0.7f;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user