mechanics.statuses.items
Class ChoiceBandItem
java.lang.Object
mechanics.statuses.StatusEffect
mechanics.statuses.abilities.IntrinsicAbility
mechanics.statuses.items.HoldItem
mechanics.statuses.items.ChoiceBandItem
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable
public class ChoiceBandItem
- extends HoldItem
Choice Band: First attack is used repeatedly, but for 150% damage.
Switching resets the choice.
Constructor Summary |
ChoiceBandItem(java.lang.String name,
boolean special)
|
Methods inherited from class mechanics.statuses.abilities.IntrinsicAbility |
compareTo, equals, getDescription, getInstance, getName, getTier, immobilises, isEffectTransferrable, isPhysical, isSwappable, tick, unapply |
Methods inherited from class mechanics.statuses.StatusEffect |
activate, apply, canSwitch, canSwitch, clone, deactivate, deactivates, disable, executeTurn, getEffectiveness, getEnemyTransformedEffectiveness, getEnemyTransformedMove, getInducer, getLock, getMove, getTierCount, getTransformedEffectiveness, hitsThroughSubstitute, informDamaged, informDuplicateEffect, isActive, isEffectivenessTransformer, isExclusiveWith, isListener, isPassable, isRemovable, isSingleton, setInducer, switchIn |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChoiceBandItem
public ChoiceBandItem(java.lang.String name,
boolean special)
- Parameters:
special
- whether the boosted moves are special
apply
public boolean apply(Pokemon p)
- Description copied from class:
StatusEffect
- Applies the initial effects of the status to a pokemon but does not add
the status to the list of statuses the pokemon has.
- Overrides:
apply
in class IntrinsicAbility
vetoesMove
public boolean vetoesMove(Pokemon p,
MoveListEntry entry)
- Description copied from class:
StatusEffect
- Returns whether this status effect vetoes the choice of a particular
move.
- Overrides:
vetoesMove
in class StatusEffect
switchOut
public boolean switchOut(Pokemon p)
- Description copied from class:
StatusEffect
- Called when a pokemon with this status effect switches out.
Returns true if the status effect should be removed.
- Overrides:
switchOut
in class IntrinsicAbility
isMoveTransformer
public boolean isMoveTransformer(boolean enemy)
- Description copied from class:
StatusEffect
- Returns true if this status effect is capable of transforming moves.
- Overrides:
isMoveTransformer
in class StatusEffect
- Parameters:
enemy
- whether this is an enemy move
beginTick
public void beginTick()
- Description copied from class:
StatusEffect
- Begin ticking this effect.
- Overrides:
beginTick
in class StatusEffect
transformChoice
protected void transformChoice(Pokemon p,
BattleMechanics mech,
MoveListEntry entry)
setChoice
public void setChoice(Pokemon p,
BattleMechanics mech,
MoveListEntry entry)
getTransformedMove
public MoveListEntry getTransformedMove(Pokemon p,
MoveListEntry entry)
- Overrides:
getTransformedMove
in class StatusEffect