Interface Shield

All Superinterfaces:
Skill

public interface Shield extends Skill
Skill that gives the pet a chance to intercept damage aimed at its owner, redirecting a percentage of the incoming damage to itself instead. Both the trigger chance and the fraction of damage redirected scale with the pet's skilltree level.

When triggered, the owner takes reduced damage and the pet absorbs the redirected portion.

  • Method Details

    • getChance

      UpgradeComputer<Integer> getChance()
      Returns the upgrade computer controlling the percent chance to intercept damage for the owner.
      Returns:
      the upgrade computer for the percent chance to intercept damage for the owner
    • getRedirectedDamage

      UpgradeComputer<Integer> getRedirectedDamage()
      Returns the upgrade computer controlling the percentage of damage redirected from owner to pet.
      Returns:
      the upgrade computer for the percentage of damage redirected from owner to pet