* Some rework of card moving after spell countering.

This commit is contained in:
LevelX2 2015-11-05 00:37:30 +01:00
parent 1139495fd7
commit 3de7ff6808
13 changed files with 152 additions and 239 deletions

View file

@ -122,11 +122,12 @@ public class StackAbility extends StackObjImpl implements Ability {
@Override
public void counter(UUID sourceId, Game game) {
this.counter(sourceId, game, true);
// zone, owner, top ignored
this.counter(sourceId, game, Zone.GRAVEYARD, true, true);
}
@Override
public void counter(UUID sourceId, Game game, boolean moveToGraveyard) {
public void counter(UUID sourceId, Game game, Zone zone, boolean owner, boolean top) {
//20100716 - 603.8
if (ability instanceof StateTriggeredAbility) {
((StateTriggeredAbility) ability).counter(game);