User:Tiddlywinks/Template:TypeEff/HasType/Flying


Parameters
  • Numbered parameters
    • 1: The new effectiveness of Ground-type moves
  • Named parameters
    • Var: the variant of this template's text to use
      • var=ironballsplit is for cases where the effectiveness differs when it is only caused by Iron Ball versus any other grounding effect (if a Flying-type Pokémon is holding Iron Ball (and is not under any other grounding effect), Ground-type moves have 1× effectiveness (since Generation V); but other grounding effects calculate effectiveness based on the remaining type (rather than using a constant value))
      • var=iteminvalid is for Mega Pinsir or more generally any case where an item is ineffective or cannot be held.
Comments

Earth Eater will absorb Ground-type moves, but no Flying-type Pokémon currently has Earth Eater as an Ability. This seems easiest to incorporate as it may be needed (given the complexity of this one already).