Class PlayerLootedNumberOfItemsCondition

java.lang.Object
games.stendhal.server.entity.npc.condition.PlayerLootedNumberOfItemsCondition
All Implemented Interfaces:
ChatCondition, PreTransitionCondition

@Dev(category=ITEMS_LOOTED, label="Item?") public class PlayerLootedNumberOfItemsCondition extends Object implements ChatCondition
Checks if a player has looted a minimum number of item(s).
Author:
madmetzger
  • Constructor Details

    • PlayerLootedNumberOfItemsCondition

      public PlayerLootedNumberOfItemsCondition(int number, String... item)
      Create a new PlayerLootedNumberOfItemsCondition
      Parameters:
      number - required number of each item
      item - list of required items
  • Method Details