Class IncrementQuestAction

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

@Dev(category=QUEST_SLOT, label="State") public class IncrementQuestAction extends Object implements ChatAction
Increments by some value the current state or substate of a quest.
  • Constructor Details

    • IncrementQuestAction

      public IncrementQuestAction(String questname, int increment)
      Creates a new IncrementQuestAction.
      Parameters:
      questname - name of quest-slot to change
      increment - the increment to the old value
    • IncrementQuestAction

      @Dev public IncrementQuestAction(String questname, @Dev(defaultValue="1") int index, int increment)
      Creates a new IncrementQuestAction.
      Parameters:
      questname - name of quest-slot to change
      index - index of sub state
      increment - increment to the old value
  • Method Details