Merge branch 'dev'
This commit is contained in:
commit
9ae6f161ef
6 changed files with 147 additions and 259 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
*.swp
|
*.swp
|
||||||
|
*.bat
|
||||||
sets/
|
sets/
|
||||||
|
|
117
clean.json
117
clean.json
|
@ -266994,46 +266994,6 @@
|
||||||
"spRegen": -12,
|
"spRegen": -12,
|
||||||
"id": 10138
|
"id": 10138
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"tier": "Mythic",
|
|
||||||
"type": "spear",
|
|
||||||
"name": "Collapse (1.20)",
|
|
||||||
"displayName": "Collapse (1.20)",
|
|
||||||
"set": null,
|
|
||||||
"quest": null,
|
|
||||||
"classReq": null,
|
|
||||||
"restrict": "1.20 item",
|
|
||||||
"fixID": false,
|
|
||||||
"strReq": 35,
|
|
||||||
"dexReq": 35,
|
|
||||||
"intReq": 35,
|
|
||||||
"defReq": 35,
|
|
||||||
"agiReq": 35,
|
|
||||||
"atkSpd": "SLOW",
|
|
||||||
"category": "weapon",
|
|
||||||
"lvl": 97,
|
|
||||||
"nDam": "60-90",
|
|
||||||
"eDam": "0-250",
|
|
||||||
"tDam": "0-250",
|
|
||||||
"wDam": "0-250",
|
|
||||||
"fDam": "0-250",
|
|
||||||
"aDam": "0-250",
|
|
||||||
"slots": 3,
|
|
||||||
"str": 50,
|
|
||||||
"dex": 0,
|
|
||||||
"int": 0,
|
|
||||||
"def": 0,
|
|
||||||
"agi": 0,
|
|
||||||
"ms": 4,
|
|
||||||
"expd": 250,
|
|
||||||
"mdPct": 100,
|
|
||||||
"eDefPct": -65,
|
|
||||||
"tDefPct": -65,
|
|
||||||
"wDefPct": -65,
|
|
||||||
"fDefPct": -65,
|
|
||||||
"aDefPct": -65,
|
|
||||||
"id": 10139
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"tier": "Unique",
|
"tier": "Unique",
|
||||||
"type": "leggings",
|
"type": "leggings",
|
||||||
|
@ -268842,7 +268802,7 @@
|
||||||
"aDam": "100-450",
|
"aDam": "100-450",
|
||||||
"slots": 15,
|
"slots": 15,
|
||||||
"str": 0,
|
"str": 0,
|
||||||
"dex": 50,
|
"dex": 60,
|
||||||
"int": 0,
|
"int": 0,
|
||||||
"def": 0,
|
"def": 0,
|
||||||
"agi": 0,
|
"agi": 0,
|
||||||
|
@ -276351,81 +276311,6 @@
|
||||||
"gSpd": 0,
|
"gSpd": 0,
|
||||||
"id": 10404
|
"id": 10404
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Singularity (1.20)",
|
|
||||||
"tier": "Mythic",
|
|
||||||
"type": "wand",
|
|
||||||
"set": null,
|
|
||||||
"quest": null,
|
|
||||||
"poison": 0,
|
|
||||||
"thorns": 0,
|
|
||||||
"sprint": 0,
|
|
||||||
"category": "weapon",
|
|
||||||
"slots": 15,
|
|
||||||
"drop": "NORMAL",
|
|
||||||
"nDam": "0-0",
|
|
||||||
"fDam": "150-400",
|
|
||||||
"wDam": "200-350",
|
|
||||||
"aDam": "100-450",
|
|
||||||
"tDam": "50-500",
|
|
||||||
"eDam": "250-300",
|
|
||||||
"atkSpd": "SUPER_SLOW",
|
|
||||||
"lvl": 99,
|
|
||||||
"classReq": null,
|
|
||||||
"strReq": 45,
|
|
||||||
"dexReq": 45,
|
|
||||||
"intReq": 45,
|
|
||||||
"agiReq": 45,
|
|
||||||
"defReq": 45,
|
|
||||||
"hprPct": 0,
|
|
||||||
"mr": 0,
|
|
||||||
"sdPct": 10,
|
|
||||||
"mdPct": 15,
|
|
||||||
"ls": 0,
|
|
||||||
"ms": 0,
|
|
||||||
"xpb": 0,
|
|
||||||
"lb": 0,
|
|
||||||
"ref": 0,
|
|
||||||
"str": 0,
|
|
||||||
"dex": 60,
|
|
||||||
"int": 0,
|
|
||||||
"agi": 0,
|
|
||||||
"def": 0,
|
|
||||||
"expd": 0,
|
|
||||||
"spd": -40,
|
|
||||||
"atkTier": 0,
|
|
||||||
"hpBonus": 0,
|
|
||||||
"spRegen": 0,
|
|
||||||
"eSteal": 0,
|
|
||||||
"hprRaw": 250,
|
|
||||||
"sdRaw": 300,
|
|
||||||
"mdRaw": 600,
|
|
||||||
"fDamPct": 0,
|
|
||||||
"wDamPct": 0,
|
|
||||||
"aDamPct": 0,
|
|
||||||
"tDamPct": 0,
|
|
||||||
"eDamPct": 0,
|
|
||||||
"fDefPct": 0,
|
|
||||||
"wDefPct": 0,
|
|
||||||
"aDefPct": 0,
|
|
||||||
"tDefPct": 0,
|
|
||||||
"eDefPct": 0,
|
|
||||||
"spPct1": 0,
|
|
||||||
"spRaw1": 0,
|
|
||||||
"spPct2": 0,
|
|
||||||
"spRaw2": 0,
|
|
||||||
"spPct3": 0,
|
|
||||||
"spRaw3": 0,
|
|
||||||
"spPct4": 0,
|
|
||||||
"spRaw4": 0,
|
|
||||||
"rainbowRaw": 0,
|
|
||||||
"sprintReg": 0,
|
|
||||||
"jh": 0,
|
|
||||||
"lq": 0,
|
|
||||||
"gXp": 0,
|
|
||||||
"gSpd": 0,
|
|
||||||
"id": 10405
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Libra (1.20)",
|
"name": "Libra (1.20)",
|
||||||
"tier": "Legendary",
|
"tier": "Legendary",
|
||||||
|
|
File diff suppressed because one or more lines are too long
250
index.html
250
index.html
|
@ -33,6 +33,9 @@
|
||||||
<th class="center title">
|
<th class="center title">
|
||||||
<label>Powdering</label>
|
<label>Powdering</label>
|
||||||
</th>
|
</th>
|
||||||
|
<th class="center title">
|
||||||
|
<label>Accessories</label>
|
||||||
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="left">
|
<td class="left">
|
||||||
|
@ -47,6 +50,13 @@
|
||||||
<input class="iteminput" type="text" id="helmet-powder" name="helmet-powder" placeholder="Example: t6t6"/>
|
<input class="iteminput" type="text" id="helmet-powder" name="helmet-powder" placeholder="Example: t6t6"/>
|
||||||
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
||||||
</td>
|
</td>
|
||||||
|
<td class="left">
|
||||||
|
<label for="ring1-choice">Ring 1:</label>
|
||||||
|
<input class="iteminput" list="ring1-items" id="ring1-choice" name="ring1-choice" placeholder="No Ring 1"/>
|
||||||
|
<datalist id="ring1-items">
|
||||||
|
</datalist>
|
||||||
|
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="left">
|
<td class="left">
|
||||||
|
@ -61,6 +71,13 @@
|
||||||
<input class="iteminput" type="text" id="chestplate-powder" name="chestplate-powder" />
|
<input class="iteminput" type="text" id="chestplate-powder" name="chestplate-powder" />
|
||||||
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
||||||
</td>
|
</td>
|
||||||
|
<td class="left">
|
||||||
|
<label for="ring2-choice">Ring 2:</label>
|
||||||
|
<input class="iteminput" list="ring2-items" id="ring2-choice" name="ring2-choice" placeholder="No Ring 2" />
|
||||||
|
<datalist id="ring2-items">
|
||||||
|
</datalist>
|
||||||
|
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="left">
|
<td class="left">
|
||||||
|
@ -75,6 +92,13 @@
|
||||||
<input class="iteminput" type="text" id="leggings-powder" name="leggings-powder" />
|
<input class="iteminput" type="text" id="leggings-powder" name="leggings-powder" />
|
||||||
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
||||||
</td>
|
</td>
|
||||||
|
<td class="left">
|
||||||
|
<label for="bracelet-choice">Bracelet:</label>
|
||||||
|
<input class="iteminput" list="bracelet-items" id="bracelet-choice" name="bracelet-choice" placeholder="No Bracelet" />
|
||||||
|
<datalist id="bracelet-items">
|
||||||
|
</datalist>
|
||||||
|
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="left">
|
<td class="left">
|
||||||
|
@ -89,6 +113,13 @@
|
||||||
<input class="iteminput" type="text" id="boots-powder" name="boots-powder" />
|
<input class="iteminput" type="text" id="boots-powder" name="boots-powder" />
|
||||||
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
||||||
</td>
|
</td>
|
||||||
|
<td class="left">
|
||||||
|
<label for="necklace-choice">Necklace:</label>
|
||||||
|
<input class="iteminput" list="necklace-items" id="necklace-choice" name="necklace-choice" placeholder="No Necklace"/>
|
||||||
|
<datalist id="necklace-items">
|
||||||
|
</datalist>
|
||||||
|
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="left">
|
<td class="left">
|
||||||
|
@ -105,53 +136,6 @@
|
||||||
<input class="iteminput" type="text" id="weapon-powder" name="weapon-powder" />
|
<input class="iteminput" type="text" id="weapon-powder" name="weapon-powder" />
|
||||||
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<div style="grid-column:3/span 1;grid-row:1">
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th class="center title">
|
|
||||||
<label>Accessories</label>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="left">
|
|
||||||
<label for="ring1-choice">Ring 1:</label>
|
|
||||||
<input class="iteminput" list="ring1-items" id="ring1-choice" name="ring1-choice" placeholder="No Ring 1"/>
|
|
||||||
<datalist id="ring1-items">
|
|
||||||
</datalist>
|
|
||||||
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="left">
|
|
||||||
<label for="ring2-choice">Ring 2:</label>
|
|
||||||
<input class="iteminput" list="ring2-items" id="ring2-choice" name="ring2-choice" placeholder="No Ring 2" />
|
|
||||||
<datalist id="ring2-items">
|
|
||||||
</datalist>
|
|
||||||
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="left">
|
|
||||||
<label for="bracelet-choice">Bracelet:</label>
|
|
||||||
<input class="iteminput" list="bracelet-items" id="bracelet-choice" name="bracelet-choice" placeholder="No Bracelet" />
|
|
||||||
<datalist id="bracelet-items">
|
|
||||||
</datalist>
|
|
||||||
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="left">
|
|
||||||
<label for="necklace-choice">Necklace:</label>
|
|
||||||
<input class="iteminput" list="necklace-items" id="necklace-choice" name="necklace-choice" placeholder="No Necklace"/>
|
|
||||||
<datalist id="necklace-items">
|
|
||||||
</datalist>
|
|
||||||
<p class="error" style="color: red; top: 30px; font-size: 10px; padding: 0; margin: 0; height: 5px; font-family: 'Nunito', sans-serif; white-space: nowrap;"></p>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="left">
|
<td class="left">
|
||||||
<br/>
|
<br/>
|
||||||
<label for="level-choice">Level:</label>
|
<label for="level-choice">Level:</label>
|
||||||
|
@ -190,15 +174,87 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
<div class="center" style="grid-column:1/span 3;grid-row:3">
|
|
||||||
<br><br>
|
<br><br>
|
||||||
|
</div>
|
||||||
|
<div class="skillpoints" style="grid-column:1/span 3;grid-row:3;">
|
||||||
|
<div class="center" style="grid-column:1;grid-row:1">
|
||||||
|
<div>
|
||||||
|
<label for="str-skp" class="skpLabel" id="str-skp-label">Strength:</label><br>
|
||||||
|
<input type="string" id="str-skp" name="str-skp" value="0" class="skpInput"/>
|
||||||
|
</div>
|
||||||
|
<div id="str-skp-assign" class="skpDesc">
|
||||||
|
Manually Assigned: 0
|
||||||
|
</div>
|
||||||
|
<div id="str-skp-base" class="skpDesc">
|
||||||
|
Original Value: 0
|
||||||
|
</div>
|
||||||
|
<div id ="str-skp-pct" class="skpDesc">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="center" style="grid-column:2;grid-row:1">
|
||||||
|
<div>
|
||||||
|
<label for="dex-skp" class="skpLabel" id="dex-skp-label">Dexterity:</label><br>
|
||||||
|
<input type="string" id="dex-skp" name="dex-skp" value="0" class="skpInput"/>
|
||||||
|
</div>
|
||||||
|
<div id="dex-skp-assign" class="skpDesc">
|
||||||
|
Manually Assigned: 0
|
||||||
|
</div>
|
||||||
|
<div id="dex-skp-base" class="skpDesc">
|
||||||
|
Original Value: 0
|
||||||
|
</div>
|
||||||
|
<div id ="dex-skp-pct" class="skpDesc">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="center" style="grid-column:3;grid-row:1">
|
||||||
|
<div>
|
||||||
|
<label for="int-skp" class="skpLabel" id="int-skp-label">Intelligence:</label><br>
|
||||||
|
<input type="string" id="int-skp" name="int-skp" value="0" class="skpInput"/>
|
||||||
|
</div>
|
||||||
|
<div id="int-skp-assign" class="skpDesc">
|
||||||
|
Manually Assigned: 0
|
||||||
|
</div>
|
||||||
|
<div id="int-skp-base" class="skpDesc">
|
||||||
|
Original Value: 0
|
||||||
|
</div>
|
||||||
|
<div id ="int-skp-pct" class="skpDesc">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="center" style="grid-column:4;grid-row:1">
|
||||||
|
<div>
|
||||||
|
<label for="def-skp" class="skpLabel" id="def-skp-label">Defense:</label><br>
|
||||||
|
<input type="string" id="def-skp" name="def-skp" value="0" class="skpInput"/>
|
||||||
|
</div>
|
||||||
|
<div id="def-skp-assign" class="skpDesc">
|
||||||
|
Manually Assigned: 0
|
||||||
|
</div>
|
||||||
|
<div id="def-skp-base" class="skpDesc">
|
||||||
|
Original Value: 0
|
||||||
|
</div>
|
||||||
|
<div id ="def-skp-pct" class="skpDesc">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="center" style="grid-column:5;grid-row:1">
|
||||||
|
<div>
|
||||||
|
<label for="agi-skp" class="skpLabel" id="agi-skp-label">Agility:</label><br>
|
||||||
|
<input type="string" id="agi-skp" name="agi-skp" value="0" class="skpInput"/>
|
||||||
|
</div>
|
||||||
|
<div id="agi-skp-assign" class="skpDesc">
|
||||||
|
Manually Assigned: 0
|
||||||
|
</div>
|
||||||
|
<div id="agi-skp-base" class="skpDesc">
|
||||||
|
Original Value: 0
|
||||||
|
</div>
|
||||||
|
<div id ="agi-skp-pct" class="skpDesc">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="center" style="grid-column:1/span 3;grid-row:4">
|
||||||
<div class="nomargin" id="summary-box">
|
<div class="nomargin" id="summary-box">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<br><br>
|
<br><br>
|
||||||
<div class="externalBuffs hide-container-block" id="buff-box" style="display: none;">
|
<div class="externalBuffs hide-container-block" id="buff-box" style="display: none;">
|
||||||
<table class="externalBuffs">
|
<table class="externalBuffs" style="padding-bottom:20px">
|
||||||
<tr>
|
<tr>
|
||||||
<p class = "buffs-title itemp title">
|
<p class = "buffs-title itemp title">
|
||||||
Spell Boosts & Powder Specials:
|
Spell Boosts & Powder Specials:
|
||||||
|
@ -412,81 +468,18 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="skillpoints">
|
|
||||||
<div class="center" style="grid-column:1;grid-row:1">
|
<div class="center">
|
||||||
<div>
|
<button class = "button" id = "update-button" onclick = "updateStats()">
|
||||||
<label for="str-skp" class="skpLabel" id="str-skp-label">Strength:</label><br>
|
Update Stats
|
||||||
<input type="string" id="str-skp" name="str-skp" value="0" class="skpInput"/>
|
</button>
|
||||||
</div>
|
<button class = "button" id = "show-id-button" onclick = "toggleID()">
|
||||||
<div id="str-skp-assign" class="skpDesc">
|
Edit IDs
|
||||||
Manually Assigned: 0
|
</button>
|
||||||
</div>
|
</div><br>
|
||||||
<div id="str-skp-base" class="skpDesc">
|
|
||||||
Original Value: 0
|
|
||||||
</div>
|
|
||||||
<div id ="str-skp-pct" class="skpDesc">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="center" style="grid-column:2;grid-row:1">
|
|
||||||
<div>
|
|
||||||
<label for="dex-skp" class="skpLabel" id="dex-skp-label">Dexterity:</label><br>
|
|
||||||
<input type="string" id="dex-skp" name="dex-skp" value="0" class="skpInput"/>
|
|
||||||
</div>
|
|
||||||
<div id="dex-skp-assign" class="skpDesc">
|
|
||||||
Manually Assigned: 0
|
|
||||||
</div>
|
|
||||||
<div id="dex-skp-base" class="skpDesc">
|
|
||||||
Original Value: 0
|
|
||||||
</div>
|
|
||||||
<div id ="dex-skp-pct" class="skpDesc">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="center" style="grid-column:3;grid-row:1">
|
|
||||||
<div>
|
|
||||||
<label for="int-skp" class="skpLabel" id="int-skp-label">Intelligence:</label><br>
|
|
||||||
<input type="string" id="int-skp" name="int-skp" value="0" class="skpInput"/>
|
|
||||||
</div>
|
|
||||||
<div id="int-skp-assign" class="skpDesc">
|
|
||||||
Manually Assigned: 0
|
|
||||||
</div>
|
|
||||||
<div id="int-skp-base" class="skpDesc">
|
|
||||||
Original Value: 0
|
|
||||||
</div>
|
|
||||||
<div id ="int-skp-pct" class="skpDesc">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="center" style="grid-column:4;grid-row:1">
|
|
||||||
<div>
|
|
||||||
<label for="def-skp" class="skpLabel" id="def-skp-label">Defense:</label><br>
|
|
||||||
<input type="string" id="def-skp" name="def-skp" value="0" class="skpInput"/>
|
|
||||||
</div>
|
|
||||||
<div id="def-skp-assign" class="skpDesc">
|
|
||||||
Manually Assigned: 0
|
|
||||||
</div>
|
|
||||||
<div id="def-skp-base" class="skpDesc">
|
|
||||||
Original Value: 0
|
|
||||||
</div>
|
|
||||||
<div id ="def-skp-pct" class="skpDesc">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="center" style="grid-column:5;grid-row:1">
|
|
||||||
<div>
|
|
||||||
<label for="agi-skp" class="skpLabel" id="agi-skp-label">Agility:</label><br>
|
|
||||||
<input type="string" id="agi-skp" name="agi-skp" value="0" class="skpInput"/>
|
|
||||||
</div>
|
|
||||||
<div id="agi-skp-assign" class="skpDesc">
|
|
||||||
Manually Assigned: 0
|
|
||||||
</div>
|
|
||||||
<div id="agi-skp-base" class="skpDesc">
|
|
||||||
Original Value: 0
|
|
||||||
</div>
|
|
||||||
<div id ="agi-skp-pct" class="skpDesc">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="id-box fade-in" id="id-edit" style="display: none">
|
<div class="id-box fade-in" id="id-edit" style="display: none">
|
||||||
<div class="id-edit1">
|
<div class="id-edit1">
|
||||||
<table class="white-space: nowrap">
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="5">
|
<th colspan="5">
|
||||||
<h1>Damage values:</h1>
|
<h1>Damage values:</h1>
|
||||||
|
@ -879,14 +872,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<div class="center">
|
|
||||||
<button class = "button" id = "update-button" onclick = "updateStats()">
|
|
||||||
Update Stats
|
|
||||||
</button>
|
|
||||||
<button class = "button" id = "show-id-button" onclick = "toggleID()">
|
|
||||||
Edit IDs
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div class="wide-space"></div>
|
<div class="wide-space"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
19
load.js
19
load.js
|
@ -1,4 +1,4 @@
|
||||||
const DB_VERSION = 23;
|
const DB_VERSION = 24;
|
||||||
// @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.js
|
// @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.js
|
||||||
|
|
||||||
let db;
|
let db;
|
||||||
|
@ -68,12 +68,27 @@ async function load(init_func) {
|
||||||
items = result.items;
|
items = result.items;
|
||||||
sets = result.sets;
|
sets = result.sets;
|
||||||
|
|
||||||
|
let clear_tx = db.transaction(['item_db', 'set_db'], 'readwrite');
|
||||||
|
let clear_items = clear_tx.objectStore('item_db');
|
||||||
|
let clear_sets = clear_tx.objectStore('item_db');
|
||||||
|
|
||||||
|
await clear_items.clear();
|
||||||
|
await clear_sets.clear();
|
||||||
|
await clear_tx.complete;
|
||||||
|
|
||||||
let add_tx = db.transaction(['item_db', 'set_db'], 'readwrite');
|
let add_tx = db.transaction(['item_db', 'set_db'], 'readwrite');
|
||||||
|
add_tx.onabort = function() {
|
||||||
|
console.log("Not enough space...");
|
||||||
|
};
|
||||||
let items_store = add_tx.objectStore('item_db');
|
let items_store = add_tx.objectStore('item_db');
|
||||||
let add_promises = [];
|
let add_promises = [];
|
||||||
for (const item of items) {
|
for (const item of items) {
|
||||||
clean_item(item);
|
clean_item(item);
|
||||||
add_promises.push(items_store.add(item, item.name));
|
let req = items_store.add(item, item.name);
|
||||||
|
req.onerror = function() {
|
||||||
|
console.log("ADD ITEM ERROR? " + item.name);
|
||||||
|
};
|
||||||
|
add_promises.push(req);
|
||||||
}
|
}
|
||||||
let sets_store = add_tx.objectStore('set_db');
|
let sets_store = add_tx.objectStore('set_db');
|
||||||
for (const set in sets) {
|
for (const set in sets) {
|
||||||
|
|
17
styles.css
17
styles.css
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
th, td {
|
th, td {
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nomargin {
|
.nomargin {
|
||||||
|
@ -81,7 +82,7 @@ a.link{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
table.center{
|
table.center{
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
margin-left:auto;
|
margin-left:auto;
|
||||||
margin-right:auto;
|
margin-right:auto;
|
||||||
|
@ -223,7 +224,7 @@ table.center{
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: 10px;
|
width: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Track */
|
/* Track */
|
||||||
::-webkit-scrollbar-track {
|
::-webkit-scrollbar-track {
|
||||||
box-shadow: inset 0 0 5px #BCBCBC;
|
box-shadow: inset 0 0 5px #BCBCBC;
|
||||||
|
@ -242,7 +243,7 @@ table.center{
|
||||||
background: #110110;
|
background: #110110;
|
||||||
}
|
}
|
||||||
.button-narrow {
|
.button-narrow {
|
||||||
background-color: #666;
|
background-color: #666;
|
||||||
border: 2px solid #444;
|
border: 2px solid #444;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
color: #ddd;
|
color: #ddd;
|
||||||
|
@ -254,7 +255,7 @@ table.center{
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
button {
|
button {
|
||||||
background-color: #666;
|
background-color: #666;
|
||||||
border: 2px solid #444;
|
border: 2px solid #444;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
color: #ddd;
|
color: #ddd;
|
||||||
|
@ -276,7 +277,7 @@ button:active {
|
||||||
transform: translateY(1px);
|
transform: translateY(1px);
|
||||||
}
|
}
|
||||||
input {
|
input {
|
||||||
background-color: #666;
|
background-color: #666;
|
||||||
border: 2px solid #444;
|
border: 2px solid #444;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
color: #ddd;
|
color: #ddd;
|
||||||
|
@ -323,7 +324,7 @@ input {
|
||||||
|
|
||||||
button.toggleOn{
|
button.toggleOn{
|
||||||
background-color:#0a0;
|
background-color:#0a0;
|
||||||
border: 3 px solid rgb(0, 70, 0);
|
border: 3 px solid rgb(0, 70, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.funnynumber {
|
.funnynumber {
|
||||||
|
@ -358,7 +359,7 @@ button.toggleOn{
|
||||||
}
|
}
|
||||||
.T0-bracket {
|
.T0-bracket {
|
||||||
color: #555;
|
color: #555;
|
||||||
}
|
}
|
||||||
.T1-bracket {
|
.T1-bracket {
|
||||||
color: #fa0;
|
color: #fa0;
|
||||||
}
|
}
|
||||||
|
@ -386,4 +387,4 @@ button.toggleOn{
|
||||||
100% {
|
100% {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue