mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 03:39:54 -08:00
* Fixed that a player doing a library search with a stated quality (701.15b) couldn't fail to find a card if cards with the stated quality did exist in the searched library.
This commit is contained in:
parent
dbc9113d52
commit
8f64a2ab54
6 changed files with 183 additions and 45 deletions
|
|
@ -28,11 +28,10 @@
|
|||
package mage.sets.morningtide;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.abilities.effects.common.search.SearchLibraryPutInHandEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||
import mage.target.common.TargetCardInLibrary;
|
||||
|
|
@ -42,7 +41,7 @@ import mage.target.common.TargetCardInLibrary;
|
|||
*/
|
||||
public class IdyllicTutor extends CardImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterCard("enchantment");
|
||||
private static final FilterCard filter = new FilterCard("an enchantment");
|
||||
|
||||
static {
|
||||
filter.add(new CardTypePredicate(CardType.ENCHANTMENT));
|
||||
|
|
@ -52,7 +51,6 @@ public class IdyllicTutor extends CardImpl {
|
|||
super(ownerId, 12, "Idyllic Tutor", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{2}{W}");
|
||||
this.expansionSetCode = "MOR";
|
||||
|
||||
|
||||
// Search your library for an enchantment card, reveal it, and put it into your hand. Then shuffle your library.
|
||||
this.getSpellAbility().addEffect(new SearchLibraryPutInHandEffect(new TargetCardInLibrary(filter), true));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue