I think I've found a bug in the silent rolls code. Maybe.
I've got a thread going about the complicated stuff I'm trying to do, but I'm pretty sure it's not parsing all of the functions properly for macros.
Viz:
This works properly:
Code: Select all
[Roll=1d20]
[RDam=1d6]
[CDam=2d6]
[CritHit= min(1,max(0, Roll-14))]
[(1-CritHit)*RDam+ CritHit*CDam]
This does not:
Code: Select all
{Roll=1d20}
{RDam=1d6}
{CDam=2d6}
{CritHit= min(1,max(0, Roll-14))}
{(1-CritHit)*RDam+ CritHit*CDam}
The first code produces appropriate output as expected, while the second code produces this:
{Roll=1d20}
{RDam=1d6}
{CDam=2d6}
{CritHit= min(1,max(0, Roll-14))}
{(1-CritHit)*RDam+ CritHit*CDam}
I checked to be certain, and it seems to be the inclusion of the min/max functions that are causing the problems, but I'm not certain.
See this thread for further detail:
http://forums.rptools.net/viewtopic.php?p=53041#53041
Thanks.
EDITThis entire post is a mistake--This bug does not, in fact, exist. but head on over to that forum and see what's happening....It's some cool stuff with the silent rolls.
0+0=1, for very unstable CPUs.