mirror of
https://github.com/correl/mage.git
synced 2025-01-13 03:00:10 +00:00
Some minor changes to cards.
This commit is contained in:
parent
c0ad7d6fe6
commit
04d4e2cfd8
2 changed files with 3 additions and 3 deletions
|
@ -93,7 +93,7 @@ class SkymarkRocAbility extends TriggeredAbilityImpl {
|
|||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
if (event.getType() == GameEvent.EventType.ATTACKER_DECLARED && event.getSourceId().equals(this.getSourceId())) {
|
||||
FilterCreaturePermanent filter = new FilterCreaturePermanent("creature defending player controls with toughness 2 or less");
|
||||
UUID defenderId = game.getCombat().getDefenderId(sourceId);
|
||||
UUID defenderId = game.getCombat().getDefendingPlayerId(sourceId, game);
|
||||
filter.add(new ControllerIdPredicate(defenderId));
|
||||
filter.add(new ToughnessPredicate(Filter.ComparisonType.LessThan, 3));
|
||||
|
||||
|
|
|
@ -133,9 +133,9 @@ class NorinTheWaryRemovingEffect extends OneShotEffect {
|
|||
delayedAbility.setSourceId(source.getSourceId());
|
||||
delayedAbility.setControllerId(source.getControllerId());
|
||||
game.addDelayedTriggeredAbility(delayedAbility);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue