Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[5e OGL] Spell List and Descriptions

I'm building off of the great work done in this thread <a href="https://app.roll20.net/forum/post/5624988/return-spell-description-vs-spell-roll-in-chat-window" rel="nofollow">https://app.roll20.net/forum/post/5624988/return-spell-description-vs-spell-roll-in-chat-window</a> But I think I've made a nice improvement. Goal: Allow each character to have a Token Action Ability that prints their spell list. Each spell can be clicked to cast it (DC based spells print the spell description to the group, attack based spells roll appropiate d20 and damage as usual). Each spell has a tooltip that briefly shows the description of the spell for quick reminder. Next to that is a question mark for whispering to yourself a spell card which the full details for the spell. This card then has a Cast and Spell List button that either casts it as above or returns to printing the spell list as above. This has 3 requirements: 1) 5e standard character sheet provided by roll20 (don't know the name), 2) Each character uses my spreadsheet to construct an ability that prints their spell list, and 3) The GM creates 10 characters that have between 3-10 abilities which are macros the detailed descriptions rely on. Here is a txt file that contains the abilities the 10 helper characters should have <a href="https://drive.google.com/open?id=1twRv3QQynf2qw94siIWUNBm9k3oRhR4i" rel="nofollow">https://drive.google.com/open?id=1twRv3QQynf2qw94siIWUNBm9k3oRhR4i</a> The name of the character should be spellcardcantrip, spellcard1, spellcard2... Each of their abilities should be named $0, $1, $2 and so forth. The text file above starts with the $0&nbsp; /wp "@{selected|character_name}".... Copy the stuff starting with /wp Here is an example of what&nbsp; spellcard3's $2 ability does. /w "@{selected|character_name}" &amp;{template:spell} {{level=@{selected|repeating_spell-3_$2_spellschool} @{selected|repeating_spell-3_$2_spelllevel}}} {{name=@{selected|repeating_spell-3_$2_spellname} [Query]}} {{castingtime=@{selected|repeating_spell-3_$2_spellcastingtime}}} {{range=@{selected|repeating_spell-3_$2_spellrange}}} {{target=@{selected|repeating_spell-3_$2_spelltarget}}} @{selected|repeating_spell-3_$2_spellcomp_v} @{selected|repeating_spell-3_$2_spellcomp_s} {@{selected|repeating_spell-3_$2_spellcomp_m}} {{material=@{selected|repeating_spell-3_$2_spellcomp_materials}}} {{duration=@{selected|repeating_spell-3_$2_spellduration}}} {{description=@{selected|repeating_spell-3_$2_spelldescription} [Cast](~Selected|repeating_spell-3_$2_spell) [Spell List](~selected|Spells)}} {{athigherlevels=@{selected|repeating_spell-3_$2_spellathigherlevels}}} @{selected|repeating_spell-3_$2_spellritual} @{selected|repeating_spell-3_$2_spellconcentration} {{charname=charname}} &amp;{noerror} Essentially it formats a spell template with all the relevant details of the spell. At the end it has [Cast](~Selected|repeating_spell-3_$2_spell) [Spell List](~selected|Spells) which cast the spell and invoke the selected character's Spell ability. Each character that wants to have this feature would go to this spreadsheet and make a copy for themselves&nbsp; <a href="https://docs.google.com/spreadsheets/d/1l-NXRTV0bxF_CfXyUy-toIeWDy3PwQGLTZnSvAffFD0/copy#gid=0" rel="nofollow">https://docs.google.com/spreadsheets/d/1l-NXRTV0bxF_CfXyUy-toIeWDy3PwQGLTZnSvAffFD0/copy#gid=0</a> They would then edit the number of spells known in column C and copy out the macro generated down below.&nbsp; Make an ability labeled Spells and for the macro paste it the generated macro. You'll need to get rid of the double quotes that google so kindly adds in. Check the box to have it as a token action and test it out.
Here is an example of each part in action.&nbsp; It is trivial to change the template for the spell list.
Hi Brian, Looks like the spreadsheet you're shared (the second link) has restricted access. I get a "permission denied" when trying to access it. I've been building a bit on Ed S. ' great work as well to support my and my friends journey as a DnD (and Roll20) newbies. So far, I've created a github repo &amp; some scripts to help generate the macros for the Characters "Spell list ability" and the spellcard slots. The documentation is not very thorough yet, though...it's a work in progress. They might come in handy for your work as well still.
tobi, permissions fixed. Try again. I'd be glad to help make it more intuitive.
Works, thanks Brian. I'll have a closer look over the next few days. I have a bit of an IT/software development background, hence I've used github &amp; shell scripts (for Mac/Linux). On a second thought, I'm not sure how accessible this is for less technical people...sometimes I forget how deep I'm in my own "bubble". =o)