mechanics.moves
Class MoveList.PartyEffect
java.lang.Object
mechanics.statuses.StatusEffect
mechanics.statuses.field.FieldEffect
mechanics.moves.MoveList.PartyEffect
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- MoveList.HealBlockEffect, MoveList.LuckyChantEffect, MoveList.MistEffect, MoveList.SafeguardEffect
- Enclosing class:
- MoveList
public abstract static class MoveList.PartyEffect
- extends FieldEffect
An effect that is applied to a team for 5 turns.
Methods inherited from class mechanics.statuses.StatusEffect |
activate, apply, apply, canSwitch, canSwitch, deactivate, deactivates, disable, equals, executeTurn, getDescription, getEffectiveness, getEnemyTransformedEffectiveness, getEnemyTransformedMove, getInducer, getLock, getMove, getName, getTierCount, getTransformedEffectiveness, getTransformedMove, hitsThroughSubstitute, immobilises, informDamaged, informDuplicateEffect, isActive, isEffectivenessTransformer, isExclusiveWith, isListener, isMoveTransformer, isPassable, isRemovable, setInducer, switchIn, unapply, vetoesMove |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoveList.PartyEffect
public MoveList.PartyEffect(java.lang.String start,
java.lang.String end)
applyToField
public boolean applyToField(BattleField field)
- Description copied from class:
FieldEffect
- Apply this effect to a field.
- Specified by:
applyToField
in class FieldEffect
getTier
public int getTier()
- Description copied from class:
StatusEffect
- Remove the tier of the after-turn effect.
- Overrides:
getTier
in class StatusEffect
tickField
public boolean tickField(BattleField field)
- Description copied from class:
FieldEffect
- Tick the effect on the whole field.
- Specified by:
tickField
in class FieldEffect
- Returns:
- whether the effect was removed
isSingleton
public boolean isSingleton()
- Description copied from class:
StatusEffect
- Determine whether this effect is a singleton -- i.e., whether only
a single copy of it can be present on a pokemon.
- Overrides:
isSingleton
in class StatusEffect
activateParty
public void activateParty(Pokemon p)
isActive
public boolean isActive(int party)