Interface Ride

All Superinterfaces:
Skill

public interface Ride extends Skill
Skill that allows the pet's owner to mount and ride the pet as a controllable mount. Movement speed, jump height, and optional flight capabilities all scale with the pet's skilltree level.

When flight is enabled, the pet can ascend while ridden, consuming a flight energy resource that regenerates over time. The flight limit and regeneration rate are configurable per upgrade level.

See Also:
  • Method Details

    • getActive

      UpgradeComputer<Boolean> getActive()
      Returns the upgrade computer controlling whether the Ride skill is unlocked.
      Returns:
      the upgrade computer for whether the Ride skill is unlocked
    • getSpeedIncrease

      UpgradeComputer<Integer> getSpeedIncrease()
      Returns the upgrade computer controlling the bonus movement speed percentage while ridden.
      Returns:
      the upgrade computer for the bonus movement speed percentage while ridden
    • getJumpHeight

      UpgradeComputer<Number> getJumpHeight()
      Returns the upgrade computer controlling the maximum jump height when ridden.
      Returns:
      the upgrade computer for the maximum jump height when ridden
    • getFlyLimit

      UpgradeComputer<Number> getFlyLimit()
      Returns the upgrade computer controlling the maximum flight energy (distance/duration limit).
      Returns:
      the upgrade computer for the maximum flight energy (distance/duration limit)
    • getFlyRegenRate

      UpgradeComputer<Number> getFlyRegenRate()
      Returns the upgrade computer controlling the rate at which flight energy regenerates.
      Returns:
      the upgrade computer for the rate at which flight energy regenerates
    • getCanFly

      UpgradeComputer<Boolean> getCanFly()
      Returns the upgrade computer controlling whether the pet can fly while ridden.
      Returns:
      the upgrade computer for whether the pet can fly while ridden
    • getClimb

      Whether a ridden pet can climb walls spider-style (was the standalone Climb skill).
      Returns:
      the upgrade computer backing this value