Class StartRecordingKillsAction

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

@Dev(category=KILLS, label="State") public class StartRecordingKillsAction extends Object implements ChatAction
Starts the recording of kills.
Author:
hendrik
See Also:
KilledForQuestCondition, KilledInSumForQuestCondition
  • Constructor Details

    • StartRecordingKillsAction

      public StartRecordingKillsAction(String questSlot, @Dev(defaultValue="1") int index, Map<String,​Pair<Integer,​Integer>> toKill)
      Creates a new StartRecordingKillsAction.
      Parameters:
      questSlot - name of quest slot
      index - index within quest slot
      toKill - creatures which should be killed by the player (name, required solo kills, required solo/shared kills)
    • StartRecordingKillsAction

      @Dev public StartRecordingKillsAction(String questSlot, @Dev(defaultValue="1") int index, RequiredKillsInfo... requiredKills)
      Creates a new StartRecordingKillsAction.
      Parameters:
      questSlot - name of quest slot
      index - index within quest slot
      requiredKills - creatures which should be killed by the player (name, required solo kills, required solo/shared kills)
    • StartRecordingKillsAction

      public StartRecordingKillsAction(String questSlot, int index, String creature, int requiredSolo, int requiredShared)
      Creates a new StartRecordingKillsAction.
      Parameters:
      questSlot - name of quest slot
      index - index within questslot
      creature - Creature
      requiredSolo - number of creatures that have to be killed solo
      requiredShared - number of creatures that may be killed with help by other players
  • Method Details