-
July 25th, 2020, 11:28 #1
- Join Date
- Aug 2019
- Posts
- 135
morecore dice rolls using parameters
if a dice roll has #d6 i can use p1 by coding (p1)d6
but can I add p1 and p2 together in some way ie (p1+p2) (tried so many options of this) or do i need to code another dice type for the ruleset
Thanks again
-
July 26th, 2020, 04:50 #2
Adding support in for math operations to the code for 150 odd rolls is incredibly difficult and I have not found a way to do it.
There are ways around it using code in an extension - I believe you are trying a little coding - or manually sum the numbers into (p1)
-
July 26th, 2020, 08:39 #3
- Join Date
- Aug 2019
- Posts
- 135
-
July 26th, 2020, 10:00 #4
Some rolls will accept something like (p1)d6+(p2)d6 but again many will not.
The code that parses the dice string has to know how to handle the format you are putting in - in most cases there is only one acceptable string format.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks