mechanics.moves
Class MoveList.PerfectAccuracyMove
java.lang.Object
mechanics.moves.PokemonMove
mechanics.moves.MoveList.PerfectAccuracyMove
- All Implemented Interfaces:
- java.lang.Cloneable
- Enclosing class:
- MoveList
public static class MoveList.PerfectAccuracyMove
- extends PokemonMove
A move that always hits unless the opponent is underground or flying.
Methods inherited from class mechanics.moves.PokemonMove |
beginTurn, canCriticalHit, clone, getAccuracy, getEffectiveness, getEffectiveness, getMoveListEntry, getPower, getPp, getPriority, getStatusException, getType, hasHighCriticalHitRate, isAttack, isBuggy, isDamaging, isSpecial, setAccuracy, setPower, setType, switchIn, use |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoveList.PerfectAccuracyMove
public MoveList.PerfectAccuracyMove(PokemonType type,
int power,
int pp)
isHit
public static boolean isHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
attemptHit
public boolean attemptHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
- Description copied from class:
PokemonMove
- Attempt to hit an enemy.
- Overrides:
attemptHit
in class PokemonMove