Add new CI, add bash boost button
This commit is contained in:
parent
be94c493d4
commit
d495f6dfc8
7 changed files with 238 additions and 99 deletions
109
1_20_ci.json
109
1_20_ci.json
|
@ -1005,8 +1005,8 @@
|
|||
"int": 50,
|
||||
"def": 0,
|
||||
"agi": 0,
|
||||
"mr": -5,
|
||||
"ms": -5,
|
||||
"mr": -4,
|
||||
"ms": -4,
|
||||
"sdPct": 30,
|
||||
"spPct1": -38,
|
||||
"spPct2": -38,
|
||||
|
@ -4997,7 +4997,7 @@
|
|||
"category": "armor",
|
||||
"lvl": 98,
|
||||
"hp": 3200,
|
||||
"tDef": 200,
|
||||
"tDef": 100,
|
||||
"aDef": -150,
|
||||
"slots": 3,
|
||||
"str": 0,
|
||||
|
@ -5506,13 +5506,15 @@
|
|||
"fDef": 40,
|
||||
"aDef": 40,
|
||||
"slots": 2,
|
||||
"str": 4,
|
||||
"dex": 4,
|
||||
"int": 4,
|
||||
"def": 4,
|
||||
"agi": 4,
|
||||
"sdRaw": 175,
|
||||
"mdRaw": 230,
|
||||
"str": 3,
|
||||
"dex": 3,
|
||||
"int": 3,
|
||||
"def": 3,
|
||||
"agi": 3,
|
||||
"ls": 175,
|
||||
"ms": 2,
|
||||
"lb": 15,
|
||||
"thorns": 20,
|
||||
"id": 10259
|
||||
},
|
||||
{
|
||||
|
@ -5597,11 +5599,6 @@
|
|||
"int": 12,
|
||||
"def": 12,
|
||||
"agi": 12,
|
||||
"eDamPct": 8,
|
||||
"tDamPct": 8,
|
||||
"wDamPct": 8,
|
||||
"fDamPct": 8,
|
||||
"aDamPct": 8,
|
||||
"spPct2": -1,
|
||||
"id": 10262
|
||||
},
|
||||
|
@ -7145,11 +7142,11 @@
|
|||
"category": "weapon",
|
||||
"lvl": 93,
|
||||
"nDam": "0-0",
|
||||
"eDam": "124-140",
|
||||
"tDam": "54-210",
|
||||
"wDam": "94-170",
|
||||
"fDam": "109-115",
|
||||
"aDam": "79-185",
|
||||
"eDam": "120-142",
|
||||
"tDam": "60-202",
|
||||
"wDam": "90-172",
|
||||
"fDam": "105-157",
|
||||
"aDam": "75-187",
|
||||
"slots": 4,
|
||||
"str": 0,
|
||||
"dex": 0,
|
||||
|
@ -9510,7 +9507,7 @@
|
|||
"agi": -550,
|
||||
"ls": 973,
|
||||
"ms": 6,
|
||||
"atkTier": 3,
|
||||
"atkTier": 1,
|
||||
"sdRaw": 342,
|
||||
"mdRaw": 727,
|
||||
"wDamPct": -550,
|
||||
|
@ -10202,73 +10199,5 @@
|
|||
"tDamPct": 30,
|
||||
"aDamPct": -50,
|
||||
"id": 10394
|
||||
},
|
||||
{
|
||||
"tier": "Rare",
|
||||
"type": "helmet",
|
||||
"name": "Dissociation (1.20)",
|
||||
"displayName": "Dissociation (1.20)",
|
||||
"set": null,
|
||||
"quest": null,
|
||||
"classReq": null,
|
||||
"restrict": "1.20 item",
|
||||
"fixID": false,
|
||||
"strReq": 0,
|
||||
"dexReq": 0,
|
||||
"intReq": 0,
|
||||
"defReq": 0,
|
||||
"agiReq": 0,
|
||||
"category": "armor",
|
||||
"lvl": 101,
|
||||
"slots": 0,
|
||||
"str": -35,
|
||||
"dex": 0,
|
||||
"int": -20,
|
||||
"def": -35,
|
||||
"agi": 0,
|
||||
"mr": 2,
|
||||
"hpBonus": 3550,
|
||||
"sdRaw": 300,
|
||||
"mdPct": 60,
|
||||
"tDefPct": 75,
|
||||
"aDefPct": 75,
|
||||
"spRaw3": -1,
|
||||
"id": 10395
|
||||
},
|
||||
{
|
||||
"tier": "Legendary",
|
||||
"type": "leggings",
|
||||
"name": "Anixolytic (1.20)",
|
||||
"displayName": "Anixolytic (1.20)",
|
||||
"set": null,
|
||||
"quest": null,
|
||||
"classReq": null,
|
||||
"restrict": "1.20 item",
|
||||
"fixID": false,
|
||||
"strReq": 35,
|
||||
"dexReq": 40,
|
||||
"intReq": 50,
|
||||
"defReq": 35,
|
||||
"agiReq": 50,
|
||||
"category": "armor",
|
||||
"lvl": 101,
|
||||
"hp": 3880,
|
||||
"eDef": -175,
|
||||
"tDef": 125,
|
||||
"wDef": 150,
|
||||
"fDef": -125,
|
||||
"aDef": 150,
|
||||
"slots": 0,
|
||||
"str": 0,
|
||||
"dex": 15,
|
||||
"int": 10,
|
||||
"def": 0,
|
||||
"agi": 12,
|
||||
"mr": 4,
|
||||
"spRaw1": 1,
|
||||
"spRaw3": 1,
|
||||
"spRaw4": 1,
|
||||
"sprintReg": 13,
|
||||
"id": 10396
|
||||
}
|
||||
]
|
||||
]
|
|
@ -389,7 +389,7 @@ function encodeBuild() {
|
|||
|
||||
function calculateBuild(save_skp, skp){
|
||||
try {
|
||||
for (const boost of ["vanish", "warscream", "yourtotem", "allytotem"]) {
|
||||
for (const boost of ["vanish", "warscream", "yourtotem", "allytotem", "bash"]) {
|
||||
let elem = document.getElementById(boost+"-boost");
|
||||
elem.classList.remove("toggleOn");
|
||||
}
|
||||
|
@ -509,7 +509,7 @@ function calculateBuild(save_skp, skp){
|
|||
*/
|
||||
function updateStats() {
|
||||
//direct copy of the ext buff un-check code from calculateBuild(). Redo if possible.
|
||||
for (const boost of ["vanish", "warscream", "yourtotem", "allytotem"]) {
|
||||
for (const boost of ["vanish", "warscream", "yourtotem", "allytotem", "bash"]) {
|
||||
let elem = document.getElementById(boost+"-boost");
|
||||
elem.classList.remove("toggleOn");
|
||||
}
|
||||
|
|
193
clean.json
193
clean.json
|
@ -276009,6 +276009,199 @@
|
|||
"gXp": 0,
|
||||
"gSpd": 0,
|
||||
"id": 10397
|
||||
},
|
||||
{
|
||||
"tier": "Unique",
|
||||
"type": "boots",
|
||||
"name": "Boots of Blue Stone (1.20)",
|
||||
"displayName": "Boots of Blue Stone (1.20)",
|
||||
"set": null,
|
||||
"quest": null,
|
||||
"classReq": null,
|
||||
"restrict": "1.20 item",
|
||||
"fixID": false,
|
||||
"strReq": 20,
|
||||
"dexReq": 20,
|
||||
"intReq": 20,
|
||||
"defReq": 20,
|
||||
"agiReq": 20,
|
||||
"category": "armor",
|
||||
"lvl": 82,
|
||||
"hp": 2000,
|
||||
"eDef": 30,
|
||||
"tDef": 30,
|
||||
"wDef": 30,
|
||||
"fDef": 30,
|
||||
"aDef": 30,
|
||||
"slots": 2,
|
||||
"str": 5,
|
||||
"dex": 5,
|
||||
"int": 5,
|
||||
"def": 5,
|
||||
"agi": 5,
|
||||
"sdRaw": 140,
|
||||
"mdRaw": 180,
|
||||
"eDamPct": 13,
|
||||
"tDamPct": 13,
|
||||
"wDamPct": 13,
|
||||
"fDamPct": 13,
|
||||
"aDamPct": 13,
|
||||
"sprint": 13,
|
||||
"sprintReg": 13,
|
||||
"id": 10398
|
||||
},
|
||||
{
|
||||
"tier": "Rare",
|
||||
"type": "relik",
|
||||
"name": "Estuarine (1.20)",
|
||||
"displayName": "Estuarine (1.20)",
|
||||
"set": null,
|
||||
"quest": null,
|
||||
"classReq": null,
|
||||
"restrict": "1.20 item",
|
||||
"fixID": false,
|
||||
"strReq": 28,
|
||||
"dexReq": 0,
|
||||
"intReq": 32,
|
||||
"defReq": 0,
|
||||
"agiReq": 0,
|
||||
"atkSpd": "NORMAL",
|
||||
"category": "weapon",
|
||||
"lvl": 71,
|
||||
"nDam": "70-80",
|
||||
"eDam": "100-110",
|
||||
"tDam": "0-0",
|
||||
"wDam": "71-85",
|
||||
"fDam": "0-0",
|
||||
"aDam": "0-0",
|
||||
"slots": 3,
|
||||
"str": 0,
|
||||
"dex": 0,
|
||||
"int": 8,
|
||||
"def": 0,
|
||||
"agi": 0,
|
||||
"mr": 1,
|
||||
"spd": -12,
|
||||
"mdPct": -20,
|
||||
"mdRaw": 130,
|
||||
"wDamPct": 35,
|
||||
"eDefPct": 30,
|
||||
"id": 10399
|
||||
},
|
||||
{
|
||||
"tier": "Rare",
|
||||
"type": "helmet",
|
||||
"name": "The Modulator (1.20)",
|
||||
"displayName": "The Modulator (1.20)",
|
||||
"set": null,
|
||||
"quest": null,
|
||||
"classReq": null,
|
||||
"restrict": "1.20 item",
|
||||
"fixID": true,
|
||||
"strReq": 25,
|
||||
"dexReq": 25,
|
||||
"intReq": 25,
|
||||
"defReq": 25,
|
||||
"agiReq": 25,
|
||||
"category": "armor",
|
||||
"lvl": 88,
|
||||
"hp": 2500,
|
||||
"slots": 5,
|
||||
"str": 8,
|
||||
"dex": 8,
|
||||
"int": 8,
|
||||
"def": 8,
|
||||
"agi": 8,
|
||||
"spd": 15,
|
||||
"eDefPct": 30,
|
||||
"tDefPct": 30,
|
||||
"wDefPct": 30,
|
||||
"fDefPct": 30,
|
||||
"aDefPct": 30,
|
||||
"id": 10400
|
||||
},
|
||||
{
|
||||
"tier": "Rare",
|
||||
"type": "dagger",
|
||||
"name": "Sreggad (1.20)",
|
||||
"displayName": "Sreggad (1.20)",
|
||||
"set": null,
|
||||
"quest": null,
|
||||
"classReq": null,
|
||||
"restrict": "1.20 item",
|
||||
"fixID": false,
|
||||
"strReq": 0,
|
||||
"dexReq": 0,
|
||||
"intReq": 0,
|
||||
"defReq": 0,
|
||||
"agiReq": 0,
|
||||
"atkSpd": "SUPER_SLOW",
|
||||
"category": "weapon",
|
||||
"lvl": 85,
|
||||
"nDam": "0-0",
|
||||
"eDam": "0-0",
|
||||
"tDam": "0-0",
|
||||
"wDam": "0-0",
|
||||
"fDam": "0-0",
|
||||
"aDam": "0-0",
|
||||
"slots": 2,
|
||||
"str": 0,
|
||||
"dex": 0,
|
||||
"int": 0,
|
||||
"def": 20,
|
||||
"agi": 20,
|
||||
"hprRaw": 173,
|
||||
"ls": 354,
|
||||
"thorns": 333,
|
||||
"hpBonus": 2500,
|
||||
"ref": 333,
|
||||
"eDefPct": 50,
|
||||
"tDefPct": 50,
|
||||
"wDefPct": 50,
|
||||
"fDefPct": 50,
|
||||
"aDefPct": 50,
|
||||
"id": 10401
|
||||
},
|
||||
{
|
||||
"tier": "Mythic",
|
||||
"type": "dagger",
|
||||
"name": "Nullification (1.20)",
|
||||
"displayName": "Nullification (1.20)",
|
||||
"set": null,
|
||||
"quest": null,
|
||||
"classReq": null,
|
||||
"restrict": "1.20 item",
|
||||
"fixID": false,
|
||||
"strReq": 30,
|
||||
"dexReq": 30,
|
||||
"intReq": 30,
|
||||
"defReq": 30,
|
||||
"agiReq": 30,
|
||||
"atkSpd": "FAST",
|
||||
"category": "weapon",
|
||||
"lvl": 95,
|
||||
"nDam": "0-0",
|
||||
"eDam": "80-88",
|
||||
"tDam": "20-148",
|
||||
"wDam": "65-103",
|
||||
"fDam": "50-118",
|
||||
"aDam": "35-133",
|
||||
"slots": 3,
|
||||
"str": 0,
|
||||
"dex": 0,
|
||||
"int": 0,
|
||||
"def": 50,
|
||||
"agi": 0,
|
||||
"ls": 495,
|
||||
"ms": 3,
|
||||
"poison": -7000,
|
||||
"ref": 80,
|
||||
"eDefPct": 143,
|
||||
"tDefPct": 143,
|
||||
"wDefPct": 143,
|
||||
"fDefPct": 143,
|
||||
"aDefPct": 143,
|
||||
"id": 10402
|
||||
}
|
||||
],
|
||||
"sets": {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
const damageMultipliers = new Map([ ["allytotem", .15], ["yourtotem", .35], ["vanish", 0.80], ["warscream", 0.10] ]);
|
||||
const damageMultipliers = new Map([ ["allytotem", .15], ["yourtotem", .35], ["vanish", 0.80], ["warscream", 0.10], ["bash", 0.50] ]);
|
||||
// Calculate spell damage given a spell elemental conversion table, and a spell multiplier.
|
||||
// If spell mult is 0, its melee damage and we don't multiply by attack speed.
|
||||
// externalStats should be a map
|
||||
|
|
13
index.html
13
index.html
|
@ -185,25 +185,30 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<button class = "button" id = "vanish-boost" onclick = "updateBoosts('vanish-boost')">
|
||||
<button class = "button-narrow" id = "vanish-boost" onclick = "updateBoosts('vanish-boost')">
|
||||
Vanish Boost (+80%)
|
||||
</button>
|
||||
</td>
|
||||
<td>
|
||||
<button class = "button" id = "warscream-boost" onclick = "updateBoosts('warscream-boost')">
|
||||
<button class = "button-narrow" id = "warscream-boost" onclick = "updateBoosts('warscream-boost')">
|
||||
War Scream (+10%)
|
||||
</button>
|
||||
</td>
|
||||
<td>
|
||||
<button class = "button" id = "yourtotem-boost" onclick = "updateBoosts('yourtotem-boost')">
|
||||
<button class = "button-narrow" id = "yourtotem-boost" onclick = "updateBoosts('yourtotem-boost')">
|
||||
Your Totem (+35%)
|
||||
</button>
|
||||
</td>
|
||||
<td>
|
||||
<button class = "button" id = "allytotem-boost" onclick = "updateBoosts('allytotem-boost')">
|
||||
<button class = "button-narrow" id = "allytotem-boost" onclick = "updateBoosts('allytotem-boost')">
|
||||
Ally Totem (+15%)
|
||||
</button>
|
||||
</td>
|
||||
<td>
|
||||
<button class = "button-narrow" id = "bash-boost" onclick = "updateBoosts('bash-boost')">
|
||||
Bash (+50%)
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class = "powder-specials">
|
||||
|
|
14
styles.css
14
styles.css
|
@ -196,6 +196,18 @@ a.link{
|
|||
::-webkit-scrollbar-corner{
|
||||
background: #110110;
|
||||
}
|
||||
.button-narrow {
|
||||
background-color: #666;
|
||||
border: 2px solid #444;
|
||||
border-radius: 5px;
|
||||
color: #ddd;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
font-family: 'Nunito',sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 90%;
|
||||
display: inline-block;
|
||||
}
|
||||
button {
|
||||
background-color: #666;
|
||||
border: 2px solid #444;
|
||||
|
@ -269,4 +281,4 @@ button.toggleOn{
|
|||
display: inline-block;
|
||||
text-align: center;
|
||||
transform: translateX(calc(50vw - 50%));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue