Class SetCombatKarmaAction

java.lang.Object
games.stendhal.server.actions.SetCombatKarmaAction
All Implemented Interfaces:
ActionListener

public class SetCombatKarmaAction extends Object implements ActionListener
Sets entity's combat karma attribute to determine when karma is used on combat.
  • Constructor Details

    • SetCombatKarmaAction

      public SetCombatKarmaAction()
  • Method Details

    • register

      public static void register()
      Registers the action.
    • onAction

      public void onAction(Player player, RPAction action)
      Description copied from interface: ActionListener
      processes the requested action.
      Specified by:
      onAction in interface ActionListener
      Parameters:
      player - the caller of the action
      action - the action to be performed