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

Minor bug fixes and documentation completed

This is version 1.0.0 release.
This commit is contained in:
Ean Milligan (Bastion)
2021-01-08 01:02:38 -05:00
parent 96a4a88c2f
commit df4705360d
7 changed files with 113 additions and 16 deletions

View File

@ -1,3 +1,9 @@
/* The Artificer was built in memory of Babka
* With love, Ean
*
* December 21, 2020
*/
import { RollSet, SolvedStep, SolvedRoll } from "./solver.d.ts";
// MAXLOOPS determines how long the bot will attempt a roll
@ -678,7 +684,7 @@ const fullSolver = (conf: (string | number | SolvedStep)[], wrapDetails: boolean
}
// Replace the two operands and their operator with our subStepSolve
conf.splice((i - 1), (i + 2), subStepSolve);
conf.splice((i - 1), 3, subStepSolve);
// Because we are messing around with the array we are iterating thru, we need to back up one idx to make sure every operator gets processed
i--;
}

View File

@ -1,3 +1,9 @@
/* The Artificer was built in memory of Babka
* With love, Ean
*
* December 21, 2020
*/
import { Message } from "https://deno.land/x/discordeno@10.0.0/mod.ts";
// split2k(longMessage) returns shortMessage[]