mirror of
https://github.com/correl/mage.git
synced 2025-01-13 03:00:10 +00:00
* Removed giving target info text because it was not removed if effect ends.
This commit is contained in:
parent
e9566dd9a5
commit
99d4aa2d7d
1 changed files with 1 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue