Class SetHallOfFameToAgeDiffAction

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

@Dev(category=IGNORE, label="State") public class SetHallOfFameToAgeDiffAction extends Object implements ChatAction
Write the difference between the players current age and the one stored in the quest slot to the hall of fame database table.
  • Constructor Details

    • SetHallOfFameToAgeDiffAction

      public SetHallOfFameToAgeDiffAction(String questname, String fametype)
      Creates a new SetHallOfFameToAgeDiffAction.
      Parameters:
      questname - name of quest-slot to read the original age from
      fametype - the type in the hall of fame
    • SetHallOfFameToAgeDiffAction

      public SetHallOfFameToAgeDiffAction(String questname, int index, String fametype)
      Creates a new SetHallOfFameToAgeDiffAction.
      Parameters:
      questname - name of quest-slot to read the original age from
      index - index of sub state containing the age at start of the quest
      fametype - the type in the hall of fame
  • Method Details