Multiple dice rolls

That’s because you overwrite the Dice Roll variable multiple times when your loop is called, and it only uses the last value.

Don’t set the Dice Roll to be the random int, instead make it zero before the loop starts, and add random ints to it for each loop.

Hi !!

I’m trying to make an combat system based on dice roll without the 3d rolling.

I try two differents way but at the end it’s the same result…

I want to roll multiples dices ( 3d6) but the way i make it, it’s just multiply by 3 the result of the random integer.
There is a way to store that info? and add each result to have the final result?
The answer is yes but i’m a rookie ^^

Thanks in advance.

Thanks a lot !! It’s works perfectly!!!