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

ogs::magic::feats::HeightenSpell Class Reference

A metamagic feat that increases the effective level of a spell. More...

#include <HeightenSpell.h>

Inheritance diagram for ogs::magic::feats::HeightenSpell:

Inheritance graph
[legend]
Collaboration diagram for ogs::magic::feats::HeightenSpell:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HeightenSpell (Cost cost)
 Create a new Heighten Spell metamagic feat.

bool attachSpell (Spell &spell)
 Attach this metamagic feat to a spell.

bool detachSpell (Spell &spell)

Detailed Description

A heightened spell uses up a spell slot equal to the increased spell level.

Todo:
See notes in EmpowerSpell class.


Member Function Documentation

bool ogs::magic::feats::HeightenSpell::attachSpell Spell spell  )  [virtual]
 

This method should always be called first by derived objects that override this function.

Parameters:
spell A spell instance.
Returns:
True if this metamagic feat is attached to the spell

Reimplemented from ogs::magic::MetamagicFeat.


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