OGS Java API Spec

ogs.cclasses
Class Cleric

java.lang.Object
  |
  +--ogs.support.Object
        |
        +--ogs.core.CClass
              |
              +--ogs.cclasses.Cleric
All Implemented Interfaces:
EventListener

public class Cleric
extends CClass

A pious character class devoted to the service of a deity. Clerics are spell casters of divine magic. Their spells are granted to them from their diety through their faith and prayers. In addition, clerics may select two domains governed by their diety. Domains grant clerics additionaly spells and features. Clerics also have a feature called spontaneous casting. A cleric can replace a prepared spell (other than a domain spell) with a cure wounds spell (or inflict wounds spell depending on his or her alignment) of the same spell level or lower.

The most prominent feature of clerics however is the ability to turn (or rebuke depending on alignment) undead creatures. Neutral clerics choose whether they spontaneous cast cure wounds or inflict wounds and whether they turn or rebuke undead. Once a neutral cleric makes their choice, it cannot be changed. Clerics can also take up arms when duty requires it. As such, clerics are automatically proficient with all types of armor and shields and all simple weapons.

Clerics are typically found in fantasy campaign settings.


Field Summary
 
Fields inherited from class ogs.support.Object
listeners
 
Constructor Summary
Cleric()
          Create a new 1st-level Cleric cclass.
Cleric(int xpLevel)
          Create a new Nth-level Cleric cclass.
 
Method Summary
protected  int getBaseFortSaveValue()
          Determine the value of base Fortitude save bonus for this cclass.
protected  int getBaseWillSaveValue()
          Determine the value of base Will save bonus for this cclass.
 int getHitDie()
          Determine the hit die for this cclass.
 int getSkillPoints()
          Determine the skill points per experience level for this cclass.
 Vector getSpellsPerDay()
          Determine the number of spells that this cleric can cast per day.
 
Methods inherited from class ogs.core.CClass
getBaseAttack, getBaseAttackValue, getBaseFortSave, getBaseRefSave, getBaseRefSaveValue, getBaseWillSave, getLevel, setLevel
 
Methods inherited from class ogs.support.Object
addListener, handleEvent, notifyListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cleric

public Cleric()
Create a new 1st-level Cleric cclass.


Cleric

public Cleric(int xpLevel)
Create a new Nth-level Cleric cclass.

Parameters:
xpLevel - Experience level of cleric.
Method Detail

getHitDie

public int getHitDie()
Determine the hit die for this cclass. Clerics use d8 for their hit die.

Specified by:
getHitDie in class CClass
Returns:
Die.d8.

getSkillPoints

public int getSkillPoints()
Determine the skill points per experience level for this cclass. Clerics gain 2 skill points for each experience level.

Specified by:
getSkillPoints in class CClass
Returns:
2 skill points.

getBaseFortSaveValue

protected int getBaseFortSaveValue()
Determine the value of base Fortitude save bonus for this cclass. Clerics use the strong advancement rate for base Fortitude save bonuses.

Overrides:
getBaseFortSaveValue in class CClass
Returns:
Value of base Fortitude save bonus.

getBaseWillSaveValue

protected int getBaseWillSaveValue()
Determine the value of base Will save bonus for this cclass. Clerics use the strong advancment rate for base Will save bonuses.

Overrides:
getBaseWillSaveValue in class CClass
Returns:
Value of base Will save bonus.

getSpellsPerDay

public Vector getSpellsPerDay()
Determine the number of spells that this cleric can cast per day.

Returns:
Number of spells at each spell leve.

OGS Java API Spec