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:
@@ -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를 찾을 수 없습니다.");
|
||||
|
||||
Reference in New Issue
Block a user