From 0641fb2324522c4bff6295cfd6eb011465677594 Mon Sep 17 00:00:00 2001 From: dingo Date: Fri, 27 Feb 2026 01:07:44 +0000 Subject: [PATCH] Document missing SearchDeck execution and audit unimplemented ability effects --- gameplay-effects-gap.md | 50 +++++++++++++++++++++++++++++++++++++++++ gameplay-todo.md | 1 + 2 files changed, 51 insertions(+) create mode 100644 gameplay-effects-gap.md diff --git a/gameplay-effects-gap.md b/gameplay-effects-gap.md new file mode 100644 index 0000000..9da56a1 --- /dev/null +++ b/gameplay-effects-gap.md @@ -0,0 +1,50 @@ +# Ability Effects Implementation Gaps + +Generated from `Effects.cs` (declared effect models) vs `AbilitySystem.ExecuteEffect` (implemented `case` handlers). + +- Declared effects: **68** +- Implemented handlers: **47** +- Missing handlers: **21** + +## Critical gameplay gap noted + +- `SearchDeckEffect` is declared but not executed server-side. This means "search deck" style Repentance/Instinct effects are currently unavailable as designed. + +## Missing effect handlers by section + +### 5.1 Stat modification +- `GrantAdditionalAttackEffect` +- `SetStatModMultiplierEffect` + +### 5.2 Unit flags +- `SetCanBeAttackedEffect` +- `SetCanBeBlockedEffect` +- `SetCanBeObstructedEffect` +- `SetCanUseAbilityEffect` +- `SetCanBeSacrificedEffect` + +### 5.3 Ability modification +- `AddAbilityEffect` +- `RemoveAbilityEffect` +- `EnableAbilityEffect` +- `DisableAbilityEffect` + +### 5.7 Zone/card ops +- `ReturnToBattlefieldEffect` +- `SearchDeckEffect` +- `RevealCardsEffect` +- `PlaceOnDeckEffect` +- `ChannelCardEffect` + +### 5.9 Displacement +- `DisplaceUnitEffect` + +### 5.10 Control +- `GrantMovementControlEffect` +- `SetFixedSacrificeReturnEffect` + +### 5.11 Token +- `SummonTokenEffect` + +### 5.12 Deferred +- `ApplyOnEventEffect` diff --git a/gameplay-todo.md b/gameplay-todo.md index 6ca6aa0..33bcd2c 100644 --- a/gameplay-todo.md +++ b/gameplay-todo.md @@ -17,6 +17,7 @@ If an action semantically requires a target, allowing the card to resolve withou - `ChannelCard` now enforces `CanChannel*` restrictions (including `CanChannelRepentance` and `CanChannelInstinct`). - Instinct is now quick-play (any turn except Setup/Placement/GameOver). - Ability model supports explicit target types and per-action target indexing. +- `SearchDeckEffect` is declared in effect models but currently missing server-side execution in `AbilitySystem.ExecuteEffect` (see `gameplay-effects-gap.md`). ### Required fix Add strict server-side target validation for Repentance/Instinct action execution: