| Constructor and Description |
|---|
MedicineRevive(IHealHP healHP)
Initializes the medicine definition.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
healPokemon(PokemonLink pxm)
Heals the Pokémon according to the item type.
|
boolean |
useMedicine(PokemonLink target,
double multiplier)
Heals the Pokémon with the item.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waituseMedicinepublic MedicineRevive(IHealHP healHP)
healHP - The calculation for how much hp will be healed.public boolean useMedicine(PokemonLink target, double multiplier)
IMedicineuseMedicine in interface IMedicinetarget - The Pokémon the item is being used on.multiplier - Multiplier value for the heal amount.protected boolean healPokemon(PokemonLink pxm)
pxm - The Pokémon being healed.