mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +00:00
Merge pull request #2851 from spjspj/master
Update some edh power levels
This commit is contained in:
commit
a897f2d91e
1 changed files with 9 additions and 2 deletions
|
@ -244,6 +244,7 @@ public class Commander extends Constructed {
|
||||||
boolean gainControl = false;
|
boolean gainControl = false;
|
||||||
boolean hexproof = false;
|
boolean hexproof = false;
|
||||||
boolean infect = false;
|
boolean infect = false;
|
||||||
|
boolean lifeTotalBecomes = false;
|
||||||
boolean mayCastForFree = false;
|
boolean mayCastForFree = false;
|
||||||
boolean menace = false;
|
boolean menace = false;
|
||||||
boolean miracle = false;
|
boolean miracle = false;
|
||||||
|
@ -299,6 +300,7 @@ public class Commander extends Constructed {
|
||||||
gainControl |= s.contains("gain control");
|
gainControl |= s.contains("gain control");
|
||||||
hexproof |= s.contains("hexproof");
|
hexproof |= s.contains("hexproof");
|
||||||
infect |= s.contains("infect");
|
infect |= s.contains("infect");
|
||||||
|
lifeTotalBecomes |= s.contains("life total becomes");
|
||||||
mayCastForFree |= s.contains("may cast") && s.contains("without paying");
|
mayCastForFree |= s.contains("may cast") && s.contains("without paying");
|
||||||
menace |= s.contains("menace");
|
menace |= s.contains("menace");
|
||||||
miracle |= s.contains("miracle");
|
miracle |= s.contains("miracle");
|
||||||
|
@ -382,6 +384,9 @@ public class Commander extends Constructed {
|
||||||
if (gainControl) {
|
if (gainControl) {
|
||||||
thisMaxPower = Math.max(thisMaxPower, 4);
|
thisMaxPower = Math.max(thisMaxPower, 4);
|
||||||
}
|
}
|
||||||
|
if (lifeTotalBecomes) {
|
||||||
|
thisMaxPower = Math.max(thisMaxPower, 4);
|
||||||
|
}
|
||||||
if (mayCastForFree) {
|
if (mayCastForFree) {
|
||||||
thisMaxPower = Math.max(thisMaxPower, 4);
|
thisMaxPower = Math.max(thisMaxPower, 4);
|
||||||
}
|
}
|
||||||
|
@ -494,7 +499,6 @@ public class Commander extends Constructed {
|
||||||
thisMaxPower = Math.max(thisMaxPower, 1);
|
thisMaxPower = Math.max(thisMaxPower, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Planeswalkers
|
|
||||||
if (card.getCardType().contains(CardType.PLANESWALKER)) {
|
if (card.getCardType().contains(CardType.PLANESWALKER)) {
|
||||||
if (card.getName().toLowerCase().equals("jace, the mind sculptor")) {
|
if (card.getName().toLowerCase().equals("jace, the mind sculptor")) {
|
||||||
thisMaxPower = Math.max(thisMaxPower, 6);
|
thisMaxPower = Math.max(thisMaxPower, 6);
|
||||||
|
@ -509,7 +513,6 @@ public class Commander extends Constructed {
|
||||||
thisMaxPower = 0;
|
thisMaxPower = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Banned in french or unfair cards
|
|
||||||
String cn = card.getName().toLowerCase();
|
String cn = card.getName().toLowerCase();
|
||||||
if (cn.equals("ancient tomb")
|
if (cn.equals("ancient tomb")
|
||||||
|| cn.equals("anafenza, the foremost")
|
|| cn.equals("anafenza, the foremost")
|
||||||
|
@ -558,6 +561,7 @@ public class Commander extends Constructed {
|
||||||
|| cn.equals("loyal retainers")
|
|| cn.equals("loyal retainers")
|
||||||
|| cn.equals("maelstrom wanderer")
|
|| cn.equals("maelstrom wanderer")
|
||||||
|| cn.equals("malfegor")
|
|| cn.equals("malfegor")
|
||||||
|
|| cn.equals("master of cruelties")
|
||||||
|| cn.equals("mana crypt")
|
|| cn.equals("mana crypt")
|
||||||
|| cn.equals("mana drain")
|
|| cn.equals("mana drain")
|
||||||
|| cn.equals("mana vault")
|
|| cn.equals("mana vault")
|
||||||
|
@ -621,6 +625,7 @@ public class Commander extends Constructed {
|
||||||
|| cn.equals("myr turbine") || cn.equals("narset, enlightened master")
|
|| cn.equals("myr turbine") || cn.equals("narset, enlightened master")
|
||||||
|| cn.equals("nekusar, the mindrazer") || cn.equals("norin the wary")
|
|| cn.equals("nekusar, the mindrazer") || cn.equals("norin the wary")
|
||||||
|| cn.equals("opalescence") || cn.equals("ornithopter")
|
|| cn.equals("opalescence") || cn.equals("ornithopter")
|
||||||
|
|| cn.equals("paradox engine")
|
||||||
|| cn.equals("peregrine drake") || cn.equals("palinchron")
|
|| cn.equals("peregrine drake") || cn.equals("palinchron")
|
||||||
|| cn.equals("planar portal") || cn.equals("power artifact")
|
|| cn.equals("planar portal") || cn.equals("power artifact")
|
||||||
|| cn.equals("rings of brighthearth") || cn.equals("rite of replication")
|
|| cn.equals("rings of brighthearth") || cn.equals("rite of replication")
|
||||||
|
@ -658,6 +663,7 @@ public class Commander extends Constructed {
|
||||||
|| cn.equals("hokori, dust drinker")
|
|| cn.equals("hokori, dust drinker")
|
||||||
|| cn.equals("iona, shield of emeria")
|
|| cn.equals("iona, shield of emeria")
|
||||||
|| cn.equals("jin-gitaxias, core augur")
|
|| cn.equals("jin-gitaxias, core augur")
|
||||||
|
|| cn.equals("kaalia of the vast")
|
||||||
|| cn.equals("karador, ghost chieftain")
|
|| cn.equals("karador, ghost chieftain")
|
||||||
|| cn.equals("leovold, emissary of trest")
|
|| cn.equals("leovold, emissary of trest")
|
||||||
|| cn.equals("linvala, keeper of silence")
|
|| cn.equals("linvala, keeper of silence")
|
||||||
|
@ -686,6 +692,7 @@ public class Commander extends Constructed {
|
||||||
|| cn.equals("maelstrom wanderer")
|
|| cn.equals("maelstrom wanderer")
|
||||||
|| cn.equals("mikaeus the unhallowed")
|
|| cn.equals("mikaeus the unhallowed")
|
||||||
|| cn.equals("nath of the gilt-leaf")
|
|| cn.equals("nath of the gilt-leaf")
|
||||||
|
|| cn.equals("prossh, skyraider of kher")
|
||||||
|| cn.equals("purphoros, god of the forge")
|
|| cn.equals("purphoros, god of the forge")
|
||||||
|| cn.equals("sen triplets")
|
|| cn.equals("sen triplets")
|
||||||
|| cn.equals("urabrask the hidden")
|
|| cn.equals("urabrask the hidden")
|
||||||
|
|
Loading…
Reference in a new issue