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:
@@ -49,6 +49,8 @@ Player::Player(GameObserver *observer, string file, string fileSmall, MTGDeck *
|
||||
prowledTypes.clear();
|
||||
doesntEmpty = NEW ManaCost();
|
||||
poolDoesntEmpty = NEW ManaCost();
|
||||
AuraIncreased = NEW ManaCost();
|
||||
AuraReduced = NEW ManaCost();
|
||||
if (deck != NULL)
|
||||
{
|
||||
game = NEW MTGPlayerCards(deck);
|
||||
@@ -82,6 +84,8 @@ Player::~Player()
|
||||
SAFE_DELETE(manaPool);
|
||||
SAFE_DELETE(doesntEmpty);
|
||||
SAFE_DELETE(poolDoesntEmpty);
|
||||
SAFE_DELETE(AuraIncreased);
|
||||
SAFE_DELETE(AuraReduced);
|
||||
SAFE_DELETE(game);
|
||||
if(mAvatarTex && observer->getResourceManager())
|
||||
observer->getResourceManager()->Release(mAvatarTex);
|
||||
|
||||
Reference in New Issue
Block a user