# Spell Related Output Sheet Tokens

*** new 5.7.12

Token Name: MAXSPELLLEVEL.x

Variables Used (x): Number (The class number).

What it does:

The value returned is an integer containing the highest spell level that the class can cast (for most RSRD classes this will either be 9 (for Wizards) or 4 (for Rangers etc)).

Token Name: SPELLBOOKNAME.x

Variables Used (x): Number (The book number of the spellbook title you wish to display).

What it does:

- Displays the title of spellbook x in the character spellbook list.
- The Known Spellbook is any class but 0, spellbook number 0.
- The Racial Innate Spellbook is class 0, spellbook number 1.
- Other Innate Spellbooks are class 0, spellbook number 2 or up.
- The Innate spellbooks will not exist if the character does not have innate spells.
- The -1 Spellbook should not be used any more.

Example:

`SPELLBOOKNAME.0`

Display Spell Book 0 (the default spellbook).

*** updated 5.7.9

Token Name: SPELLLISTx.y.z

Variables Used (x): Text (The spellbook option you wish to display).

- BOOK.y.z.w - Gives a comma delimited list of spells known to spellcaster class number y for level z (if any) of book w.
- CAST.y.z - Indicates how many spells you can cast for spellcaster class number y for level z.
- CLASS.y - Indicates spellcaster classname.
- CLASS.y.LEVEL - Indicates spellcasters effective casting level, including bonus levels from other classes.
- DC.y.z - Indicates your DC casting that level of spell for the indicated class (y = class num, z = level of spell).
- DCSTAT.y.z - Indicates the STAT used to figure out DC of spell
- MEMORIZE.y - outputs "true" if the spell class y needs to memorize spells, "false" otherwise.
- TYPE.y - Indicates the type (i.e. Arcane or Divine) of spell class y.
- KNOWN.y.z - Indicates how many spells you can know for spellcaster class number y for level z. For Clerics with domains, this does not include domain spells.

Variables Used (y): Number (Class number - 0 index array).

Variables Used (z): Number (Spellcasting level - 0-9).

Variables Used (w): Number (Book number).

What it does:

Displays information about spellcasting ability, and spells themselves.

Example:

`SPELLLISTCAST.0.1`

Displays how many spells the character can cast for the 1st level of the 1st spellcaster class the character has.

`SPELLLISTTYPE.0.1`

Displays the spell list type of the 1st spellcaster class the character has.

Token Name: SPELLMEM.v.w.x.y.z

Variables Used (v): Number (The class number of the spell you wish to display).

Variables Used (w): Number (The Spellbook Number of the spell you wish to display).

- The Known Spellbook is any class but 0, spellbook number 0.
- The Racial Innate Spellbook is class 0, spellbook number 1.
- Other Innate Spellbooks are class 0, spellbook number 2 or up.
- The Innate spellbooks will not exist if the character does not have innate spells.
- The -1 Spellbook should not be used any more.

Variables Used (x): Number (The level of the spell you wish to display).

Variables Used (y): Number (The number of the spell in known spells list).

Variables Used (z): Text (The property of the spell you wish to display).

- BONUSSPELL - Display an * is the spell is a domain/specialty spell, display ** if it is ONLY a domain/specialty spell.
- COMPONENTS - Display the necessary components of the indicated spell.
- CASTINGTIME - Display the casting time of the indicated spell.
- CLASS - Indicates spellcaster classname.
- DC - Display the DC of the indicated spell.
- DCSTAT - Display the STAT used to figure out DC of spell
- DESC - Display the description of the indicated spell.
- DESCRIPTION - Display the description of the indicated spell.
- DESCRIPTOR - Display the discriptor of the indicated spell.
- DURATION - Display the duration of the indicated spell.
- EFFECT - Display the effect of the indicated spell.
- EFFECTTYPE - Display the type of effect of the indicated spell.
- FULLSCHOOL - Display the school, if any, of the indicated spell in long form.
- NAME - Display the name of the indicated spell.
- RANGE - Display the range of the indicated spell.
- SAVEINFO - Display the save info of the indicated spell.
- SCHOOL - Display the school, if any, of the indicated spell in short form.
- SOURCE - Display the source of the indicated spell in long form.
- SOURCELEVEL - Display all the sources and levels of the indicated spell (Wiz3,Sor3).
- SOURCEPAGE - Display the source page of the indicated spell.
- SOURCESHORT - Display the source of the indicated spell in short form.
- SUBSCHOOL - Display the subschool, if any, of the indicated spell.
- SR - Display the spell resistance properties of the indicated spell.
- TARGET - Display the target of the indicated spell (contents of the TARGETAREA lst tag).
- TIMES - Display the number of times the indicated spell is in the spellbook.
- TYPE - Display the type (i.e. Arcane or Divine) of spell class.

What it does:

Displays information about the spells in the character spellbooks.

Example:

`SPELLMEM.0.0.0.0.NAME0`

Displays the Name of the 1st 0th level spell in the 1st spellbook for the 1st character class.

Token Name: SPELLPOINTS

What it does:

Use only for Deadlands. Gives the number of Spellpoints the character has.

Example:

`SPELLPOINTS`

Gives the number of Spellpoints the character has.