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

SRD 5e template:default Spellbook MACRO

1527623781

Edited 1527624373
So, being a wizard I couldn't find a decent macro for setting up a spellbook. So, I decided to make my own. It is a work in progress. Also, I still need to code in the functionality to check if a spell is "prepared" or not. The closest I could find was on this thread. However, the guy is using a different template than default, and didn't post the macro's code. Thread: <a href="https://app.roll20.net/forum/post/4899820/spell-bo" rel="nofollow">https://app.roll20.net/forum/post/4899820/spell-bo</a>... Youtube video: <a href="https://www.youtube.com/watch?v=jOHTwC8lNOs&feature=youtu.be" rel="nofollow">https://www.youtube.com/watch?v=jOHTwC8lNOs&feature=youtu.be</a> Spells global macro : %{insert-your-name|Spells} Check the youtube's code below . The HTML entities within are converted to the characters they represent, and that breaks the macro. (Thanks @GG) Spells: /w insert-your-name &{template:default} {{name=Spells}}{{Spell Save DC= [[8+@{selected|intelligence_mod}+@{selected|pb}]]}}{{Spell Attack Bonus=[[@{selected|intelligence_mod}+@{selected|pb}]]}}{{Spell Levels= [Lvl:0-1](! %{insert-your-name|0-1})}} Levels 0-1: /w insert-your-name &{template:default}{{name=Spells: 0-1}}{{Spell Levels= [RayFrost](! %{insert-your-name|Rayfrost})}} Burninghands example: /ooc Blessed are those who are purified by my hands! &{template:default} {{name=Burning Hands}} {{DC= [[8+@{selected|intelligence_mod}+@{selected|pb}]]}} {{damage= [[3d6]]}} /fx breath-fire @{selected|token_id} @{target|Foe|token_id} Keep in mind: I cut the examples short here just so you have something to work with. Also, you will need to insert your character's name at the sections "insert-your-name". Example:
1527624161
The Aaron
Pro
API Scripter
Blood L. said: The closest I could find was on this thread. However, the guy is using a different template than default, and didn't post the macro's code. I believe he's using the API script PowerCards instead of a Roll Template.