Fix bug with the interaction between thisforeach and upcost that made the cost essentially unpayable.
This commit is contained in:
Binary file not shown.
@@ -1968,10 +1968,10 @@ class AThisForEach:public MTGAbility, public NestedAbility{
|
||||
int matches;
|
||||
matches = td->match(source);
|
||||
if (matches > 0) {
|
||||
if (abilities.size()){
|
||||
if (abilities.size() > matches){
|
||||
removeAbilityFromGame();
|
||||
}
|
||||
for (int i = 0; i < matches; i++) {
|
||||
for (int i = 0; i < matches - abilities.size(); i++) {
|
||||
addAbilityToGame();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user