Class ZenMode
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
com.pixelmonmod.pixelmon.api.pokemon.ability.abilities.ZenMode
- All Implemented Interfaces:
- Ability,- RarityTweak,- ITranslatable
Changes Darmanitan to its Zen Mode form when its hp falls below half.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidapplyRepeatedEffect(PixelmonWrapper pokemon) Fires at the end of the turn.voidapplyStartOfBattleEffect(PixelmonWrapper pokemon) Triggers at the start of the battle.voidattemptChange(PixelmonWrapper pokemon) booleanReturns whether the ability can be disabled by external effects eg.booleanReturns whether the ability can be transferred via Entrainment.booleanReturns whether the ability can be copied from an ally via Receiver.booleanReturns whether the ability can be copied via Roleplay.booleanReturns whether the ability can be part of a Skill Swap exchange.booleanReturns whether the ability can be copied via Trace.voidonAbilityLost(PixelmonWrapper pokemon) Triggers just before the Pokémon loses an Ability in battle.booleanReturns whether the ability is active for Transformed pokemon.Methods inherited from class com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbilityequals, getName, getNewInstance, getTranslationKey, hashCodeMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pixelmonmod.pixelmon.api.pokemon.ability.AbilityadjustCriticalHitChance, adjustCritStage, allowsAttack, allowsIncomingAttack, allowsIncomingAttackMessage, allowsIncomingAttackTeammate, allowsOutgoingAttack, allowsStatChange, allowsStatChangeTeammate, allowsStatus, allowsStatusOpponent, allowsStatusTeammate, alwaysConsideredDamaged, applyAllySwitchInEffect, applyCritMultiplier, applyDynamaxEffect, applyEffectOnContactTarget, applyEffectOnContactTargetLate, applyEffectOnContactUser, applyEffectOnStatModified, applyEndOfBattleEffect, applyFoeSwitchInEffect, applyPostSwitchEffect, applyRepeatedEffectAfterStatus, applyStartOfBattleHeadOfPartyEffect, applyStartOfTurnEffect, applySwitchInEffect, applySwitchOutEffect, applySwitchReplaceEffect, beforeSwitch, canAttackThisTurn, canBeCopied, canBeIgnored, 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, onAllyFaint, onBerryEaten, onDamageReceived, onFoeFaint, onHealed, onItemChanged, onItemConsumed, onSelfFaint, onStatDecrease, onStatIncrease, onStatusAdded, onTerrainSwitch, onWeatherChange, postProcessAttack, postProcessAttackOther, postProcessAttackUser, postProcessAttackUserHitOrMiss, preProcessAttack, preProcessAttackStatBeforeDamageCalc, preProcessAttackUser, preventsCriticalHits, preventsItemRemoval, preventsRedirection, redirectAttack, sendActivatedMessage, startMove, stopsForcedSwitches, stopsSwitching, tookDamageTarget, tookDamageTargetAfterMove, tookDamageUserMethods inherited from interface com.pixelmonmod.pixelmon.api.util.ITranslatablegetLocalizedName, getTranslatedName
- 
Constructor Details- 
ZenModepublic ZenMode()
 
- 
- 
Method Details- 
applyRepeatedEffectDescription copied from interface:AbilityFires at the end of the turn.- Parameters:
- pokemon- The Pokémon with the Ability.
 
- 
applyStartOfBattleEffectDescription copied from interface:AbilityTriggers at the start of the battle.- Parameters:
- pokemon- The ability holder.
 
- 
attemptChange
- 
onAbilityLostDescription copied from interface:AbilityTriggers just before the Pokémon loses an Ability in battle.- Parameters:
- pokemon- The Pokémon with the Ability.
 
- 
canBeRoleplayedpublic boolean canBeRoleplayed()Description copied from interface:AbilityReturns whether the ability can be copied via Roleplay.- Returns:
- Whether the ability can be copied.
 
- 
canBeReceivedpublic boolean canBeReceived()Description copied from interface:AbilityReturns whether the ability can be copied from an ally via Receiver.- Returns:
- Whether the ability can be Received from an ally.
 
- 
canBeEntrainedpublic boolean canBeEntrained()Description copied from interface:AbilityReturns whether the ability can be transferred via Entrainment.- Returns:
- Whether the ability can be set on opponent.
 
- 
canBeTracedpublic boolean canBeTraced()Description copied from interface:AbilityReturns whether the ability can be copied via Trace.- Returns:
- Whether the ability can be Traced.
 
- 
canBeSwappedpublic boolean canBeSwapped()Description copied from interface:AbilityReturns whether the ability can be part of a Skill Swap exchange.- Returns:
- Whether the ability can be swapped.
 
- 
canBeDisabledpublic 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.
 
- 
worksWithTransformedPokemonpublic 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.
 
 
-