Fix skip.NotTargetable/skipExtraConditions not being considered if no other skips are set

This commit is contained in:
Liza 2024-08-01 18:02:19 +02:00
parent d3430ae439
commit 035b7383ae
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -24,11 +24,13 @@ public sealed class SkipStepConditions
return (CompletionQuestVariablesFlags.Count > 6 && CompletionQuestVariablesFlags.Any(x => x != null)) || return (CompletionQuestVariablesFlags.Count > 6 && CompletionQuestVariablesFlags.Any(x => x != null)) ||
Flying != null || Flying != null ||
Chocobo != null || Chocobo != null ||
NotTargetable ||
InTerritory.Count > 0 || InTerritory.Count > 0 ||
NotInTerritory.Count > 0 || NotInTerritory.Count > 0 ||
Item != null || Item != null ||
QuestsAccepted.Count > 0 || QuestsAccepted.Count > 0 ||
QuestsCompleted.Count > 0; QuestsCompleted.Count > 0 ||
ExtraCondition != null;
} }
public override string ToString() public override string ToString()