Class Steelsurge


public class Steelsurge extends EntryHazard
Damages Pokémon depending on how weak they are to Steel-type moves.
  • Constructor Details

    • Steelsurge

      public Steelsurge()
      Initializes the status.
  • Method Details

    • isTeamStatus

      public boolean isTeamStatus()
      Description copied from class: StatusBase
      Determines whether the status applies to the Pokémon's position in the battle.
      Overrides:
      isTeamStatus in class EntryHazard
      Returns:
      Whether the status applies to the Pokémon's position in the battle.
    • isUnharmed

      public boolean isUnharmed(PixelmonWrapper pw)
      Description copied from class: EntryHazard
      Checks if the Pokémon is unharmed by the entry hazard.
      Overrides:
      isUnharmed in class EntryHazard
      Parameters:
      pw - The Pokémon to check.
      Returns:
      Whether the Pokémon is unharmed by the entry hazard.
    • getDamage

      public int getDamage(PixelmonWrapper pw)
      Description copied from class: EntryHazard
      Returns the amount of damage dealt by the entry hazard.
      Overrides:
      getDamage in class EntryHazard
      Parameters:
      pw - The Pokémon being damaged by the entry hazard.
      Returns:
      The amount of damage dealt by the entry hazard.
    • getFirstLayerMessage

      protected String getFirstLayerMessage()
      Description copied from class: EntryHazard
      Gets the lang key for the message displayed when a hazard is first laid.
      Specified by:
      getFirstLayerMessage in class EntryHazard
      Returns:
      The lang key for the message displayed when a hazard is first laid.
    • getAffectedMessage

      protected String getAffectedMessage()
      Description copied from class: EntryHazard
      Gets the lang key for the message displayed when a hazard is triggered.
      Specified by:
      getAffectedMessage in class EntryHazard
      Returns:
      The lang key for the message displayed when a hazard is triggered.
    • getAIWeight

      public int getAIWeight()
      Description copied from class: EntryHazard
      Gets the weight per Pokémon that an AI will assign to the move.
      Specified by:
      getAIWeight in class EntryHazard
      Returns:
      The weight per Pokémon that an AI will assign to the move.
    • getNewInstance

      public EntryHazard getNewInstance()
      Description copied from class: EntryHazard
      Gets a new instance of the entry hazard.
      Specified by:
      getNewInstance in class EntryHazard
      Returns:
      A new instance of the entry hazard.