Added CC1 set, added/fixed primitives related to commander abilities, fixed cost increase for Commanders who have been cast multiple times.

This commit is contained in:
valfieri
2020-12-09 15:23:15 +01:00
parent 7c696ac213
commit 16e6df9503
7 changed files with 370 additions and 101 deletions
+1 -1
View File
@@ -490,7 +490,7 @@ MTGCardInstance * MTGPlayerCards::putInZone(MTGCardInstance * card, MTGGameZone
}
//Increase the number of time this card has been casted from commandzone to recalculate cost.
if(from == g->players[0]->game->commandzone || from == g->players[1]->game->commandzone){
if(from != to && (from == g->players[0]->game->commandzone || from == g->players[1]->game->commandzone)){
card->numofcastfromcommandzone++;
card->controller()->numOfCommandCast++;
}