|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmechanics.moves.PokemonMove
mechanics.moves.AbsorbMove
public class AbsorbMove
Creates a move that increases the user's health by a percentage of the damage done to the opponent.
Field Summary |
---|
Fields inherited from class mechanics.moves.PokemonMove |
---|
m_accuracy, m_entry, m_power, m_pp, m_type |
Constructor Summary | |
---|---|
AbsorbMove(PokemonType type,
int power,
double accuracy,
int pp,
double percent)
Creates a new instance of RecoilMove |
Method Summary | |
---|---|
int |
use(BattleMechanics mech,
Pokemon user,
Pokemon target)
Cause a pokemon to use this move on another pokemon. |
Methods inherited from class mechanics.moves.PokemonMove |
---|
attemptHit, beginTurn, canCriticalHit, clone, getAccuracy, getEffectiveness, getEffectiveness, getMoveListEntry, getPower, getPp, getPriority, getStatusException, getType, hasHighCriticalHitRate, isAttack, isBuggy, isDamaging, isSpecial, setAccuracy, setPower, setType, switchIn |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbsorbMove(PokemonType type, int power, double accuracy, int pp, double percent)
Method Detail |
---|
public int use(BattleMechanics mech, Pokemon user, Pokemon target)
PokemonMove
use
in class PokemonMove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |