Partial fix for Cards with Bestow
missing was to seperate the mode as aura enchantment or enchantment creature when cast and update the cost
This commit is contained in:
@@ -4539,6 +4539,23 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
//Extra for Bestow cards
|
||||
class AAuraIncreaseReduce: public AbilityTP
|
||||
{
|
||||
public:
|
||||
MTGCardInstance * manaReducer;
|
||||
int amount;
|
||||
int color;
|
||||
AAuraIncreaseReduce(GameObserver* observer, int _id, MTGCardInstance * _source, Targetable * _target, int amount, int color, int who = TargetChooser::UNSET);
|
||||
int addToGame();
|
||||
int destroy();
|
||||
int testDestroy();
|
||||
const string getMenuText();
|
||||
AAuraIncreaseReduce * clone() const;
|
||||
//~AAuraIncreaseReduce();
|
||||
|
||||
};
|
||||
|
||||
//Modify Hand
|
||||
class AModifyHand: public AbilityTP
|
||||
{
|
||||
|
||||
@@ -276,7 +276,7 @@ public:
|
||||
int forcedBorderA;
|
||||
int forcedBorderB;
|
||||
int myconvertedcost;
|
||||
ManaCost * computeNewCost(MTGCardInstance * card,ManaCost * oldCost, ManaCost * refCost,bool noTrinisphere = false);
|
||||
ManaCost * computeNewCost(MTGCardInstance * card,ManaCost * oldCost, ManaCost * refCost,bool noTrinisphere = false, bool bestow = false);
|
||||
int countTrini;
|
||||
bool anymanareplacement;
|
||||
vector<MTGCardInstance*>imprintedCards;
|
||||
|
||||
@@ -87,6 +87,8 @@ public:
|
||||
bool DeadLifeState(bool check = false);
|
||||
ManaCost * doesntEmpty;
|
||||
ManaCost * poolDoesntEmpty;
|
||||
ManaCost * AuraIncreased;
|
||||
ManaCost * AuraReduced;
|
||||
void cleanupPhase();
|
||||
virtual int Act(float)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user