[Phase 2.6] Battlegear Face-Down Lifecycle, Reveal Timing & Targeting Rules #24

Open
opened 2026-11-17 08:14:11 +00:00 by john4064 · 0 comments
Owner

Goal

Implement complete Battlegear visibility rules (CardVisibility::FaceDown vs. FaceUp), reveal timing, and targeting filters.

Metadata

  • Phase / Step: Phase 2.6
  • Depends On: #9, #23
  • Unlocks: #26
  • Target Crates / Paths: crates/chaotic_core/src/battlegear.rs
  • Line Budget Plan: Production .rs <= 400 lines, test .rs <= 600 lines, mod.rs < 80 lines (AGENTS.md Section 2.3)

Acceptance Criteria

  • Begin match with all Creatures' equipped Battlegear FaceDown (granting zero passive stat buffs or active/triggered abilities until revealed).
  • Automatically reveal a Creature's Battlegear (CardVisibility::FaceUp) when it enters combat for the first time (or when explicitly flipped by a card effect).
  • Distinguish generic target Battlegear destruction (can destroy FaceDown Battlegear) from face-up Battlegear targeting filters.
  • Ensure destroyed Battlegear moves cleanly to its owner's Battlegear discard pile.
## Goal Implement complete Battlegear visibility rules (`CardVisibility::FaceDown` vs. `FaceUp`), reveal timing, and targeting filters. ## Metadata - **Phase / Step:** Phase 2.6 - **Depends On:** #9, #23 - **Unlocks:** #26 - **Target Crates / Paths:** `crates/chaotic_core/src/battlegear.rs` - **Line Budget Plan:** Production `.rs` <= 400 lines, test `.rs` <= 600 lines, `mod.rs` < 80 lines (`AGENTS.md` Section 2.3) ## Acceptance Criteria - [ ] Begin match with all Creatures' equipped Battlegear `FaceDown` (granting zero passive stat buffs or active/triggered abilities until revealed). - [ ] Automatically reveal a Creature's Battlegear (`CardVisibility::FaceUp`) when it enters combat for the first time (or when explicitly flipped by a card effect). - [ ] Distinguish generic `target Battlegear` destruction (can destroy `FaceDown` Battlegear) from `face-up Battlegear` targeting filters. - [ ] Ensure destroyed Battlegear moves cleanly to its owner's Battlegear discard pile.
Sign in to join this conversation.
No description provided.