feat: AI 타겟팅 개선 - 사망한 대상 무시

- FindTargetAction: IDamageable.IsDead 체크로 사망한 타겟 제외
- SetTargetInRangeAction: 사망한 타겟을 거리 검색에서 제외
- HasTargetCondition: 타겟 생존 여부 추가 확인
- BossArea: FindObjectOfType → FindFirstObjectByType 변경

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-03-14 15:08:47 +09:00
parent 00233ee977
commit aeb4fc2847
4 changed files with 44 additions and 8 deletions

View File

@@ -73,7 +73,7 @@ namespace Colosseum.Enemy
// BossHealthBarUI 자동 검색
if (bossHealthBarUI == null)
{
bossHealthBarUI = FindObjectOfType<BossHealthBarUI>();
bossHealthBarUI = FindFirstObjectByType<BossHealthBarUI>();
if (bossHealthBarUI == null)
{
Debug.LogWarning($"[BossArea] {name}: BossHealthBarUI를 찾을 수 없습니다.");