From b8215957fe573d366c1b157426ef680ff7a2e3d6 Mon Sep 17 00:00:00 2001 From: b Date: Fri, 15 Jan 2021 17:34:21 -0600 Subject: [PATCH 1/5] Change skillpoint negative to display value --- builder.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builder.js b/builder.js index 25d0631..d1495cb 100644 --- a/builder.js +++ b/builder.js @@ -723,7 +723,8 @@ function calculateBuildStats() { let remainingSkpTitle = document.createElement("b"); remainingSkpTitle.textContent = "Remaining skillpoints: "; let remainingSkpContent = document.createElement("b"); - remainingSkpContent.textContent = "" + (levelToSkillPoints(player_build.level) - player_build.assigned_skillpoints < 0 ? "< 0" : levelToSkillPoints(player_build.level) - player_build.assigned_skillpoints); + //remainingSkpContent.textContent = "" + (levelToSkillPoints(player_build.level) - player_build.assigned_skillpoints < 0 ? "< 0" : levelToSkillPoints(player_build.level) - player_build.assigned_skillpoints); + remainingSkpContent.textContent = "" + (levelToSkillPoints(player_build.level) - player_build.assigned_skillpoints); remainingSkpContent.classList.add(levelToSkillPoints(player_build.level) - player_build.assigned_skillpoints < 0 ? "negative" : "positive"); remainingSkp.appendChild(remainingSkpTitle); From 2620fa74d487d4ba6a3b5ab4709ca5cb06ad761b Mon Sep 17 00:00:00 2001 From: b Date: Fri, 15 Jan 2021 20:06:21 -0600 Subject: [PATCH 2/5] Fix name --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 5c121da..ca90b19 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ - Wynn Clientside + WynnBuilder

- +

Spell Boosts & Powder Specials: diff --git a/load.js b/load.js index cae2e53..215d235 100644 --- a/load.js +++ b/load.js @@ -1,4 +1,4 @@ -const DB_VERSION = 19; +const DB_VERSION = 20; // @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.js let db; diff --git a/narrow.css b/narrow.css index c1bac21..bcb63b5 100644 --- a/narrow.css +++ b/narrow.css @@ -31,7 +31,9 @@ } .skp-input { - + width: 15vw; + height: 7vw; + max-height: 30px; } .hide-container-block { diff --git a/styles.css b/styles.css index 0ae4224..eccab1e 100644 --- a/styles.css +++ b/styles.css @@ -162,7 +162,7 @@ a.link{ .Damage { color: rgb(255, 198, 85)} .Mana { color: #5ff;} -.Mana:after { content: "\2749"} +.Mana:after { content: "\273A"} .Health { color: #a00; @@ -286,3 +286,7 @@ button.toggleOn{ text-align: center; transform: translateX(calc(50vw - 50%)); } + +.externalBuffs { + width: 100%; +}