diff --git a/builder/index.html b/builder/index.html index 3910dce..3c449c8 100644 --- a/builder/index.html +++ b/builder/index.html @@ -42,10 +42,10 @@ WynnBuilder WynnCrafter WynnAtlas - WynnCustom - WynnGPS - WynnCrafter - WynnAtlas Mini + WynnCustom + WynnGPS + Wynnfo + WynnAtlas Mini Swap Icon Style
WynnCustom
-
- - - - |
- ||
- - - - |
- ||
- - - - - |
- ||
- - - - |
- ||
- - - - - |
- ||
- - - - |
- ||
- - - - |
- ||
- Requirements - |
- ||
- - - - - |
- ||
- - - - |
- ||
- - - - |
- ||
- - - - |
- ||
- - - - |
- ||
- - - - |
- ||
- - - - |
- ||
- Extra - |
- ||
- -
|
- ||
- -
|
- ||
- - | -
- - - - |
-
- - - - |
-
- - - - |
-
- - - - |
-
- - - - |
-
- Weapon Stats - |
-
- - - - |
-
- - - - |
-
- - - - |
-
- - - - |
-
- - - - |
-
- - - - |
-
- - - - - |
-
- Armor/Accessory Stats - |
-
- - - - |
-
- - - - |
-
- - - - |
-
- - - - |
-
- - - - |
-
- - - - |
-
- Consumable Stats - |
-
- - - - |
-
- - - - |
-
- - - - |
-
- Damage Stats - |
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
- Defensive Stats - |
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
- Utility - |
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
- Spell Costs - |
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
- Miscellaneous - |
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
- |||
-
-
- -
|
-
-
S! + //The error elements no longer exist in the page. Add them back if needed. + + // console.log(error.stack); let msg = error.stack; let lines = msg.split("\n"); - let header = document.getElementById("header"); - header.textContent = ""; - for (const line of lines) { - let p = document.createElement("p"); - p.classList.add("itemp"); - p.textContent = line; - header.appendChild(p); + for (line of lines) { + console.log(line); } - let p2 = document.createElement("p"); - p2.textContent = "If you believe this is an error, contact hppeng on forums or discord."; - header.appendChild(p2); + // let header = document.getElementById("header"); + // header.textContent = ""; + // for (const line of lines) { + // let p = document.createElement("p"); + // p.classList.add("itemp"); + // p.textContent = line; + // header.appendChild(p); + // } + // let p2 = document.createElement("p"); + // p2.textContent = "If you believe this is an error, contact hppeng on forums or discord."; + // header.appendChild(p2); } } @@ -236,8 +226,7 @@ function decodeCustom(custom_url_tag) { if (fixID) { statMap.set("fixId", true); toggleButton("fixID-choice"); - toggleYN("fixID-choice"); - toggleFixed(document.getElementById("fixID-choice")); + toggleFixed(document.getElementById("fixID-choice").classList.contains("toggleOn")); } while (tag !== "") { let id = ci_save_order[Base64.toInt(tag.slice(0,2))]; @@ -350,27 +339,15 @@ function populateFields() { -/* Changes an element's text content from yes to no or vice versa -*/ -function toggleYN(elemId) { - let elem = document.getElementById(elemId); - if (elem.textContent && elem.textContent === "no") { - elem.textContent = "yes"; - } else if (elem.textContent === "yes") { - elem.textContent = "no"; - } else { - elem.textContent = "no"; - } -} - /** * @param fixed : a boolean for the state of the fixID button. */ -function toggleFixed(fixed) { +function toggleFixed() { + let fixedID_bool = document.getElementById("fixID-choice").classList.contains("toggleOn"); for (const id of rolledIDs) { let elem = document.getElementById(id); if (elem) { - if (fixed.textContent === "yes") { //now fixed IDs -> go to 1 input + if (fixedID_bool) { //now fixed IDs -> go to 1 input document.getElementById(id+"-choice-fixed-container").style = ""; document.getElementById(id+"-choice-container").style = "display:none"; } else { //now rollable -> go to 2 inputs diff --git a/js/loadheader.js b/js/loadheader.js deleted file mode 100644 index 3dd83a9..0000000 --- a/js/loadheader.js +++ /dev/null @@ -1,102 +0,0 @@ -/* -
WynnGPS
-Right click to place marker.
-Options
- -X
- -Z
- -- -
- - -- -
- -All Keys
-- | - -- | - -- | - -
+ +
++ +
+Do NOT refresh too often.
+All Keys
++ | + ++ | + ++ | + +
Class boosts | -||||
---|---|---|---|---|
- - | -- - | -- - | -- - | -- - | -
Quake | -||||
- - | -- - | -- - | -- - | -- - | -
Chain Lightning | -||||
- - | -- - | -- - | -- - | -- - | -
Curse | -||||
- - | -- - | -- - | -- - | -- - | -
Courage | -||||
- - | -- - | -- - | -- - | -- - | -
Wind Prison | -||||
- - | -- - | -- - | -- - | -- - | -
Powder Specials
-- - | -
-
|
-
- - | -
-
|
-
- - | -
-
|
-
- - | -
-
|
-
- - | -
-
|
-
- - | -
-
|
-
- - | -
-
|
-
- - | -
-
|
-
- - | -
-
|
-
- ✤Strength - -
- Manually Assigned: 0
-
-
- Original Value: 0
-
-
-
- |
-
- ✦Dexterity - -
- Manually Assigned: 0
-
-
- Original Value: 0
-
-
-
- |
-
- ❉Intelligence - -
- Manually Assigned: 0
-
-
- Original Value: 0
-
-
-
- |
-
- ✹Defense - -
- Manually Assigned: 0
-
-
- Original Value: 0
-
-
-
- |
-
- ❋Agility - -
- Manually Assigned: 0
-
-
- Original Value: 0
-
-
-
- |
-
- - - - - - - | -
Basic | -Offensive | -Defensive | -
- melee
- |
-
- poison
- |
-
- spell1
- |
-
- spell2
- |
-
- spell3
- |
-
- spell4
- |
-
Wynnfo
-This page is the main page for Wynnfo. Wynnfo is Wynnbuilder's page for all sorts of Wynncraft-related literature, including code documenation, game mechanic novels, and other literature! Browse at your leisure below.
This page is the main page for Wynnfo. Wynnfo is Wynnbuilder's page for all sorts of Wynncraft-related literature, including code documenation, game mechanic novels, and other literature! Browse at your leisure below.
-