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

Palladium-Rifts Sheet tweaking for private game

My players have asked for a few tweaks to the sheet for our games, so I have been modifying the Palladium-Rifts sheet by William R., John W. and Ronald Z. (seems abandoned) with a little difficulty (I have no idea what I am doing most of the time). But I was able to reformat the Combat tab and fix a few other things, but now my players have for buttons and I am at a loss as how they are done. This is the test button I am attempting to make and it always results in a '1' result, it seems the 'less than or equal to' function does not work for a button or I am doing it wrong in html (probably). Please help. <input type="number"  name="attr_IQ" value=0> <button type='roll' value='[[1d100<=@{IQ}*3]]' name'roll_iqCheck'></button> Sheet is available on Github under Roll20 => Palladium-Rifts (not the Grinning Gecko one) If this does not belong here, please move it / delete it but yell at me where I should try again.
1657016297

Edited 1657017939
David
Sheet Author
Try this [[1d100<[[(@{IQ}*3)]]]] A result of zero is a failure and a result of 1 is a success. To have something else displayed you will have to use a  Roll Template . As per the Dice reference <= should be <.   Example Compare Points =3  - If the roll is equal to 3 >2  - If the roll is greater than or equal to 2 <18  - If the roll is less than or equal to 18 You have broken the name as well. <button type="roll" value=" [[1d100<[[@{IQ}*3]]]] "  name="roll_iqCheck"></button>
Thank you that works. Now I will have to attempt adding a button for repeating lines. But what do you mean by 'broken the name'?
1657033639
Kraynic
Pro
Sheet Author
The = sign was missing after name in the roll button line in your post. One limitation you will run into by using the success/failure syntax will be with situational modifiers.  Well, unless you don't use any.  If you are using those, you may find it preferable to simply have the skill rating print out without using it in a formula.  Then you can add/subtract from that number on the fly for situational things.  Of course, you could add in a query for a modifier, but then that query would need to be answered every time someone made a roll.
I see how to add the modifier roll in the wiki, but how would I set this up to display the actual roll with a success or failure notification? Repeating lines are confusing....
1657048008
David
Sheet Author
Baelwolf said: I see how to add the modifier roll in the wiki, but how would I set this up to display the actual roll with a success or failure notification? Roll Templates. I already gave you the link.  <input type="text" name="attr_IQ" value="0"> <button type="roll" value="&{template:test} {{target=[[[[@{IQ}*3]]]]}}  {{roll=[[1d100]]}}" name="roll_iqCheck"></button> <rolltemplate class="sheet-rolltemplate-test"> Roll {{roll}} Target {{target}} {{#rollGreater() roll target}} Failure {{/rollGreater() roll target}} {{#^rollGreater() roll target}} Success {{/^rollGreater() roll target}} </rolltemplate>