Class GulpMissile
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
com.pixelmonmod.pixelmon.api.pokemon.ability.abilities.GulpMissile
- All Implemented Interfaces:
Ability,RarityTweak,ITranslatable
This ability is weird. When Surf or Dive is used, changes form based on % HP remaining.
Then, when hit by an attack, deals retaliatory damage with a secondary effect based on the % HP from before.
Dynamax ends this effect early.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyDynamaxEffect(PixelmonWrapper pokemon) Triggers when the Pokémon Dynamaxes.voidapplySwitchOutEffect(PixelmonWrapper oldPokemon) Triggers when the Pokémon switches out.booleanReturns whether the ability can be disabled by external effects eg.voidpostProcessAttackUserHitOrMiss(PixelmonWrapper pokemon, PixelmonWrapper target, Attack a) Triggers after the Pokémon attacks, no matter if the Pokémon hits or misses.voidtookDamageTarget(int damage, PixelmonWrapper user, PixelmonWrapper target, Attack a) Triggers after the Pokémon takes damage.booleanReturns whether the ability is active for Transformed pokemon.Methods inherited from class com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
equals, getName, getNewInstance, getTranslationKey, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pixelmonmod.pixelmon.api.pokemon.ability.Ability
adjustCriticalHitChance, adjustCritStage, allowsAttack, allowsIncomingAttack, allowsIncomingAttackMessage, allowsIncomingAttackTeammate, allowsOutgoingAttack, allowsStatChange, allowsStatChangeTeammate, allowsStatus, allowsStatusOpponent, allowsStatusTeammate, alwaysConsideredDamaged, applyAllySwitchInEffect, applyCritMultiplier, applyEffectOnContactTarget, applyEffectOnContactTargetLate, applyEffectOnContactUser, applyEffectOnStatModified, applyEndOfBattleEffect, applyFoeSwitchInEffect, applyPostSwitchEffect, applyRepeatedEffect, applyRepeatedEffectAfterStatus, applyStartOfBattleEffect, applyStartOfBattleHeadOfPartyEffect, applyStartOfTurnEffect, applySwitchInEffect, applySwitchReplaceEffect, beforeSwitch, canAttackThisTurn, canBeCopied, canBeEntrained, canBeIgnored, canBeReceived, canBeRoleplayed, canBeSwapped, canBeTraced, canPerish, doesAttackUserIgnoreProtect, doesContactAttackMakeContact, getMultiplier, ignoreEvasion, ignoresStatusTypeImmunity, ignoreWeather, isAbility, isAbility, isAbility, isAbility, isAbility, isNegativeAbility, modifyConfusionDamage, modifyDamage, modifyDamageIncludeFixed, modifyDamageTarget, modifyDamageTeammate, modifyDamageUser, modifyEffectiveTypes, modifyMoveEffectChanceTarget, modifyMoveEffectChanceUser, modifyMoveEffects, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyTeammate, modifyPowerAndAccuracyUser, modifyPriority, modifySelfDamage, modifyStab, modifyStats, modifyStatsCancellable, modifyStatsCancellableOther, modifyStatsCancellableTeammate, modifyStatsOther, modifyStatsTeammate, modifyType, modifyWeight, needNewInstance, onAbilityLost, onAllyFaint, onBerryEaten, onDamageReceived, onFoeFaint, onHealed, onItemChanged, onItemConsumed, onSelfFaint, onStatDecrease, onStatIncrease, onStatusAdded, onStatusInflicted, onTerrainSwitch, onWeatherChange, postProcessAttack, postProcessAttackOther, postProcessAttackUser, preProcessAttack, preProcessAttackStatBeforeDamageCalc, preProcessAttackUser, preventsCriticalHits, preventsItemRemoval, preventsRedirection, redirectAttack, redirectStatChange, sendActivatedMessage, startMove, stopsForcedSwitches, stopsSwitching, tookDamageTargetAfterMove, tookDamageTargetAfterMoveLate, tookDamageUserMethods inherited from interface com.pixelmonmod.pixelmon.api.util.ITranslatable
getLocalizedName, getTranslatedName
-
Constructor Details
-
GulpMissile
public GulpMissile()
-
-
Method Details
-
postProcessAttackUserHitOrMiss
public void postProcessAttackUserHitOrMiss(PixelmonWrapper pokemon, PixelmonWrapper target, Attack a) Description copied from interface:AbilityTriggers after the Pokémon attacks, no matter if the Pokémon hits or misses.- Parameters:
pokemon- The Pokémon with the Ability.target- The attack's target.a- The attack.
-
tookDamageTarget
Description copied from interface:AbilityTriggers after the Pokémon takes damage.- Parameters:
damage- The amount of damage dealt.user- The attack's user.target- The attack's target.a- The attack.
-
applySwitchOutEffect
Description copied from interface:AbilityTriggers when the Pokémon switches out.- Parameters:
oldPokemon- The Pokémon switching out.
-
applyDynamaxEffect
Description copied from interface:AbilityTriggers when the Pokémon Dynamaxes.- Parameters:
pokemon- The Pokémon Dynamaxing.
-
canBeDisabled
public boolean canBeDisabled()Description copied from interface:AbilityReturns whether the ability can be disabled by external effects eg. Neutralizing Gas.- Returns:
- Whether the ability can be disabled.
-
worksWithTransformedPokemon
public boolean worksWithTransformedPokemon()Description copied from interface:AbilityReturns whether the ability is active for Transformed pokemon.- Returns:
- Whether the ability can be used by transformed pokemon.
-