fix ascension star update for char and weapon

This commit is contained in:
John Hor 2022-08-07 21:39:14 +10:00 committed by Made Baruna
parent a19e90a228
commit fd3b36ac90
2 changed files with 4 additions and 4 deletions

View file

@ -132,7 +132,7 @@
minAscension = 0; minAscension = 0;
} }
currentAscension = Math.max(currentAscension, minAscension); currentAscension = minAscension;
} }
function updateMinIntendedAscension() { function updateMinIntendedAscension() {
@ -152,7 +152,7 @@
minIntendedAscension = 0; minIntendedAscension = 0;
} }
intendedAscension = Math.max(intendedAscension, minIntendedAscension); intendedAscension = minIntendedAscension;
} }
function updateMaxTalentLevel() { function updateMaxTalentLevel() {

View file

@ -135,7 +135,7 @@
minAscension = 0; minAscension = 0;
} }
currentAscension = Math.max(currentAscension, minAscension); currentAscension = minAscension;
} }
function updateMinIntendedAscension() { function updateMinIntendedAscension() {
@ -155,7 +155,7 @@
minIntendedAscension = 0; minIntendedAscension = 0;
} }
intendedAscension = Math.max(intendedAscension, minIntendedAscension); intendedAscension = minIntendedAscension;
} }
function onChange() { function onChange() {