战斗暴击 闪避 基本完成

This commit is contained in:
walkpan
2024-11-17 19:08:21 +08:00
parent 75d2dd5988
commit 49e5447234
10 changed files with 552 additions and 93 deletions

View File

@@ -95,6 +95,10 @@ export class Hero extends ecs.Entity {
hv.ap = HInf.ap;
hv.def= HInf.def;
hv.cd = HInf.a_cd
hv.vun = HInf.vun; //易伤
hv.crit = HInf.crit; //暴击率
hv.crit_add = HInf.crit_add;//暴击伤害加成
hv.dodge = HInf.dodge; //闪避率
hv.power_max= HInf.power_max
this.add(hv);
}