(client)feat:实现按武器释放技能

This commit is contained in:
m0_75251201
2025-08-27 19:08:27 +08:00
parent 63efa89ac1
commit 5315e29147
25 changed files with 1184 additions and 5106 deletions

View File

@ -24,4 +24,18 @@ namespace AI
}
}
public class JobGiver_AttackJob : AIBase
{
public override JobBase GetJob(Entity.Entity target)
{
return Managers.EntityManage.Instance.ExistsHostile(target.currentDimensionId, target.entityPrefab) ? new AttackJob() : null;
}
}
public class JobGiver_AdvancedAttackJob : AIBase
{
public override JobBase GetJob(Entity.Entity target)
{
return Managers.EntityManage.Instance.ExistsHostile(target.currentDimensionId, target.entityPrefab) ? new AdvancedAttackJob() : null;
}
}
}