diff --git a/assets/script/game/common/config/SkillSet.ts b/assets/script/game/common/config/SkillSet.ts index 091d06b2..a6fd4141 100644 --- a/assets/script/game/common/config/SkillSet.ts +++ b/assets/script/game/common/config/SkillSet.ts @@ -292,4 +292,4 @@ export const EAnmConf: Record = { 9001:{uuid:9001,path:"atked",loop:false,time:0}, }; -export const CanSelectSkills = [6001, 6002, 6005, 6100, 6101, 6102, 6103]; +export const CanSelectSkills = [6002, 6004, 6003, 6100]; diff --git a/assets/script/game/common/config/heroSet.ts b/assets/script/game/common/config/heroSet.ts index 2e1c4443..4859bcbd 100644 --- a/assets/script/game/common/config/heroSet.ts +++ b/assets/script/game/common/config/heroSet.ts @@ -122,7 +122,7 @@ export interface heroInfo { info: string; // 描述文案 } -export const CanSelectHeros = [5001, 5002, 5005, 5007, 5008, 5009, 5010]; +export const CanSelectHeros = [5001, 5002, 5003, 5004, 5005, 5006, 5007, 5008]; export const HeroInfo: Record = { // ========== 英雄角色 ========== diff --git a/assets/script/game/map/HInfoComp.ts b/assets/script/game/map/HInfoComp.ts index 880e0c68..258d493d 100644 --- a/assets/script/game/map/HInfoComp.ts +++ b/assets/script/game/map/HInfoComp.ts @@ -85,7 +85,11 @@ export class HInfoComp extends CCComp { let skill1=SkillSet[HeroInfo[uuid].skills[0]] let skill2=SkillSet[HeroInfo[uuid].skills[1]] this.skill1_node.getChildByName("info").getChildByName("Label").getComponent(Label).string=skill1.info + this.skill1_node.getChildByName("info").getChildByName("name").getComponent(Label).string=skill1.name + this.skill2_node.getChildByName("info").getChildByName("Label").getComponent(Label).string=skill2.info + this.skill2_node.getChildByName("info").getChildByName("name").getComponent(Label).string=skill2.name + this.name_node.getComponent(Label).string=HeroInfo[uuid].name this.type_node.getComponent(Label).string=HTypeName[HeroInfo[uuid].type] this.ap_node.getChildByName("num").getComponent(Label).string=HeroInfo[uuid].ap.toString()