refactor(英雄&卡池): 修改英雄等级字段为pool_lv并优化卡池配置
重构heroInfo接口,将原cards_lv字段重命名为pool_lv,同步更新所有英雄配置与注释;修正HListComp的等级显示逻辑,新增按pool_lv分级的卡池配置。
This commit is contained in:
@@ -230,7 +230,7 @@ export class HListComp extends CCComp {
|
||||
if (infoLabel) infoLabel.string = `${hero.info || ""}`;
|
||||
}
|
||||
|
||||
const cardLvStr = `lv${hero.cards_lv ?? 1}`;
|
||||
const cardLvStr = `lv${hero.pool_lv ?? 1}`;
|
||||
if (this.lv_node) {
|
||||
this.lv_node.active = true;
|
||||
this.lv_node.children.forEach(child => {
|
||||
|
||||
Reference in New Issue
Block a user