diff --git a/assets/script/game/hero/Hero.ts b/assets/script/game/hero/Hero.ts index da280801..4c11e747 100644 --- a/assets/script/game/hero/Hero.ts +++ b/assets/script/game/hero/Hero.ts @@ -89,11 +89,13 @@ export class Hero extends ecs.Entity { mLogger.log(this.debugMode,"hero",node.getSiblingIndex()); var hv = node.getComponent(HeroViewComp)!; - if(hero_lv == 2){hv.playAllTime("plus")} - if(hero_lv == 3){hv.playAllTime("plus2")} - if(hero_lv == 4){hv.playAllTime("plus3")} - if(hero_lv == 5){hv.playAllTime("plus4")} - if(hero_lv == 6){hv.playAllTime("plus5")} + if(hero_lv == 3){hv.playAllTime("plus")} + if(hero_lv == 4){hv.playAllTime("plus")} + if(hero_lv == 5){hv.playAllTime("plus")} + if(hero_lv == 6){hv.playAllTime("plus2")} + // if(hero_lv == 9){hv.playAllTime("plus3")} + // if(hero_lv == 9){hv.playAllTime("plus4")} + // if(hero_lv == 9){hv.playAllTime("plus5")} const model = this.get(HeroAttrsComp); // 从配置中读取英雄静态数据