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

magar_of_the_magic_strings.txt bug fix #6618

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Northmoc
Copy link
Contributor

closes #6422

@Northmoc Northmoc added Card Patch Fixing bugged card scripts Unfinity Wacky stuff labels Nov 23, 2024
Copy link
Contributor

@Hanmac Hanmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good for now?

@@ -3004,7 +3004,7 @@ public static final List<SpellAbility> getSpellsFromPlayEffect(final Card tgtCar
sp.setCardState(original);
list.add(sp);
}
if (tgtCard.isModal()) {
if (tgtCard.isModal() && tgtCard.getState(CardStateName.Modal) != null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hasState() seems cleaner?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Card Patch Fixing bugged card scripts Unfinity Wacky stuff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NPE when casting spells copied with Magar of the Magic Strings
3 participants