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.