Function fightsUntil

  • Calculates the number of fights you need to reach a particular weight

    Parameters

    • target: number

      The weight you want to reach

    • bonusExperience: number = ...

      The amount of bonus exdperience you'll be running--defaults to the current value

    Returns number

    Number of fights needed