Class FabricPlatformHelper

java.lang.Object
com.mrbysco.rallyhealth.platform.FabricPlatformHelper
All Implemented Interfaces:
IPlatformHelper

public class FabricPlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • FabricPlatformHelper

      public FabricPlatformHelper()
  • Method Details

    • getRiskTimer

      public int getRiskTimer()
      Description copied from interface: IPlatformHelper
      The amount of time before the risk disables itself
      Specified by:
      getRiskTimer in interface IPlatformHelper
      Returns:
      The configured `riskTimer`
    • getRegainChance

      public double getRegainChance()
      Description copied from interface: IPlatformHelper
      The chance of regaining the damage after striking back
      Specified by:
      getRegainChance in interface IPlatformHelper
      Returns:
      The configured `regainChance`
    • getRegainPercentage

      public double getRegainPercentage()
      Description copied from interface: IPlatformHelper
      The percentage of damage regained after striking back
      Specified by:
      getRegainPercentage in interface IPlatformHelper
      Returns:
      The configured `regainPercentage`