mirror of
https://github.com/alexandria121/new.git
synced 2026-07-01 09:24:24 -04:00
eae7632bf6
- 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.
12 lines
501 B
PowerShell
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 ', ')" |