Crafter patch 1
This commit is contained in:
parent
7f444b78f4
commit
1baf242602
1 changed files with 1 additions and 2 deletions
|
@ -105,7 +105,6 @@ function init() {
|
||||||
console.log(ings);
|
console.log(ings);
|
||||||
console.log("all recipes");
|
console.log("all recipes");
|
||||||
console.log(recipes);
|
console.log(recipes);
|
||||||
console.log("e");
|
|
||||||
console.log(ingList);
|
console.log(ingList);
|
||||||
console.log(recipeList);
|
console.log(recipeList);
|
||||||
|
|
||||||
|
@ -238,7 +237,7 @@ function encodeCraft() {
|
||||||
Base64.fromIntN(ingList.indexOf(player_craft.ingreds[5].get("name")), 2) +
|
Base64.fromIntN(ingList.indexOf(player_craft.ingreds[5].get("name")), 2) +
|
||||||
Base64.fromIntN(recipeList.indexOf(player_craft.recipe.get("id")),2) +
|
Base64.fromIntN(recipeList.indexOf(player_craft.recipe.get("id")),2) +
|
||||||
Base64.fromIntN(player_craft.mat_tiers[0] + (player_craft.mat_tiers[1]-1)*3, 1) + //this maps tiers [a,b] to a+3b.
|
Base64.fromIntN(player_craft.mat_tiers[0] + (player_craft.mat_tiers[1]-1)*3, 1) + //this maps tiers [a,b] to a+3b.
|
||||||
Base64.fromIntN(atkSpds.indexOf(player_craft.statMap.get("atkSpd")),1);
|
Base64.fromIntN(atkSpds.indexOf(player_craft["atkSpd"]),1);
|
||||||
return craft_string;
|
return craft_string;
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
|
|
Loading…
Reference in a new issue