OGS Java API Spec

ogs.core
Class Ability.HighPoweredMethod

java.lang.Object
  |
  +--ogs.core.Ability.Method
        |
        +--ogs.core.Ability.HighPoweredMethod
Enclosing class:
Ability

public class Ability.HighPoweredMethod
extends Ability.Method

A method that generates "high-powered" ability scores. The high-powered method rolls 5d6 and adds the highest three rolls to generate an ability score. The high-powered method is nnormally used to generate ability scores for high-level player characters


Constructor Summary
Ability.HighPoweredMethod()
           
 
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
 

Constructor Detail

Ability.HighPoweredMethod

public Ability.HighPoweredMethod()
Method Detail

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.

OGS Java API Spec