From febd735c053cd6a3187828ddb6d9e681c227e3e5 Mon Sep 17 00:00:00 2001 From: "Ean Milligan (Bastion)" Date: Tue, 17 May 2022 01:11:38 -0400 Subject: [PATCH] removed roll docs from roller.ts file This was redundant info found in the README and [[?? command. There is no reason to have three copies of this, --- src/solver/roller.ts | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/solver/roller.ts b/src/solver/roller.ts index 823a8d5..b3351a8 100644 --- a/src/solver/roller.ts +++ b/src/solver/roller.ts @@ -11,24 +11,8 @@ import { MAXLOOPS, genRoll, compareRolls, compareOrigidx } from "./rollUtils.ts" export const roll = (rollStr: string, maximiseRoll: boolean, nominalRoll: boolean): RollSet[] => { /* Roll Capabilities * Deciphers and rolls a single dice roll set - * xdydzracsq! * - * x [OPT] - number of dice to roll, if omitted, 1 is used - * dy [REQ] - size of dice to roll, d20 = 20 sided die - * dz || dlz [OPT] - drops the lowest z dice, cannot be used with kz - * kz || khz [OPT] - keeps the highest z dice, cannot be used with dz - * dhz [OPT] - drops the highest z dice, cannot be used with kz - * klz [OPT] - keeps the lowest z dice, cannot be used with dz - * ra || r=a [OPT] - rerolls any rolls that match a, r3 will reroll any dice that land on 3, throwing out old rolls - * ra [OPT] - rerolls any rolls that are greater than or equal to a, r3 will reroll any dice that land on 3 or greater, throwing out old rolls - * csq || cs=q [OPT] - changes crit score to q - * csq [OPT] - changes crit score to be greater than or equal to q - * cfq || cs=q [OPT] - changes crit fail to q - * cfq [OPT] - changes crit fail to be greater than or equal to q - * ! [OPT] - exploding, rolls another dy for every crit roll + * Check the README.md of this project for details on the roll options. I gave up trying to keep three places updated at once. */ // Make entire roll lowercase for ease of parsing