Merge branch 'dev' into master
This commit is contained in:
commit
29eb1c28e4
3 changed files with 5 additions and 4 deletions
2
build.js
2
build.js
|
@ -213,7 +213,7 @@ class Build{
|
|||
defenseStats.push(totalHpr);
|
||||
//EHPR
|
||||
let ehpr = totalHpr;
|
||||
ehp /= ((1-def_pct)*(1-agi_pct)*(2-defMult));
|
||||
ehpr /= ((1-def_pct)*(1-agi_pct)*(2-defMult));
|
||||
defenseStats.push(ehpr);
|
||||
//skp stats
|
||||
defenseStats.push([def_pct*100, agi_pct*100]);
|
||||
|
|
|
@ -499,6 +499,7 @@ function displayEquipOrder(parent_elem,buildOrder){
|
|||
parent_elem.append(p_elem);
|
||||
}
|
||||
}
|
||||
|
||||
function displayMeleeDamage(parent_elem, overallparent_elem, meleeStats){
|
||||
let attackSpeeds = ["Super Slow", "Very Slow", "Slow", "Normal", "Fast", "Very Fast", "Super Fast"];
|
||||
//let damagePrefixes = ["Neutral Damage: ","Earth Damage: ","Thunder Damage: ","Water Damage: ","Fire Damage: ","Air Damage: "];
|
||||
|
@ -681,9 +682,9 @@ function displayDefenseStats(parent_elem,defenseStats){
|
|||
hpr.classList.add("left");
|
||||
hpr.textContent = "HP Regen:";
|
||||
boost = document.createElement("td");
|
||||
boost.textContent =stats[2];
|
||||
boost.textContent = stats[2];
|
||||
boost.classList.add("right");
|
||||
|
||||
|
||||
hprRow.appendChild(hpr);
|
||||
hprRow.appendChild(boost);
|
||||
statsTable.appendChild(hprRow);
|
||||
|
@ -729,7 +730,6 @@ function displayDefenseStats(parent_elem,defenseStats){
|
|||
row.appendChild(boost);
|
||||
statsTable.appendChild(row);
|
||||
}
|
||||
|
||||
//skp
|
||||
let defRow = document.createElement("tr");
|
||||
let defElem = document.createElement("td");
|
||||
|
|
|
@ -173,6 +173,7 @@
|
|||
<div class = "center build-overall" id = "build-overall">
|
||||
<br/>
|
||||
<div class = "center" id = "build-overall-stats"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="center" style="grid-column:4;">
|
||||
|
|
Loading…
Add table
Reference in a new issue