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

Adding Spells to Abilities (5e Shaped Sheet by Roll20)

My apologies if this has been addressed elsewhere. I would like to add spells to the Abilities column of the Attributes & Abilities Tab. To make them token actions with built in /fx, etc. I've intuited that attacks and spells that appear on the Character Sheet/Core/Attacks & Spellcasting box are added as abilities already, but  would like to avoid having to add every one of my 20 or so spell wielding player's spells to two places in order to automate, etc. (Most of my players cast from the Spells tab). Where I am really stuck in the syntax, etc. for the various abilities, and how do I add one from the spell sheet, and insure it is pulling the correct data? The portion in the abilities box (eg:%{-MPAyXxzcrjfNF8s3KFf|repeating_attack_-MHygpZ4y0EGnQRwEKL6_attack} ) from items on the attacks & spell box, might as well be written in Ancient Aklo, for all that I understand it. Any advice or links to tutorials would be EXTREMELY appreciated! My thanks in advance. DM Charlie
I'm assuming the shaped sheet works the same as the D&D 5E by Roll20 sheet. I'm not sure how savvy you are, so I'll give you a breakdown -- if you already know most of this then hopefully it'll help anyone else who comes along later: %{-MPAyXxzcrjfNF8s3KFf|repeating_attack_-MHygpZ4y0EGnQRwEKL6_attack} First there's a roll call using  %  with some stuff in between braces  { } . Stuff inside the braces is separated by a vertical pipe  |  (sometimes more than one vertical pipe, for things like a max attribute, or a target name). The first section  -MPAyXxzcrjfNF8s3KFf  is the character ID that is linked to the token.  That is a specific reference to just that character. The second half of the call is a reference to an ability or attribute or roll -- in this case it's a roll. This specific roll is for a repeating attack, which is a little more complex than an attribute or ability.  repeating_attack_-MHygpZ4y0EGnQRwEKL6_attack  on the sheet is a specific attack from the list of however many repeating attacks are listed on that character sheet, and you can call them dynamically with  repeating_attack_$#_attack  and replacing the # with a number from 0 to whatever. The first listed attack is 0, the second is 1, and so on.  Replacing the # with  -MHygpZ4y0EGnQRwEKL6  instead is a direct reference to this specific attack, regardless of it's position in the list, but it's also specific for this character. So you could make a 'universal' macro using  %{selected|repeating_attack_$0_attack} , which would roll the first listed attack of whichever token is selected (as long as the token is linked to a character sheet).  %{selected|repeating_attack_$1_attack}  will roll the second attack, and so on. 
Thank you! This helps quite a lot!