Prefer ChainInfo activation snapshot over GetCurrentSolvingChainCard - #240
Open
Wind2009-Louse wants to merge 3 commits into
Open
Prefer ChainInfo activation snapshot over GetCurrentSolvingChainCard#240Wind2009-Louse wants to merge 3 commits into
Wind2009-Louse wants to merge 3 commits into
Conversation
…cks. * Update AI decks to utilize IsActivateCode for card activation checks, enhancing consistency and functionality across various executors.
Wind2009-Louse
force-pushed
the
patch-chain
branch
from
July 30, 2026 02:47
b124c20 to
f277c58
Compare
* Refactor AI executors to replace `GetCurrentSolvingChainCard` with `GetCurrentSolvingChainInfo`, improving clarity and consistency in card activation checks across multiple decks.
Wind2009-Louse
marked this pull request as draft
July 30, 2026 03:04
Wind2009-Louse
marked this pull request as ready for review
July 30, 2026 03:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
migrate(chain): 用 ChainInfo 发动快照替代 GetCurrentSolvingChainCard
Summary
ChainInfo.IsActivateCode,补充IList<int>/params int[]重载,统一用发动快照识别连锁源卡。GetCurrentSolvingChainCard/ChainInfo.IsCode(活卡)的判断,迁移为GetCurrentSolvingChainInfo+IsActivateCode/ActivateId/ActivatePlayer/ActivateSequence。RelatedCard;无连锁时选牌逻辑(Neko / MalissOCG)回退到当前Card。currentCard的ChainInfo变量统一重命名为currentChain。migrate(chain): prefer ChainInfo activation snapshot over GetCurrentSolvingChainCard
Summary
ChainInfo.IsActivateCodewithIList<int>/params int[]overloads so chain-source identification consistently uses the activation snapshot.GetCurrentSolvingChainCard/ChainInfo.IsCode(live card) toGetCurrentSolvingChainInfoplusIsActivateCode/ActivateId/ActivatePlayer/ActivateSequence.RelatedCardfor Infinite Impermanence column matching and debug logging; keep falling back to the currentCardwhen there is no resolving chain (Neko / MalissOCG).ChainInfolocals previously calledcurrentCardtocurrentChain.