mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
* Taj-Nar Swordsmith - Fixed that the searched card was returned to hand instead correctly to battlefield.
This commit is contained in:
parent
54be23cb41
commit
4c60eba7e6
1 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
|||
import mage.abilities.costs.Cost;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.effects.common.search.SearchLibraryPutInHandEffect;
|
||||
import mage.abilities.effects.common.search.SearchLibraryPutInPlayEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Outcome;
|
||||
|
|
@ -101,7 +101,7 @@ class TajNarSwordsmithEffect extends OneShotEffect {
|
|||
FilterCard filter = new FilterCard("Equipment card with converted mana cost " + costX + " or less");
|
||||
filter.add(new SubtypePredicate("Equipment"));
|
||||
filter.add(new ConvertedManaCostPredicate(ComparisonType.LessThan, costX + 1));
|
||||
new SearchLibraryPutInHandEffect(new TargetCardInLibrary(0, 1, filter), true, true).apply(game, source);
|
||||
new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(0, 1, filter), false, true).apply(game, source);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue