Hello guys, I thought I'd post this section for questions involving some of useful mathematics in roll20 and how to use it. I have some questions to begin!
1) How can I call the maximum value of a variable? Ex: My variable is "HP" and I have the current value of "10" and the max value of "20". How can I proceed, to make a macro that call the max value? I know that, if I make @{selected|HP} then I'll call the value "10" but, about the value "20"? How can I proceed? ( In @{selected|HP} the token linked to the character sheet have to be selected. )
2) How can I make powers at roll20? Ex: How can I do a macro that calculates "2^3=8"? Exist a symbol that represents "^" at roll20 language? More generally , what operations and mathematical functions are available for use in this language offered by roll20 ? ( Other than "Floor" for example. )