Cloner/Copier produces same tokens as the copied cards
This commit is contained in:
@@ -118,7 +118,9 @@ void MTGCardInstance::copy(MTGCardInstance * card)
|
|||||||
AbilityFactory af(observer);
|
AbilityFactory af(observer);
|
||||||
af.addAbilities(observer->mLayers->actionLayer()->getMaxId(), spell);
|
af.addAbilities(observer->mLayers->actionLayer()->getMaxId(), spell);
|
||||||
delete spell;
|
delete spell;
|
||||||
mtgid = backupid;
|
mtgid = card->getMTGId(); ///////////////////////////////////////////////////
|
||||||
|
setId = card->setId; // Copier/Cloner cards produces the same token...//
|
||||||
|
rarity = card->getRarity(); ///////////////////////////////////////////////////
|
||||||
castMethod = castMethodBackUP;
|
castMethod = castMethodBackUP;
|
||||||
backupTargets = this->backupTargets;
|
backupTargets = this->backupTargets;
|
||||||
storedCard = oldStored;
|
storedCard = oldStored;
|
||||||
|
|||||||
Reference in New Issue
Block a user