Interface Wither

All Superinterfaces:
OnHitSkill, Skill

public interface Wither extends Skill, OnHitSkill
Skill that gives the pet a chance to apply the Wither potion effect to targets on hit, dealing damage over time and turning hearts black. Both the wither duration and trigger chance scale with the pet's skilltree level.
See Also:
  • Method Details

    • getDuration

      UpgradeComputer<Integer> getDuration()
      Returns the upgrade computer controlling the wither effect duration in ticks.
      Returns:
      the upgrade computer for the wither effect duration in ticks
    • getChance

      UpgradeComputer<Integer> getChance()
      Returns the upgrade computer controlling the percent chance to wither on hit.
      Returns:
      the upgrade computer for the percent chance to wither on hit