fixed heal
This commit is contained in:
parent
d26539f762
commit
516325b99f
1 changed files with 2 additions and 2 deletions
|
@ -1000,8 +1000,8 @@ function displaySpellDamage(parent_elem, overallparent_elem, build, spell, spell
|
|||
}
|
||||
save_damages.push(averageDamage);
|
||||
}
|
||||
else if (part.type == "heal") {
|
||||
let heal_amount = (part.strength * build.getDefenseStats()[0] * Math.max(0, Math.min(1.5, 1 + 0.05 * stats.get("wDamPct")/100))).toFixed(2);
|
||||
else if (part.type === "heal") {
|
||||
let heal_amount = (part.strength * build.getDefenseStats()[0] * Math.max(0, Math.max(0.5,Math.min(1.75, 1 + 0.5 * stats.get("wDamPct")/100))).toFixed(2));
|
||||
let healLabel = document.createElement("p");
|
||||
healLabel.textContent = heal_amount;
|
||||
healLabel.classList.add("damagep");
|
||||
|
|
Loading…
Reference in a new issue