ogs.magic.feats
Class SilentSpell
java.lang.Object
|
+--ogs.support.Object
|
+--ogs.core.Feature
|
+--ogs.core.Feat
|
+--ogs.magic.MetamagicFeat
|
+--ogs.magic.feats.SilentSpell
- All Implemented Interfaces:
- EventListener
- public class SilentSpell
- extends MetamagicFeat
A metamagic feat that allows spells to be cast without a verbal
component.
Constructor Summary |
SilentSpell()
Create a new Silent Spell feat. |
Method Summary |
boolean |
attachSpell(Spell spell)
Attach this metamagic feat to a spell. |
boolean |
detachSpell(Spell spell)
Detach this metamagic feat from a spell. |
int |
getAddedLevels()
Determine number of levels added to normal spell level. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SilentSpell
public SilentSpell()
- Create a new Silent Spell feat. The new Silent Spell feat is not
attached to any spells.
getAddedLevels
public int getAddedLevels()
- Determine number of levels added to normal spell level. A silenced
spell uses up a spell slot one level higher than the normal level
of the spell.
- Specified by:
getAddedLevels
in class MetamagicFeat
- Returns:
- Number of added levels.
attachSpell
public boolean attachSpell(Spell spell)
- Attach this metamagic feat to a spell. Silent Spell feats can only
be attached to spells that have a verbal component. If the spell
has a verbal component, the component is removed from the list of
components for the spell.
- Returns:
- True if this feat is attached to the spell.
detachSpell
public boolean detachSpell(Spell spell)
- Detach this metamagic feat from a spell. If this feat is attached
to the spell, this method adds a verbal component back into the
list of components for the spell.
- Returns:
- True if this feat is detached to the spell.