Skip to content

Commit ecd9870

Browse files
authored
Core/Aura: Fix periodic crit chance snapshot for DoTs (#459)
1 parent 8c758f8 commit ecd9870

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/server/game/Spells/Auras/SpellAuras.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ float Aura::CalcPeriodicCritChance(Unit const* caster) const
508508
if (!modOwner || !CanPeriodicTickCrit(modOwner))
509509
return 0.f;
510510

511-
float critChance = modOwner->SpellCritChanceDone(GetSpellInfo(), GetSpellInfo()->GetSchoolMask(), GetSpellInfo()->GetAttackType());
511+
float critChance = modOwner->SpellCritChanceDone(GetSpellInfo(), GetSpellInfo()->GetSchoolMask(), GetSpellInfo()->GetAttackType(), true);
512512
return std::max(0.f, critChance);
513513
}
514514

0 commit comments

Comments
 (0)