Class IncreaseXPAction

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

@Dev(category=STATS, label="XP+") public class IncreaseXPAction extends Object implements ChatAction
Increases the xp of the current player.
  • Constructor Details

    • IncreaseXPAction

      public IncreaseXPAction(int xpDiff)
      Creates a new IncreaseKarmaAction.
      Parameters:
      xpDiff - amount of xp to add
  • Method Details