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

New attribute referencing other attributes: Is it possible? (PF 1.0)

Hi!  I'm an old user of roll20 with absolutely zero knowledge of programming. I'm now able to reference old attributes for the purpose of macros and referencing things in the sheet (for example, "@{class1_level}/2" for some features/traits) but I'm trying to help a player make a custom attribute for the arcane resevoir, which is 3 + class level / 2. I've made an attribute called [arcane_resevoir], set the value in the first box to [3+@{class1_level}/2], but nothing can reference this. Even if I set the box to simply be a value ( for example, 5), nothing will reference this. Is this impossible to do, or have I done something wrong? Thank you for your help.
1744482142
Gauss
Forum Champion
Hi iamthecircleandthecircleisme,  Please post a screenshot of the attribute and its contents. I'd like to verify the formatting. 
test
Hello! Thank you for your time. I apologize for the late reply, I need to turn on notifications for the forum, it seems. I've put a screenshot and the full formula for each pool. in a separate post, because for some excellent reason, when I tried to post the png and text together, I was unable to. I also want to specify that I am trying in particular to be able to make a referenceable attribute on their token, and hopefully as an ancillary something we can reference on their character sheet. Tokens have three bubbles that can reference an attribute, red, green, and blue. I have red and green as HP and AC, and blue as anything the player feels is important, if anything. These two players decided to go with their respective pools. I'd like to be able to have the blue bubble show a number, as it does with HP, but there's nothing for level divided by 2 and it just shows the formula I've put in if I put in the formula. The character sheet, when using the @arcane_resevoir, shows nothing at all. The top sheet is an arcanist, the pool calculation is 3 + caster level divided by 2. I've put that as the following, as that's what I'd put on the character sheet: 3+@{class1_level}/2 The second sheet is a chonomancer, the pool calculation is caster level divided by two plus int mod. I got experimental with this one based on something I read on the forums, to no avail: @{(@{class1_level}/2)}+@{(@{intelligence_mod})} I greatly appreciate any advice you can give, even if it is to give up. Its not that much more difficult to just change numbers as levels increase.