added return list of spells. Moved them into seperate json

This commit is contained in:
2021-04-24 09:53:05 +02:00
parent 8e4f4eedb8
commit e65715cce6
10 changed files with 787 additions and 66 deletions

View File

@ -1,3 +1,12 @@
/**
* Compares each item inside an array Throws
* with corresponding AttributeLevels (With added bonus)
*
* @param {Array} Throws=[]
* @param {Array} AttributeLevels=[8,8,8]
* @param {BigInt} Bonus=0
* @param {BigInt} PointsRemaining=0
*/
const CompareResults = (Throws = [], AttributeLevels = [8, 8, 8], Bonus = 0, PointsRemaining = 0) => {
let Passed = 0;