java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
com.pixelmonmod.pixelmon.api.pokemon.ability.abilities.TeraShell
All Implemented Interfaces:
Ability, RarityTweak, ITranslatable

public class TeraShell extends AbstractAbility
When Terapagos is hit by a damage-dealing move at full HP (that does not have "no effect" due to type matchups), it will always be not very effective.

The whole move is not very effective, even in the case of multistrike moves. It also overrides the effect of Tar Shot.

Tera Shell has no effect on moves that deal direct damage, Struggle, or self-inflicted confusion damage, though it does affect typeless Revelation Dance.

  • Constructor Details

    • TeraShell

      public TeraShell()
  • Method Details

    • modifyTypeEffectivenessTarget

      public double modifyTypeEffectivenessTarget(PixelmonWrapper attackUser, PixelmonWrapper target, List<net.minecraft.core.Holder<Type>> targetEffectiveTypes, double currentEffectiveness)
      Description copied from interface: Ability
      Allows the target's ability to modify the type effectiveness of a move.
      Parameters:
      attackUser - The user of the attack being defended against.
      target - The target of the move that has the ability.
      targetEffectiveTypes - The types of the Pokémon targeted by the move.
      currentEffectiveness - The type effectiveness before modification.
      Returns:
      The new type effectiveness.
    • onEndOfTurn

      public void onEndOfTurn(PixelmonWrapper user)
      Description copied from interface: Ability
      Occurs at the end of the Pokémon's current turn.
      Parameters:
      user - The Pokémon with the ability.
    • resetValues

      public void resetValues(PixelmonWrapper attackUser)