That's an issue with the roll20 parser and not being able to mix addition and rolls and such. Try adding 0d0 + @{Stamina} etc.
Xargun said:
that worked.. thank you.
Xargun said:
Xargun said:
that worked.. thank you.
Well I was incorrect. It got rid of the error but is not processing the dice correctly. My modified macro is:
--Consumption of the Soul|[[ 0d0 + ((@{Stamina} + @{PumpSta} + @{Empathy} + @{WP})d10)>(12 - @{target|PathoE})f1]]
And now instead of processing each die versus a difficulty it is simply adding them up. I'm sure its something simple but I've been pounding my head against this for a while and cannot see it. Anyone?
Xargun said:
instead of processing each die versus a difficulty it is simply adding them up.
[[ 0d0 + ((@{Stamina} + @{PumpSta} + @{Empathy} + @{WP})d10)>(12 - @{target|PathoE})f1]]
Xargun said:
On a different topic - is there any way to do a roll and then use the results of the first roll in a second roll? I know you can do conditionals, but this would not be a conditional. Basically you would take the number of successes on the first roll and use that number in a secondary roll.
Silvyre said:
Xargun said:
instead of processing each die versus a difficulty it is simply adding them up.[[ 0d0 + ((@{Stamina} + @{PumpSta} + @{Empathy} + @{WP})d10)>(12 - @{target|PathoE})f1]]
I bolded two sets of (parentheses) within your inline roll, quoted above.
- The first set, enclosing the dice roll, should either be deleted or replaced with {curly brackets}.
- The second set, enclosing the target number, should be replaced with [[inline roll brackets]].
Also, you should remove the 0d0 from your roll because
- Sum rolls and success rolls cannot be mixed together (without using [[ [[nested]] inline rolls]]).
- It's not necessary to add it, as you already have a roll present within your [[inline roll]].
Sky said:
June 16th, 2017 ~ 9:40 pm eastern
- Version: 3.5.0
- Link: https://gist.github.com/Sky-Captain-13/452330a3d9...
- Update: Added a .tens option to count the number of tens rolled in a single RollID.
- Example: [[ [$Roll] 3d10d1 ]] [^Roll.tens]
Sky said:
Had a cracked, infected wisdom tooth extracted today.
--Result|[! [^Result] !] --?? $Result < @{target|PD} ?? !Miss:|Fail. --?? $Result >= @{target|PD} ?? !Hit:|[[ ceil(([$Result]{1d20 + 0} - @{target|PD}) / 5) ]] Successes
Jerry F. said:
I have that in my PC and they still show.
Then you have a text shadow set somewhere else in a --format or the card themselves, because text-shadow only appears once in the entire script and using --titlefontshadow|none will get rid of it. Double check your format settings, your actual macros... cause I can't recreate any instance in which the text shadow still happens despite the above setting.Jerry F. said:
I have that in my PC and they still show.
Craven said:
Jerry F. said:
I have that in my PC and they still show.
I have notice some times the -- will change to a solid -- which I can't show here and that was messing with my options. Just a thought not sure if its the case but its easy to over look.
So was mine when I started. This and my other scripts are the result of months of self-teaching, searching stackexchange, and bugging TheAaron and others for help on tough bits to crack. :DAdras said:
Thanks guys! and thank you for all the hard work Sky!! If I knew more about scripting I would but my knowledge is rudimentary at best....
Jerry F. said:
I use powercards even in 5e I use them for all the things that can't be displayed by the sheet. Like a nice way of displaying table rolls and whatnot.
Jerry F. said:
This is actually rolling on 2 tables.