Class SetQuestToPlayerAgeAction

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

@Dev(category=STATS, label="State") public class SetQuestToPlayerAgeAction extends Object implements ChatAction
Sets the state of a quest to the current age of the player.
  • Constructor Details

    • SetQuestToPlayerAgeAction

      public SetQuestToPlayerAgeAction(String questname)
      Creates a new SetQuestToPlayerAgeAction.
      Parameters:
      questname - name of quest-slot to change
    • SetQuestToPlayerAgeAction

      @Dev public SetQuestToPlayerAgeAction(String questname, int index)
      Creates a new SetQuestToPlayerAgeAction.
      Parameters:
      questname - name of quest-slot to change
      index - index of sub state
  • Method Details