* Cranial Archive - Fixed that the cost was defined as sacrifice instead of correctly exile (fixes #724).

This commit is contained in:
LevelX2 2015-02-16 00:24:25 +01:00
parent 2969ea2fac
commit 22d3a1f0a1

View file

@ -30,7 +30,7 @@ package mage.sets.khansoftarkir;
import java.util.UUID; import java.util.UUID;
import mage.abilities.Ability; import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.SacrificeSourceCost; import mage.abilities.costs.common.ExileSourceCost;
import mage.abilities.costs.mana.GenericManaCost; import mage.abilities.costs.mana.GenericManaCost;
import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.OneShotEffect;
import mage.cards.Card; import mage.cards.Card;
@ -55,7 +55,7 @@ public class CranialArchive extends CardImpl {
// {2}, Exile Cranial Archive: Target player shuffles his or her gravyeard into his or her library. Draw a card. // {2}, Exile Cranial Archive: Target player shuffles his or her gravyeard into his or her library. Draw a card.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CranialArchiveEffect(), new GenericManaCost(2)); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CranialArchiveEffect(), new GenericManaCost(2));
ability.addCost(new SacrificeSourceCost()); ability.addCost(new ExileSourceCost());
ability.addTarget(new TargetPlayer()); ability.addTarget(new TargetPlayer());
this.addAbility(ability); this.addAbility(ability);