mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 05:09:16 -08:00
spjspj - Final.. update to edh Power Level.
This commit is contained in:
parent
9caaf0d5be
commit
8680ab212f
1 changed files with 12 additions and 2 deletions
|
|
@ -249,6 +249,7 @@ public class Commander extends Constructed {
|
||||||
boolean miracle = false;
|
boolean miracle = false;
|
||||||
boolean overload = false;
|
boolean overload = false;
|
||||||
boolean persist = false;
|
boolean persist = false;
|
||||||
|
boolean preventDamage = false;
|
||||||
boolean proliferate = false;
|
boolean proliferate = false;
|
||||||
boolean protection = false;
|
boolean protection = false;
|
||||||
boolean putUnderYourControl = false;
|
boolean putUnderYourControl = false;
|
||||||
|
|
@ -261,6 +262,7 @@ public class Commander extends Constructed {
|
||||||
boolean storm = false;
|
boolean storm = false;
|
||||||
boolean trample = false;
|
boolean trample = false;
|
||||||
boolean tutor = false;
|
boolean tutor = false;
|
||||||
|
boolean tutorBasic = false;
|
||||||
boolean twiceAs = false;
|
boolean twiceAs = false;
|
||||||
boolean unblockable = false;
|
boolean unblockable = false;
|
||||||
boolean undying = false;
|
boolean undying = false;
|
||||||
|
|
@ -302,7 +304,8 @@ public class Commander extends Constructed {
|
||||||
miracle |= s.contains("miracle");
|
miracle |= s.contains("miracle");
|
||||||
overload |= s.contains("overload");
|
overload |= s.contains("overload");
|
||||||
persist |= s.contains("persist");
|
persist |= s.contains("persist");
|
||||||
proliferate |= s.contains("proliferate");
|
preventDamage |= s.contains("prevent") && s.contains("all") && s.contains("damage");
|
||||||
|
proliferate |= s.contains("proliferate");
|
||||||
protection |= s.contains("protection");
|
protection |= s.contains("protection");
|
||||||
putUnderYourControl |= s.contains("put") && s.contains("under your control");
|
putUnderYourControl |= s.contains("put") && s.contains("under your control");
|
||||||
retrace |= s.contains("retrace");
|
retrace |= s.contains("retrace");
|
||||||
|
|
@ -313,7 +316,8 @@ public class Commander extends Constructed {
|
||||||
sliver |= s.contains("sliver");
|
sliver |= s.contains("sliver");
|
||||||
storm |= s.contains("storm");
|
storm |= s.contains("storm");
|
||||||
trample |= s.contains("trample");
|
trample |= s.contains("trample");
|
||||||
tutor |= s.contains("search your library");
|
tutor |= s.contains("search your library") && !s.contains("basic land");
|
||||||
|
tutorBasic |= s.contains("search your library") && s.contains("basic land");
|
||||||
twiceAs |= s.contains("twice that many") || s.contains("twice as much");
|
twiceAs |= s.contains("twice that many") || s.contains("twice as much");
|
||||||
unblockable |= s.contains("can't be blocked");
|
unblockable |= s.contains("can't be blocked");
|
||||||
undying |= s.contains("undying");
|
undying |= s.contains("undying");
|
||||||
|
|
@ -381,6 +385,9 @@ public class Commander extends Constructed {
|
||||||
if (mayCastForFree) {
|
if (mayCastForFree) {
|
||||||
thisMaxPower = Math.max(thisMaxPower, 4);
|
thisMaxPower = Math.max(thisMaxPower, 4);
|
||||||
}
|
}
|
||||||
|
if (preventDamage) {
|
||||||
|
thisMaxPower = Math.max(thisMaxPower, 4);
|
||||||
|
}
|
||||||
if (proliferate) {
|
if (proliferate) {
|
||||||
thisMaxPower = Math.max(thisMaxPower, 4);
|
thisMaxPower = Math.max(thisMaxPower, 4);
|
||||||
}
|
}
|
||||||
|
|
@ -483,6 +490,9 @@ public class Commander extends Constructed {
|
||||||
if (trample) {
|
if (trample) {
|
||||||
thisMaxPower = Math.max(thisMaxPower, 1);
|
thisMaxPower = Math.max(thisMaxPower, 1);
|
||||||
}
|
}
|
||||||
|
if (tutorBasic) {
|
||||||
|
thisMaxPower = Math.max(thisMaxPower, 1);
|
||||||
|
}
|
||||||
|
|
||||||
// Planeswalkers
|
// Planeswalkers
|
||||||
if (card.getCardType().contains(CardType.PLANESWALKER)) {
|
if (card.getCardType().contains(CardType.PLANESWALKER)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue