mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 05:52:06 -08:00
- Fixed #7122
This commit is contained in:
parent
f90ad78b26
commit
9f3ac5b5bb
2 changed files with 4 additions and 4 deletions
|
|
@ -113,7 +113,7 @@ class HaldanAvidArcanistSpendAnyManaEffect extends AsThoughEffectImpl implements
|
|||
|
||||
@Override
|
||||
public boolean applies(UUID objectId, Ability source, UUID affectedControllerId, Game game) {
|
||||
return HaldanAvidArcanist.checkCard(objectId, source, affectedControllerId, game);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -64,8 +64,8 @@ class PakoArcaneRetrieverEffect extends OneShotEffect {
|
|||
|
||||
PakoArcaneRetrieverEffect() {
|
||||
super(Outcome.Benefit);
|
||||
staticText = "exile the top card of each player's library and put a fetch counter on each of them. " +
|
||||
"Put a +1/+1 counter on {this} for each noncreature card exiled this way.";
|
||||
staticText = "exile the top card of each player's library and put a fetch counter on each of them. "
|
||||
+ "Put a +1/+1 counter on {this} for each noncreature card exiled this way.";
|
||||
}
|
||||
|
||||
private PakoArcaneRetrieverEffect(final PakoArcaneRetrieverEffect effect) {
|
||||
|
|
@ -129,7 +129,7 @@ class PakoArcaneRetrieverWatcher extends Watcher {
|
|||
|
||||
boolean checkCard(UUID playerId, Card card, Game game) {
|
||||
return card != null && playerMap
|
||||
.computeIfAbsent(playerId, u -> new HashSet<MageObjectReference>())
|
||||
.computeIfAbsent(playerId, u -> new HashSet<>())
|
||||
.stream()
|
||||
.anyMatch(mageObjectReference -> mageObjectReference.refersTo(card.getId(), game));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue