Restructure: move agnostic context docs to Shared/context-files
This commit is contained in:
@@ -0,0 +1,139 @@
|
||||
# Card Design (WIP)
|
||||
|
||||
This file is the canonical reference for card types, their mutable state properties, and card-specific rules.
|
||||
|
||||
---
|
||||
|
||||
## 1) CardState (Shared)
|
||||
|
||||
Non-mutable:
|
||||
- `DefinitionId`
|
||||
- `LibraryId` (unique GUID per card instance)
|
||||
- `Name`
|
||||
- `Description`
|
||||
- `CardType`
|
||||
|
||||
Targeting note: `CardType` is valid for targeting/scoping. All mutable properties are valid selectors.
|
||||
|
||||
---
|
||||
|
||||
## 2) CardState.ArchSpirit
|
||||
|
||||
Mutable:
|
||||
- `MinChannelRange`
|
||||
- `MaxChannelRange`
|
||||
- `SPCost`
|
||||
- `STCost`
|
||||
- `OtherCosts`
|
||||
- `Affinity`
|
||||
- `AttackType`
|
||||
- `RequiresLOS`
|
||||
- `MinAttackRange`
|
||||
- `MaxAttackRange`
|
||||
- `CanAttack`
|
||||
- `Damage`
|
||||
- `CanDefend` (if false, incoming damage bypasses defense)
|
||||
- `Health`
|
||||
- `CanMove`
|
||||
- `MovementType`
|
||||
- `MovementPoints`
|
||||
- `CanBeObstructed` (if false, ignores movement obstruction)
|
||||
- `Defense`
|
||||
- `CanBeAttacked`
|
||||
- `CanBeBlocked` (if false, damage dealt ignores defense)
|
||||
- `CanUseAbility`
|
||||
- `AddAbility`
|
||||
- `RemoveAbility`
|
||||
- `EnableAbility`
|
||||
- `DisableAbility`
|
||||
- `Genus`
|
||||
|
||||
---
|
||||
|
||||
## 3) CardState.Spirit
|
||||
|
||||
Mutable:
|
||||
- `SPCost`
|
||||
- `STCost`
|
||||
- `OtherCosts`
|
||||
- `Affinity`
|
||||
- `AttackType`
|
||||
- `RequiresLOS`
|
||||
- `MinAttackRange`
|
||||
- `MaxAttackRange`
|
||||
- `CanAttack`
|
||||
- `Damage`
|
||||
- `CanDefend` (if false, incoming damage bypasses defense)
|
||||
- `Health`
|
||||
- `CanMove`
|
||||
- `MovementType`
|
||||
- `MovementPoints`
|
||||
- `CanBeObstructed` (if false, ignores movement obstruction)
|
||||
- `Defense`
|
||||
- `CanBeAttacked`
|
||||
- `CanBeBlocked` (if false, damage dealt ignores defense)
|
||||
- `CanBeSacrificed`
|
||||
- `CanUseAbility`
|
||||
- `AddAbility`
|
||||
- `RemoveAbility`
|
||||
- `EnableAbility`
|
||||
- `DisableAbility`
|
||||
- `Genus`
|
||||
|
||||
---
|
||||
|
||||
## 4) CardState.Repentance
|
||||
|
||||
Mutable:
|
||||
- `SPCost`
|
||||
- `STCost`
|
||||
- `OtherCosts`
|
||||
- `Affinity`
|
||||
- `Effects` (`Action[]` — see **abilities.md**)
|
||||
|
||||
Rules:
|
||||
- Goes to discard once played unless an effect says otherwise.
|
||||
- Can only be played if the player's ArchSpirit is on a tile matching the Repentance affinity.
|
||||
|
||||
---
|
||||
|
||||
## 5) CardState.Terramorpha
|
||||
|
||||
Mutable:
|
||||
- `SPCost`
|
||||
- `STCost`
|
||||
- `OtherCosts`
|
||||
- `Affinity`
|
||||
- `TerramorphaMode` (`Mono`, `Di`, `Tri`)
|
||||
|
||||
---
|
||||
|
||||
## 6) CardState.Ruin
|
||||
|
||||
Mutable:
|
||||
- `SPCost`
|
||||
- `STCost`
|
||||
- `OtherCosts`
|
||||
- `Affinity`
|
||||
- `Abilities`
|
||||
|
||||
Rules:
|
||||
- Channeled to a random battlefield tile matching Ruin affinity.
|
||||
- One ability activates at random at the start of the occupying player's turn, after SP gain and card draw.
|
||||
- The occupying unit is a valid target for all Ruin abilities regardless of which player controls the Ruin — the controller is not exempt from its negative effects.
|
||||
|
||||
---
|
||||
|
||||
## 7) CardState.Instinct
|
||||
|
||||
Mutable:
|
||||
- `SPCost`
|
||||
- `STCost`
|
||||
- `OtherCosts`
|
||||
- `Affinity`
|
||||
- `Effects` (`Action[]` — see **abilities.md**)
|
||||
|
||||
Rules:
|
||||
- Goes to discard once played unless an effect says otherwise.
|
||||
- Can only be played if the player's ArchSpirit is on a tile matching Instinct affinity.
|
||||
- Can be played during any player's turn or as a non-play interrupt.
|
||||
Reference in New Issue
Block a user