Package com.pixelmonmod.pixelmon.items
Interface IMedicine
- All Known Implementing Classes:
MedicinePotion,MedicineRevive,MedicineStatus
public interface IMedicine
Defines a way that medicine can heal a Pokémon.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanuseMedicine(PokemonLink target) booleanuseMedicine(PokemonLink target, double multiplier) Heals the Pokémon with the item.
-
Method Details
-
useMedicine
Heals the Pokémon with the item.- Parameters:
target- The Pokémon the item is being used on.multiplier- Multiplier value for the heal amount.- Returns:
- Whether to remove an instance of the item from the player's inventory.
-
useMedicine
-