Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to distinguish same cards with different additional information #154

Open
Kuleres opened this issue Nov 15, 2022 · 1 comment
Open

Comments

@Kuleres
Copy link

Kuleres commented Nov 15, 2022

我在编写关于珠泪的融合效果的过程中遇到了如下的问题:
同一区域内的多张同名卡中的一张在连锁上发动效果的情况下,我希望使用SelectCard()选择那些卡中未在连锁上发动过效果的一张卡。但这一方法并不能区分他们。
如何区分同一卡名的多张卡当中有附加信息的卡并选择他们?
I encountered the following problems in the process of writing about the fusion effect of [Tearalaments]:
When one of the multiple cards with the same name in the same area activate an effect on the chain, I want to use SelectCard() to select the one that has not activated the effect on the chain. But this function can't distinguish them.
How to distinguish the cards with additional information among multiple cards with the same card name and select them?

@mercury233
Copy link
Collaborator

Duel.CurrentChain包含当前连锁上的卡,所以可以遍历得到要选的ClientCard,再用SelectCard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants