制作了多个 近战技能
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user