Fix send to library as a cost and add support for moving a card to
graveyard as a cost(cards like Void Attendant from Battle for Zendikar)
This commit is contained in:
Anthony Calosa
2016-05-29 17:56:33 +08:00
parent 506adf63c9
commit c472a0215d
3 changed files with 43 additions and 1 deletions

View File

@@ -155,6 +155,15 @@ public:
virtual ToLibraryCost * clone() const;
};
//toGraveyard cost
class ToGraveCost : public ExtraCost
{
public:
ToGraveCost(TargetChooser *_tc = NULL);
virtual int doPay();
virtual ToGraveCost * clone() const;
};
//Millyourself cost
class MillCost : public ExtraCost
{