diff --git a/craft.js b/craft.js index 1f65c59..6ff3331 100644 --- a/craft.js +++ b/craft.js @@ -179,9 +179,8 @@ class Craft{ if (statMap.get("category") === "consumable") { if(allNone) { statMap.set("hp", Math.floor( low * matmult )+ "-" + Math.floor( high * matmult )); - } else { - statMap.set("duration", [Math.floor( statMap.get("duration")[0] * matmult ), Math.floor( statMap.get("duration")[1] * matmult )]); } + statMap.set("duration", [Math.floor( statMap.get("duration")[0] * matmult ), Math.floor( statMap.get("duration")[1] * matmult )]); } else { //durability modifier statMap.set("durability", [Math.floor( statMap.get("durability")[0] * matmult ), Math.floor( statMap.get("durability")[1] * matmult )]);