(client)feat:实现按武器释放技能
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user