Interface Lightning

All Superinterfaces:
OnHitSkill, Skill

public interface Lightning extends Skill, OnHitSkill
Skill that gives the pet a chance to strike the target with a lightning bolt on hit. The lightning deals configurable bonus damage in addition to the visual/sound effect. Both the trigger chance and damage scale with the pet's skilltree level.
See Also:
  • Method Details

    • getChance

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

      UpgradeComputer<Number> getDamage()
      Returns the upgrade computer controlling the bonus damage dealt by the lightning strike.
      Returns:
      the upgrade computer for the bonus damage dealt by the lightning strike