Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

ogs::cclasses::Sorcerer Class Reference

A character class with inherent spell casting abilities. More...

#include <Sorcerer.h>

Inheritance diagram for ogs::cclasses::Sorcerer:

Inheritance graph
[legend]
Collaboration diagram for ogs::cclasses::Sorcerer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Sorcerer (ogs::core::XP::Level xpLevel=1)
 Create a new Sorcerer cclass.

ogs::magic::SpellCounts getSpellsPerDay () const
ogs::magic::SpellCounts getSpellsKnown () const

Static Public Attributes

const ogs::core::Die::Sides HIT_DIE = ogs::core::Die::d4
 Hit die of sorcerers.

const ogs::core::Skill::Points SKILL_RATE = 2
 Skill rate of sorcerers.


Protected Member Functions

ogs::core::Modifier::Value getBaseAttackValue () const
 Determine the value of base attack bonus for this cclass.

ogs::core::Modifier::Value getBaseWillSaveValue () const
 Determine the value of base Will save bonus for sorcerers.


Detailed Description

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.

Sorcerers are typically found in fantasy campaign settings.


Constructor & Destructor Documentation

ogs::cclasses::Sorcerer::Sorcerer ogs::core::XP::Level  xpLevel = 1  )  [inline]
 

Parameters:
xpLevel Experience level of sorcerer.


Member Function Documentation

ogs::core::Modifier::Value ogs::cclasses::Sorcerer::getBaseAttackValue  )  const [inline, protected]
 

Sorcerers use the weak advancment rate for base attack bonuses.

Returns:
Value of base attack bonus.

ogs::core::Modifier::Value ogs::cclasses::Sorcerer::getBaseWillSaveValue  )  const [inline, protected]
 

Sorcerers use the strong advancment rate for base Will save bonuses.

Returns:
Value of base Will save bonus.


Member Data Documentation

const ogs::core::Die::Sides ogs::cclasses::Sorcerer::HIT_DIE = ogs::core::Die::d4 [static]
 

Sorcerers use d4 for their hit die.

const ogs::core::Skill::Points ogs::cclasses::Sorcerer::SKILL_RATE = 2 [static]
 

Sorcerers gain 2 skill points per experience level.


The documentation for this class was generated from the following file:
Generated on Sun Apr 20 03:37:30 2003 for Open Gaming System (OGS) by doxygen1.3