* Removed giving target info text because it was not removed if effect ends.

This commit is contained in:
LevelX2 2013-10-30 16:57:52 +01:00
parent e9566dd9a5
commit 99d4aa2d7d

View file

@ -65,14 +65,10 @@ public class SkipUntapTargetEffect extends ReplacementEffectImpl<SkipUntapTarget
@Override
public boolean replaceEvent(GameEvent event, Ability source, Game game) {
Permanent creature = game.getPermanent(event.getTargetId());
if (creature != null) {
Permanent sourcePermanent = game.getPermanent(source.getSourceId());
creature.addInfo(source.getSourceId().toString(), new StringBuilder("Does not untap during untap step [").append(sourcePermanent.getName()).append("]").toString());
}
return true;
}
@Override
public boolean applies(GameEvent event, Ability source, Game game) {
if (game.getTurn().getStepType() == PhaseStep.UNTAP && event.getType() == EventType.UNTAP) {