mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
spjspj - More updates to edh Power Level.
This commit is contained in:
parent
7d67351921
commit
a5c677f72a
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue