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

public class DragonsMaw extends AbstractAbility
Created by Jay113355 on 10/2/2020.
  • Constructor Details

    • DragonsMaw

      public DragonsMaw()
  • Method Details

    • modifyDamageUser

      public int modifyDamageUser(int damage, PixelmonWrapper user, PixelmonWrapper target, Attack a)
      Triggers when the Pokémon deals direct damage.
      Parameters:
      damage - The amount of damage dealt.
      user - The attack's user.
      target - The attack's target.
      a - The attack.
      Returns:
      The modified damage.
    • applyEndOfBattleEffect

      public void applyEndOfBattleEffect(PixelmonWrapper pokemon)
      Triggers at the end of the battle.
      Parameters:
      pokemon - The Pokémon in battle at the battle's end.
    • needNewInstance

      public boolean needNewInstance()
      Checks if a new instance of the Ability needs to be initialized if a Pokémon receives it in battle.
      Returns:
      Whether a new instance of the Ability needs to be initialized if a Pokémon receives it in battle.