fix: codex #98/#99가 revert한 #96 수정 11개 재통합 + Defend 카드 수정

codex #98/#99(도적 Rogue/시프 카드 확장)가 main을 작업 브랜치에 머지
후 그 머지를 통째로 revert하면서, 먼저 머지됐던 #96의 버그수정 11개가
collateral로 전부 사라졌다. 이를 현재 main(codex 카드 147장) 위에 재통합.

복원된 #96(상세는 PR #96): BindButtons 1회가드·drawDamage per-draw+
CheckCombatEnd 멱등가드·firstCardDamageBonus class→kind·PiercingWail
시뮬 음수힘·Envenom AoE attackPoison·firstShivDamageBonus 시뮬 첫Shiv만·
Prepared 실제방어+설명·DealDamageToAllMonsters isAttack 분리·useAllEnergy
코스트감소 무시·설명 정정 6장(Rage kind Power→Attack 포함).

추가: Defend(아이언 바디) kind Attack→Skill — block만 있는 방어 카드가
Attack 라우팅(몬스터 드롭 필요)이라 위로 스윕으로 사용 불가였던 것 수정.

codex 변경과 라인 충돌 없이 git apply --3way로 소스 재적용 후 재생성.
카드 147장 유지, 테스트 88, propcheck 0, cbgap 0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UUvHKjrt8jqLzDeCsRRGmj
This commit is contained in:
2026-06-30 08:34:54 +09:00
parent 66985c2af6
commit a2e4f16402
8 changed files with 168 additions and 68 deletions

View File

@@ -10,7 +10,11 @@ for i = #list, 2, -1 do
\tlocal j = math.random(1, i)
\tlist[i], list[j] = list[j], list[i]
end`, [{ Type: 'any', DefaultValue: null, SyncDirection: 0, Attributes: [], Name: 'list' }]),
method('BindButtons', `local endTurn = _EntityService:GetEntityByPath("/ui/RunUIGroup/DeckHud/EndTurnButton")
method('BindButtons', `if self.ButtonsBound == true then
return
end
self.ButtonsBound = true
local endTurn = _EntityService:GetEntityByPath("/ui/RunUIGroup/DeckHud/EndTurnButton")
if endTurn ~= nil and (endTurn.ButtonComponent ~= nil or endTurn:AddComponent("ButtonComponent") ~= nil) then
if self.EndTurnHandler ~= nil then
endTurn:DisconnectEvent(ButtonClickEvent, self.EndTurnHandler)
@@ -471,6 +475,7 @@ for i = 1, amount do
\tlocal cardId = table.remove(self.DrawPile)
\ttable.insert(drawnCards, cardId)
\tself.CardsDrawnThisCombat = (self.CardsDrawnThisCombat or 0) + 1
\tself:ApplyDrawTrigger()
\tif #self.Hand >= 10 then
\t\ttable.insert(self.DiscardPile, cardId)
\t\tself:TriggerSly(cardId)