大招修改为攻击触发,或者受伤触发

This commit is contained in:
2024-11-16 17:37:39 +08:00
parent f41ff64395
commit 227cfd26d4
4 changed files with 315 additions and 301 deletions

View File

@@ -81,13 +81,14 @@ export class Hero extends ecs.Entity {
hv.speed =hv.ospeed = HInf.speed;
hv.dis = HInf.dis;
hv.power = HInf.power;
hv.level = HInf.level;
hv.lv = HInf.lv;
hv.type = HInf.type;
hv.sk1 = HInf.sk1;
hv.sk2 = HInf.sk2;
hv.sk3 = HInf.sk3;
hv.sk4 = HInf.sk4;
hv.sk5 = HInf.sk5;
hv.sk5 = HInf.sk5;
hv.skr = HInf.skr;
hv.type = HInf.type;
hv.hp= hv.hp_max =HInf.hp;
hv.ap = HInf.ap;