Fixed Aether Figment. +1 test passed.

This commit is contained in:
magenoxx 2012-05-23 21:53:15 +04:00
parent 71eafef343
commit a96bb99199

View file

@ -28,20 +28,21 @@
package mage.sets.zendikar;
import java.util.UUID;
import mage.Constants.CardType;
import mage.Constants.Rarity;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldAbility;
import mage.abilities.condition.common.KickedCondition;
import mage.abilities.costs.mana.GenericManaCost;
import mage.abilities.costs.mana.KickerManaCost;
import mage.abilities.decorator.ConditionalOneShotEffect;
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
import mage.abilities.keyword.UnblockableAbility;
import mage.cards.CardImpl;
import mage.counters.CounterType;
import java.util.UUID;
/**
* @author nantuko, BetaSteward_at_googlemail.com
*/
@ -61,7 +62,7 @@ public class AetherFigment extends CardImpl<AetherFigment> {
this.addAbility(UnblockableAbility.getInstance());
// Kicker {3}
this.getSpellAbility().addOptionalCost(new GenericManaCost(3));
this.getSpellAbility().addOptionalCost(new KickerManaCost("{3}"));
// If AEther Figment was kicked, it enters the battlefield with two +1/+1 counters on it
Ability ability = new EntersBattlefieldAbility(new ConditionalOneShotEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance(2)), KickedCondition.getInstance(), ""), staticText);