[DMU] Implemented The Raven Man

This commit is contained in:
Daniel Bomar 2022-08-22 11:42:18 -05:00
parent aea8c82728
commit 0d705fdea6
No known key found for this signature in database
GPG key ID: C86C8658F4023918
5 changed files with 131 additions and 0 deletions

View file

@ -0,0 +1,24 @@
package mage.abilities.condition.common;
import mage.abilities.Ability;
import mage.abilities.condition.Condition;
import mage.game.Game;
import mage.watchers.common.DiscardedCardWatcher;
/**
*
* @author weirddan455
*/
public enum PlayerDiscardedThisTurnCondition implements Condition {
instance;
@Override
public boolean apply(Game game, Ability source) {
return DiscardedCardWatcher.playerInRangeDiscarded(source.getControllerId(), game);
}
@Override
public String toString() {
return "a player discarded a card this turn";
}
}