Hello again Damian.
I try to send again the picture of my screenshot.
https://ibb.co/44WdqCK
Printable View
Hello again Damian.
I try to send again the picture of my screenshot.
https://ibb.co/44WdqCK
Line one with the dice is a dice rolling formula. It will not update the display of anything. It defines what dice and what modifiers will be thrown and applied. The number field her has a reference name of [a], [b], [c] or [d].
Line two with the asterisk/star is a calculation field. If a valid calculation string is entered here it will set that value in the associated reference field. The 10 in Danno was written by you. You have entered a roll string of damage [b]+[c] which would roll 1d[d]+[b]+[c] it does not set any values anywhere. It is going to resolve to 1d10+6+5 and use the damage roll. If you want [d] to be equal to the sum of [b] and [c] then delete the roll and simply enter [b]+[c] in the calc line.
Actually I added some stuff in there somehow - danno is simply damage [b]+[c] there is no dice expression at all but it still doing a damage "roll" but no dice specified. Everything else I wrote above is still valid.
Yes, i wrote "10" to check if the value display in chat change. The value shown in "danno" is 0, There is no roll because the damage is a fixed value.
If you tell me that is ok hte field show "0", no problem. I write the right value (just for reference).
I try again to write [b]+[c] in the calc line, but when i tried yesterday, the field report always "0", while the value reported in chat was correct (11).
I don't want made you loose time with my questions, sorry Damian.
OK. I apologize. For the Calcs you need to fully specify the inputs.
[rollname|letter] vs [letter]
Damian, last question then i stop to bother you.
Our system adopt spell points.
I create a "spell points" field with total of spell point.
I create rolls (or items) with the spell and in each spell i put a spell point cost.
How can i subtract this cost from the total spell point in "spell points" field?
All the rolls refer to combat tracker. Is there a way to do this? or to use, for example, a roll that have effect on character's own characteristic?
Thanks for your answer.
Did you get calc working with fully qualified names?
I have recently added a new roll called selfharm and just now I added selfn1 and selfn2
Please see the doco for these rolls.
In your case you would either set your pool to negative number or you would set your cost to negative I think.
selfn1 [a]
you will see a small [1] or [2] icon for these rolls and selfharm is a black, red and white icon.
https://www.fantasygrounds.com/forum...-Roll-Tutorial
Another new extension to help you build and add your own new rolls.
It is not my intention to have 100+ rolls in XCore.
However with this extension anyone can create and share additional rolls.
I didn't see this roll. Thanks for the info!
https://diehard-gaming.com/xcore-custom-roll-api/ contains more info on the new Roll API for XCore