OGS Java API Spec

ogs.cclasses
Class Wizard

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

public class Wizard
extends CClass

A character class devoted to the mastery of arcane magic. Wizards are the quintessential wielders of arcane magic. They are practically unlimited in their expertise with it. Wizards cast magic by scribing known spells into their spellbooks or scrolls, studying their spellbooks to prepare selected spells for casting, and then triggering the spell to be cast from memory or scrolls. After a spell is cast, the process must be repeated to cast it again.

Wizards can specialize in a school of magic. A wizard who specializes in a school of magic must select one of the eight schools of magic to specialize in and a combination of one or more schools that are prohibited. The speciallist can cast extra spells in this school but can never cast spells from one or more of the prohibited schools. Wizards (only) may also select the Spell Mastery feat that allows them to prepare spells without studying a spellbook.

At 1st-level, wizards may summon a familliar just like a sorcerer and automatically gain the Scribe Scroll feat. Wizards gain a metamagic feat every five levels in addition to feats normally gained. Initially, wizards are not proficient with armor or shields and they are only proficient with clubs, daggers, light and heavy crossbows, and quarterstaffs. Wizard have no alignment restrictions; they may be of any alignment.

This cclass is typcially used in fantasy campaign settings.

See Also:
School

Field Summary
 
Fields inherited from class ogs.support.Object
listeners
 
Constructor Summary
Wizard()
          Create a new 1st-level Wizard cclass.
Wizard(int xpLevel)
          Create a new Nth-level Wizard cclass.
 
Method Summary
protected  int getBaseAttackValue()
          Determine the value of base attack bonus for wizards.
protected  int getBaseWillSaveValue()
          Determine the value of base Will save bonus for wizards.
 int getHitDie()
          Determine the hit die for this class.
 int getSkillPoints()
          Determine the skill points per experience level for wizards.
 Vector getSpellsPerDay()
          Determine the number of spells that this wizard 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

Wizard

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


Wizard

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

Parameters:
xpLevel - Experience level of wizard.
Method Detail

getHitDie

public int getHitDie()
Determine the hit die for this class. Wizards use d4 for their hit die.

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

getSkillPoints

public int getSkillPoints()
Determine the skill points per experience level for wizards. Wizards 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 wizards. Wizards use the weak advancement rate for base attack bonuses.

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

getBaseWillSaveValue

protected int getBaseWillSaveValue()
Determine the value of base Will save bonus for wizards. Wizards use the strong advancement 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 wizard can cast per day.

Returns:
Number of spells at each spell leve.

OGS Java API Spec