Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
278 commits
Select commit Hold shift + click to select a range
631f055
Add Magister Dawngrasp to Multicaster view
batstyx Dec 8, 2021
3394dd5
Add Revive Pet to Witching Hour view
batstyx Dec 8, 2021
9cf0a24
Prioritise copy local libs if HDT installed
batstyx Dec 11, 2021
e2e7e32
Build and upload script
batstyx Dec 11, 2021
75f013c
Add Contraband Stash to Tess Greymane view
batstyx Dec 11, 2021
0c98089
Add Hold the Bridge to Lady Liadrin spell list
batstyx Dec 14, 2021
917520e
Improved Settings load behaviour
batstyx Dec 31, 2021
186c1b3
Exclude Brilliant Macaw from it's own Last Played view
batstyx Jan 9, 2022
0aa8a8c
Attempt to add Xyrella DR and Shirvallah mana tracking
PotofGross Jan 26, 2022
ac40a7e
Get basic ShirvallahView working
batstyx Jan 28, 2022
000b4ad
Shirvallah Libram cost support
batstyx Jan 28, 2022
8998329
Merge from main
batstyx Jan 28, 2022
f67366a
Add Shirvallah, the Tiger view
batstyx Jan 28, 2022
e596ba1
Hide UI for all Battleground and Mercenary games
batstyx Feb 10, 2022
e63e130
Update to HearthstoneDeckTracker.exe v1.17.5.5747
batstyx Feb 10, 2022
5fe6390
Enum based card spell school extension method
batstyx Feb 16, 2022
782b375
Shorten spell school references to 'School'
batstyx Feb 20, 2022
1c66a3e
Add card spell school lookup
batstyx Feb 20, 2022
98f1f22
ViewConfig and some view implementations
batstyx Feb 20, 2022
dbe889c
Add more view config
batstyx Feb 21, 2022
b85ef8a
Card, name and condition view config
batstyx Feb 21, 2022
b9316e8
View config enabled property
batstyx Feb 21, 2022
bf48c65
ShowFriendlyView method
batstyx Feb 22, 2022
b093aac
ViewConfig WatchFor property
batstyx Feb 22, 2022
2f860eb
Start LastPlayed view config
batstyx Feb 23, 2022
95d4792
Fix TessGreymaneView Usings
batstyx Feb 23, 2022
d61098e
More LastPlayedView config
batstyx Feb 23, 2022
7d0eb13
ViewBase and ChancesView added
batstyx Feb 28, 2022
3b1da46
Fix last played cards
batstyx Mar 1, 2022
02bd524
HDT ActionList style view update polling
batstyx Mar 1, 2022
892d1bd
CardUpdatePoller first stab
batstyx Mar 2, 2022
f4a732e
Fix Shirvallah
batstyx Mar 2, 2022
b381e8f
TurnUpdatePoller
batstyx Mar 2, 2022
527fcdc
Broken config list
batstyx Mar 2, 2022
59b0d23
Remove most individual view references
batstyx Mar 2, 2022
84c755f
Create base rather than custom instances for most views
batstyx Mar 3, 2022
1f44854
Fix QuestlineView
batstyx Mar 3, 2022
9e0a385
Visible in menu "Test Mode" first stab
batstyx Mar 3, 2022
3f53f13
Improved "Test Mode" behavior
batstyx Mar 3, 2022
034a962
Test view config with new views
batstyx Mar 3, 2022
ca357c4
Jace and SI:7 text
batstyx Mar 4, 2022
fffdced
Separate Clear proc
batstyx Mar 4, 2022
63ccf2d
CardUpdatePoller default update value
batstyx Mar 4, 2022
cb664aa
Logic is hard
batstyx Mar 5, 2022
b9116ee
ViewConfig changes
batstyx Mar 8, 2022
a4ccad6
Add view config files
batstyx Mar 8, 2022
f40e86f
Settings view reorganisation
batstyx Mar 9, 2022
2f1e639
Add settings card list
batstyx Mar 9, 2022
80c3bfa
ViewConfigCard apparatus
batstyx Mar 10, 2022
cfa5112
Remove Rally from Resurrect
batstyx Mar 11, 2022
8f0a1e3
ViewCardConfig infrastucture
batstyx Mar 11, 2022
447e985
Settings card list works
batstyx Mar 11, 2022
55ac512
Move view setup to ViewBuilder
batstyx Mar 12, 2022
1e6788e
Localize view name at point of view creation instead of config creation
batstyx Mar 12, 2022
8ccdcdd
Change ViewConfig Enabled to string
batstyx Mar 15, 2022
1dcbc74
Remove (unused) new Jace and SI7 enabled settings
batstyx Mar 15, 2022
4ae15ba
More closely match deck display in menu behaviour
batstyx Mar 16, 2022
0b86b84
Settings upgrade
batstyx Mar 16, 2022
3ea7019
More Settings upgrade
batstyx Mar 17, 2022
cffada8
Shorter names and EventManager
batstyx Mar 27, 2022
ff98771
Move event registration to ViewConfig
batstyx Mar 29, 2022
c380cea
MultiTurnView ctor title parameter obsolete
batstyx Mar 29, 2022
c52d0c0
Remove Anyfin damage calculator
batstyx Apr 15, 2022
a931d8a
Add settings view design-time background color
batstyx Apr 15, 2022
497ce0b
Update for Year of the Hydra core set
batstyx Apr 15, 2022
bf2bac3
Update Lady Liadrin spell list
batstyx Apr 15, 2022
ae255da
Update for Year of the Hydra core set card ids
batstyx Apr 15, 2022
263ab18
Update Lady Liadrin/Sunwing Squawker spell list
batstyx Apr 15, 2022
79715e2
Version to 1.10
batstyx Apr 15, 2022
d87e7c7
Add Hedra the Heretic view
batstyx Apr 15, 2022
4a5cce6
Simplify Anyfin config/view code slightly
batstyx Apr 15, 2022
afc11f9
Strings returns key if no localized value
batstyx Apr 16, 2022
324e8e9
Update localization
batstyx Apr 16, 2022
73b7af0
Localize Settings card class headings
batstyx Apr 16, 2022
b338e92
Merge view-config into main
batstyx Apr 17, 2022
8fad1ed
Add Coral Keeper to Multicaster
batstyx Apr 19, 2022
b5ee216
Add help links to settings view
batstyx Apr 19, 2022
197a44b
Add Opponent Deathrattle view
batstyx Apr 21, 2022
134e97b
Merge opponent-deathrattle into master
batstyx Apr 21, 2022
bc77f7d
Anyfin doesn't need a separate Settings upgrade entry
batstyx Apr 22, 2022
9da0bf4
Update for HearthDb 23.0.3
batstyx May 11, 2022
bcbe3e7
Hunter Questline Hack
batstyx May 11, 2022
06ae0fe
Add Imp King Rafaam
batstyx Aug 2, 2022
dddcfe9
Add Imp King Rafaam
batstyx Aug 2, 2022
b9e8d41
Fix Imp King Rafaam "Friendly Imp" test condition
batstyx Aug 3, 2022
ab0e1ad
Initial Profile class
batstyx Aug 16, 2022
28d72e7
SettingsUpgrade and more Profile
batstyx Aug 23, 2022
2f474c2
Remove HearthDb.dll from version control
batstyx Aug 31, 2022
7b03c5a
Update library script to output file version downloaded
batstyx Aug 31, 2022
cec5a0d
Updated for HearthDb v24.2.0.0
batstyx Aug 31, 2022
557c735
Add Kel'Thuzad the Inevitable view
batstyx Aug 31, 2022
8691306
Merge branch 'profiles'
batstyx Aug 31, 2022
cadef07
Fix profile merge to exclude profile
batstyx Aug 31, 2022
6f64c53
No 1.11 yet
batstyx Aug 31, 2022
34cbe0c
Merge kelthuzad into main
batstyx Aug 31, 2022
aea16d7
Correctly set Settings.Version to [Version].ToString() rather than an…
batstyx Sep 27, 2022
ffd1d9b
Add Defense Attorney Nathanos to Deathrattle view
batstyx Sep 28, 2022
9fa099c
Add All Fel Breaks Loose to Guldan(Demon) view
batstyx Sep 28, 2022
db6221d
Update Version
batstyx Sep 28, 2022
7b5fdf1
Add Habeas Corpses to Resurrect view
batstyx Sep 29, 2022
c2e0e05
Switch Frozen Throne cards to Core cardids
batstyx Nov 3, 2022
e65118f
Add Abominable Bowman to Witching Hour view
batstyx Nov 4, 2022
89f1964
Add Lady Darkvein view
batstyx Nov 4, 2022
110b24b
Fix Vanessa VanCleef
batstyx Nov 4, 2022
768be7a
Update Paladin spell list for Frozen Throne core cards
batstyx Nov 4, 2022
4d5c229
Update to HearthstoneDeckTracker.exe v1.18.25.5979
batstyx Nov 4, 2022
8e83bf8
HearthDb v25 compatibility
batstyx Dec 7, 2022
cfd2617
Add "Reanimate" view for Undead resurrection cards
batstyx Dec 7, 2022
23cf5d5
Add March of the Lich King resurrect cards*
batstyx Dec 7, 2022
31cabda
Add High Cultist Basaleph view
batstyx Dec 8, 2022
cd3b6df
Separate Animate Dead view
batstyx Dec 11, 2022
308b0cf
- Separate Unending Swarm view
batstyx Dec 11, 2022
772d447
- Move Basaleph to end of list
batstyx Dec 11, 2022
93d8298
Update AssemblyInfo to 1.10.7
batstyx Dec 11, 2022
2d2268c
Use AnimatedCardList.UpdateAsync for Basaleph end of turn
batstyx Dec 12, 2022
84ca700
- Add Player Draw and Mulligan Pollers
batstyx Feb 3, 2023
9d03f43
- Add Commander Sivara view
batstyx Feb 3, 2023
53e2ea7
Use HoldingEffectView for Hedra
batstyx Feb 3, 2023
bba7076
Version to 1.10.9
batstyx Feb 3, 2023
f575f4c
SivaraView isn't NormalView subclass
batstyx Feb 3, 2023
eaa55db
LastCardView.ViewConfig base class
batstyx Feb 3, 2023
b6c1980
Add "Four Horsemen" view
batstyx Feb 22, 2023
6627a95
Allow ViewConfig override of using solitary card name for view Title
batstyx Feb 22, 2023
0485267
Add list of non-eponymous imps
batstyx Feb 25, 2023
16142d7
Add Relics Cast view
batstyx Feb 25, 2023
b75e10e
Version to 1.10.11
batstyx Feb 25, 2023
c3c62a5
Add Relic Artificer Xy'mox support
batstyx Feb 26, 2023
7e0c54b
Update Gray Sage Parrot card cost to 6
batstyx Mar 14, 2023
b3e0cbd
Version to 1.10.12
batstyx Mar 14, 2023
a50c576
Add Asvedon, the Grandshield last played view
batstyx Mar 15, 2023
e6fbb44
Correct Rivendare Blameux spelling
batstyx Mar 15, 2023
8f934c7
Fix Vanessa VanCleef view
batstyx Mar 15, 2023
4ede76f
Version to 1.10.13.0
batstyx Mar 15, 2023
62fadb8
Update for Year of the Wolf core set
batstyx Apr 11, 2023
57777cf
Add Stranglethorn Heart view
batstyx Apr 11, 2023
2dcad03
Add Death Knight Boneshredder to Deathrattle view
batstyx Apr 11, 2023
0dc6e2a
Add Rogue Mixtape view
batstyx Apr 11, 2023
f6254f0
Fix Mixtape
batstyx Apr 11, 2023
eefd70c
Version to 1.10.14
batstyx Apr 11, 2023
4108134
Add Beast/All check to Stranglethorn Heart
batstyx Apr 12, 2023
a684e2e
Add [Warrior] Last Riff Played view
batstyx Apr 14, 2023
4a988d9
Add [Priest] Catrina Muerte to Reanimate view
batstyx Apr 18, 2023
e1016a8
Add [Mage] Rewind to Zuljin (Spells Cast) view
batstyx Apr 18, 2023
2992942
Update [Paladin] Lady Liadrin spell list
batstyx Apr 18, 2023
c032028
Version to 1.10.16
batstyx Apr 18, 2023
8c04e82
Add OnPlayerGet to EventManager
batstyx May 21, 2023
a11e95a
Add Spells Created view
batstyx May 21, 2023
18fb37e
Version to 1.10.17
batstyx May 21, 2023
f5180f3
Update build+release actions
batstyx Jun 3, 2023
1f18c3d
Add MenagerieView
batstyx Jun 12, 2023
205bd29
Version to v1.10.18
batstyx Jun 12, 2023
c29298f
Add Photographer Fizzle view
batstyx Jun 24, 2023
de3bef2
Version to 1.10.19
batstyx Jun 24, 2023
d7e3a92
Add TITANS cards to Multicaster view
batstyx Aug 2, 2023
13f6790
Add TITANS paladin cards
batstyx Aug 2, 2023
197b8cc
Version to 1.10.20
batstyx Aug 2, 2023
7fed718
Switch Tyr's Tears to normal view
batstyx Aug 3, 2023
c4c3f27
Add more TITANS cards to multicaster view
batstyx Aug 3, 2023
82a212b
Add MinionsCreatedView
batstyx Aug 3, 2023
e7b0a52
Version to 1.10.21
batstyx Aug 3, 2023
035c16a
Improved Tyr view
batstyx Aug 3, 2023
ed44721
Add LibraryInfo class
batstyx Sep 20, 2023
e4d62d5
Use LibraryInfo for IPlugin Name/Version
batstyx Sep 20, 2023
61c13c8
Plugin Settings Folder
batstyx Sep 20, 2023
e701c81
Update CardId references
batstyx Sep 20, 2023
8bec8a0
Convert Position settings from pixels to percentages
batstyx Sep 21, 2023
b406220
Treants
batstyx Sep 28, 2023
b01c347
Version to 1.11.1
batstyx Sep 28, 2023
9c4b9ac
This should be the Title
batstyx Sep 29, 2023
c9cb0ca
Get Head Commit Message action
batstyx Sep 29, 2023
ee3f617
Fix MissingMethodException error
batstyx Oct 17, 2023
6c31da0
Version to 1.12
batstyx Oct 17, 2023
36b0557
HDT to v1.22.9.6344
batstyx Oct 17, 2023
965acda
Help links show url tooltips
batstyx Oct 24, 2023
b47d5e1
Release body as md file
batstyx Oct 24, 2023
f8dfb0a
Actual Release body as md file
batstyx Oct 24, 2023
155c4ca
Add Unchained Guardian to Grand Finale view
batstyx Oct 24, 2023
757a251
Version to 1.12.1
batstyx Oct 24, 2023
9fdd690
Prepend v to Release name version
batstyx Oct 24, 2023
0b81065
Add Kingpin Pud View
batstyx Nov 22, 2023
88b868f
Add Azerite Rat View
batstyx Nov 22, 2023
9ecc1a0
Version to 1.13
batstyx Nov 22, 2023
a20b0d6
Fixes #30
batstyx Feb 19, 2024
d5fc380
Fixes #31
batstyx Feb 19, 2024
3723a3c
Explicitly Load/Save Settings as InvariantCulture strings
batstyx Feb 19, 2024
a18a770
Version to 1.13.1
batstyx Feb 19, 2024
63452e1
Fixes #32 Tyr not listing non-Paladin minions
batstyx Feb 22, 2024
8d8f53b
Resolves #28 Tyr position
batstyx Feb 22, 2024
f3484fa
Version to 1.13.2
batstyx Feb 22, 2024
77a56c0
Revert 63452e10
batstyx Feb 22, 2024
63e5233
*Slightly* adjust Tyr margin
batstyx Feb 22, 2024
3157571
Update ChancesTracker for changes in AnimatedCard
batstyx Mar 15, 2024
dccbc07
Change AddTitle to virtual method
batstyx Mar 15, 2024
8c8e98b
Add TyrViewLeft and ChancesViewLeft settings
batstyx Mar 15, 2024
36d1d45
Use TyrViewLeft in TyrView layout
batstyx Mar 15, 2024
a2631cc
Adjust ChancesView layout to justify with other views
batstyx Mar 15, 2024
40bb732
Add DEBUGXAML borders
batstyx Mar 15, 2024
74d8fba
Add Endgame [Warlock] last demon death view
batstyx Mar 18, 2024
6bb40d2
Version to v1.14
batstyx Mar 18, 2024
f3f348c
Add Joymancer Jepetto view
batstyx Mar 31, 2024
1a45c59
Update Lady Liadrin spell list
batstyx Mar 31, 2024
92313ad
Version to 1.14.1
batstyx Mar 31, 2024
4600515
Fizzle Snapshot ordered by Zone Position
batstyx Apr 16, 2024
1f34b28
Version to 1.14.2
batstyx Apr 16, 2024
f59ede8
Cache PlayerCardList
batstyx May 20, 2024
ef806d3
Include E.T.C. Band in cached player card list
batstyx May 20, 2024
b508cf2
Conditionally clear Fizzle Snapshot
batstyx May 20, 2024
c8fa722
Version to 1.14.3
batstyx May 20, 2024
f98366b
Inventor Boom view
batstyx May 22, 2024
0bdc38d
HearthDb.dll to v31.0.0
batstyx Nov 3, 2024
025f917
HearthstoneDeckTracker.exe to v1.36.2.6905
batstyx Nov 3, 2024
3a1c4f5
Version to 1.16
batstyx Nov 3, 2024
87f3cb0
Add null check for PlayerSideboardsDict #38
joc256 Jan 4, 2025
975aad5
Merge branch 'pr/41'
batstyx Jan 5, 2025
e475d06
HearthstoneDeckTracker.exe to v1.38.1.6963
batstyx Jan 5, 2025
62ee82f
Version to 1.17
batstyx Jan 5, 2025
e2a4b53
Add Card Type is Minion check to N'zoth, GotD #37
batstyx Jan 6, 2025
0cfdd68
Version to 1.17.1
batstyx Jan 6, 2025
a0a0991
HearthstoneDeckTracker.exe to v1.43.1.7010
batstyx Mar 20, 2025
1d1ee64
Compatibility with Hearthstone-Deck-Tracker/96c5447
batstyx Mar 20, 2025
2406059
Compatibility with Hearthstone-Deck-Tracker/f8605c0
batstyx Mar 20, 2025
d3a5608
Version to 1.18
batstyx Mar 20, 2025
299690b
AnimatedCardList.Update is now async
joc256 Mar 30, 2025
14dc3be
AnimatedCardList.Update() now async
joc256 Mar 30, 2025
f93ff04
AnimatedCardList.Update() now async
joc256 Mar 30, 2025
1285977
AnimatedCardList.Update() now async
joc256 Mar 30, 2025
d227958
typo
joc256 Mar 30, 2025
2e81843
typo
joc256 Mar 30, 2025
839ba48
typo
joc256 Mar 30, 2025
091de4a
Update GitHub Actions
batstyx Apr 2, 2025
0dfcbb7
Update actions/upload-artifact verion
batstyx Apr 2, 2025
6069580
Correct upload artifact output
batstyx Apr 2, 2025
803efff
Rename step create_zip to name_zip
batstyx Apr 2, 2025
1d3e32c
Correct create_zip to name_zip ref
batstyx Apr 2, 2025
337f5f1
HearthstoneDeckTracker.exe to v1.43.3.7018
batstyx Apr 2, 2025
91271af
Update ReanimateView Catrina Muerte reference
batstyx Apr 2, 2025
c2ff7a8
ChancesTracker updated for AnimatedCardList changes
batstyx Apr 2, 2025
63a82fb
Correct AnimatedCardList UpdateAsync method calls to Update
batstyx Apr 2, 2025
d86f71f
Version to 1.18.1
batstyx Apr 4, 2025
0219eb6
Remove .GetAwaiter().GetResult() hack
batstyx Apr 4, 2025
497f799
Merge pull request #43 from joc256/master
batstyx Apr 6, 2025
b577973
Questline no longer supported
batstyx Jul 3, 2025
8d8ed64
Card List "Reset to Default" button
batstyx Jul 3, 2025
d89b3a5
Compare cards for view activation by name rather than id
batstyx Jul 4, 2025
ba1212f
HearthstoneDeckTracker.exe to v1.45.4.7074
batstyx Jul 4, 2025
8f592d6
Version to 1.19
batstyx Jul 4, 2025
db7aee1
Player 'Cards' setting
batstyx Jul 18, 2025
42ba6b3
Rename CardsDescriptions string to CardsDescription
batstyx Aug 6, 2025
ba059fb
HearthstoneDeckTracker.exe to v1.46.6.7098
batstyx Aug 12, 2025
2224bde
Merge pull request #44 from batstyx/little-things
batstyx Aug 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/build+upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Build+Upload
on:
pull_request:
branches: [ master ]
workflow_dispatch:

env:
PROJECT: ${{ 'Graveyard' }}

jobs:
build-and-upload:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3.5.2 # https://github.com/marketplace/actions/checkout
- name: Get Head Commit Message
id: get_head_commit
shell: pwsh
run: |
$Message = git log --format=%B -n 1 HEAD
Write-Output "title=$($Message | Select -First 1)" >> $Env:GITHUB_OUTPUT
$Body = $Message | Select -Skip 1
Write-Output "body=$Body" >> $Env:GITHUB_OUTPUT
$Body | Out-File Release.md
- uses: microsoft/setup-msbuild@v1.3.1 # https://github.com/marketplace/actions/setup-msbuild
- uses: NuGet/setup-nuget@v1.2.0 # https://github.com/marketplace/actions/setup-nuget-exe-for-use-with-actions
- run: .\scripts\update-libraries.ps1
- run: nuget restore "${{ env.PROJECT }}.sln"
- id: set_version
run: |
$build = 2000 + $env:GITHUB_RUN_NUMBER
$buildVersion = .\scripts\assembly-version.ps1 -project "${{ env.PROJECT }}" -build $build -overrideVersion ${{ github.ref }}
echo "buildVersion=$buildVersion" >> $env:GITHUB_OUTPUT
# https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
# https://stackoverflow.com/a/74377542/146360
- run: msbuild.exe "${{ env.PROJECT }}.sln" /p:platform="x86" /p:configuration="Release"
- id: name_zip
run: |
$zipName = "${{ env.PROJECT }}-v${{ steps.set_version.outputs.buildVersion }}"
echo "zipName=$zipName" >> $env:GITHUB_OUTPUT
- uses: actions/upload-artifact@v4.6.2 # https://github.com/marketplace/actions/upload-a-build-artifact
with:
name: "${{ steps.name_zip.outputs.zipName }}"
path: |
.\${{ env.PROJECT }}\bin\x86\Release\${{ env.PROJECT }}.dll
.\${{ env.PROJECT }}\bin\x86\Release\*-*
52 changes: 52 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Build+Release
on:
push:
branches: [ master ]
workflow_dispatch:

env:
PROJECT: ${{ 'Graveyard' }}

jobs:
build-and-release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3.5.2 # https://github.com/marketplace/actions/checkout
- name: Get Head Commit Message
id: get_head_commit
shell: pwsh
run: |
$Message = git log --format=%B -n 1 HEAD
Write-Output "title=$($Message | Select -First 1)" >> $Env:GITHUB_OUTPUT
$Body = $Message | Select -Skip 1
Write-Output "body=$Body" >> $Env:GITHUB_OUTPUT
$Body | Out-File Release.md
- uses: microsoft/setup-msbuild@v1.3.1 # https://github.com/marketplace/actions/setup-msbuild
- uses: NuGet/setup-nuget@v1.2.0 # https://github.com/marketplace/actions/setup-nuget-exe-for-use-with-actions
- run: .\scripts\update-libraries.ps1
- run: nuget restore "${{ env.PROJECT }}.sln"
- id: set_version
run: |
$build = 4000 + $env:GITHUB_RUN_NUMBER
$buildVersion = .\scripts\assembly-version.ps1 -project "${{ env.PROJECT }}" -build $build -overrideVersion ${{ github.ref }}
echo "buildVersion=$buildVersion" >> $env:GITHUB_OUTPUT
# https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
# https://stackoverflow.com/a/74377542/146360
- run: msbuild.exe "${{ env.PROJECT }}.sln" /p:platform="x86" /p:configuration="Release"
- id: create_zip
run: |
$zipName = "${{ env.PROJECT }}-v${{ steps.set_version.outputs.buildVersion }}.zip"
7z a $zipName .\${{ env.PROJECT }}\bin\x86\Release\${{ env.PROJECT }}.dll .\${{ env.PROJECT }}\bin\x86\Release\*-*
echo "zipName=$zipName" >> $env:GITHUB_OUTPUT
- uses: ncipollo/release-action@v1.12.0 # https://github.com/marketplace/actions/create-release
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: "v${{ steps.set_version.outputs.buildVersion }}: ${{ steps.get_head_commit.outputs.title }}"
bodyFile: Release.md
tag: v${{ steps.set_version.outputs.buildVersion }}
draft: false
prerelease: true
artifacts: "${{ steps.create_zip.outputs.zipName }}"
artifactContentType: "application/zip"
8 changes: 7 additions & 1 deletion Graveyard.sln
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Graveyard", "Graveyard\Graveyard.csproj", "{59C8CCA4-7F9B-4592-87A8-A23ADED7759E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{53E4F774-8043-46B4-B786-BB32DEDA2CF1}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{B860F31B-7A79-4229-864D-E02D5D1BBD76}"
ProjectSection(SolutionItems) = preProject
update-libraries.ps1 = update-libraries.ps1
scripts\assembly-version.ps1 = scripts\assembly-version.ps1
scripts\update-libraries.ps1 = scripts\update-libraries.ps1
EndProjectSection
EndProject
Global
Expand All @@ -30,6 +33,9 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{B860F31B-7A79-4229-864D-E02D5D1BBD76} = {53E4F774-8043-46B4-B786-BB32DEDA2CF1}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A5703983-F932-4DBC-94F0-0FE31B4E6A90}
EndGlobalSection
Expand Down
20 changes: 20 additions & 0 deletions Graveyard/AnimateDeadView.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using Hearthstone_Deck_Tracker.API;
using static HearthDb.CardIds.Collectible;

namespace HDT.Plugins.Graveyard
{
internal class AnimateDeadView
{
private static ViewConfig _Config;
internal static ViewConfig Config
{
get => _Config ?? (_Config = new ViewConfig(Priest.AnimateDead)
{
Name = "AnimateDead",
CreateView = () => new ChancesView(),
UpdateOn = GameEvents.OnPlayerPlayToGraveyard,
Condition = card => card.Type == "Minion" && card.Cost <= 3,
});
}
}
}
21 changes: 21 additions & 0 deletions Graveyard/AntonidasView.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using Hearthstone_Deck_Tracker.API;
using static HearthDb.CardIds.Collectible;

namespace HDT.Plugins.Graveyard
{
public class AntonidasView
{
private static MultiTurnView.ViewConfig _Config;
internal static ViewConfig Config
{
get => _Config ?? (_Config = new MultiTurnView.ViewConfig(Mage.GrandMagusAntonidas)
{
Name = "Antonidas",
Enabled = "AntonidasEnabled",
CreateView = () => new MultiTurnView(3),
UpdateOn = GameEvents.OnPlayerPlay,
Condition = card => card.GetSchool() == School.Fire,
});
}
}
}
Loading