카드 전투 통합 (TODO B) + 미커밋 노이즈 정리 (C) #8

Merged
gahusb merged 8 commits from feature/deck-controller-fixes into main 2026-06-09 00:51:05 +09:00
Owner
  • 타격 카드 → 적 HP 감소(적 방어 있으면 먼저 차감)
  • 방어 카드 → 플레이어 방어 증가
  • 턴 종료 → 적이 표시된 의도대로 행동, 다음 의도 갱신
  • 적 HP 0 → "승리!" / 플레이어 HP 0 → "패배..." + 입력 잠금
- 타격 카드 → 적 HP 감소(적 방어 있으면 먼저 차감) - 방어 카드 → 플레이어 방어 증가 - 턴 종료 → 적이 표시된 의도대로 행동, 다음 의도 갱신 - 적 HP 0 → "승리!" / 플레이어 HP 0 → "패배..." + 입력 잠금
gahusb added 8 commits 2026-06-09 00:50:47 +09:00
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
기존 guid() prefix+4hex는 8-4-4-4-12 형식이 아니어서 Maker가 적용 거부(LEA-3054).
네임스페이스 바이트 기반 hex GUID로 변경하고, 기존 자식 id도 재생성 시 정규화.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
stash해 둔 로컬 맵 재저장분 복구. 몬스터 2종·old 스프라이트 미사용·타일셋 교체·유효 GUID 무결성 검증 완료.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
카드 5장 통일로 이미지 카드가 손패에서 빠져 이 스프라이트는 미참조 고아가 됨.
descriptor Id가 무효라 플레이마다 LEA-3021 에러를 유발하므로 제거.
(맵 Background.WebUrl의 휴면 참조는 Type=Template이라 미사용 — 무해, 유지)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
PlayCard가 토스트 대신 실제 효과를 적용하도록 통합.

- 카드 데이터에 damage/block 수치 필드 추가 (desc 파싱 폐기)
- 전투 상태: 플레이어 HP/Block, 적 HP/Block/의도(결정적 사이클)
- PlayCard: Attack→적 HP 감소(방어 우선 차감), Skill→플레이어 Block 증가
- EndPlayerTurn→적 턴(의도 실행)→다음 플레이어 턴, 승패 판정
- CombatHud UI: 적 패널(이름/HP/방어/의도)·플레이어 패널(HP/방어)·결과 텍스트
- 수치(플레이어80/적45/의도10·6·방8)는 임시 placeholder (D에서 캐릭터/몬스터별 외부화)

생성기 단일 소스(tools/gen-slaydeck.mjs)에서 생성. 결정적 출력 확인.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
gahusb requested review from maple 2026-06-09 00:50:52 +09:00
gahusb merged commit e5a75a83b5 into main 2026-06-09 00:51:05 +09:00
gahusb deleted branch feature/deck-controller-fixes 2026-06-09 00:51:06 +09:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gahusb/maplecontest#8