Class KilledCondition

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

@Dev(category=KILLS, label="Kills?") public class KilledCondition extends Object implements ChatCondition
Has the player killed at least one of each specified creature, with or without the help of any other player.
Author:
hendrik
  • Constructor Details

    • KilledCondition

      @Dev public KilledCondition(List<String> toKill)
      creates a new KilledCondition.
      Parameters:
      toKill - list of creatures for which the player need to have participated in killing at least one each
    • KilledCondition

      public KilledCondition(String... toKill)
      creates a new KilledCondition.
      Parameters:
      toKill - creatures which should be killed by the player
  • Method Details