制作了多个 近战技能

This commit is contained in:
panw
2025-11-04 17:25:48 +08:00
parent 53cf25d7a5
commit afbaa13cb2
28 changed files with 2625 additions and 126 deletions

View File

@@ -63,7 +63,7 @@ export class HeroMoveSystem extends ecs.ComblockSystem implements ecs.ISystemUpd
// 英雄阵营特殊逻辑:根据职业区分行为
const hasEnemies = this.checkEnemiesExist(e);
const isWarrior = model.type === HType.warrior;
const isWarrior = model.type === HType.warrior||model.type===HType.assassin;
// 战士职业:有敌人就向敌人前进
if (isWarrior && hasEnemies) {