mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
[OTJ] Implement Plan the Heist
This commit is contained in:
parent
64507a5191
commit
6142d46cfc
4 changed files with 84 additions and 0 deletions
35
Mage/src/main/java/mage/abilities/keyword/PlotAbility.java
Normal file
35
Mage/src/main/java/mage/abilities/keyword/PlotAbility.java
Normal 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";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue