Core/Aura: Fix periodic crit chance snapshot for DoTs (#459)
This commit is contained in:
1 file changed
+1
-1
@@ -508,7 +508,7 @@ float Aura::CalcPeriodicCritChance(Unit const* caster) const
|
||||
if (!modOwner || !CanPeriodicTickCrit(modOwner))
|
||||
return 0.f;
|
||||
|
||||
float critChance = modOwner->SpellCritChanceDone(GetSpellInfo(), GetSpellInfo()->GetSchoolMask(), GetSpellInfo()->GetAttackType());
|
||||
float critChance = modOwner->SpellCritChanceDone(GetSpellInfo(), GetSpellInfo()->GetSchoolMask(), GetSpellInfo()->GetAttackType(), true);
|
||||
return std::max(0.f, critChance);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user