mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Hollowsage - Fixed that it wrongly triggered on tapping insteadof untapping.
This commit is contained in:
parent
15bb4521f3
commit
21860fa8be
1 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue