fix copier token image

This commit is contained in:
Anthony Calosa
2017-01-26 15:32:17 +08:00
parent adcf6fb86d
commit 1428eeba06
10 changed files with 66 additions and 2 deletions

View File

@@ -261,6 +261,7 @@ int Damage::resolve()
if ( typeOfDamage == 1 && target == source->controller()->opponent() )//add vector prowledtypes.
{
source->controller()->dealsdamagebycombat = 1; // for restriction check
((MTGCardInstance*)source)->combatdamageToOpponent = true; //check
vector<string> values = MTGAllCards::getCreatureValuesById();//getting a weird crash here. rarely.
for (size_t i = 0; i < values.size(); ++i)
{