- minor fix in Zethfox cards addon (Bad lines error from parser)
- Zethfox's patch for {t(target)} as an extra Cost. Works the same way as sacrifice, check Azami, Lady of Scrolls for an example
- fixed compilation on the PSP (sorry!)
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-08-01 03:21:59 +00:00
parent f40af0b1cb
commit ce69e23357
10 changed files with 137 additions and 10 deletions

View File

@@ -55,6 +55,20 @@ public:
virtual SacrificeCost * clone() const;
};
//tap other cost
class TapTargetCost: public ExtraCost{
public:
MTGCardInstance * target;
TapTargetCost(TargetChooser *_tc = NULL);
virtual int setPayment(MTGCardInstance * card);
virtual int isPaymentSet();
virtual int canPay();
virtual int doPay();
virtual void Render();
virtual int setSource(MTGCardInstance * _source);
virtual TapTargetCost * clone() const;
};
class CounterCost: public ExtraCost{
public:
Counter * counter;