From f52bc17ca54208d676777eb753003c16f909b32a Mon Sep 17 00:00:00 2001 From: Jeff Date: Mon, 13 Mar 2017 15:31:27 -0500 Subject: [PATCH] - Fixed Declaration In Stone. --- Mage.Sets/src/mage/cards/d/DeclarationInStone.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/d/DeclarationInStone.java b/Mage.Sets/src/mage/cards/d/DeclarationInStone.java index 68012bb703..9e78e4d6ed 100644 --- a/Mage.Sets/src/mage/cards/d/DeclarationInStone.java +++ b/Mage.Sets/src/mage/cards/d/DeclarationInStone.java @@ -98,7 +98,10 @@ class DeclarationInStoneEffect extends OneShotEffect { nonTokenCount++; } } else { - cardsToExile.add(targetPermanent); + if (cardsToExile.add(targetPermanent) + && !(targetPermanent instanceof PermanentToken)) { + nonTokenCount++; + } for (Permanent permanent : game.getBattlefield().getAllActivePermanents(new FilterCreaturePermanent(), targetPermanent.getControllerId(), game)) { if (!permanent.getId().equals(targetPermanent.getId()) && permanent.getName().equals(targetPermanent.getName())) { @@ -112,6 +115,7 @@ class DeclarationInStoneEffect extends OneShotEffect { } controller.moveCards(cardsToExile, Zone.EXILED, source, game); game.applyEffects(); + System.out.println("The nonTokenCount is " + nonTokenCount); if (nonTokenCount > 0) { new ClueArtifactToken().putOntoBattlefield(nonTokenCount, game, source.getSourceId(), targetPermanent.getControllerId(), false, false); }