mirror of
https://github.com/correl/mage.git
synced 2025-04-05 09:12:29 -09:00
* Chord of Calling - Fixed that it was mandatory to find a card if it did exist.
This commit is contained in:
parent
f61aa848cc
commit
18ce6a0305
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class ChordofCallingSearchEffect extends OneShotEffect {
|
|||
filter.add(new CardTypePredicate(CardType.CREATURE));
|
||||
//Set the mana cost one higher to 'emulate' a less than or equal to comparison.
|
||||
filter.add(new ConvertedManaCostPredicate(Filter.ComparisonType.LessThan, xCost + 1));
|
||||
TargetCardInLibrary target = new TargetCardInLibrary(filter);
|
||||
TargetCardInLibrary target = new TargetCardInLibrary(0,1,filter);
|
||||
if (player.searchLibrary(target, game)) {
|
||||
if (target.getTargets().size() > 0) {
|
||||
Card card = player.getLibrary().getCard(target.getFirstTarget(), game);
|
||||
|
|
Loading…
Add table
Reference in a new issue