Fixed all primitives with Escape cost, fixed token creation (the movedto triggers were not activating correctly due to a bug).

This commit is contained in:
valfieri
2020-10-18 17:28:25 +02:00
parent 8c39eac856
commit 939dc20855
3 changed files with 51 additions and 45 deletions

View File

@@ -4140,8 +4140,6 @@ public:
setTokenOwner();
tokenReciever->game->temp->addCard(myToken);
Spell * spell = NEW Spell(game, myToken);
spell->resolve();
myToken = spell->source;
spell->source->owner = tokenReciever;
spell->source->lastController = tokenReciever;
spell->source->isToken = 1;
@@ -4156,6 +4154,8 @@ public:
spell->source->setMTGId(-((MTGCardInstance*)source)->storedSourceCard->getMTGId());
}
}
spell->resolve();
myToken = spell->source;
if(aLivingWeapon)
{
livingWeaponToken(spell->source);