- new features by Zethfox:
-- "oneshot" optional parameters for lords (helps fixing issues with bouncelands)
-- Life as a cost (avoids using a dirty trick of paying life as an effect)
-- set life total abilitiy (lifeset
-- new auto lines: autostack, autoexile

The test suite passes with these changes, also no test using these abilities has been added yet
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-08-08 14:04:37 +00:00
parent 3d3b4112cb
commit 47c9ad1b65
5 changed files with 174 additions and 2 deletions
+14
View File
@@ -55,6 +55,20 @@ public:
virtual SacrificeCost * clone() const;
};
//life cost
class LifeCost: public ExtraCost{
public:
MTGCardInstance * target;
LifeCost(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 LifeCost * clone() const;
};
//tap other cost
class TapTargetCost: public ExtraCost{
public: