Add missing cases for test <20.
This commit is contained in:
parent
4209b8eb14
commit
b3c89b4d32
2 changed files with 55 additions and 1 deletions
|
@ -75,7 +75,7 @@ function rollCheckMultipleDice(testValue: number, rollOptions: RollOptions): Rol
|
|||
}
|
||||
|
||||
export class RollOptions {
|
||||
constructor(public minCritFail: number = 20, public maxCritSucc: number = 1) {}
|
||||
constructor(public maxCritSucc: number = 1, public minCritFail: number = 20) {}
|
||||
}
|
||||
|
||||
export class RollResult {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue