refactor all cards with affinity errata

This commit is contained in:
theelk801 2025-04-28 19:29:55 -04:00
parent 33012783a6
commit 0d10708635
14 changed files with 85 additions and 154 deletions

View file

@ -1,4 +1,3 @@
package mage.abilities.condition.common;
import mage.MageObjectReference;
@ -9,7 +8,6 @@ import mage.game.permanent.Permanent;
import mage.watchers.common.AttackedThisTurnWatcher;
/**
*
* @author LevelX2
*/
public enum AttackedThisTurnSourceCondition implements Condition {
@ -21,4 +19,9 @@ public enum AttackedThisTurnSourceCondition implements Condition {
AttackedThisTurnWatcher watcher = game.getState().getWatcher(AttackedThisTurnWatcher.class);
return sourcePermanent != null && watcher.getAttackedThisTurnCreatures().contains(new MageObjectReference(sourcePermanent, game));
}
@Override
public String toString() {
return "{this} attacked this turn";
}
}