removed printouts
This commit is contained in:
parent
0166b7814d
commit
db7981024f
2 changed files with 0 additions and 4 deletions
|
@ -190,7 +190,6 @@ class Craft{
|
||||||
let amounts = this.recipe.get("materials").map(x=> x.get("amount"));
|
let amounts = this.recipe.get("materials").map(x=> x.get("amount"));
|
||||||
//Mat Multipliers - should work!
|
//Mat Multipliers - should work!
|
||||||
matmult = (tierToMult[tiers[0]]*amounts[0] + tierToMult[tiers[1]]*amounts[1]) / (amounts[0]+amounts[1]);
|
matmult = (tierToMult[tiers[0]]*amounts[0] + tierToMult[tiers[1]]*amounts[1]) / (amounts[0]+amounts[1]);
|
||||||
console.log(matmult);
|
|
||||||
|
|
||||||
let low = this.recipe.get("healthOrDamage")[0];
|
let low = this.recipe.get("healthOrDamage")[0];
|
||||||
let high = this.recipe.get("healthOrDamage")[1];
|
let high = this.recipe.get("healthOrDamage")[1];
|
||||||
|
|
|
@ -142,7 +142,6 @@ function parsePowdering(powder_info) {
|
||||||
* Populate fields based on url, and calculate build.
|
* Populate fields based on url, and calculate build.
|
||||||
*/
|
*/
|
||||||
function decodeBuild(url_tag) {
|
function decodeBuild(url_tag) {
|
||||||
console.log("decoding build");
|
|
||||||
if (url_tag) {
|
if (url_tag) {
|
||||||
//default values
|
//default values
|
||||||
let equipment = [null, null, null, null, null, null, null, null, null];
|
let equipment = [null, null, null, null, null, null, null, null, null];
|
||||||
|
@ -169,9 +168,7 @@ function decodeBuild(url_tag) {
|
||||||
let info_str = info[1];
|
let info_str = info[1];
|
||||||
let start_idx = 0;
|
let start_idx = 0;
|
||||||
for (let i = 0; i < 9; ++i ) {
|
for (let i = 0; i < 9; ++i ) {
|
||||||
console.log(info_str.slice(start_idx,start_idx+3));
|
|
||||||
if (info_str.slice(start_idx,start_idx+3) === "CR-") {
|
if (info_str.slice(start_idx,start_idx+3) === "CR-") {
|
||||||
console.log(info_str.slice(start_idx, start_idx+20));
|
|
||||||
equipment[i] = info_str.slice(start_idx, start_idx+20);
|
equipment[i] = info_str.slice(start_idx, start_idx+20);
|
||||||
start_idx += 20;
|
start_idx += 20;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue