using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using RimWorld;
using Steamworks;
using UnityEngine;
using Verse;

namespace CombatExtended;
public class StatPart_StatMaxima : StatPart_StatSelect
{
    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    protected override float Select(float first, float second)
    {
        return Mathf.Max(first, second);
    }

    public override string ExplanationPart(StatRequest req)
    {
        return "CE_StatPart_MaximaExplanation".Translate() + ": \n\n" + base.ExplanationPart(req);
    }
}
