* M15 - Added 11 blue cards.

This commit is contained in:
LevelX2 2014-07-08 02:15:45 +02:00
parent 0120808ef8
commit 08d0a3662c
19 changed files with 1219 additions and 25 deletions

View file

@ -240,18 +240,24 @@ public class ObjectColor implements Serializable, Copyable<ObjectColor>, Compara
}
public boolean contains(ObjectColor color) {
if (this == color)
if (this == color) {
return true;
if (color.white & this.white)
}
if (color.white & this.white) {
return true;
if (color.blue & this.blue)
}
if (color.blue & this.blue) {
return true;
if (color.black & this.black)
}
if (color.black & this.black) {
return true;
if (color.red & this.red)
}
if (color.red & this.red) {
return true;
if (color.green & this.green)
}
if (color.green & this.green) {
return true;
}
return false;
}

View file

@ -198,6 +198,9 @@ public class LookLibraryAndPickControllerEffect extends LookLibraryControllerEff
@Override
public String getText(Mode mode) {
if (staticText != null && !staticText.isEmpty()) {
return staticText;
}
StringBuilder sb = new StringBuilder();
if (numberToPick.calculate(null, null) > 0) {

View file

@ -141,6 +141,9 @@ public class BecomesCreatureTargetEffect extends ContinuousEffectImpl {
@Override
public String getText(Mode mode) {
if (staticText != null && !staticText.isEmpty()) {
return staticText;
}
StringBuilder sb = new StringBuilder();
Target target = mode.getTargets().get(0);
if(target.getMaxNumberOfTargets() > 1){

View file

@ -74,6 +74,9 @@ public class LoseAllAbilitiesTargetEffect extends ContinuousEffectImpl {
@Override
public String getText(Mode mode) {
if (staticText != null && !staticText.isEmpty()) {
return staticText;
}
StringBuilder sb = new StringBuilder();
sb.append("Target ").append(mode.getTargets().get(0).getTargetName()).append(" loses all abilities ").append(duration.toString());
return sb.toString();