ogs.core
Class Ability.StandardMethod
java.lang.Object
|
+--ogs.core.Ability.Method
|
+--ogs.core.Ability.StandardMethod
- Enclosing class:
- Ability
- public class Ability.StandardMethod
- extends Ability.Method
A method that generates above-average ability scores. The
standard method rolls 4d6 and adds the highest three rolls to
generate an ability score. The standard method is normally used
to generate ability scores for player characters.
Method Summary |
byte |
generateScore(int abilityType)
Generate an ability score for a type of ability. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ability.StandardMethod
public Ability.StandardMethod()
generateScore
public byte generateScore(int abilityType)
- Description copied from class:
Ability.Method
- Generate an ability score for a type of ability. The type of
ability may be ignored if it is not needed to generate a score.
- Specified by:
generateScore
in class Ability.Method
- Parameters:
abilityType
- Type of ability score to generate.
- Returns:
- A score for the given type of ability.