OGS Java API Spec

ogs.magic.feats
Class EmpowerSpell

java.lang.Object
  |
  +--ogs.support.Object
        |
        +--ogs.core.Feature
              |
              +--ogs.core.Feat
                    |
                    +--ogs.magic.MetamagicFeat
                          |
                          +--ogs.magic.feats.EmpowerSpell
All Implemented Interfaces:
EventListener

public class EmpowerSpell
extends MetamagicFeat

A metamagic feat that increases all numeric effects of a spell by one-half. An empowered spell uses up a spell slot two levels higher than a spell's normal level.


Field Summary
 
Fields inherited from class ogs.core.Feat
COMBAT, CUMULATIVE, EXCLUSIVE, GENERAL, MAGIC, REPEATABLE, SPECIAL
 
Fields inherited from class ogs.support.Object
listeners
 
Constructor Summary
EmpowerSpell()
           
 
Method Summary
 int getAddedLevels()
          Determine number of levels added to normal spell level.
 
Methods inherited from class ogs.magic.MetamagicFeat
attachobject, getCompatibility, getGroup
 
Methods inherited from class ogs.core.Feat
canAttach, findFeat, getSlots, getSlotsLevel
 
Methods inherited from class ogs.core.Feature
attachObject, canDetach, detachObject, getObject
 
Methods inherited from class ogs.support.Object
addListener, handleEvent, notifyListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmpowerSpell

public EmpowerSpell()
Method Detail

getAddedLevels

public int getAddedLevels()
Determine number of levels added to normal spell level.

Specified by:
getAddedLevels in class MetamagicFeat
Returns:
Number of added levels.

OGS Java API Spec