fix: 修复火焰法师和冰法法师的UUID配置错误
移除胜利界面未使用的复活功能逻辑 修正英雄卡牌显示等级计算和属性显示 清理地图预制件中未使用的背景和英雄节点
This commit is contained in:
@@ -46,20 +46,21 @@ export class VictoryComp extends CCComp {
|
||||
this.game_data=args.game_data
|
||||
}
|
||||
|
||||
// 接收复活参数
|
||||
if (args.can_revive !== undefined) {
|
||||
this.canRevive = args.can_revive;
|
||||
} else {
|
||||
this.canRevive = false; // 默认不可复活
|
||||
}
|
||||
// // 接收复活参数
|
||||
// if (args.can_revive !== undefined) {
|
||||
// this.canRevive = args.can_revive;
|
||||
// } else {
|
||||
// this.canRevive = false; // 默认不可复活
|
||||
// }
|
||||
|
||||
this.node.getChildByName("btns").getChildByName("next").active=!args.can_revive
|
||||
this.node.getChildByName("btns").getChildByName("alive").active=args.can_revive
|
||||
// this.node.getChildByName("btns").getChildByName("alive").active=args.can_revive
|
||||
|
||||
// 只有在不能复活(彻底结算)时才计算总分
|
||||
if (!this.canRevive) {
|
||||
this.calculateTotalScore();
|
||||
}
|
||||
// if (!this.canRevive) {
|
||||
|
||||
// }
|
||||
this.calculateTotalScore();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user