public class WaterBubble extends AbstractAbility
Constructor and Description |
---|
WaterBubble() |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsStatus(StatusType status,
PixelmonWrapper pokemon,
PixelmonWrapper user)
Fires when a status attempts to apply.
|
void |
applyRepeatedEffect(PixelmonWrapper pokemon)
Fires at the end of the turn.
|
int |
modifyDamageTarget(int damage,
PixelmonWrapper user,
PixelmonWrapper target,
Attack a)
Triggers when the Pokémon takes direct damage.
|
int[] |
modifyPowerAndAccuracyUser(int power,
int accuracy,
PixelmonWrapper user,
PixelmonWrapper target,
Attack a)
Modifies the power and accuracy of the Pokémon's attack.
|
equals, getName, getNewInstance, getTranslationKey, hashCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
adjustCriticalHitChance, allowsIncomingAttack, allowsIncomingAttackMessage, allowsIncomingAttackTeammate, allowsOutgoingAttack, allowsStatChange, allowsStatChangeTeammate, allowsStatusOpponent, allowsStatusTeammate, alwaysConsideredDamaged, applyAllySwitchInEffect, applyDynamaxEffect, applyEffectOnContactTarget, applyEffectOnContactTargetLate, applyEffectOnContactUser, applyEffectOnStatModified, applyEndOfBattleEffect, applyFoeSwitchInEffect, applyPostSwitchEffect, applyRepeatedEffectAfterStatus, applyStartOfBattleEffect, applyStartOfBattleHeadOfPartyEffect, applySwitchInEffect, applySwitchOutEffect, applySwitchReplaceEffect, beforeSwitch, canAttackThisTurn, canBeCopied, canBeDisabled, canBeIgnored, canPerish, doesAttackUserIgnoreProtect, doesContactAttackMakeContact, getEffectiveTypes, getMultiplier, ignoreEvasion, ignoreWeather, isAbility, isAbility, isAbility, isNegativeAbility, modifyDamage, modifyDamageIncludeFixed, modifyDamageTeammate, modifyDamageUser, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyTeammate, modifyPriority, modifySelfDamage, modifyStab, modifyStats, modifyStatsCancellable, modifyStatsCancellableOther, modifyStatsCancellableTeammate, modifyStatsOther, modifyStatsTeammate, modifyType, modifyWeight, needNewInstance, onAbilityLost, onAllyFaint, onBerryEaten, onDamageReceived, onFoeFaint, onHealed, onItemChanged, onItemConsumed, onSelfFaint, onStatDecrease, onStatIncrease, onStatusAdded, onTerrainSwitch, onWeatherChange, postProcessAttack, postProcessAttackOther, postProcessAttackUser, postProcessAttackUserHitOrMiss, preProcessAttack, preProcessAttackStatBeforeDamageCalc, preProcessAttackUser, preventsCriticalHits, redirectAttack, sendActivatedMessage, startMove, stopsForcedSwitches, stopsSwitching, tookDamageTarget, tookDamageTargetAfterMove, tookDamageUser
getLocalizedName, getTranslatedName
public int modifyDamageTarget(int damage, PixelmonWrapper user, PixelmonWrapper target, Attack a)
Ability
damage
- The amount of damage dealt.user
- The attack's user.target
- The attack's target.a
- The attack.public int[] modifyPowerAndAccuracyUser(int power, int accuracy, PixelmonWrapper user, PixelmonWrapper target, Attack a)
Ability
power
- The attack's power.accuracy
- The attack's accuracy.user
- The attack's user.target
- The attack's target.a
- The attack.public boolean allowsStatus(StatusType status, PixelmonWrapper pokemon, PixelmonWrapper user)
Ability
status
- StatusType.[whatever status] == status is the condition of the if statement.pokemon
- The victim.user
- The user.public void applyRepeatedEffect(PixelmonWrapper pokemon)
Ability
pokemon
- The Pokémon with the Ability.