Enum Class SkillEffect

java.lang.Object
java.lang.Enum<SkillEffect>
model.skill.SkillEffect
All Implemented Interfaces:
Serializable, Comparable<SkillEffect>, Constable

public enum SkillEffect extends Enum<SkillEffect>
Skill effect types available to each character.
  • Enum Constant Details

    • MULTI_HIT

      public static final SkillEffect MULTI_HIT
      Knight Slash — attacks twice per turn.
    • MAGIC_DAMAGE

      public static final SkillEffect MAGIC_DAMAGE
      Alien Fireball — magic damage x1.5, fully bypasses defense.
    • PIERCE

      public static final SkillEffect PIERCE
      Archer Strike — attack that fully bypasses defense.
    • HEAL_SELF

      public static final SkillEffect HEAL_SELF
      Reborn Heal — restores 30 HP.
  • Constructor Details

    • SkillEffect

      private SkillEffect()
  • Method Details

    • values

      public static SkillEffect[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SkillEffect valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null