PKMAbility

public class PKMAbility: Mappable

Abilities provide passive effects for Pokémon in battle or in the overworld. Pokémon have mutiple possible abilities but can have only one ability at a time. Check out Bulbapedia for greater detail.

  • id

    The identifier for this ability resource

    Declaration

    Swift

    public var id: Int?
  • The name for this ability resource

    Declaration

    Swift

    public var name: String?
  • Whether or not this ability originated in the main series of the video games

    Declaration

    Swift

    public var isMainSeries: Bool?
  • The generation this ability originated in

    Declaration

    Swift

    public var generation: PKMNamedAPIResource?
  • The name of this ability listed in different languages

    Declaration

    Swift

    public var names: [PKMName]?
  • The effect of this ability listed in different languages

    Declaration

    Swift

    public var effectEntries: [PKMVerboseEffect]?
  • The list of previous effects this ability has had across version groups

    Declaration

    Swift

    public var effectChanges: [PKMAbilityEffectChange]?
  • The flavor text of this ability listed in different languages

    Declaration

    Swift

    public var flavorTextEntries: [PKMVersionGroupFlavorText]?
  • A list of Pokémon that could potentially have this ability

    Declaration

    Swift

    public var pokemon: [PKMAbilityPokemon]?
  • Undocumented

    Declaration

    Swift

    public class PKMAbility: Mappable
  • Undocumented

    Declaration

    Swift

    public class PKMAbility: Mappable