my.spells: Spell Creator

Description Usage Arguments Value Note Examples

Description

Create a spell list for a character based on class and level

Usage

1
my.spells(which.level, which.class)

Arguments

which.level

The level will determine how many spells of each level (if any) a character will know

which.class

The class of the character will establish what spell list we need to work out of for this to generate properly. If a non-casting class is chosen a warning message will appear.

Value

Will return a list of 10 with spell levels 1-9 making up the first part and the tenth being Cantrips.

Note

Warlocks wil be given "Known Spells", "Cantrips", and "Spell Slots" given the uniquness of their class.

We are taking great liberties on known spells vs prepared spells inorder to stream line the process. More or less you will know and have prepared the exact number of spells you can cast at that level.

Examples

1
2
3
4
my.spells(10, "Warlock")
my.spells(20, "Bard")
my.spells(3, "Wizard")
my.spells(10, "Barbarian")

vinny-paris/DnD documentation built on May 3, 2019, 6:13 p.m.