Add new CI, add bash boost button
This commit is contained in:
parent
be94c493d4
commit
d495f6dfc8
107
1_20_ci.json
107
1_20_ci.json
|
@ -1005,8 +1005,8 @@
|
||||||
"int": 50,
|
"int": 50,
|
||||||
"def": 0,
|
"def": 0,
|
||||||
"agi": 0,
|
"agi": 0,
|
||||||
"mr": -5,
|
"mr": -4,
|
||||||
"ms": -5,
|
"ms": -4,
|
||||||
"sdPct": 30,
|
"sdPct": 30,
|
||||||
"spPct1": -38,
|
"spPct1": -38,
|
||||||
"spPct2": -38,
|
"spPct2": -38,
|
||||||
|
@ -4997,7 +4997,7 @@
|
||||||
"category": "armor",
|
"category": "armor",
|
||||||
"lvl": 98,
|
"lvl": 98,
|
||||||
"hp": 3200,
|
"hp": 3200,
|
||||||
"tDef": 200,
|
"tDef": 100,
|
||||||
"aDef": -150,
|
"aDef": -150,
|
||||||
"slots": 3,
|
"slots": 3,
|
||||||
"str": 0,
|
"str": 0,
|
||||||
|
@ -5506,13 +5506,15 @@
|
||||||
"fDef": 40,
|
"fDef": 40,
|
||||||
"aDef": 40,
|
"aDef": 40,
|
||||||
"slots": 2,
|
"slots": 2,
|
||||||
"str": 4,
|
"str": 3,
|
||||||
"dex": 4,
|
"dex": 3,
|
||||||
"int": 4,
|
"int": 3,
|
||||||
"def": 4,
|
"def": 3,
|
||||||
"agi": 4,
|
"agi": 3,
|
||||||
"sdRaw": 175,
|
"ls": 175,
|
||||||
"mdRaw": 230,
|
"ms": 2,
|
||||||
|
"lb": 15,
|
||||||
|
"thorns": 20,
|
||||||
"id": 10259
|
"id": 10259
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -5597,11 +5599,6 @@
|
||||||
"int": 12,
|
"int": 12,
|
||||||
"def": 12,
|
"def": 12,
|
||||||
"agi": 12,
|
"agi": 12,
|
||||||
"eDamPct": 8,
|
|
||||||
"tDamPct": 8,
|
|
||||||
"wDamPct": 8,
|
|
||||||
"fDamPct": 8,
|
|
||||||
"aDamPct": 8,
|
|
||||||
"spPct2": -1,
|
"spPct2": -1,
|
||||||
"id": 10262
|
"id": 10262
|
||||||
},
|
},
|
||||||
|
@ -7145,11 +7142,11 @@
|
||||||
"category": "weapon",
|
"category": "weapon",
|
||||||
"lvl": 93,
|
"lvl": 93,
|
||||||
"nDam": "0-0",
|
"nDam": "0-0",
|
||||||
"eDam": "124-140",
|
"eDam": "120-142",
|
||||||
"tDam": "54-210",
|
"tDam": "60-202",
|
||||||
"wDam": "94-170",
|
"wDam": "90-172",
|
||||||
"fDam": "109-115",
|
"fDam": "105-157",
|
||||||
"aDam": "79-185",
|
"aDam": "75-187",
|
||||||
"slots": 4,
|
"slots": 4,
|
||||||
"str": 0,
|
"str": 0,
|
||||||
"dex": 0,
|
"dex": 0,
|
||||||
|
@ -9510,7 +9507,7 @@
|
||||||
"agi": -550,
|
"agi": -550,
|
||||||
"ls": 973,
|
"ls": 973,
|
||||||
"ms": 6,
|
"ms": 6,
|
||||||
"atkTier": 3,
|
"atkTier": 1,
|
||||||
"sdRaw": 342,
|
"sdRaw": 342,
|
||||||
"mdRaw": 727,
|
"mdRaw": 727,
|
||||||
"wDamPct": -550,
|
"wDamPct": -550,
|
||||||
|
@ -10202,73 +10199,5 @@
|
||||||
"tDamPct": 30,
|
"tDamPct": 30,
|
||||||
"aDamPct": -50,
|
"aDamPct": -50,
|
||||||
"id": 10394
|
"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){
|
function calculateBuild(save_skp, skp){
|
||||||
try {
|
try {
|
||||||
for (const boost of ["vanish", "warscream", "yourtotem", "allytotem"]) {
|
for (const boost of ["vanish", "warscream", "yourtotem", "allytotem", "bash"]) {
|
||||||
let elem = document.getElementById(boost+"-boost");
|
let elem = document.getElementById(boost+"-boost");
|
||||||
elem.classList.remove("toggleOn");
|
elem.classList.remove("toggleOn");
|
||||||
}
|
}
|
||||||
|
@ -509,7 +509,7 @@ function calculateBuild(save_skp, skp){
|
||||||
*/
|
*/
|
||||||
function updateStats() {
|
function updateStats() {
|
||||||
//direct copy of the ext buff un-check code from calculateBuild(). Redo if possible.
|
//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");
|
let elem = document.getElementById(boost+"-boost");
|
||||||
elem.classList.remove("toggleOn");
|
elem.classList.remove("toggleOn");
|
||||||
}
|
}
|
||||||
|
|
193
clean.json
193
clean.json
|
@ -276009,6 +276009,199 @@
|
||||||
"gXp": 0,
|
"gXp": 0,
|
||||||
"gSpd": 0,
|
"gSpd": 0,
|
||||||
"id": 10397
|
"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": {
|
"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.
|
// 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.
|
// If spell mult is 0, its melee damage and we don't multiply by attack speed.
|
||||||
// externalStats should be a map
|
// externalStats should be a map
|
||||||
|
|
13
index.html
13
index.html
|
@ -185,25 +185,30 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<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%)
|
Vanish Boost (+80%)
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<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%)
|
War Scream (+10%)
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<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%)
|
Your Totem (+35%)
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<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%)
|
Ally Totem (+15%)
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
<button class = "button-narrow" id = "bash-boost" onclick = "updateBoosts('bash-boost')">
|
||||||
|
Bash (+50%)
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<div class = "powder-specials">
|
<div class = "powder-specials">
|
||||||
|
|
12
styles.css
12
styles.css
|
@ -196,6 +196,18 @@ a.link{
|
||||||
::-webkit-scrollbar-corner{
|
::-webkit-scrollbar-corner{
|
||||||
background: #110110;
|
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 {
|
button {
|
||||||
background-color: #666;
|
background-color: #666;
|
||||||
border: 2px solid #444;
|
border: 2px solid #444;
|
||||||
|
|
Loading…
Reference in a new issue