mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2025-07-13 15:52:44 +08:00
fix property judge negative number bug
This commit is contained in:
@ -344,7 +344,7 @@ class Property {
|
||||
|
||||
while(length--) {
|
||||
const [min, grade, judge] = d[length];
|
||||
if(min==void 0 || value >= min) return {prop, value, judge, grade, progress: progress()};
|
||||
if(!length || min==void 0 || value >= min) return {prop, value, judge, grade, progress: progress()};
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -16,6 +16,7 @@ export default class CyberTalent extends CyberTalentUI {
|
||||
this.pageDrawCard.visible = true;
|
||||
this.pageResult.visible = false;
|
||||
this.btnNext.label = 'UI_Talent_Select_Uncomplete';
|
||||
this.#selected.clear();
|
||||
}
|
||||
|
||||
close() {}
|
||||
|
Reference in New Issue
Block a user