Junior Member
Join Date: Jul 2010
Posts: 27
|
Oh my masters of coding, I am trying to get a new bloodline of sorcerer created (for Odyssey of the Dragonlords) and I'm getting stuck. How do I define the special abilities they get at certain levels? Then how do I define what spells they may choose from? Finally, this "bloodline" also grants a couple of "free" spells (same as a Cleric) - how can I get these in? Thanks in advance!
|
#1 |
Senior Member
Join Date: Sep 2017
Posts: 600
|
The best way to find out this stuff is to pull up subclasses that already do similar things, and look at how they did it.
Subclasses are in the Class->Custom Ability tab. Go there, hit the "New (Copy)" button, and select subclasses that already do similar things to what you want. Found an issue with or have a suggestion for the 5e Community Pack? Please post it here at our GitHub. Feel free to stop by the Lone Wolf Development Subreddit, for discussion of any and all LWD products and community efforts! |
#2 |
Junior Member
Join Date: Jul 2010
Posts: 27
|
Quote:
|
|
#3 |
Junior Member
Join Date: Jul 2010
Posts: 27
|
Quote:
That only leaves to Domain stuff... |
|
#4 |
Junior Member
Join Date: Jul 2010
Posts: 27
|
Bit more trial and error - I would need to create eight (8) new "bloodlines" (in this case, their patron deity) specific to this new type of Sorcerer. Each would give them two (2) freebie spells depending on the diety selected. This is more like the Cleric Domain function as these spells can be cast once per short/long rest and do not consume a spell slot.
|
#5 |
Senior Member
Join Date: Sep 2017
Posts: 600
|
You could also use just one subclass, then create a domain class feature that uses an array to pick the domain. The array then assigns a usrIndex value. You can then use eval scripts to assign the spells based on what the usrIndex is.
Found an issue with or have a suggestion for the 5e Community Pack? Please post it here at our GitHub. Feel free to stop by the Lone Wolf Development Subreddit, for discussion of any and all LWD products and community efforts! |
#6 |
Junior Member
Join Date: Jul 2010
Posts: 27
|
I probably could if I understood what you said! LOL Is this documented up somewhere, with examples, so I can see how it works? Though I work in IT, I'm not a Java developer, so I'd need a lot of help through this...
|
#7 |
Senior Member
Join Date: Sep 2017
Posts: 600
|
In the Custom Ability, use the "Array-Based Menu?" to write out the options. This will create a drop-down box for the user to pick their domain. When they pick it, a field called "usrIndex" will be set to equal the number on that array chosen; 0, 1, 2, etc.
Depending on how you're granting the spells, you can use that field/variable to do the different things your different domains need to do. You can conditionally bootstrap stuff with them, or do eval scripts with if/then statements. I don't know the exact nature of how you're doing things, but there's plenty of resources on these forums you can search for on this stuff. Found an issue with or have a suggestion for the 5e Community Pack? Please post it here at our GitHub. Feel free to stop by the Lone Wolf Development Subreddit, for discussion of any and all LWD products and community efforts! |
#8 |
|
|