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

ogs::magic::feats::MaximizeSpell Class Reference

A metamagic feat that maximizes spell effects expressed as die rolls or other numeric ranges. More...

#include <MaximizeSpell.h>

Inheritance diagram for ogs::magic::feats::MaximizeSpell:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MaximizeSpell ()
 Create a new Maximize Spell metamagic feat.

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

bool detachSpell (Spell &spell)

Static Public Attributes

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


Detailed Description

A maximized spell uses up a slot three levels higher than the spell's normal.

Todo:
See notes in EmpowerSpell class.


Member Function Documentation

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

Maximize Spell feats use up a spell slot 2 levels higher than normal.


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