Files
Nathaniel Cosford 062dfab2cd Patched
2025-05-30 01:04:40 +09:30

29 lines
557 B
C#

public class HNPTurboOn : TargetedCompareRequirementBase
{
public override bool IsValid(MinEventParams _params)
{
if (!base.IsValid(_params))
{
return false;
}
bool flag = false;
bool optionHNP = RebirthVariables.customHordeNight;
bool optionHNPTurbo = RebirthVariables.customHordeNightTurbo;
if (optionHNP && optionHNPTurbo)
{
flag = true;
}
if (!this.invert)
{
return flag;
}
return !flag;
}
}