use extension method to check accuracy impact

This commit is contained in:
Gabe Livengood 2023-01-18 12:24:41 -05:00
parent e0f3fa1af6
commit 150195b887
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public class ModAccuracyChallenge : ModFailCondition, IApplicableToScoreProcesso
protected override bool FailCondition(HealthProcessor healthProcessor, JudgementResult result)
{
if (!result.Type.IsScorable() || result.Type.IsBonus())
if (!result.Type.AffectsAccuracy())
return false;
return getAccuracyWithImminentResultAdded(result) < MinimumAccuracy.Value;