diff --git a/craft.js b/craft.js index 83a75d2..deee3ad 100644 --- a/craft.js +++ b/craft.js @@ -93,7 +93,7 @@ class Craft{ */ let matmult = 1; - let sorted = this.mat_tiers.sort(); + let sorted = this.mat_tiers.slice().sort(); //TODO - idfk how this works if( sorted[0] == 1 && sorted[1] == 1) { matmult = 1; diff --git a/crafter.html b/crafter.html index 1b9f4aa..12fbe32 100644 --- a/crafter.html +++ b/crafter.html @@ -13,8 +13,32 @@ WynnCrafter - - -
-

Made by hppeng and ferricles with Atlas Inc (JavaScript required to function, nothing works without js)

-

Hard refresh the page (Ctrl+Shift+R on windows/chrome) if it isn't updating correctly.

+
+
+
+

Made by hppeng and ferricles with Atlas Inc (JavaScript required to function, nothing works without js)

+

Hard refresh the page (Ctrl+Shift+R on windows/chrome) if it isn't updating correctly.

+
+ +
-
- Additional credits -
- diff --git a/crafter.js b/crafter.js index 64e3403..cd428ce 100644 --- a/crafter.js +++ b/crafter.js @@ -9,7 +9,7 @@ console.log(url_tag); -const BUILD_VERSION = "6.9.7"; +const BUILD_VERSION = "6.9.9"; /* * END testing section */ diff --git a/index.html b/index.html index 0442719..db3a283 100644 --- a/index.html +++ b/index.html @@ -16,12 +16,34 @@ WynnBuilder - -
- Forum thread (instructions/help) +
+
+ +
+
+ +

+ Forum thread (instructions/help) +

+
+
+
+ +
+
+
@@ -959,11 +981,16 @@
Next Spell Costs
-
-

Made by hppeng and ferricles with Atlas Inc (JavaScript required to function, nothing works without js)

-
-
- Additional credits +
+
+
+

Made by hppeng and ferricles with Atlas Inc (JavaScript required to function, nothing works without js)

+

Hard refresh the page (Ctrl+Shift+R on windows/chrome) if it isn't updating correctly.

+
+ +
diff --git a/media/icons/builder.png b/media/icons/builder.png new file mode 100644 index 0000000..1b8f1f4 Binary files /dev/null and b/media/icons/builder.png differ diff --git a/media/icons/crafter.png b/media/icons/crafter.png new file mode 100644 index 0000000..c43a8ae Binary files /dev/null and b/media/icons/crafter.png differ diff --git a/styles.css b/styles.css index 66b861b..7ccb5e6 100644 --- a/styles.css +++ b/styles.css @@ -1,8 +1,37 @@ .header { padding: 2% 0% 0%; - text-align: center; + text-align: center; + display: flex; + flex-direction: row; + justify-content: center; +} +.headericon { + /* JANK FIX IF CAN */ + max-height: 48px; + max-width: 48px; +} +.headerleft { + display: inline-block; + width: 20%; + text-align: left; +} +.headercenter { + display: inline-block; + width: 60%; + text-align: center; +} +.headerright{ + display: inline-block; + width: 20%; + text-align: right; +} +.iconlink { + position: relative; + left: 0%; + right: 0%; + height: 100%; + width: 100%; } - .all { font-family: 'Nunito',sans-serif; font-weight: 700; @@ -17,7 +46,10 @@ th, td { padding: 0px; } .nomarginp { - margin: 0px; + margin-top: 0px; + margin-left: 0px; + margin-right: 0px; + margin-bottom: 0px; padding: 0px; } div { @@ -129,6 +161,11 @@ table.center{ margin-left: auto; margin-right: auto; } +.headertable { + width: 98%; + margin-left: 1%; + margin-right: 1%; +} .itemp, .damagep { margin: 2px 2%; padding: 0; @@ -334,7 +371,7 @@ button.toggleOn:hover { color: transparent; display: inline-block; text-align: center; - transform: translateX(calc(50vw - 50%)); + } .Star { @@ -403,16 +440,16 @@ button.toggleOn:hover { background: #110110; width: min(200%, 75vw); text-align: center; - border: 5px solid #BCBCBC; + border: 3px solid #BCBCBC; border-radius: 10px; - padding: 5px 0; + padding: 0 0; position: absolute; z-index: 1; - } - .recipe { - z-index: 1; - } +} +.recipe { + z-index: 1; +} .tooltip:hover .tooltiptext { visibility: visible; - } \ No newline at end of file +}