Fix warscream res

This commit is contained in:
b 2021-01-18 01:43:57 -06:00
parent fb9db87aee
commit 31c2f3fed8

View file

@ -569,13 +569,13 @@ function updateBoosts(buttonId) {
if (elem.classList.contains("toggleOn")) { if (elem.classList.contains("toggleOn")) {
player_build.damageMultiplier -= damageMultipliers.get(name); player_build.damageMultiplier -= damageMultipliers.get(name);
if (name === "warscream") { if (name === "warscream") {
player_build.defenseMultiplier -= .10; player_build.defenseMultiplier -= .20;
} }
elem.classList.remove("toggleOn"); elem.classList.remove("toggleOn");
}else{ }else{
player_build.damageMultiplier += damageMultipliers.get(name); player_build.damageMultiplier += damageMultipliers.get(name);
if (name === "warscream") { if (name === "warscream") {
player_build.defenseMultiplier += .10; player_build.defenseMultiplier += .20;
} }
elem.classList.add("toggleOn"); elem.classList.add("toggleOn");
} }
@ -586,7 +586,7 @@ function updateBoosts(buttonId) {
if (elem.classList.contains("toggleOn")) { if (elem.classList.contains("toggleOn")) {
elem.classList.remove("toggleOn"); elem.classList.remove("toggleOn");
player_build.damageMultiplier -= value; player_build.damageMultiplier -= value;
if (key === "warscream") { player_build.defenseMultiplier -= .10 } if (key === "warscream") { player_build.defenseMultiplier -= .20 }
} }
} }
} }