mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
[VOW] fixed Savior of Ollenbock issues (fixes #8786)
This commit is contained in:
parent
f28643d0f6
commit
effdf14579
4 changed files with 102 additions and 3 deletions
|
|
@ -239,7 +239,7 @@ public class TargetCard extends TargetObject {
|
|||
Card card = game.getCard(id);
|
||||
return card != null
|
||||
&& zone != null && zone.match(game.getState().getZone(id))
|
||||
&& getFilter() != null && getFilter().match(card, playerId, game);
|
||||
&& getFilter() != null && getFilter().match(card, playerId, source, game);
|
||||
}
|
||||
|
||||
public boolean canTarget(UUID playerId, UUID id, Ability source, Cards cards, Game game) {
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ public class TargetCardInGraveyardOrBattlefield extends TargetCard {
|
|||
if (!super.canTarget(id, source, game)) { // in graveyard first
|
||||
Permanent permanent = game.getPermanent(id);
|
||||
if (permanent != null) {
|
||||
return filterBattlefield.match(permanent, game);
|
||||
return filterBattlefield.match(permanent, source.getControllerId(), source, game);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue