Interface Thorns

All Superinterfaces:
OnDamageByEntitySkill, Skill

public interface Thorns extends Skill, OnDamageByEntitySkill
Skill that gives the pet a chance to reflect a portion of incoming melee damage back to the attacker. When triggered, the entity that hit the pet receives damage equal to the configured percentage of the original hit. Both the reflection percentage and trigger chance scale with the pet's skilltree level.
See Also:
  • Method Details

    • getReflectedDamage

      UpgradeComputer<Integer> getReflectedDamage()
      Returns the upgrade computer controlling the percentage of damage reflected back to the attacker.
      Returns:
      the upgrade computer for the percentage of damage reflected back to the attacker
    • getChance

      UpgradeComputer<Integer> getChance()
      Returns the upgrade computer controlling the percent chance to reflect damage when hit.
      Returns:
      the upgrade computer for the percent chance to reflect damage when hit