ready to pr
This commit is contained in:
Restia Ashdoll 2021-01-19 13:23:21 -07:00
commit 9b97c921e9
2 changed files with 6 additions and 1 deletions

View file

@ -141,6 +141,11 @@ class Craft{
}
}
}
//apply material tiers - the good thing is that this should be symmetric.
for (const mat of this.mat_tiers) {
}
//apply ingredient effectivness - on ids, and reqs (itemIDs). NOT on durability, duration, or charges.
let eff_flat = eff.flat();
//console.log(eff_flat);

View file

@ -108,7 +108,7 @@ function calculateCraft() {
break;
}
}
if (mat_tiers.length < i) { //defualt to t3
if (mat_tiers.length < i) { //default to t3
mat_tiers.push(3);
document.getElementById("mat-"+i+"-3").classList.add("toggleOn");
}