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

ogs::cclasses::Paladin Class Reference

A character class that strives to be the paragon of virtue. More...

#include <Paladin.h>

Inheritance diagram for ogs::cclasses::Paladin:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

bool attachObject (ogs::support::Object &object)
 Attach this cclass to an object.

bool detachObject ()
 Detach this cclass from an object.

ogs::magic::SpellCounts getSpellsPerDay () const
 Determine the number of spells that this paladin can cast per day.


Static Public Attributes

const ogs::core::Die::Sides HIT_DIE = ogs::core::Die::d10
 Hit die of paladins.

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


Detailed Description

Paladins are champions of all that is pure and just. They are exemplars and the epitome of chilvary. Paladins are often called knights, cavaliers, and crusaders. As such, their alignment must always be lawful good. Any paladin who ceases to be lawful good or otherwise betrays their code of conduct immediately looses all paladin abilities and can no longer advance in level as a paladin. Ex-paladins may make reparations with an atonement spell.

Paladins begin proficient with all simple and martial weapons, all light, medium, and heavy armors, and all shields. Paladins can gain many special abilities including detect evil, divine grace, lay on hands, divine health, aura of courage, smite evil, remove disease, turn undead, special mount, and divine spell casting. Wisdom is used as the spell casting ability for paladins.

Paladins are typically found in fantasy campaigns.


Constructor & Destructor Documentation

Paladin::Paladin ogs::core::XP::Level  xpLevel = 1  ) 
 

Parameters:
xpLevel Experience level of barbarian.


Member Function Documentation

bool Paladin::attachObject ogs::support::Object object  )  [virtual]
 

When a paladin cclass is attached to a character, the Divine Grace feature is added to the creature along with armor and weapon proficiencies if the creature does not already have them.

Reimplemented from ogs::core::CClass.

bool Paladin::detachObject  )  [virtual]
 

The Paladin class is implemented so that it can be detached from a character.

Reimplemented from ogs::core::CClass.

SpellCounts Paladin::getSpellsPerDay  )  const
 

The vector index of the return value is the spell level. If the number of spells for a given spell level is zero (0), the number of spells that can be cast for that level is the same as the bonus spells from the Charisma score of the paladin (if any).

Returns:
Number of spells that can be cast per spell level per day.


Member Data Documentation

const ogs::core::Die::Sides ogs::cclasses::Paladin::HIT_DIE = ogs::core::Die::d10 [static]
 

Paladins use d12 for their hit die.

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

Paladins gain 2 skill points per experience level.


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