OGS Java API Spec

ogs.cclasses
Class Barbarian

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

public class Barbarian
extends CClass

A savage, uncivilized, warlike character class. Barbarians are fearsome warriors that have unique features that give them an edge in combat. First of all, a barbarian moves faster than other members of his or her race. A barbarian can also fly into a screaming, bloodthirsty frenzy that gives them offensive bonuses at the expense of defensive ability. At higher levels, barbarians gain the uncanny dodge feature (the same feature available to rogues) and the extrodinary ability to ignore a little damage that may be inflicted by others.

Barbarians are naturally proficient with light and medium armor as well as all simple and martial weapons. But because of their chaotic natures, all barbarians have one alignment restriction: they can not be of lawful alignment Any barbarian that becomes lawful in alignment can no longer use their rage ability and cannot advance in level.

Barbarians are typically used in fantasy campaign settings though this class can be used in other settings as well..


Field Summary
 
Fields inherited from class ogs.support.Object
listeners
 
Constructor Summary
Barbarian()
          Create a new 1st-level Barbarian cclass.
Barbarian(int xpLevel)
          Create a new Nth-level Barbarian cclass.
 
Method Summary
protected  int getBaseAttackValue()
          Determine the value of base attack bonus for barbarians.
protected  int getBaseFortSaveValue()
          Determine the value of base Fortitude save bonus for barbarians.
 int getHitDie()
          Determine the hit die for barbarians.
 int getSkillPoints()
          Determine the skill points per experience level for barbarians.
 
Methods inherited from class ogs.core.CClass
getBaseAttack, getBaseFortSave, getBaseRefSave, getBaseRefSaveValue, getBaseWillSave, getBaseWillSaveValue, 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

Barbarian

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


Barbarian

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

Parameters:
xpLevel - Experience level of barbarian.
Method Detail

getHitDie

public int getHitDie()
Determine the hit die for barbarians.

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

getSkillPoints

public int getSkillPoints()
Determine the skill points per experience level for barbarians.

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

getBaseAttackValue

protected int getBaseAttackValue()
Determine the value of base attack bonus for barbarians.

Overrides:
getBaseAttackValue in class CClass
Returns:
Value of base attack bonus.

getBaseFortSaveValue

protected int getBaseFortSaveValue()
Determine the value of base Fortitude save bonus for barbarians.

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

OGS Java API Spec