public class SpellsPerDay
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static byte |
CANNOT_CAST |
| Constructor and Description |
|---|
SpellsPerDay() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
accessSpellsKnown(int casterLevel)
returns the number of spells known for the caster at the current level and ability score
|
byte[] |
accessSpellsPerDay(int casterLevel,
int abilityScore) |
byte |
accessSpellsPerDay(int casterLevel,
int spellLevel,
int abilityScore) |
void |
assignSpellsForLevel(int level,
java.util.StringTokenizer spellsPerDay) |
void |
assignSpellsKnownForLevel(int level,
java.util.StringTokenizer spellsKnown)
sets the number of spells known at the current level
|
public static final byte CANNOT_CAST
public void assignSpellsForLevel(int level,
java.util.StringTokenizer spellsPerDay)
public byte[] accessSpellsPerDay(int casterLevel,
int abilityScore)
public byte accessSpellsPerDay(int casterLevel,
int spellLevel,
int abilityScore)
public void assignSpellsKnownForLevel(int level,
java.util.StringTokenizer spellsKnown)
level - spellsKnown - public byte[] accessSpellsKnown(int casterLevel)
casterLevel - abilityScore -