Merge pull request #1011 from Zeplar/master

Added the W/U/B/R/G Scarab auras from Ice Age.
This commit is contained in:
LevelX2 2015-06-03 00:37:52 +02:00
commit cb666a87ca
8 changed files with 570 additions and 4 deletions

View file

@ -48,7 +48,7 @@ public class CanBlockOnlyFlyingAttachedEffect extends RestrictionEffect {
if (attachmentType.equals(AttachmentType.AURA)) {
this.staticText = "Enchanted creature can block only creatures with flying";
} else {
this.staticText = "Equiped creature can block only creatures with flying";
this.staticText = "Equipped creature can block only creatures with flying";
}
}

View file

@ -45,7 +45,7 @@ public class CantBeBlockedAttachedEffect extends RestrictionEffect {
if (attachmentType.equals(AttachmentType.AURA)) {
this.staticText = "Enchanted creature can't be blocked";
} else {
this.staticText = "Equiped creature can't be blocked";
this.staticText = "Equipped creature can't be blocked";
}
}

View file

@ -48,9 +48,9 @@ public class CantBeBlockedByCreaturesAttachedEffect extends RestrictionEffect {
this.filter = filter;
StringBuilder sb = new StringBuilder();
if (attachmentType.equals(AttachmentType.AURA)) {
sb.append("Enchanted");
sb.append("Enchanted ");
} else {
sb.append("Equipped");
sb.append("Equipped ");
}
staticText = sb.append("creature can't be blocked ")
.append(filter.getMessage().startsWith("except by") ? "":"by ").append(filter.getMessage()).toString();