mirror of
https://github.com/correl/mage.git
synced 2024-11-22 03:00:11 +00:00
Fix #10517 (Herald's Horn)
This commit is contained in:
parent
231ab77bcd
commit
9cd42bc4a5
1 changed files with 3 additions and 0 deletions
|
@ -80,6 +80,9 @@ class HeraldsHornEffect extends OneShotEffect {
|
|||
// If it's a creature card of the chosen type, you may reveal it and put it into your hand.
|
||||
FilterCreatureCard filter = new FilterCreatureCard("creature card of the chosen type");
|
||||
SubType subtype = ChooseCreatureTypeEffect.getChosenCreatureType(source.getSourceId(), game);
|
||||
if (subtype == null) {
|
||||
return true;
|
||||
}
|
||||
filter.add(subtype.getPredicate());
|
||||
String message = "Reveal the top card of your library and put that card into your hand?";
|
||||
if (card != null) {
|
||||
|
|
Loading…
Reference in a new issue