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

D&D 3.5 upgrade

We are using the 3.5 Dungeons & Dragons sheet made by Diana sheet in my adventure and it is very frustrating that it is not possible to reference the sheet's AC on the character tokens. How could I fix this?
1727576590

Edited 1727576650
vÍnce
Pro
Sheet Author
If I recall, the 3.5 sheet primarily uses html-calculated fields and AC was one of them. It's made up of numerous sub-attributes. Some, if not all of the sheet calcs would need to be converted to sheetworker calculations.  While this very doable/desirable it would require quite a bit of work by someone very familiar with the sheet and 3.5 mechanics.
1727581679

Edited 1727653068
vÍnce said: If I recall, the 3.5 sheet primarily uses html-calculated fields and AC was one of them. It's made up of numerous sub-attributes. Some, if not all of the sheet calcs would need to be converted to sheetworker calculations.  While this very doable/desirable it would require quite a bit of work by someone very familiar with the sheet and 3.5 mechanics. Interestingly, when using the D&D 5E sheet, it is possible to link the sheet's AC with the character's token, but not in 3.5E.
1727593980

Edited 1727594758
vÍnce
Pro
Sheet Author
There are lots of&nbsp;sheets where you can link attributes to a token.&nbsp; The problem is that the AC attribute on the 3.5 sheet is actually a formula of multiple attributes within the sheet's html.&nbsp;If you were able to link to the AC attribute you would only get a string of text that does not resolve to a numerical value.&nbsp; The AC resolves to a numerical value only on the sheet.&nbsp; If the AC calc was done elsewhere, maybe within a hidden input and the value of AC was set to that hidden input or the calc was handled within a sheetworkers (js), you could link directly to the AC attribute. This requires that the sheet's code would need to be edited. Here's some additional info regarding sheet calculations on the wiki; <a href="https://wiki.roll20.net/Building_Character_Sheets#Auto-Calculating_Values" rel="nofollow">https://wiki.roll20.net/Building_Character_Sheets#Auto-Calculating_Values</a> And the limitations/drawbacks; <a href="https://wiki.roll20.net/Building_Character_Sheets/Auto-Calc#Problems_with_using_Auto-Calc" rel="nofollow">https://wiki.roll20.net/Building_Character_Sheets/Auto-Calc#Problems_with_using_Auto-Calc</a> Auto-calculated attributes doesn't show up in a Token 's bubble or bar . This can be fixed by replacing an auto-calc attribute with one that is updated with a sheetworker.
This is a post I copied a few years ago: " Basically, I made a new Attribute, called it "armorclass", then in the first input, "@{armorclass}". Then in the token settings, called "armorclass" into a bar. VIOLA! :D Tested it and the token bar auto-updated when the AC changed in the sheet!" I just tested it and it works, the only thing I had to do was change&nbsp; @{armorclass} to (@{armorclass}). And it did update. Hope this helps. Kind of clunky but I hear the Armor Class section would need a complete rewrite for it to show properly. This workaround works though is a pain. Sheet author, currently Hoyer, could possibly put that bit of code into the sheet so it can be called without this workaround.
1727653622

Edited 1727655698
Erich S. said: This is a post I copied a few years ago: " Basically, I made a new Attribute, called it "armorclass", then in the first input, "@{armorclass}". Then in the token settings, called "armorclass" into a bar. VIOLA! :D Tested it and the token bar auto-updated when the AC changed in the sheet!" I just tested it and it works, the only thing I had to do was change&nbsp; @{armorclass} to (@{armorclass}). And it did update. Hope this helps. Kind of clunky but I hear the Armor Class section would need a complete rewrite for it to show properly. This workaround works though is a pain. Sheet author, currently Hoyer, could possibly put that bit of code into the sheet so it can be called without this workaround. I did something like this, but with the new "armor-class" attribute to arbitrate with @{armorclass} stat. But what is the meaning of the parentheses? Edit: I tried here and it didn't work. Initially the reference was made in the token, but if there is any recalculation in the CA the update doesn't occur. :( Edit2: I removed the hyphen and for some crazy reason it worked!! :D Ty to every one that responded!!
Hi, I can try to follow the Vince suggestion, I'll keep you posted when it will released
1730852450
vÍnce
Pro
Sheet Author
Hoyer said: Hi, I can try to follow the Vince suggestion, I'll keep you posted when it will released Once you start moving calcs to sheetworkers you will never go back.&nbsp; lol
This is the main problem: this attribute is one of the oldest ones, and to be honest change it could be very dangerous, not from the technical point of view, but because there might be a lot of player that are using the current version in their macro and if I change it I brake their sheets.... Let me find a more safe solutions.
1730854122

Edited 1730854139
vÍnce said: Hoyer said: Hi, I can try to follow the Vince suggestion, I'll keep you posted when it will released Once you start moving calcs to sheetworkers you will never go back.&nbsp; lol That sheet has too many workers.....
Probably to solve it I have to rewrite the entire section.... because the AC filed is the sum of several fields, and all of them are the sum of several fields.... I'm rewriting the the entire sheet, I'll do it in the new version
Hoyer said: Hi, I can try to follow the Vince suggestion, I'll keep you posted when it will released This works perfectly! Is there any way to insert this into the character sheet natively?