Class InMouth
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.status.StatusBase
com.pixelmonmod.pixelmon.battles.status.InMouth
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
battleTurnGained, turnGained, type
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines whether the statused Pokémon can attack.boolean
boolean
Determines whether the user skips their turn due to this status.boolean
Determines whether the status prevents another Pokémon from switching them.boolean
stopsIncomingAttack
(PixelmonWrapper pw, PixelmonWrapper attacker) Determines whether the status stops an attack about to hit the statused Pokémon.void
stopsIncomingAttackMessage
(PixelmonWrapper pokemon, PixelmonWrapper user) Displays a battle message when the status stops an attack.boolean
Determines whether the status stops switching.Methods inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
adjustCritStage, allowsStatChange, applyBeforeEffect, applyEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applyRepeatedEffect, applySwitchOutEffect, cantMiss, copy, getCureMessage, getCureMessageItem, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyEffectiveTypes, modifyMoveEffectChanceTarget, modifyMoveEffectChanceUser, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onDynamaxTriggered, onEndOfAttackersTurn, onEndOfTurn, onFormChanged, redirectAttack, stopsEvolution, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange
Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, canHitMultipleTargets, changeChance, checkChance, dealtDamage, dealtDamagePerHit, doesPersist, getChance, getWeightWithChance, isChance, isUser, modifyDamage, modifyPriority, modifyTargets, modifyTypeEffectiveness, modifyTypeEffectiveness, preventsRedirection, setChance, weightEffect
-
Constructor Details
-
InMouth
-
-
Method Details
-
stopsSwitching
public boolean stopsSwitching()Description copied from class:StatusBase
Determines whether the status stops switching.- Overrides:
stopsSwitching
in classStatusBase
- Returns:
- Whether the status stops switching.
-
stopsForcedSwitches
Description copied from class:StatusBase
Determines whether the status prevents another Pokémon from switching them.- Overrides:
stopsForcedSwitches
in classStatusBase
- Parameters:
cause
- The Pokémon triggering the switch.- Returns:
- Whether the status stops the forced switch.
-
canAttackThisTurn
Description copied from class:StatusBase
Determines whether the statused Pokémon can attack.- Overrides:
canAttackThisTurn
in classStatusBase
- Parameters:
pw
- The statused Pokémon.a
- The attack to be used by the Pokémon.- Returns:
- Whether the Pokémon can attack.
-
stopsIncomingAttack
Description copied from class:StatusBase
Determines whether the status stops an attack about to hit the statused Pokémon.- Overrides:
stopsIncomingAttack
in classStatusBase
- Parameters:
pw
- The statused Pokémon.attacker
- The attack's user.- Returns:
- Whether the attack is stopped.
-
skipsTurn
public boolean skipsTurn()Description copied from class:StatusBase
Determines whether the user skips their turn due to this status. Skips all actions.- Overrides:
skipsTurn
in classStatusBase
- Returns:
- Whether the turn is skipped
-
stopsIncomingAttackMessage
Description copied from class:StatusBase
Displays a battle message when the status stops an attack.- Overrides:
stopsIncomingAttackMessage
in classStatusBase
- Parameters:
pokemon
- The statused Pokémon.user
- The attack's user.
-
isPartnerDondozo
-