public class Berserk extends AbstractAbility
| Modifier and Type | Field and Description |
|---|---|
protected float |
startingPercent |
| Constructor and Description |
|---|
Berserk() |
| Modifier and Type | Method and Description |
|---|---|
void |
preProcessAttack(PixelmonWrapper pw,
PixelmonWrapper attacker,
Attack a)
Triggers before the Pokémon is attacked.
|
void |
tookDamageTargetAfterMove(PixelmonWrapper user,
PixelmonWrapper target,
Attack a,
float damage)
Triggers at the end of an attack (after all hits of a multi-hit move) if the user takes damage.
|
equals, getName, getNewInstance, getTranslationKey, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitadjustCriticalHitChance, allowsIncomingAttack, allowsIncomingAttackMessage, allowsIncomingAttackTeammate, allowsOutgoingAttack, allowsStatChange, allowsStatChangeTeammate, allowsStatus, allowsStatusOpponent, allowsStatusTeammate, alwaysConsideredDamaged, applyAllySwitchInEffect, applyDynamaxEffect, applyEffectOnContactTarget, applyEffectOnContactTargetLate, applyEffectOnContactUser, applyEffectOnStatModified, applyEndOfBattleEffect, applyFoeSwitchInEffect, applyPostSwitchEffect, applyRepeatedEffect, applyRepeatedEffectAfterStatus, applyStartOfBattleEffect, applyStartOfBattleHeadOfPartyEffect, applySwitchInEffect, applySwitchOutEffect, applySwitchReplaceEffect, beforeSwitch, canAttackThisTurn, canBeCopied, canBeDisabled, canBeIgnored, canPerish, doesAttackUserIgnoreProtect, doesContactAttackMakeContact, getEffectiveTypes, getMultiplier, ignoreEvasion, ignoreWeather, isAbility, isAbility, isAbility, isNegativeAbility, modifyDamage, modifyDamageIncludeFixed, modifyDamageTarget, modifyDamageTeammate, modifyDamageUser, 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, onTerrainSwitch, onWeatherChange, postProcessAttack, postProcessAttackOther, postProcessAttackUser, postProcessAttackUserHitOrMiss, preProcessAttackStatBeforeDamageCalc, preProcessAttackUser, preventsCriticalHits, redirectAttack, sendActivatedMessage, startMove, stopsForcedSwitches, stopsSwitching, tookDamageTarget, tookDamageUsergetLocalizedName, getTranslatedNamepublic void preProcessAttack(PixelmonWrapper pw, PixelmonWrapper attacker, Attack a)
Abilitypw - The Pokémon with the Ability.attacker - The attack's user.a - The attack.public void tookDamageTargetAfterMove(PixelmonWrapper user, PixelmonWrapper target, Attack a, float damage)
Abilityuser - The attack's user.target - The attack's target.a - The attack.