Class RangeStatChange


  • public class RangeStatChange
    extends StatChange
    A stat change which can result in different magnitudes of change to the stat
    • Constructor Detail

      • RangeStatChange

        public RangeStatChange()
    • Method Detail

      • getFormattedRelative

        public String getFormattedRelative()
        Returns a human-readable formatted relative boost. Should be the boost range in the format "±N" (for minimum -N and maximum +N values), "+MIN~MAX" (for minimum and maximum values of the same sign), "-MIN~+MAX" (for negative minimum and positive maximum values), or "+MAX" (for equal minimum and maximum values).
        Overrides:
        getFormattedRelative in class StatChange
        Returns:
        The formatted relative boost amount
      • getFormattedTheoretical

        public String getFormattedTheoretical()
        Returns a human-readable formatted theoretical boost. Should be the boost range in the format "±N" (for minimum -N and maximum +N values), "+MIN~MAX" (for minimum and maximum values of the same sign), "-MIN~+MAX" (for negative minimum and positive maximum values), or "+MAX" (for equal minimum and maximum values).
        Overrides:
        getFormattedTheoretical in class StatChange
        Returns:
        The formatted theoretical boost amount