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

ogs::feats::ImprovedSave Class Reference

A feat that adds a +2 bonus to saving throws. More...

#include <ImprovedSave.h>

Inheritance diagram for ogs::feats::ImprovedSave:

Inheritance graph
[legend]
Collaboration diagram for ogs::feats::ImprovedSave:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Type { GREAT_FORTITUDE, IRON_WILL, LIGHTNING_REFLEXES }
 Type of Improved Save feat. More...


Public Member Functions

bool attachObject (Object &object)
 Attach this Improved Save feat to a creature.

bool detachObject ()
 Detach this Improved Save feat from a creature.

ogs::core::Feat::Compatibility getCompatibility () const
 Determine the compatability of this feat.

ogs::core::Feat::Group getGroup () const
 Determine the group that this feat belongs to.

Type getType () const
 Determine the type of this Improved Save feat.


Static Public Member Functions

ImprovedSave * createGreatFortitude ()
 Create a new Great Fortitude feat.

ImprovedSave * createIronWill ()
 Create a new Iron Will feat.

ImprovedSave * createLightningReflexes ()
 Create a new Great Fortitude feat.


Detailed Description

Improved Save feats come in three varieties: Great Fortitude, Iron Will, and Lightning Reflexes. Each variety applies to a different type of save.


Member Enumeration Documentation

enum ogs::feats::ImprovedSave::Type
 

Enumeration values:
GREAT_FORTITUDE  Bonus is added to all Fortitude saves.
IRON_WILL  Bonus is added to all Will saves.
LIGHTNING_REFLEXES  Bonus is added to all Reflex saves.


Member Function Documentation

bool ImprovedSave::attachObject Object &  object  )  [virtual]
 

Parameters:
object Creature to attach Improved Save to.
Returns:
True if feat is attached to creature.

Reimplemented from ogs::core::Feature.

bool ImprovedSave::detachObject  )  [virtual]
 

Returns:
True if feat is detached from creature.

Reimplemented from ogs::core::Feature.

ogs::core::Feat::Compatibility ogs::feats::ImprovedSave::getCompatibility  )  const [inline]
 

Improved Save feats are exclusive feats.

Returns:
Feat::EXCLUSIVE

Reimplemented from ogs::core::Feat.

ogs::core::Feat::Group ogs::feats::ImprovedSave::getGroup  )  const [inline]
 

Improved Save feats are general feats.

Returns:
Feat::GENERAL

Reimplemented from ogs::core::Feat.

ImprovedSave::Type ogs::feats::ImprovedSave::getType  )  const [inline]
 

Returns:
GREAT_FORTITUDE, IRON_WILL, or LIGHTNING_REFLEXES.


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