Keep/Drop Function #92

Manually merged
kg333 merged 12 commits from kg333/tenebrous-dicebot:keep_drop_function into master 2021-09-26 14:05:57 +00:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit 1992ef4e08 - Show all commits

View File

@ -19,7 +19,9 @@ pub trait Rolled {
}
#[derive(Debug, PartialEq, Eq, Clone)]
// array of rolls in order, how many dice to keep, and how many to drop
/// array of rolls in order, how many dice to keep, and how many to drop
/// keep indicates how many of the highest dice to keep
/// drop indicates how many of the highest dice to drop
pub struct DiceRoll (pub Vec<u32>, usize, usize);
impl DiceRoll {