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

public class Scrappy extends AbstractAbility
Makes Normal and Fighting-type moves able to hit Ghost-type Pokémon.
  • Constructor Details

    • Scrappy

      public Scrappy()
  • Method Details

    • modifyEffectiveTypes

      public List<Element> modifyEffectiveTypes(PixelmonWrapper user, PixelmonWrapper target, List<Element> types)
      Description copied from interface: Ability
      Returns the types that will be used in calculating the Pokémon's attack's type effectiveness.
      Parameters:
      user - The attack's user.
      target - The attack's target.
      types - The current effective types of the target.
      Returns:
      The target's modified types.