Files
new/find_ids.ps1
alexandriaa eae7632bf6 feat: Add new combo cards and implement app settings persistence
- Introduced six new combo cards with unique abilities and IDs.
- Created AppSettings class to manage application settings, including starting health.
- Updated MainViewModel to utilize AppSettings for player health initialization.
- Modified DeckBuilderView and GameView to reflect new navigation and combo slot functionality.
- Added buttons for removing cards from combo slots in GameView.
- Implemented settings UI to allow users to configure starting health.
- Added PowerShell scripts for managing combo cards and finding available IDs.
2026-04-12 19:10:22 -04:00

12 lines
501 B
PowerShell

$content = Get-Content 'c:\Users\atw61\OneDrive\Desktop\new\MagicalDeckbuilder.Shared\Game\CardFactory.cs' -Raw
$matches = [regex]::Matches($content, 'ID: (1[0-9]{3})')
$usedIds = @()
foreach ($m in $matches) {
$usedIds += [int]$m.Groups[1].Value
}
$usedIds = $usedIds | Sort-Object -Unique
$allIds = 1000..1300
$availableIds = $allIds | Where-Object { $_ -notin $usedIds }
Write-Host "Available count: $($availableIds.Count)"
Write-Host "Available (first 35): $($availableIds[0..34] -join ', ')"