* Hollowsage - Fixed that it wrongly triggered on tapping insteadof untapping.

This commit is contained in:
LevelX2 2015-05-14 22:54:18 +02:00
parent 15bb4521f3
commit 21860fa8be

View file

@ -54,7 +54,6 @@ public class Hollowsage extends CardImpl {
this.subtype.add("Merfolk");
this.subtype.add("Wizard");
this.color.setBlack(true);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
@ -94,12 +93,14 @@ class BecomesUntappedTriggeredAbility extends TriggeredAbilityImpl {
return new BecomesUntappedTriggeredAbility(this);
}
@Override
public boolean checkEventType(GameEvent event, Game game) {
return event.getType() == EventType.UNTAPPED;
}
@Override
public boolean checkTrigger(GameEvent event, Game game) {
if (event.getType() == EventType.TAPPED && event.getTargetId().equals(sourceId)) {
return true;
}
return false;
return event.getTargetId().equals(sourceId);
}
@Override