Class InflictStatusOnNPCAction

java.lang.Object
games.stendhal.server.entity.npc.action.InflictStatusOnNPCAction
All Implemented Interfaces:
ChatAction, PostTransitionAction

@Dev(category=STATS, label="Status") public class InflictStatusOnNPCAction extends Object implements ChatAction
inflicts a status on an NPC
Author:
hendrik
  • Constructor Details

    • InflictStatusOnNPCAction

      @Dev public InflictStatusOnNPCAction(String itemName)
      InflictStatusOnNPCAction
      Parameters:
      itemName - name of item;
    • InflictStatusOnNPCAction

      public InflictStatusOnNPCAction(Status status)
      InflictStatusOnNPCAction
      Parameters:
      status - status to inflict
  • Method Details