Merge branch 'dev' of https://github.com/wynnbuilder/wynnbuilder.github.io into dev
ready to pr
This commit is contained in:
commit
9b97c921e9
2 changed files with 6 additions and 1 deletions
5
craft.js
5
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);
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue