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;
|
int matches;
|
||||||
matches = td->match(source);
|
matches = td->match(source);
|
||||||
if (matches > 0) {
|
if (matches > 0) {
|
||||||
if (abilities.size()){
|
if (abilities.size() > matches){
|
||||||
removeAbilityFromGame();
|
removeAbilityFromGame();
|
||||||
}
|
}
|
||||||
for (int i = 0; i < matches; i++) {
|
for (int i = 0; i < matches - abilities.size(); i++) {
|
||||||
addAbilityToGame();
|
addAbilityToGame();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user