magefree / magefree/mage

Hurkyl, Master Wizard allows for targeting of incorrect cards

Open
#10,116 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

When choosing cards during [[Hurkyl, Master Wizard]]'s triggered ability, the user is currently incorrectly able to select any of the revealed cards as opposed to just the cards that share a card type with a noncreature card cast by the user that turn. Selecting a creature in the case of the user only casting an enchantment and artifact, for example, will result in the other options being disabled, and shouldn't even be an option in the first place. See below for menu when only an artifact and enchantment were played on the turn. Note that all cards are available regardless of type.
![image](https://user-images.githubusercontent.com/26198472/224582315-9a66357a-f3d4-438d-8733-1badb45c107f.png)
When a creature is selected (shouldn't be possible), the other options become unavailable, even the enchantment and artifact.
![image](https://user-images.githubusercontent.com/26198472/224582405-44047569-64e3-4db3-86a4-d52ab09cf865.png)
The card only functions correctly if the user selects an appropriate card as their first selection, as that will remove the necessary cards from the pool of options. See below, where the artifact is selected and only the enchantment remains an option:
![image](https://user-images.githubusercontent.com/26198472/224582565-0176034d-dcce-4df5-bb6b-26b1b1f37171.png)
For some reason the limitation on what can be targeted is only being applied after the user has selected a card, and only if the card selected matches the limitations. Otherwise, no other cards can be chosen, and the one chosen card can be put into the user's hand.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.