1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-01-08 05:17:54 -05:00

V2.0.1 - Fix parens, update guild audit command

This commit is contained in:
Ean Milligan (Bastion)
2022-07-08 23:51:31 -04:00
parent 9a8c718d57
commit c4c7098479
4 changed files with 9 additions and 4 deletions

View File

@ -15,7 +15,7 @@ import { fullSolver } from './solver.ts';
// parseRoll(fullCmd, modifiers)
// parseRoll handles converting fullCmd into a computer readable format for processing, and finally executes the solving
export const parseRoll = (fullCmd: string, modifiers: RollModifiers): SolvedRoll => {
const operators = ['^', '*', '/', '%', '+', '-'];
const operators = ['^', '*', '/', '%', '+', '-', '(', ')'];
const returnmsg = <SolvedRoll> {
error: false,
errorCode: '',