OGS Java API Spec

ogs.cclasses
Class Fighter

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

public class Fighter
extends CClass

A character class formally trained in weapons, armor, and tactics. Fighters are prototypical soldiers and mercenaries. Fighters have no alignment restrictions. They may be of any alignment. At 1st-level, fighers automatically gain the Light, Medium, and Heavy Armor proficiency feats. They are also proficient with all simple and martial weapons. Since fighters have no special features, fighters instead gain a bonus feat at 1st level and every even-numbered level thereafter. Fighters can also select the Weapon Specialization feat at 4th-level or higher. Fighters are a universal cclass. They can be found in virtually all campaign settings.


Field Summary
 
Fields inherited from class ogs.support.Object
listeners
 
Constructor Summary
Fighter()
          Create a new 1st-level Fighter cclass.
Fighter(int xpLevel)
          Create a new Nth-level Fighter cclass.
 
Method Summary
protected  int getBaseAttackValue()
          Determine the value of base attack bonus for this cclass.
protected  int getBaseFortSaveValue()
          Determine the value of base Fortitude 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.
 
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

Fighter

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


Fighter

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

Parameters:
xpLevel - Experience level of fighter.
Method Detail

getHitDie

public int getHitDie()
Determine the hit die for this cclass. Fighters use d10 for their hit die.

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

getSkillPoints

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

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

getBaseAttackValue

protected int getBaseAttackValue()
Determine the value of base attack bonus for this cclass. Fighters use the strong advancment rate for base attack bonuses.

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

getBaseFortSaveValue

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

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

OGS Java API Spec