Class SetQuestAndModifyKarmaAction

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

@Dev(category=IGNORE, label="State, Karma") public class SetQuestAndModifyKarmaAction extends Object implements ChatAction
Sets the current state of a quest and modifies the karma of the player.
  • Constructor Details

    • SetQuestAndModifyKarmaAction

      public SetQuestAndModifyKarmaAction(String questname, String state, double karmaDiff)
      Creates a new SetQuestAction.
      Parameters:
      questname - name of quest-slot to change
      state - new value
      karmaDiff - amount of karma to add (negative numbers allowed)
  • Method Details