[OTJ] Implement Plan the Heist

This commit is contained in:
theelk801 2024-03-26 16:50:28 -04:00
parent 64507a5191
commit 6142d46cfc
4 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,35 @@
package mage.abilities.keyword;
import mage.abilities.SpecialAction;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.cards.Card;
import mage.constants.TimingRule;
import mage.constants.Zone;
/**
* TODO: Implement this
*
* @author TheElk801
*/
public class PlotAbility extends SpecialAction {
public PlotAbility(Card card, String plotCost) {
super(Zone.HAND);
this.addCost(new ManaCostsImpl<>(plotCost));
this.setTiming(TimingRule.SORCERY);
}
private PlotAbility(final PlotAbility ability) {
super(ability);
}
@Override
public PlotAbility copy() {
return new PlotAbility(this);
}
@Override
public String getRule() {
return "Plot";
}
}