Interface Ranged

All Superinterfaces:
Skill

public interface Ranged extends Skill
Skill that enables the pet to perform ranged attacks by launching projectiles at targets. The projectile type, rate of fire, and damage all scale with the pet's skilltree level.

The pet will use ranged attacks instead of (or in addition to) melee when this skill is active and the target is within range.

See Also:
  • Method Details

    • getRateOfFire

      UpgradeComputer<Integer> getRateOfFire()
      Returns the upgrade computer controlling the delay (in ticks) between consecutive shots.
      Returns:
      the upgrade computer for the delay (in ticks) between consecutive shots
    • getDamage

      UpgradeComputer<Number> getDamage()
      Returns the upgrade computer controlling the damage dealt per projectile.
      Returns:
      the upgrade computer for the damage dealt per projectile
    • getProjectile

      Returns the upgrade computer controlling the type of projectile launched.
      Returns:
      the upgrade computer for the type of projectile launched