Hand of Fate 2

Hand of Fate 2

Does fate favor you, Game Master?
Create and submit all-new encounters, challenges, equipment, traits, and more and shape your own adventures in the Game of Life and Death.
Learn More
Store random int between 1 and 2 in randomvar
The store random int action has produced about eighteen 1s in a row (Two runs through the dev dungeon flipping every card, didn't trigger the 50:50 a couple of times). Thinking about it where I've got random ints that run 0-4 and 1-6 I'm not sure I recall ever seeing a 4 or a 6.

Being random numbers this could just be a really wild coincidence, but I'm starting to suspect that the Max value can't be obtained. Anyone else have experience of this?
Last edited by x_equals_speed; 26 Feb, 2018 @ 5:46pm
< >
Showing 1-2 of 2 comments
shiva  [developer] 2 26 Feb, 2018 @ 6:17pm 
You are correct. It is is min inclusive, max exclusive. This is a programmery thing more than anything, eg. if i've a list of cards, it is easier to find a random card by using RandomInt(0, cardCount).
Apologies if it isn't obvious, I'll update the task description.
x_equals_speed 1 27 Feb, 2018 @ 3:58am 
No worries, I suspected that might be the case, but I thought I'd better make sure before changing it because rolling constant ones means the encounter has less variety but rolling the occasional three would break it completely.
< >
Showing 1-2 of 2 comments
Per page: 1530 50