开始制作召唤技能

This commit is contained in:
2025-01-16 09:44:28 +08:00
parent 27603e2434
commit 30c908ee78
9 changed files with 457 additions and 14 deletions

View File

@@ -47,8 +47,10 @@ export class Skill extends ecs.Entity {
// sv.angle = angle;
// console.log(group+" "+SkillSet[uuid].name+"angle:"+angle)
sv.s_uuid = uuid;
sv.s_name = SkillSet[uuid].name;
sv.s_name = SkillSet[uuid].name;
sv.hero = SkillSet[uuid].hero;
sv.ap = ap*SkillSet[uuid].ap/100; // 技能伤害
sv.def = ap*SkillSet[uuid].def/100; // 技能伤害
sv.apup = ap*SkillSet[uuid].apup/100; // 伤害增量
sv.hp = hp*SkillSet[uuid].hp/100; // 回复hp增量
sv.mhp = SkillSet[uuid].mhp/100; // hpmax增量 %