From e2bc5756e030690e147016d00ac0737094ed87ed Mon Sep 17 00:00:00 2001 From: magenoxx Date: Mon, 11 Aug 2014 17:45:45 +0400 Subject: [PATCH] Requested card: Fire Covenant --- .../target/common/TargetCreaturePermanentAmount.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Mage/src/mage/target/common/TargetCreaturePermanentAmount.java b/Mage/src/mage/target/common/TargetCreaturePermanentAmount.java index 8cdfb2389e7..98f71ffcf4e 100644 --- a/Mage/src/mage/target/common/TargetCreaturePermanentAmount.java +++ b/Mage/src/mage/target/common/TargetCreaturePermanentAmount.java @@ -27,9 +27,6 @@ */ package mage.target.common; -import java.util.HashSet; -import java.util.Set; -import java.util.UUID; import mage.MageObject; import mage.abilities.Ability; import mage.abilities.dynamicvalue.DynamicValue; @@ -41,6 +38,10 @@ import mage.game.Game; import mage.game.permanent.Permanent; import mage.target.TargetAmount; +import java.util.HashSet; +import java.util.Set; +import java.util.UUID; + /** * @@ -54,6 +55,10 @@ public class TargetCreaturePermanentAmount extends TargetAmount { this(amount, new FilterCreaturePermanent()); } + public TargetCreaturePermanentAmount(DynamicValue amount) { + this(amount, new FilterCreaturePermanent()); + } + public TargetCreaturePermanentAmount(int amount, FilterCreaturePermanent filter) { this(new StaticValue(amount), filter); }