mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
Merge pull request #2663 from spjspj/master
spjspj - More updates to edh Power Level.
This commit is contained in:
commit
2bec9aa4b1
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