Correction
This commit is contained in:
@@ -479,7 +479,7 @@ int AACopier::resolve()
|
|||||||
MTGCardInstance * myClone = NEW MTGCardInstance(clone, source->controller()->game);
|
MTGCardInstance * myClone = NEW MTGCardInstance(clone, source->controller()->game);
|
||||||
source->copy(myClone);
|
source->copy(myClone);
|
||||||
source->isACopier = true;
|
source->isACopier = true;
|
||||||
source->copiedID = _target->copiedID;
|
source->copiedID = _target->getMTGId();
|
||||||
source->modifiedbAbi = _target->modifiedbAbi;
|
source->modifiedbAbi = _target->modifiedbAbi;
|
||||||
source->origbasicAbilities = _target->origbasicAbilities;
|
source->origbasicAbilities = _target->origbasicAbilities;
|
||||||
if(_target->isMorphed)
|
if(_target->isMorphed)
|
||||||
|
|||||||
@@ -118,9 +118,14 @@ 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 = card->getMTGId(); ///////////////////////////////////////////////////
|
if(observer->players[1]->playMode == Player::MODE_TEST_SUITE)
|
||||||
setId = card->setId; // Copier/Cloner cards produces the same token...//
|
mtgid = backupid; // there must be a way to get the token id...
|
||||||
rarity = card->getRarity(); ///////////////////////////////////////////////////
|
else
|
||||||
|
{
|
||||||
|
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