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

ogs::magic::feats::QuickenSpell Class Reference

A metamagic feat that reduces the casting time of a spell to a free action. More...

#include <QuickenSpell.h>

Inheritance diagram for ogs::magic::feats::QuickenSpell:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QuickenSpell ()
 Create a new Quicken Spell metamagic feat.

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

bool detachSpell (Spell &spell)

Static Public Attributes

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


Detailed Description

Only spells that have casting times of 1 full round or less can be quickened and only one quickened spell may be cast in a single round. A quickened spell uses up a spell slot four levels higher than the spell's normal level.

Todo:
Should be able to completely implement this feat.


Member Function Documentation

bool ogs::magic::feats::QuickenSpell::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::QuickenSpell::COST = 4 [static]
 

Quicken Spell feats use up a spell slot 4 levels higher than normal.


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