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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
I'm trying to reference the spellbook for my character from the DnD5E character sheet. I tried things like @{character|repeating_spellbook1_a_spelleffect} with different variations and it never seems to find it. Am I missing something?
Hi Daniel, I am not seeing that attribute on my tokens when I try to link to the sheets possible values. Are you sure that attribute exists on the character sheet? I have it as a side project of mine to update the current HTML with titles for fields like this so you can hover over and see the value to use. My guess is that "repeating_spellbook1_a_spelleffect" isn't a valid attribute. I would try "repeating_spellbooklevel1_spelleffect" instead.
Daniel, the sheet author wrote a wiki page with details on the 5E sheet, including listing out the repeating fields. <a href="https://wiki.roll20.net/DnD5e_Character_Sheet" rel="nofollow">https://wiki.roll20.net/DnD5e_Character_Sheet</a>
Hi Steve K, Yes, sorry I didn't mention it. That is where I found the details but I can't seem to get the repeating stuff to work. -Dan @Joshua: I think it exists but I feel like I might have the formatting wrong. I've changed a bunch of things but couldn't get it to work.
So the format goes "repeating_" + "repeating field name" + "_0_" + "input name" The number in the middle starts at 0 and counts up for each repeating field. So, for 1st spell in the 1st level spell list on the 5E sheet you'd reference the spell name with: @{repeating_spellbooklevel1_0_spellname} target: repeating_spellbooklevel1_0_spelltarget range: repeating_spellbooklevel1_0_spellrange damage: repeating_spellbooklevel1_0_damage etc.
Thanks Steve, That seemed to work, it wasn't clear that it should be "spellbook level " and also it doen't seem like the variables listed in the wiki match up with what actually works. For example, there seems to be no way to access the spelleffect. Anyway, thanks! -Dan
Hey Daniel S. I just tried this out and you can call any repeating section field, for the spelleffect you can use: @{repeating_spellbooklevel1_0_spelleffect} You can call any of the fields that follow the bullet point in Actoba's Spellbook Page Wiki Section! The trick is using the preceding repeating field name before it like Steve did above: Steve K. said: So the format goes "repeating_" + "repeating field name" + "_0_" + "input name" The number in the middle starts at 0 and counts up for each repeating field. So, for 1st spell in the 1st level spell list on the 5E sheet you'd reference the spell name with: @{repeating_spellbooklevel1_0_spellname} target: repeating_spellbooklevel1_0_spelltarget range: repeating_spellbooklevel1_0_spellrange damage: repeating_spellbooklevel1_0_damage etc. Good Luck in slaying all the dragons!!!
OK, wow thanks guys for the help! I think I now realize that my problem was that i was putting it in the square brackets when I guess text stuff like that has an error in square brackets. Anyway, very sweet. Glad I can macro everything up now.