fix for cumulative upcost, extra cost were not being multiplied

[card]
name=Phyrexian Soulgorger
auto=cumulativeupcost[{S(creature|myBattlefield)}] sacrifice
text=Cumulative upkeep - Sacrifice a creature. (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.)
mana={3}
type=Snow Artifact Creature
subtype=Construct
power=8
toughness=8
[/card]
was only charging you 1 sacrifice per upkeep.

added thisTargetComparison, this(cantargetcard(targetchooser))...its a thisdescriptor that compares if the card can be targeted by a target chooser...
This commit is contained in:
omegablast2002@yahoo.com
2011-12-29 19:55:45 +00:00
parent 311c280427
commit be33659081
6 changed files with 58 additions and 1 deletions
+9
View File
@@ -25,6 +25,15 @@ public:
ThisDescriptor * createThisDescriptor(GameObserver* observer, string s);
};
class ThisTargetCompare:public ThisDescriptor{
public:
TargetChooser * targetComp;
virtual int match(MTGCardInstance * card);
ThisTargetCompare(TargetChooser * tcc = NULL);
~ThisTargetCompare();
ThisTargetCompare * clone() const;
};
class ThisCounter:public ThisDescriptor{
public:
Counter * counter;