- Support using art from standard (non-variant) Magic cards in PConq mode when there is no plane art available (e.g. for the newer sets like Kaladesh).

This commit is contained in:
Agetian
2017-07-02 09:23:41 +00:00
parent 2b5d3b0511
commit 07d65014ed
2 changed files with 18 additions and 4 deletions

View File

@@ -139,8 +139,12 @@ public class ConquestPlane {
for (String name : planeCardNames) {
PaperCard pc = variantCards.getCard(name);
if (pc == null) {
System.out.println("\"" + name + "\" does not correspond to a valid Plane card");
continue;
// try to get a non-variant Magic card in case a plane card with the given name does not exist
pc = FModel.getMagicDb().getCommonCards().getCard(name);
if (pc == null) {
System.out.println("\"" + name + "\" does not correspond to a valid Plane card or standard Magic card!");
continue;
}
}
planeCards.add(pc);
}