Continuing implementation of Planechase.

This commit is contained in:
spjspj 2018-04-12 21:03:53 +10:00
parent 87d19c7d51
commit 3e092c2211
4 changed files with 9 additions and 3 deletions

View file

@ -527,6 +527,11 @@ public class DownloadPictures extends DefaultBoundedRangeModel implements Runnab
CardDownloadData card = new CardDownloadData(params[3], set, "0", false, type, "", "", true, fileName);
card.setTokenClassName(tokenClassName);
list.add(card);
} else if (params[1].toLowerCase(Locale.ENGLISH).equals("generate") && params[2].startsWith("PLANE:")) {
String set = params[2].substring(6);
CardDownloadData card = new CardDownloadData(params[3], set, "0", false, type, "", "", true, fileName);
card.setTokenClassName(tokenClassName);
list.add(card);
}
} else {
logger.error("wrong format for image urls: " + line);

View file

@ -88,6 +88,7 @@
|Generate|PLANE:PCA|Plane - Academy At Tolaria West|||AcademyAtTolariaWestPlane|
|Generate|PLANE:PCA|Plane - Agyrem|||AgyremPlane|
|Generate|PLANE:PCA|Plane - Akoum|||AkoumPlane|
|Generate|PLANE:PCA|Plane - Astral Arena|||AstralArenaPlane|
|Generate|PLANE:PCA|Plane - Bant|||BantPlane|
|Generate|PLANE:PCA|Plane - Edge Of Malacol|||EdgeOfMalacolPlane|
|Generate|PLANE:PCA|Plane - Feeding Grounds|||FeedingGroundsPlane|

View file

@ -74,7 +74,7 @@ public class AkoumPlane extends Plane {
this.getAbilities().add(ability);
// Active player can roll the planar die: Whenever you roll {CHAOS}, destroy target creature that isn't enchanted
Effect chaosEffect = new DestroyTargetEffect(true);
Effect chaosEffect = new DestroyTargetEffect("destroy target creature that isn't enchanted");
Target chaosTarget = new TargetCreaturePermanent(filter);
List<Effect> chaosEffects = new ArrayList<Effect>();

View file

@ -62,7 +62,7 @@ public class HedronFieldsOfAgadeemPlane extends Plane {
this.setExpansionSetCodeForImage("PCA");
// Creatures with power 7 or greater can't attack or block
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new HedronFieldsOfAgadeemRestrictionEffect());
Ability ability = new SimpleStaticAbility(Zone.COMMAND, new HedronFieldsOfAgadeemRestrictionEffect());
this.getAbilities().add(ability);
// Active player can roll the planar die: Whenever you roll {CHAOS}, create a 7/7 colorless Eldrazi creature with annhilator 1
@ -92,7 +92,7 @@ class HedronFieldsOfAgadeemRestrictionEffect extends RestrictionEffect {
}
public HedronFieldsOfAgadeemRestrictionEffect() {
super(Duration.WhileOnBattlefield);
super(Duration.Custom);
staticText = "Creatures with power 7 or greater can't attack or block";
}