|
OGS Java API Spec | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ogs.support.Object | +--ogs.core.CClass | +--ogs.cclasses.Sorcerer
A character class with inherent spell casting abilities. Sorcerers are much like wizards. They have no alignment restrictions and can summon a familliar at 1st-level. Unlike wizards however, sorcerers are more limited in their range of spell casting abilities but do not have to memorize spells before casting them. They are also proficient with all simple weapons.
Field Summary |
Fields inherited from class ogs.support.Object |
listeners |
Constructor Summary | |
Sorcerer()
Create a new 1st-level Sorcerer cclass. |
|
Sorcerer(int xpLevel)
Create a new Nth-level Sorcerer cclass. |
Method Summary | |
protected int |
getBaseAttackValue()
Determine the value of base attack bonus for this cclass. |
protected int |
getBaseWillSaveValue()
Determine the value of base Will save bonus for sorcerers. |
int |
getHitDie()
Determine the hit die for this cclass. |
int |
getSkillPoints()
Determine the skill points per experience level for this cclass. |
Vector |
getSpellsKnown()
Determine the number of spells knonwn by this sorcerer. |
Vector |
getSpellsPerDay()
Determine the number of spells that this sorcerer can cast per day. |
Methods inherited from class ogs.core.CClass |
getBaseAttack, getBaseFortSave, getBaseFortSaveValue, 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 |
public Sorcerer()
public Sorcerer(int xpLevel)
xpLevel
- Experience level of sorcerer.Method Detail |
public int getHitDie()
getHitDie
in class CClass
public int getSkillPoints()
getSkillPoints
in class CClass
protected int getBaseAttackValue()
getBaseAttackValue
in class CClass
protected int getBaseWillSaveValue()
getBaseWillSaveValue
in class CClass
public Vector getSpellsPerDay()
public Vector getSpellsKnown()
|
OGS Java API Spec | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |