ui设计,卡牌规则修改,不需升级卡牌词,卡牌召唤兽不再有等级

This commit is contained in:
2024-09-04 17:03:44 +08:00
parent ad52a9ad9c
commit 44cb46e7de
11 changed files with 2111 additions and 2174 deletions

View File

@@ -76,17 +76,17 @@ export class Role extends ecs.Entity {
mv.speed =mv.ospeed = 0;
mv.hero_name= "role";
buff.group= mv.box_group= BoxSet.HERO;
mv.hp= mv.hp_max = 1000;
mv.hp= mv.hp_max = smc.vm_data.role.hp;
mv.level = 1;
mv.atk = 5;
mv.atk_cd = 0.5;
mv.power = 300;
mv.atk = smc.vm_data.role.atk;
mv.atk_cd = smc.vm_data.role.atk_cd;
mv.power = smc.vm_data.role.power;
mv.type = 1;
mv.skill_uuid = 9001;
mv.max_skill_uuid = 9001;
mv.Tpos = v3(0,0,0);
mv.scale = 1;
mv.atk_range=800;
mv.atk_range=1000;
// mv.change_name(smc.heros[uuid].name,1)
this.add(mv);
this.add(buff);