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

public class ThickFat extends AbstractAbility
Halves damage from Fire/Ice moves.
  • Constructor Details

    • ThickFat

      public ThickFat()
  • Method Details

    • preProcessAttackStatBeforeDamageCalc

      public double preProcessAttackStatBeforeDamageCalc(PixelmonWrapper attacker, double attackStat)
      Description copied from interface: Ability
      Triggers when another Pokémon is attacking this Pokémon, the attack will hit, and the attack is not charging. Triggers right before damage calculation is done.
      Parameters:
      attacker - The Pokémon that is attacking.
      attackStat - The attacker's attack value.
    • canBeIgnored

      public boolean canBeIgnored()
      Description copied from interface: Ability
      Returns whether the ability can be bypassed by moves that ignore abilities or not. e.g. Moldbreaker or G-Max Drum Solo
      Returns:
      Whether the ability can be ignored.