diff --git a/build.js b/build.js
index e9c54b1..983fcdd 100644
--- a/build.js
+++ b/build.js
@@ -225,10 +225,16 @@ class Build{
const weapon = itemMap.get(equipment[8]);
this.powders[4] = this.powders[4].slice(0,weapon.slots);
this.weapon = expandItem(weapon, this.powders[4]);
+ if (equipment[8] !== "No Weapon") {
+ document.getElementsByClassName("powder-specials")[0].style.display = "grid";
+ } else {
+ document.getElementsByClassName("powder-specials")[0].style.display = "none";
+ }
}else{
const weapon = itemMap.get("No Weapon");
this.powders[4] = this.powders[4].slice(0,weapon.slots);
this.weapon = expandItem(weapon, this.powders[4]);
+ document.getElementsByClassName("powder-specials")[0].style.display = "none";
errors.push(new ItemNotFound(equipment[8], "weapon", true));
}
diff --git a/builder.js b/builder.js
index 8d798cf..f664d2e 100644
--- a/builder.js
+++ b/builder.js
@@ -464,7 +464,7 @@ function calculateBuild(save_skp, skp){
}
for (let i of document.getElementsByClassName("hide-container-grid")) {
i.style.display = "grid";
- }
+ }
console.log(player_build.toString());
displayEquipOrder(document.getElementById("build-order"),player_build.equip_order);
diff --git a/index.html b/index.html
index 8efaa75..bd7c0dc 100644
--- a/index.html
+++ b/index.html
@@ -191,7 +191,7 @@
-
+
-
+
Powder Specials
@@ -569,7 +569,7 @@
-
diff --git a/narrow.css b/narrow.css
index bcb63b5..2714f43 100644
--- a/narrow.css
+++ b/narrow.css
@@ -35,35 +35,3 @@
height: 7vw;
max-height: 30px;
}
-
-.hide-container-block {
- animation-duration: 0.5s;
- animation-name: fadeInFromNone;
- animation-fill-mode: forwards;
-}
-
-.hide-container-grid {
- animation-duration: 0.5s;
- animation-name: fadeInFromNone;
- animation-fill-mode: forwards;
-}
-
-.set-info-div {
- animation-duration: 0.5s;
- animation-name: fadeInFromNone;
- animation-fill-mode: forwards;
-}
-
-@keyframes fadeInFromNone {
- 0% {
- opacity: 0;
- }
-
- 1% {
- opacity: 0;
- }
-
- 100% {
- opacity: 1;
- }
-}
diff --git a/styles.css b/styles.css
index eccab1e..459345c 100644
--- a/styles.css
+++ b/styles.css
@@ -290,3 +290,35 @@ button.toggleOn{
.externalBuffs {
width: 100%;
}
+
+.hide-container-block {
+ animation-duration: 0.5s;
+ animation-name: fadeInFromNone;
+ animation-fill-mode: forwards;
+}
+
+.hide-container-grid {
+ animation-duration: 0.5s;
+ animation-name: fadeInFromNone;
+ animation-fill-mode: forwards;
+}
+
+.misc {
+ animation-duration: 0.5s;
+ animation-name: fadeInFromNone;
+ animation-fill-mode: forwards;
+}
+
+@keyframes fadeInFromNone {
+ 0% {
+ opacity: 0;
+ }
+
+ 1% {
+ opacity: 0;
+ }
+
+ 100% {
+ opacity: 1;
+ }
+}
diff --git a/wide.css b/wide.css
index 39fb232..5b2b64a 100644
--- a/wide.css
+++ b/wide.css
@@ -29,36 +29,4 @@
.skp-input {
-}
-
-.hide-container-block {
- animation-duration: 0.5s;
- animation-name: fadeInFromNone;
- animation-fill-mode: forwards;
-}
-
-.hide-container-grid {
- animation-duration: 0.5s;
- animation-name: fadeInFromNone;
- animation-fill-mode: forwards;
-}
-
-.set-info-div {
- animation-duration: 0.5s;
- animation-name: fadeInFromNone;
- animation-fill-mode: forwards;
-}
-
-@keyframes fadeInFromNone {
- 0% {
- opacity: 0;
- }
-
- 1% {
- opacity: 0;
- }
-
- 100% {
- opacity: 1;
- }
-}
+}
\ No newline at end of file