OGS Java API Spec

ogs.cclasses
Class Ranger

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

public class Ranger
extends CClass

A character class skilled at outdoor hunting and survival. Rangers are often found serving as scouts, trackers, bounty hunters, frontiersmen, and explorers. They often chase and defend against certain species that they have an advantage when fighting with these creatures. Starting at 1st-level and every five levels after that, a ranger may select a favored enemy. Rangers gain a +1 bonus to Bluff, Listen, Sense Motive, Spot, and Wilderness Lore skill checks against favored enemies. They get the same bonus to damage (unless the creature is immune to critical hits) for melee weapons and ranged weapons when within 30 feet. Each bonus for a new favored enemy starts at +1 and goes up by +1 every five levels.

Rangers gain the Light Armor, Medium Armor, and Shield Proficiency feats at 1st-level as well as the Simple Weapon and Martial Weapon (All) Proficiency feats. They also gain the Track feat automatically at 1st-level. Rangers with a +9 base attack bonus can also select the Improved Two-Weapon Fighting feat if they do not have the other prerequisites for the feat. Rangers can also cast divine spells starting at 4th-level. Their caster level is one-half their cclass experience level.

Rangers typically exist in fantasy campaign settings.


Field Summary
 
Fields inherited from class ogs.support.Object
listeners
 
Constructor Summary
Ranger()
          Create a new 1st-level Ranger cclass.
Ranger(int xpLevel)
          Create a new Nth-level Ranger 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.
 Vector getSpellsPerDay()
          Determine the number of spells that this ranger can cast per day.
 
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

Ranger

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


Ranger

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

Parameters:
xpLevel - Experience level of ranger.
Method Detail

getHitDie

public int getHitDie()
Determine the hit die for this cclass. Rangers 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. Rangers gain 4 skill points for each experience level.

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

getBaseAttackValue

protected int getBaseAttackValue()
Determine the value of base attack bonus for this cclass. Rangers use the strong advancement 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. Rangers use the strong advancement rate for base Fortitude save bonuses.

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

getSpellsPerDay

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

Returns:
Number of spells at each spell leve.

OGS Java API Spec