diff --git a/craft.js b/craft.js index 7c8a69f..2b5e8b2 100644 --- a/craft.js +++ b/craft.js @@ -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); diff --git a/crafter.js b/crafter.js index a39d09d..50ee06e 100644 --- a/crafter.js +++ b/crafter.js @@ -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"); }