Phase 1: Custom game system — DB schema extensions
- Extend CustomLobby with 12 new rule override columns (Password, HandSizeCap, DiscardOnMaxHand, MaxDeckSize, MinDeckSize, MaxArchTier1, TurnTimerSeconds, TimeLimitMinutes, TurnLimit, MpBuff, BoardWidth/Height) - Extend GameRuleSet with matching non-nullable rule fields (same set) - Extend GameRules record with 9 new rule fields (all default to 0/false) - Add LobbyPreset entity (owner-scoped named rule presets) - Register LobbyPreset in GameDbContext with index on OwnerAccountId - Migration: AddCustomGameExtensions (applied to pg-forge-01) - Add custom-game-system-plan.md with full 8-phase architecture plan and deferred features tracking list - Also includes: AbilityBuilder ValueExpr dropdowns + help panel, Affinity enum/system fixes (from prior sessions) Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
@@ -55,12 +55,12 @@ public static class AffinitySystem
|
||||
|
||||
// ── Hill pairings ─────────────────────────────────────────────────
|
||||
(Affinity.Hill, Affinity.Hill) => Affinity.Mountain,
|
||||
(Affinity.Hill, Affinity.Field) or (Affinity.Field, Affinity.Hill) => Affinity.Grove,
|
||||
(Affinity.Hill, Affinity.Field) or (Affinity.Field, Affinity.Hill) => Affinity.Steppe,
|
||||
(Affinity.Hill, Affinity.Forest) or (Affinity.Forest, Affinity.Hill) => Affinity.Fort,
|
||||
|
||||
// ── Field pairings ────────────────────────────────────────────────
|
||||
(Affinity.Field, Affinity.Field) => Affinity.Plains,
|
||||
(Affinity.Field, Affinity.Forest) or (Affinity.Forest, Affinity.Field) => Affinity.Steppe,
|
||||
(Affinity.Field, Affinity.Forest) or (Affinity.Forest, Affinity.Field) => Affinity.Grove,
|
||||
|
||||
// ── Forest pairings ───────────────────────────────────────────────
|
||||
(Affinity.Forest, Affinity.Forest) => Affinity.Jungle,
|
||||
|
||||
Reference in New Issue
Block a user