Cloner/Copier produces same tokens as the copied cards

This commit is contained in:
Anthony Calosa
2016-06-05 17:58:49 +08:00
parent fbfc712d4c
commit 2ae0a651b8

View File

@@ -118,7 +118,9 @@ void MTGCardInstance::copy(MTGCardInstance * card)
AbilityFactory af(observer);
af.addAbilities(observer->mLayers->actionLayer()->getMaxId(), spell);
delete spell;
mtgid = backupid;
mtgid = card->getMTGId(); ///////////////////////////////////////////////////
setId = card->setId; // Copier/Cloner cards produces the same token...//
rarity = card->getRarity(); ///////////////////////////////////////////////////
castMethod = castMethodBackUP;
backupTargets = this->backupTargets;
storedCard = oldStored;