Add TapSourceCost

This commit is contained in:
jmharmon 2019-09-04 00:15:49 -07:00 committed by GitHub
parent 95ef0d933c
commit 9f304bf4ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,6 +44,7 @@ public final class FoodToken extends TokenImpl {
// {2}, {T}, Sacrifice this artifact: You gain 3 life.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(3), new GenericManaCost(2));
ability.addCost(new TapSourceCost());
SacrificeSourceCost cost = new SacrificeSourceCost();
cost.setText("Sacrifice this artifact");
ability.addCost(cost);