This commit is contained in:
BetaSteward 2010-04-11 19:52:34 +00:00
parent 058af9a48e
commit cbb37e7933
126 changed files with 3253 additions and 911 deletions

View file

@ -42,17 +42,20 @@ import mage.game.events.GameEvent.EventType;
public class CantCounterSourceEffect extends ReplacementEffectImpl {
public CantCounterSourceEffect() {
super(Duration.OneShot, Outcome.Benefit);
super(Duration.WhileOnStack, Outcome.Benefit);
}
@Override
public boolean apply(Game game) {
return true;
}
@Override
public boolean replaceEvent(GameEvent event, Game game) {
return true;
}
@Override
public boolean applies(GameEvent event, Game game) {
if (event.getType() == EventType.COUNTER && event.getTargetId().equals(source.getSourceId()))
return true;