OGS Java API Spec

ogs.magic
Interface Ability

All Known Implementing Classes:
Charisma, Intelligence, Wisdom

public interface Ability

An ability with support for magic. Some of the core abilities grant bonus spells for high scores. This interface declares the method implemented by these extended Ability classes.

See Also:
ogs.magic.abilities

Method Summary
 int[] getBonusSpells()
          Determine bonus spells for this ability.
 int getHighestSpellLevel()
          Determine highest spell level that can be cast.
 

Method Detail

getHighestSpellLevel

public int getHighestSpellLevel()
Determine highest spell level that can be cast.

Returns:
Highest spell level.

getBonusSpells

public int[] getBonusSpells()
Determine bonus spells for this ability.

Returns:
Number of bonus spells per spell level.

OGS Java API Spec