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

ogs::magic::feats::SilentSpell Class Reference

A metamagic feat that allows spells to be cast without a verbal component. More...

#include <SilentSpell.h>

Inheritance diagram for ogs::magic::feats::SilentSpell:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SilentSpell ()
 Create a new Silent 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

This metamagic feat only applies to spells with verbal component. A silent spell uses up a spell slot one level higher than the spell's normal level.

Todo:
This feat can be completely implemented.


Member Function Documentation

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

Silent 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:33 2003 for Open Gaming System (OGS) by doxygen1.3