feat: 보스 패턴 페이즈 제한을 애셋 기반 minPhase로 통합
- BossPatternData에 minPhase 필드 추가 (기본값 1, Inspector 설정 가능) - BossCombatBehaviorContext의 signatureMinPhase를 minPhase로 대체 - IsPatternReady와 CheckPatternReadyActionBase에 Phase 체크 통합 - BT 경로와 Update 경로 모두 일관되게 Phase 제한 적용 - 집행개시 패턴 minPhase=3, 점프 패턴 minPhase=2 설정
This commit is contained in:
@@ -31,8 +31,14 @@ namespace Colosseum.AI
|
||||
[Tooltip("패턴 완료 후 다시 사용 가능해지기까지의 시간")]
|
||||
[SerializeField] private float cooldown = 5f;
|
||||
|
||||
[Header("페이즈 제한")]
|
||||
[Min(1)]
|
||||
[Tooltip("이 패턴을 사용하기 시작하는 최소 페이즈 (1=Phase 1부터)")]
|
||||
[SerializeField] private int minPhase = 1;
|
||||
|
||||
public string PatternName => patternName;
|
||||
public IReadOnlyList<PatternStep> Steps => steps;
|
||||
public float Cooldown => cooldown;
|
||||
public int MinPhase => minPhase;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user