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

[Help] DnD5e Character Sheet, Build Macro for Spells

1450820008

Edited 1450829783
Hello everybody! I got what seems like a simple question, but after trying to read the Wiki page on the DnD5e Character Sheet I still can't find an answer. How do I make a macro for casting a spell? (Using DnD5e Character Sheet) I know there are easy ways of typing it out, such as NPC actions %{selected|NPCAction1} or Weapons %{selected|MeleeAttack1} but I just have no idea how to write it out for Spells. I've read and re-read the section on using @{repeating_spells_$1_SpellName} and just end up getting nowhere. I guess I'm just too stubborn too giving up, but I just want an easy token action for my players to click. EDIT: For those that need the answer we came up with. You can thank Kasper K. %{Amonacco "Amon" Marinelli Di Rovigatti|repeating_spellbookcantrip_0_SpellCast} Ignore my friends long character name >_>
Personally I tend to ignore the sheet itself and just use the Roll Templates it provides to make my own Macros from scratch.  This is especially the case for spells as I heavily summarize the effects instead of duplicating the entire (*long-winded*) text. For example, SPIKEGROWTH: &{template:5eDefault} {{spell=1}} {{title=Spike Growth}} {{subheader=Sawyer }} {{subheaderright=150 ft / 20' Radius}} {{freetextname=Dur: Concen, up to 10 min}} {{freetext=♦ *Difficult Terrain* *♦ Every 5 feet take [[2d4]] piercing*}} The format I'm using here is: &{template:5eDefault} {{spell=1}}      -  Sets the color of the header box and spacing options {{title=Spike Growth}}    - Sets the bold text inside the header box {{subheader=Sawyer }} - sets the left-side subheader text {{subheaderright=150 ft / 20' Radius}}  - sets the right-side subheader text {{freetextname=Dur: Concen, up to 10 min}} - sets the first chunk of bold text {{freetext=♦ *Difficult Terrain*         - Sets the second chunk of smaller text (these templates understand line breaks btw) *♦ Every 5 feet take [[2d4]] piercing*}} PS: I do really need to add a DC check at some point.  it would be right after the piercing damage "DC: [[@{PROF} + @{MyWis}]] to Spot"
1450821710

Edited 1450825789
Kasper K.
API Scripter
It's a bit tedious, but it should look something like this: %{Wilson Wayward|repeating_spellbooklevel1_-K5r-gv7YFRe2t88iaWq_SpellCast} Repeating sections have an unique identifier ( "K5r-gv7YFRe2t88iaWq"  in this case) so you can references it, even if its location is altered (removing or adding a section before it). The easiest way to get the identifier is to pull the "cast spell" button from your sheet to the macro bar, this will give you the complete name. Which you can then write down.
The way I do it is, Go to your character sheet, click "Cast Spell" (Make sure all the options are set as you want them, Attack, Description, Saves etc..) Click in the chat field Press the up arrow In the chat area there should be a huge code Press Ctrl+A to highlight it all then Ctrl+C to copy the wall of text Go back to your character sheet and click the "Attributes and Abilities" tab at the top... Hit the + Add button on the right side (Abilities) In the new field paste the text ( Ctrl+V ) into the larger bottom box, and Name the new button with the smaller top box. Don't forget to check mark the "Show as Token Action" box Hope this helps
Thanks Kasper K.