Interface IMedicine

All Known Implementing Classes:
MedicinePotion, MedicineRevive, MedicineStatus

public interface IMedicine
Defines a way that medicine can heal a Pokémon.
  • Method Details

    • useMedicine

      HeldItemInteractionResult useMedicine(Pokemon target, double multiplier)
      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

      default HeldItemInteractionResult useMedicine(Pokemon target)