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

ogs::magic::feats::EnlargeSpell Class Reference

A metamagic feat that doubles the range or area of a spell. More...

#include <EnlargeSpell.h>

Inheritance diagram for ogs::magic::feats::EnlargeSpell:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EnlargeSpell ()
 Create a new Enlarge Spell metamagic feat.

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

bool detachSpell (Spell &spell)

Static Public Attributes

const Cost COST = 1
 The cost of using this metamagic feat.


Detailed Description

An enlarged spell uses up a spell slot one level higher than a spell's normal level.

Todo:
Should be able to completely implement this feat.


Member Function Documentation

bool ogs::magic::feats::EnlargeSpell::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.


Member Data Documentation

const Cost ogs::magic::feats::EnlargeSpell::COST = 1 [static]
 

Enlarge Spell feats use up a spell slot 1 level higher than normal.


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