mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
* Bartered Cow - Fixed that it does nothing when discarded (fixes #6884).
This commit is contained in:
parent
f297f78cbc
commit
6e68e038b6
3 changed files with 90 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ public class DiscardCardControllerTriggeredAbility extends TriggeredAbilityImpl
|
|||
@Override
|
||||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
return event.getPlayerId().equals(getControllerId())
|
||||
&& filter.match(game.getCard(event.getTargetId()), getId(), getControllerId(), game);
|
||||
&& filter.match(game.getCard(event.getTargetId()), getSourceId(), getControllerId(), game);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue