mirror of
https://github.com/magefree/mage.git
synced 2026-01-17 17:06:45 -08:00
[FIN] Implement Memories Returning
This commit is contained in:
parent
5e03fda7e9
commit
85d85a4b17
36 changed files with 168 additions and 40 deletions
|
|
@ -1,6 +1,5 @@
|
|||
package mage.abilities.effects.common;
|
||||
|
||||
import mage.MageObject;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.cards.Card;
|
||||
|
|
@ -46,6 +45,6 @@ public class PutOnLibrarySourceEffect extends OneShotEffect {
|
|||
if (onTop) {
|
||||
return player.putCardsOnTopOfLibrary(card, game, source, false);
|
||||
}
|
||||
return player.putCardsOnBottomOfLibrary(card, game, source, false);
|
||||
return player.putCardsOnBottomOfLibrary(card, game, source);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -715,7 +715,7 @@ public interface Player extends MageItem, Copyable<Player> {
|
|||
*/
|
||||
boolean putCardsOnBottomOfLibrary(Cards cards, Game game, Ability source, boolean anyOrder);
|
||||
|
||||
boolean putCardsOnBottomOfLibrary(Card card, Game game, Ability source, boolean anyOrder);
|
||||
boolean putCardsOnBottomOfLibrary(Card card, Game game, Ability source);
|
||||
|
||||
/**
|
||||
* Moves the card to the top x position of the library
|
||||
|
|
|
|||
|
|
@ -1034,8 +1034,8 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean putCardsOnBottomOfLibrary(Card card, Game game, Ability source, boolean anyOrder) {
|
||||
return putCardsOnBottomOfLibrary(new CardsImpl(card), game, source, anyOrder);
|
||||
public boolean putCardsOnBottomOfLibrary(Card card, Game game, Ability source) {
|
||||
return putCardsOnBottomOfLibrary(new CardsImpl(card), game, source, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue