Fix combat play phase on STS2 v0.104 - #75
Conversation
e5d6541 to
13484c1
Compare
|
Small note for review: I built and tested this against the current v0.104.0 DLL, where |
I typically do not add features to support the beta branch - I don't have enough energy (pun xD) to maintain compatibility with a nightly release so 🙇 maybe I'll push this off until the changes are live. Thanks for your work ⚡ When the API is actually removed this PR will be an immediate merge. |
|
Haha totally understandable, I like to play with the latest changes thats why I made it for myself. |
|
Seems like those changes are already covered in merged #123 PR |
Hi! This updates STS2MCP for the STS2 v0.104.0 combat API change where
CombatManager.IsPlayPhaseis no longer available.What changed:
IsPlayPhasecalls with a small helper based on combat state, player turn membership, and turn-ending/action-disabled flagsICombatStateValidation:
dotnet build STS2_MCP.csproj -c Release -o out/STS2_MCP -p:STS2GameDir="$HOME/Library/Application Support/Steam/steamapps/common/Slay the Spire 2"