UnityTowerDefense/Assets/_Project/Scripts/Gameplay/Draft
Matt F 4892d7253d First pass at full refactor to 2.0 design
Restructures the game around the cyclical run loop from Game Design Doc V2:
5 waves = a cycle, 3 cycles = a phase, each phase ends in a boss.

- New TD.Gameplay.Waves: WaveGroup / PhaseDefinition / RunDefinition author the
  run as draggable weighted pools; RunState owns phase/cycle position, the drawn
  wave slots, and the per-slot enemy buff sets. WaveManager's flat wave array is
  gone -- it now only runs the encounter RunState points at.
- New TD.Gameplay.EnemyUpgrades: the post-wave enemy-buff vote, with public
  live-replicated ballots so the HUD can show who voted for what.
- Inter-wave flow is now strictly sequential: draft -> vote -> build, each stage
  ending early once every player has acted.
- Enemy abilities inverted from per-instance random rolls to deterministic,
  stacking per-wave-slot sets. Six cards ship: Split (reworked), Flight, Blink,
  No Bounty, Gold Theft, Double Up.
- Tower upgrades are a two-step tree: a draft pick unlocks a node, gold converts
  an already-placed tower in place.
- Boss encounters flag their enemies and drive a boss HP bar.
- Player cap reduced to 3 via MatchRules.MaxPlayers.
- GoldConfig is now keyed by global encounter number rather than wave index.

Compiles clean; NOT yet verified in-engine. Editor wiring still required --
see Docs/2.0_Setup_Checklist.md.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-30 17:45:11 -07:00
..
BuilderEffectDraftOption.cs new builder option per draft - first one is gold per kill 2026-07-07 22:55:35 -07:00
BuilderEffectDraftOption.cs.meta new builder option per draft - first one is gold per kill 2026-07-07 22:55:35 -07:00
BuilderEffectUpgradeDraftOption.cs start of draft option upgrades 2026-07-22 00:00:05 -07:00
BuilderEffectUpgradeDraftOption.cs.meta slow area upgrade test 2026-07-25 23:22:11 -07:00
BuilderSpellDraftOption.cs upgrades working; fix a small bug in which a base spell could be re-offered after picking an upgrade 2026-07-25 23:46:45 -07:00
BuilderSpellDraftOption.cs.meta draft options working; spells won't cast though 2026-07-14 20:56:50 -07:00
BuilderSpellUpgradeDraftOption.cs start of draft option upgrades 2026-07-22 00:00:05 -07:00
BuilderSpellUpgradeDraftOption.cs.meta slow area upgrade test 2026-07-25 23:22:11 -07:00
DraftOption.cs Updates to spells, HUD, Gold, and Camera Controls. New sound effects! 2026-07-18 18:12:56 -07:00
DraftOption.cs.meta Adding the bones of the drafting system by removing the wall and siege towers from the base set and adding them temporarily as choices for the draft. Also adding Project_Context and Project_Roadmap documents to use with Claude 2026-06-24 00:15:17 -07:00
DraftPool.cs Adding the bones of the drafting system by removing the wall and siege towers from the base set and adding them temporarily as choices for the draft. Also adding Project_Context and Project_Roadmap documents to use with Claude 2026-06-24 00:15:17 -07:00
DraftPool.cs.meta Adding the bones of the drafting system by removing the wall and siege towers from the base set and adding them temporarily as choices for the draft. Also adding Project_Context and Project_Roadmap documents to use with Claude 2026-06-24 00:15:17 -07:00
DraftService.cs First pass at full refactor to 2.0 design 2026-07-30 17:45:11 -07:00
DraftService.cs.meta Adding the bones of the drafting system by removing the wall and siege towers from the base set and adding them temporarily as choices for the draft. Also adding Project_Context and Project_Roadmap documents to use with Claude 2026-06-24 00:15:17 -07:00
NewTowerDraftOption.cs Updates to spells, HUD, Gold, and Camera Controls. New sound effects! 2026-07-18 18:12:56 -07:00
NewTowerDraftOption.cs.meta Adding the bones of the drafting system by removing the wall and siege towers from the base set and adding them temporarily as choices for the draft. Also adding Project_Context and Project_Roadmap documents to use with Claude 2026-06-24 00:15:17 -07:00
PlayerDraft.cs First pass at full refactor to 2.0 design 2026-07-30 17:45:11 -07:00
PlayerDraft.cs.meta Adding the bones of the drafting system by removing the wall and siege towers from the base set and adding them temporarily as choices for the draft. Also adding Project_Context and Project_Roadmap documents to use with Claude 2026-06-24 00:15:17 -07:00
TowerUpgradeDraftOption.cs First pass at full refactor to 2.0 design 2026-07-30 17:45:11 -07:00
TowerUpgradeDraftOption.cs.meta start of draft option upgrades 2026-07-22 00:00:05 -07:00