적 공격 애니메이션 타이밍 조정 및 무기 장착
기타 누락되었던 프리팹 수정 사항 모두 반영
This commit is contained in:
@@ -114,7 +114,7 @@ namespace Northbound
|
||||
private bool _isAttacking = false;
|
||||
private GameObject _pendingAttackTarget;
|
||||
private float _attackStartTime;
|
||||
private const float ATTACK_TIMEOUT = 1f; // 애니메이션 이벤트 미발생 시 타임아웃
|
||||
private const float ATTACK_TIMEOUT = 2f; // 애니메이션 이벤트 미발생 시 타임아웃 (애니메이션 길이 고려)
|
||||
|
||||
// 어그로 시스템
|
||||
private Dictionary<ulong, float> _aggroTable = new Dictionary<ulong, float>();
|
||||
@@ -592,6 +592,9 @@ namespace Northbound
|
||||
public void OnAttackHit()
|
||||
{
|
||||
PerformAttack();
|
||||
// 공격 완료 후 상태 리셋 (타임아웃 방지)
|
||||
_isAttacking = false;
|
||||
_pendingAttackTarget = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user