OGS Java API Spec

ogs.core
Class Strength

java.lang.Object
  |
  +--ogs.support.Object
        |
        +--ogs.core.Ability
              |
              +--ogs.core.Strength
All Implemented Interfaces:
EventListener

public class Strength
extends Ability

An ability that determines physical power and force. A Strength modifier is added to attack rolls with melee weapons and damage rolls with melee weapons, thrown weapons, and specially designed projectile weapons. Strength is a special ability that has additional operations for determining carrying capacities.


Nested Class Summary
 
Nested classes inherited from class ogs.core.Ability
Ability.AverageMethod, Ability.HighPoweredMethod, Ability.Method, Ability.Modifier, Ability.StandardMethod
 
Field Summary
 
Fields inherited from class ogs.core.Ability
CHA, CON, DEX, INT, NUM, STR, WIS
 
Fields inherited from class ogs.support.Object
listeners
 
Constructor Summary
Strength()
          Create a new Strength score.
Strength(Ability.Method method)
          Create a new Strength score using a method.
 
Method Summary
 double getHeavyLoad(char sizeType)
          Determine the limit of heavy loads for this ability.
 double getLightLoad(char sizeType)
          Determine the limit of light loads for this ability.
 double getMediumLoad(char sizeType)
          Determine the limit of medium loads for this ability.
 
Methods inherited from class ogs.core.Ability
getCurrentScore, getIncreases, getIncreasesLevel, getModifier, getModifier, getModifiers, getOriginalScore, handleEvent
 
Methods inherited from class ogs.support.Object
addListener, notifyListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Strength

public Strength()
Create a new Strength score. The Strength score is rolled using the standard method.


Strength

public Strength(Ability.Method method)
Create a new Strength score using a method. The default method for generating a Strength score is the standard method.

Parameters:
method - Method used to generate score.
Method Detail

getLightLoad

public double getLightLoad(char sizeType)
Determine the limit of light loads for this ability.

Parameters:
sizeType - Size type of creature.
Returns:
Weight in pounds.

getMediumLoad

public double getMediumLoad(char sizeType)
Determine the limit of medium loads for this ability.

Parameters:
sizeType - Size type of creature.
Returns:
Weight in pounds.

getHeavyLoad

public double getHeavyLoad(char sizeType)
Determine the limit of heavy loads for this ability.

Parameters:
sizeType - Size type of creature.
Returns:
Weight in pounds.

OGS Java API Spec