¿ªÔÆÌåÓý

What do I have wrong here?


 

I want to have 4d6 rolled, then have it rolled a total of 100 times and all 100 4d6 rolls added together, {Dice~4d6*100}, not what I'm looking to do.

Am I going to need to make variables %4d6001% (repeat 100 times), breaking calc and loop into separate lines?

{Calc~{Loop~100,{Dice~4d6}}}

W. Robert Reed III
Mynex


Barry Guertin
 

Try pasting this...
#
# 100D6?
#
?
:Start
1,Value={Dice~100d6}
?


Barry Guertin
 

#
# 100D6?
#
?
:Start
1,Value={Dice~100d6}
?


 

You want to roll 4 dice 100 times, so how about "{Dice~400d6}"?

Otherwise, if you want each roll segregated, I'd say you want a variable and then in your 100 Loop, add the results of 4d6 to the variable for each iteration. You don't have to split calc and loop into separate lines unless you prefer that aesthetically.

On Wed, Oct 30, 2019 at 1:03 PM Mynex <mynex@...> wrote:
I want to have 4d6 rolled, then have it rolled a total of 100 times and all 100 4d6 rolls added together, {Dice~4d6*100}, not what I'm looking to do.

Am I going to need to make variables %4d6001% (repeat 100 times), breaking calc and loop into separate lines?

{Calc~{Loop~100,{Dice~4d6}}}

W. Robert Reed III
Mynex


 

It's a hack, but:

{Calc~0{Loop~100,+{Dice~4d6}}}

The Loop expands to "+{Dice~4d6}+{Dice~4d6}+{Dice~4d6}..."
And the 0 in front of the Loop function makes it
"0+{Dice~4d6}+{Dice~4d6}..." to keep the Calc function happy.

Erol K. Bayburt
ErolB1@...

On 10/30/2019 1:03 PM, Mynex wrote:
I want to have 4d6 rolled, then have it rolled a total of 100 times and all 100 4d6 rolls added together, {Dice~4d6*100}, not what I'm looking to do.
Am I going to need to make variables %4d6001% (repeat 100 times), breaking calc and loop into separate lines?
{Calc~{Loop~100,{Dice~4d6}}}
W. Robert Reed III
Mynex


 

FANTASTIC! Hack or no, if it works, that's exactly what I'm looking for!

Thank you muchly!

W. Robert Reed III
Mynex

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of ErolB1 via Groups.Io
Sent: Wednesday, October 30, 2019 3:44 PM
To: [email protected]
Subject: Re: [TableSmith] What do I have wrong here?

It's a hack, but:

{Calc~0{Loop~100,+{Dice~4d6}}}

The Loop expands to "+{Dice~4d6}+{Dice~4d6}+{Dice~4d6}..."
And the 0 in front of the Loop function makes it "0+{Dice~4d6}+{Dice~4d6}..." to keep the Calc function happy.

Erol K. Bayburt
ErolB1@...

On 10/30/2019 1:03 PM, Mynex wrote:
I want to have 4d6 rolled, then have it rolled a total of 100 times
and all 100 4d6 rolls added together, {Dice~4d6*100}, not what I'm
looking to do.

Am I going to need to make variables %4d6001% (repeat 100 times),
breaking calc and loop into separate lines?

{Calc~{Loop~100,{Dice~4d6}}}

W. Robert Reed III
Mynex