Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Min and Max in the same line

I figured a roll template would be the best way to work this, but the math is kicking my hind end: Initiative in 7th Sea is a set d10's rolled separate from each other. The total dice rolled in equal to a trait (Panache, which has a maximum of 7). Each number on the die represents a phase the character acts on. Thus, a character with a Panache of 3 will always act three times in round, but at different phases. If the character rolls a 6, 3, and 10, he will act on phases 10 (the first phase of the round), phase 6, and phase 3. I figured I would make a roll template, with seven entries. The first entry would be equal to Panache - 0, with a maximum of 1 and a minimum of 0. The second entry would be Panache - 1, with a maximum of 1 and a minimum of 0. But I can't get the formula right. Anyone know how to put the min of 0 and the max of 1 in a formula? Especially one that can show up in an inline roll?
John W. said: I figured a roll template would be the best way to work this, but the math is kicking my hind end: Initiative in 7th Sea is a set d10's rolled separate from each other. The total dice rolled in equal to a trait (Panache, which has a maximum of 7). Each number on the die represents a phase the character acts on. Thus, a character with a Panache of 3 will always act three times in round, but at different phases. If the character rolls a 6, 3, and 10, he will act on phases 10 (the first phase of the round), phase 6, and phase 3. I figured I would make a roll template, with seven entries. The first entry would be equal to Panache - 0, with a maximum of 1 and a minimum of 0. The second entry would be Panache - 1, with a maximum of 1 and a minimum of 0. But I can't get the formula right. Anyone know how to put the min of 0 and the max of 1 in a formula? Especially one that can show up in an inline roll? Really appreciate the effort you're going to, John :). That said, unless I've been playing it wrong for years; you're spot on about how initiative works - except the phases count up, not down. First phase 1, then phase 2 etc, making phase 10 the last phase in the round. Not sure if that makes a difference coding-wise, but there you have it!