mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Merge pull request #5233 from tool4ever/fix13
Refactor Maestros Ascendancy
This commit is contained in:
@@ -370,7 +370,8 @@ public class ComputerUtil {
|
||||
if (c.isCreature()) {
|
||||
if (ComputerUtilCard.isUselessCreature(ai, c) || ComputerUtilCard.evaluateCreature(c) <= threshold) {
|
||||
continue;
|
||||
} else if (ComputerUtilCard.hasActiveUndyingOrPersist(c)) {
|
||||
}
|
||||
if (ComputerUtilCard.hasActiveUndyingOrPersist(c)) {
|
||||
continue;
|
||||
}
|
||||
toRemove.add(c);
|
||||
|
||||
@@ -381,8 +381,6 @@ public class ComputerUtilCost {
|
||||
continue;
|
||||
}
|
||||
|
||||
final CardCollection sacList = new CardCollection();
|
||||
|
||||
boolean differentNames = false;
|
||||
if (type.contains("+WithDifferentNames")) {
|
||||
type = type.replace("+WithDifferentNames", "");
|
||||
@@ -411,7 +409,6 @@ public class ComputerUtilCost {
|
||||
if (prefCard == null) {
|
||||
return false;
|
||||
}
|
||||
sacList.add(prefCard);
|
||||
typeList.remove(prefCard);
|
||||
count++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user