원소 해금 → 바람 모드 공격속도 강화
개요
바람 원소를 해금(ElementUnlockComponent)하고 바람 원소 모드일 때, 공격 몽타주 재생 속도가 빨라짐 해금 상태는 Persistent World State에 영속 저장됨
동작 흐름
가디언 코어 흡수 (GameplayEvent.Core.Absorb) ※ 발신부는 BP/추후 구현
└─ ElementUnlockComponent.UnlockElement(Element.Wind)
├─ UnlockedElements += Element.Wind
└─ SaveSubsystem.MarkElementUnlocked → WorldState 슬롯 즉시 저장
바람 모드 진입 (GA_SetElement_Base → GameplayEvent.Element.ModeChange)
└─ ElementUnlockComponent.RefreshAwakeningEffect()
└─ [바람 해금됨 && 현재 바람 모드] 이면
GE_WindAwakening 부여 → AttackSpeedMultiplier 1.0 → 1.2
공격 (GA_Attack.StartComboStep)
└─ PlayRate = AttackSpeedMultiplier → 몽타주 1.2배속 재생
바람 모드 이탈 → GE 제거 → AttackSpeedMultiplier 1.0 복귀
핵심 구성요소
| 항목 | 위치 |
|---|---|
| 해금 상태 + 버프 관리 | UElementUnlockComponent (SovereignCharacter 부착) |
| 공격속도 어트리뷰트 | UCombatAttributeSet::AttackSpeedMultiplier (기본 1.0) |
| 공격 몽타주 재생 | UGA_Attack::GetMontagePlayRate() → AttackSpeedMultiplier 사용 |
| 영속 저장 | URetrieveSaveSubsystem → RetrieveSave_WorldState 슬롯 |
적용 조건
IsElementUnlocked(Element.Wind) == true그리고- 현재 ASC에
Element.Windloose 태그(= 바람 모드) 활성 - 위 둘을 만족할 때만 GE 부여 (호스트 권한에서 부여/해제, 어트리뷰트는 복제)
참고
- 해금은 WorldState에 영속 저장 → 게임 재시작 후에도 유지(테스트 해금도 남음).
- 치트:
RetrieveUnlockWind(콘솔)