Core/Aura: Fix periodic crit chance snapshot for DoTs (#459)

This commit is contained in:
sevi authored and GitHub committed 2026-02-03 07:07:50 +01:00
1 parent 8c758f8021
commit ecd9870ef5
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}