mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
- Little adjustments to 2 cards.
This commit is contained in:
parent
9a1eb51506
commit
a8f8697a25
2 changed files with 4 additions and 4 deletions
|
@ -96,7 +96,7 @@ class AdviceFromTheFaeEffect extends OneShotEffect {
|
|||
MageObject mageObject = game.getObject(source.getSourceId());
|
||||
if (controller != null) {
|
||||
List<Card> cardsFromTopLibrary = controller.getLibrary().getTopCards(game, 5);
|
||||
Cards cards = new CardsImpl(Zone.HAND);
|
||||
Cards cards = new CardsImpl(Zone.LIBRARY);
|
||||
for (Card card : cardsFromTopLibrary) {
|
||||
cards.add(card);
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ class AdviceFromTheFaeEffect extends OneShotEffect {
|
|||
}
|
||||
}
|
||||
if (game.getBattlefield().countAll(new FilterControlledCreaturePermanent(), controller.getId(), game) > max) {
|
||||
TargetCard target = new TargetCard(2, Zone.HAND, new FilterCard());
|
||||
TargetCard target = new TargetCard(2, Zone.LIBRARY, new FilterCard());
|
||||
if (controller.choose(Outcome.DrawCard, cards, target, game)) {
|
||||
controller.moveCardToHandWithInfo(game.getCard(target.getFirstTarget()), source.getId(), game, Zone.LIBRARY);
|
||||
cards.remove(game.getCard(target.getFirstTarget()));
|
||||
|
@ -120,7 +120,7 @@ class AdviceFromTheFaeEffect extends OneShotEffect {
|
|||
cards.remove(game.getCard(target.getTargets().get(1)));
|
||||
}
|
||||
} else {
|
||||
TargetCard target = new TargetCard(1, Zone.HAND, new FilterCard());
|
||||
TargetCard target = new TargetCard(1, Zone.LIBRARY, new FilterCard());
|
||||
if (controller.choose(Outcome.DrawCard, cards, target, game)) {
|
||||
controller.moveCardToHandWithInfo(game.getCard(target.getFirstTarget()), source.getId(), game, Zone.LIBRARY);
|
||||
cards.remove(game.getCard(target.getFirstTarget()));
|
||||
|
|
|
@ -117,7 +117,7 @@ class TargetTwoCardsWithTheSameColorInHand extends TargetCardInHand {
|
|||
Cards cardsToCheck = new CardsImpl();
|
||||
cardsToCheck.addAll(possibleTargets);
|
||||
if (targets.size() == 1) {
|
||||
// first target is laready choosen, now only targets with the same name are selectable
|
||||
// first target is already choosen, now only targets with the shared color are selectable
|
||||
for (Map.Entry<UUID, Integer> entry : targets.entrySet()) {
|
||||
Card chosenCard = cardsToCheck.get(entry.getKey(), game);
|
||||
if (chosenCard != null) {
|
||||
|
|
Loading…
Reference in a new issue