feat(enemy): ICombatant 增加 HasEligibleAttack/UseBestAttack + EnemyBase 构建选择器
This commit is contained in:
@@ -8,5 +8,11 @@ namespace BaseGames.AI
|
||||
bool NoAbilityRunning { get; }
|
||||
bool CanUseAbility(string abilityId);
|
||||
void InterruptAbilities(); // 中断当前所有能力(如退出追击时停追击能力)
|
||||
|
||||
/// <summary>攻击选择器中是否有"够得着且未冷却"的招(供 Approach→Attack 转换)。</summary>
|
||||
bool HasEligibleAttack();
|
||||
|
||||
/// <summary>按敌人配置的选招模式选一个攻击并触发;返回是否成功触发。</summary>
|
||||
bool UseBestAttack();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user