|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.adom.jade.beings.Attribute
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 |
|---|
public static final int STRENGTH
public static final int LEARNING
public static final int WILLPOWER
public static final int DEXTERITY
public static final int TOUGHNESS
public static final int CHARISMA
public static final int APPEARANCE
public static final int MANA
public static final int PERCEPTION
public static final int MAX_ATTRIBUTE
| Constructor Detail |
|---|
public Attribute()
| Method Detail |
|---|
public static java.lang.String getName(int index)
index - the index of the attribute
public static java.lang.String getShortcut(int index)
index - the index of the attribute
public static int getRandomAttribute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||