ogs.magic.abilities
Class Wisdom
java.lang.Object
|
+--ogs.support.Object
|
+--ogs.core.Ability
|
+--ogs.magic.abilities.Wisdom
- All Implemented Interfaces:
- Ability, EventListener
- public class Wisdom
- extends Ability
- implements Ability
The Wisdom
class with additional methods to
support magic.
Constructor Summary |
Wisdom()
Create a new Wisdom score. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Wisdom
public Wisdom()
- Create a new Wisdom score.
getHighestSpellLevel
public int getHighestSpellLevel()
- Determine highest spell level that can be cast. A negative value
indicates that spells can not be cast based on this ability.
- Specified by:
getHighestSpellLevel
in interface Ability
- Returns:
- Highest spell level.
getBonusSpells
public int[] getBonusSpells()
- Determine bonus spells for this ability.
- Specified by:
getBonusSpells
in interface Ability
- Returns:
- Number of bonus spells per spell level.