Fix warscream res
This commit is contained in:
parent
fb9db87aee
commit
31c2f3fed8
1 changed files with 3 additions and 3 deletions
|
@ -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 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue