(client) feat:添加临时动画组件,添加逃跑逻辑
This commit is contained in:
@ -38,4 +38,12 @@ namespace AI
|
||||
return Managers.EntityManage.Instance.ExistsHostile(target.currentDimensionId, target.entityPrefab) ? new AdvancedAttackJob() : null;
|
||||
}
|
||||
}
|
||||
|
||||
public class JobGiver_FleeJob : AIBase
|
||||
{
|
||||
public override JobBase GetJob(Entity.Entity target)
|
||||
{
|
||||
return new FleeJob();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user