Changes to Emblems

Emblems now read "Emblem Planeswalker" instead of "Planeswalker emblem"
Image name now is "emblem_planeswalker"

If this breaks anything please revert.

Also added some colons to oracle texts for some planeswalkers.
This commit is contained in:
Indigo Dragon
2017-09-02 05:52:02 +00:00
parent 77eab9e6f8
commit a772cf9910
37 changed files with 77 additions and 77 deletions

View File

@@ -336,10 +336,10 @@ public abstract class SpellAbilityEffect {
final Card eff = new Card(game.nextCardId(), game);
eff.setTimestamp(game.getNextTimestamp());
eff.setName(name);
// if name includes emplem then it should be one
eff.addType(name.endsWith("emblem") ? "Emblem" : "Effect");
// if name includes emblem then it should be one
eff.addType(name.startsWith("emblem") ? "Emblem" : "Effect");
// add Planeswalker types into Emblem for fun
if (name.endsWith("emblem") && hostCard.isPlaneswalker()) {
if (name.startsWith("emblem") && hostCard.isPlaneswalker()) {
for (final String type : hostCard.getType().getSubtypes()) {
if (CardType.isAPlaneswalkerType(type)) {
eff.addType(type);

View File

@@ -104,7 +104,7 @@ public class EffectEffect extends SpellAbilityEffect {
String image;
if (sa.hasParam("Image")) {
image = ImageKeys.getTokenKey(sa.getParam("Image"));
} else if (name.endsWith("emblem")) { // try to get the image from name
} else if (name.startsWith("emblem")) { // try to get the image from name
image = ImageKeys.getTokenKey(name.replace(",", "").replace(" ", "_").toLowerCase());
} else { // use host image
image = hostCard.getImageKey();