de.adom.jade.beings
Class Attribute

java.lang.Object
  extended by de.adom.jade.beings.Attribute

public class Attribute
extends java.lang.Object

Implements the nine attributes every living being has. These attributes represent the basic inborn abilities of all beings.

Attributes in JADE are rated on a scale of 0+ with 10 being the average score for an average human. In contrast to ADOM the ratings have been simplified a bit more (inspired by the rules from ADOM RG and more recently D&D 3rd Edition): for every full points above 10, a bonus of +1 is used for other activities (e.g. +1 to damage for every 2 points of strength above 10). For every 2 poins below 10, a modifier of -1 is used for appropriate actions.

Attributes (again in contrast to ADOM) are basically unlimited.


Field Summary
static int APPEARANCE
          Appearance
static int CHARISMA
          Charisma
static int DEXTERITY
          Dexterity
static int LEARNING
          Learning
static int MANA
          Mana
static int MAX_ATTRIBUTE
          the number of attributes
static int PERCEPTION
          Perception
static int STRENGTH
          Strength
static int TOUGHNESS
          Toughness
static int WILLPOWER
          Willpower
 
Constructor Summary
Attribute()
           
 
Method Summary
static java.lang.String getName(int index)
          Returns an attribute name.
static int getRandomAttribute()
          Returns a random attribute value (with no modifications at all).
static java.lang.String getShortcut(int index)
          Returns an attribute shortcut.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRENGTH

public static final int STRENGTH
Strength

See Also:
Constant Field Values

LEARNING

public static final int LEARNING
Learning

See Also:
Constant Field Values

WILLPOWER

public static final int WILLPOWER
Willpower

See Also:
Constant Field Values

DEXTERITY

public static final int DEXTERITY
Dexterity

See Also:
Constant Field Values

TOUGHNESS

public static final int TOUGHNESS
Toughness

See Also:
Constant Field Values

CHARISMA

public static final int CHARISMA
Charisma

See Also:
Constant Field Values

APPEARANCE

public static final int APPEARANCE
Appearance

See Also:
Constant Field Values

MANA

public static final int MANA
Mana

See Also:
Constant Field Values

PERCEPTION

public static final int PERCEPTION
Perception

See Also:
Constant Field Values

MAX_ATTRIBUTE

public static final int MAX_ATTRIBUTE
the number of attributes

See Also:
Constant Field Values
Constructor Detail

Attribute

public Attribute()
Method Detail

getName

public static java.lang.String getName(int index)
Returns an attribute name.

Parameters:
index - the index of the attribute
Returns:
the name of the attribute

getShortcut

public static java.lang.String getShortcut(int index)
Returns an attribute shortcut.

Parameters:
index - the index of the attribute
Returns:
the shortcut of the attribute

getRandomAttribute

public static int getRandomAttribute()
Returns a random attribute value (with no modifications at all).

Returns:
a random attribute value