Fixed generic Affinity ability, fixzed some primitives with affinity abilities.

This commit is contained in:
Vittorio Alfieri
2023-05-26 21:36:11 +02:00
parent 3dfd3253b2
commit ad9ea0f972
2 changed files with 36 additions and 146 deletions

View File

@@ -1271,7 +1271,7 @@ ManaCost * MTGCardInstance::computeNewCost(MTGCardInstance * card,ManaCost * Cos
SAFE_DELETE(tcn);
ManaCost * removingCost = ManaCost::parseManaCost(newAff->manaString);
for (int j = 0; j < reducem; j++)
original->remove(removingCost);
Cost->remove(removingCost);
SAFE_DELETE(removingCost);
}
}//end2