mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2025-07-14 16:22:38 +08:00
fix property judge negative number bug
This commit is contained in:
@ -344,7 +344,7 @@ class Property {
|
|||||||
|
|
||||||
while(length--) {
|
while(length--) {
|
||||||
const [min, grade, judge] = d[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.pageDrawCard.visible = true;
|
||||||
this.pageResult.visible = false;
|
this.pageResult.visible = false;
|
||||||
this.btnNext.label = 'UI_Talent_Select_Uncomplete';
|
this.btnNext.label = 'UI_Talent_Select_Uncomplete';
|
||||||
|
this.#selected.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
close() {}
|
close() {}
|
||||||
|
Reference in New Issue
Block a user