Merge pull request #4747 from spjspj/master

Continuing implementation of Planechase.
This commit is contained in:
spjspj 2018-04-12 23:37:31 +10:00 committed by GitHub
commit b5a7052697
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

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";
}