Class TeraShell
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
com.pixelmonmod.pixelmon.api.pokemon.ability.abilities.TeraShell
- All Implemented Interfaces:
Ability,RarityTweak,ITranslatable
When Terapagos is hit by a damage-dealing move at full HP (that does not have "no effect" due to type matchups),
it will always be not very effective.
The whole move is not very effective, even in the case of multistrike moves. It also overrides the effect of Tar Shot.
Tera Shell has no effect on moves that deal direct damage, Struggle, or self-inflicted confusion damage, though it does affect typeless Revelation Dance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublemodifyTypeEffectivenessTarget(PixelmonWrapper attackUser, PixelmonWrapper target, List<net.minecraft.core.Holder<Type>> targetEffectiveTypes, double currentEffectiveness) Allows the target's ability to modify the type effectiveness of a move.voidonEndOfTurn(PixelmonWrapper user) Occurs at the end of the Pokémon's current turn.voidresetValues(PixelmonWrapper attackUser) 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, applyDynamaxEffect, applyEffectBeforeContactLate, applyEffectOnContactTarget, applyEffectOnContactTargetLate, applyEffectOnContactUser, applyEffectOnStatModified, applyEndOfBattleEffect, applyFoeSwitchInEffect, applyPostSwitchEffect, applyRepeatedEffect, applyRepeatedEffectAfterStatus, applyStartOfBattleEffect, applyStartOfBattleHeadOfPartyEffect, applyStartOfTurnEffect, applySwitchInEffect, applySwitchOutEffect, applySwitchReplaceEffect, applyTerastalEffect, beforeSwitch, canAttackThisTurn, canBeCopied, canBeDisabled, canBeEntrained, canBeIgnored, canBeReceived, canBeReplaced, canBeRoleplayed, canBeSwapped, canBeTraced, canPerish, doesAttackUserIgnoreProtect, doesContactAttackMakeContact, getMultiplier, ignoreEvasion, ignoresAdditionalEffectsAgainstTarget, ignoresAdditionalEffectsFromAttacker, ignoresContactEffectsFromTarget, 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, onTargetKnockedOut, onTerrainSwitch, onWeatherChange, postProcessAttack, postProcessAttackOther, postProcessAttackUser, postProcessAttackUserHitOrMiss, preProcessAttack, preProcessAttackStatBeforeDamageCalc, preProcessAttackUser, preventsCriticalHits, preventsItemRemoval, preventsRedirection, redirectAttack, redirectStatChange, sendActivatedMessage, startMove, stopsForcedSwitches, stopsSwitching, tookDamageTarget, tookDamageTargetAfterMove, tookDamageTargetAfterMoveLate, tookDamageUser, worksWithTransformedPokemonMethods inherited from interface com.pixelmonmod.pixelmon.api.util.ITranslatable
getLocalizedName, getTranslatedName
-
Constructor Details
-
TeraShell
public TeraShell()
-
-
Method Details
-
modifyTypeEffectivenessTarget
public double modifyTypeEffectivenessTarget(PixelmonWrapper attackUser, PixelmonWrapper target, List<net.minecraft.core.Holder<Type>> targetEffectiveTypes, double currentEffectiveness) Description copied from interface:AbilityAllows the target's ability to modify the type effectiveness of a move.- Parameters:
attackUser- The user of the attack being defended against.target- The target of the move that has the ability.targetEffectiveTypes- The types of the Pokémon targeted by the move.currentEffectiveness- The type effectiveness before modification.- Returns:
- The new type effectiveness.
-
onEndOfTurn
Description copied from interface:AbilityOccurs at the end of the Pokémon's current turn.- Parameters:
user- The Pokémon with the ability.
-
resetValues
-