Exemple #1
0
    public override bool Check()
    {
        var optValue = BosUtils.GetBadgeObjectiveValue(StatString);

        return(optValue.Match(() => {
            return StatsCollector.Instance[StatString] >= Min;
        }, (cnt) => {
            return cnt >= Min;
        }));
    }