Class MedicineStatus

java.lang.Object
com.pixelmonmod.pixelmon.items.medicine.MedicineStatus
All Implemented Interfaces:
IMedicine

public class MedicineStatus extends Object implements IMedicine
Causes medicine to heal a Pokémon's status.
  • Constructor Details

    • MedicineStatus

      public MedicineStatus(StatusType... statuses)
      Initializes the medicine definition.
      Parameters:
      statuses - The statuses healed by the medicine.
  • Method Details

    • useMedicine

      public boolean useMedicine(PokemonLink target, double multiplier)
      Description copied from interface: IMedicine
      Heals the Pokémon with the item.
      Specified by:
      useMedicine in interface IMedicine
      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.