spjspj - More updates to edh Power Level.

This commit is contained in:
spjspj 2016-12-08 10:54:45 +11:00
parent 7d67351921
commit a5c677f72a

View file

@ -225,6 +225,7 @@ public class Commander extends Constructed {
boolean cantBe = false; boolean cantBe = false;
boolean copy = false; boolean copy = false;
boolean costLessEach = false; boolean costLessEach = false;
boolean createToken = false;
boolean dredge = false; boolean dredge = false;
boolean exile = false; boolean exile = false;
boolean exileAll = false; boolean exileAll = false;
@ -275,6 +276,7 @@ public class Commander extends Constructed {
copy |= s.contains("copy"); copy |= s.contains("copy");
costLessEach |= s.contains("cost") || s.contains("less") || s.contains("each"); costLessEach |= s.contains("cost") || s.contains("less") || s.contains("each");
counter |= s.contains("counter") && s.contains("target"); counter |= s.contains("counter") && s.contains("target");
createToken |= s.contains("create") && s.contains("token");
destroy |= s.contains("destroy"); destroy |= s.contains("destroy");
destroyAll |= s.contains("destroy all"); destroyAll |= s.contains("destroy all");
doesntUntap |= s.contains("doesn't untap"); doesntUntap |= s.contains("doesn't untap");
@ -394,6 +396,9 @@ public class Commander extends Constructed {
if (anyNumberOfTarget) { if (anyNumberOfTarget) {
thisMaxPower = Math.max(thisMaxPower, 3); thisMaxPower = Math.max(thisMaxPower, 3);
} }
if (createToken) {
thisMaxPower = Math.max(thisMaxPower, 3);
}
if (destroyAll) { if (destroyAll) {
thisMaxPower = Math.max(thisMaxPower, 3); thisMaxPower = Math.max(thisMaxPower, 3);
} }