-
Notifications
You must be signed in to change notification settings - Fork 134
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
Update Card.IsRelateToEffect #450
base: master
Are you sure you want to change the base?
Conversation
The effect relation check should work in current chain resolving only, rather than any possible chains. This solves Fluorohydride/ygopro#2389 , without changing any scripts.
it will break this kind of check in condition and target |
In fact we have to tell what exactly a relation to an effect is.
Those checks are actually another meaning of |
What's more, I have checked every use of |
The issue here lies in the fact that the Effect object (which is unique and shared, like a Singleton) is being used all over the place to store individual properties tied to other factors, from the card relation which should be tied to the chain instead, the labels that could easily overlap if the same effect is used multiple times in the same chain, and other things |
@edo9300 in such cases checking relations to chain, use |
The effect relation check should work in current chain resolving only, rather than any possible chains.
This solves Fluorohydride/ygopro#2389 , without changing any scripts.