DnD: DnD Character Generator

Description Usage Arguments Details Note See Also

Description

Creates a DnD 5th edition character that is roughly built according to the rules. An important point is that the object is automatically built inside the function, DO NOT USE ASSINGMENT. This is redundant.

Usage

1
2
DnD(which.person = which.person, which.level = which.level, class = 0,
  race = 0, ...)

Arguments

which.person

Who is this character? Any character string will work, don't need to use quotes but it cannot deal with spaces inside the string. Please use either underscores/hyphens/quotes for such things. Thank you!

which.level

What level is the character? Please only choose numbers between 1 and 20.

class

What class would you like the character to be? It will default to being randomly generated. Again, no quotes please. The choices are the basic 12 given in the Player's Handbook.

race

What race would you like the character to be? It will default to being randomly choosen. Again, no quotes please. Possible choices are Elf, Human, Half-elf, Half-orc, Halfling, Dragonborn, Gnome, Tiefling, Dwarf.

...

The method used to roll the dice. Options include Commoner.Method (which is defaulted inside of DnD), Base.Method, Pilsfer.Method, Heroic.Method, and Ferguson.Method.

Details

The following are all the pieces returned by the functon.

Note

The characters produced here will have a class (as in R class) of "DnD"

See Also

Method and Stats are covered more in depth at stat.roll

Method for obtaining the spells for a character at my.spells

Method for obtaining the armor class for a character at armor.class

Method for obtaining the hit points for a character at hp.calculator


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