hero 界面调整 局内英雄不再升级,改为升级局内技能

This commit is contained in:
2024-11-19 15:15:05 +08:00
parent e89f590979
commit e6f4a8085b
10 changed files with 188 additions and 151 deletions

View File

@@ -80,7 +80,9 @@ export class Hero extends ecs.Entity {
hv.hero_type= HInf.type;
hv.speed =hv.ospeed = HInf.speed;
hv.dis = HInf.dis;
hv.power = HInf.power;
hv.pw = HInf.pw;
hv.pwm= HInf.pwm;
hv.pws= HInf.pws
hv.lv = HInf.lv;
hv.type = HInf.type;
hv.sk1 = HInf.sk1;
@@ -88,8 +90,14 @@ export class Hero extends ecs.Entity {
hv.sk3 = HInf.sk3;
hv.sk4 = HInf.sk4;
hv.sk5 = HInf.sk5;
hv.skr = HInf.skr;
hv.akc = HInf.akc;
hv.uac = HInf.uac;
hv.crc = HInf.crc;
hv.dgc = HInf.dgc;
hv.akr = HInf.akr;
hv.uar = HInf.uar;
hv.crr = HInf.crr;
hv.dgr = HInf.dgr;
hv.type = HInf.type;
hv.hp= hv.hp_max =HInf.hp;
hv.ap = HInf.ap;
@@ -99,7 +107,6 @@ export class Hero extends ecs.Entity {
hv.crit = HInf.crit; //暴击率
hv.crit_add = HInf.crit_add;//暴击伤害加成
hv.dodge = HInf.dodge; //闪避率
hv.power_max= HInf.power_max
this.add(hv);
}
set_ratio(uuid:number){