Tokens and command objects reworked (part 2 of 2, tokens/emblems)

This commit is contained in:
Oleg Agafonov 2023-05-08 02:18:42 +04:00
parent 5f55c7c667
commit f2d93f224f
591 changed files with 1368 additions and 4425 deletions

View file

@ -33,7 +33,6 @@ public class AstralArenaPlane extends Plane {
public AstralArenaPlane() {
this.setPlaneType(Planes.PLANE_ASTRAL_ARENA);
this.setExpansionSetCodeForImage("PCA");
// No more than one creature can attack each turn. No more than one creature can block each turn.
SimpleStaticAbility ability = new SimpleStaticAbility(Zone.COMMAND, new AstralArenaAttackRestrictionEffect());
@ -58,6 +57,15 @@ public class AstralArenaPlane extends Plane {
chaosAbility.setMayActivate(TargetController.ANY);
this.getAbilities().add(new SimpleStaticAbility(Zone.ALL, new PlanarDieRollCostIncreasingEffect(chaosAbility.getOriginalId())));
}
private AstralArenaPlane(final AstralArenaPlane plane) {
super(plane);
}
@Override
public AstralArenaPlane copy() {
return new AstralArenaPlane(this);
}
}
class AstralArenaAttackRestrictionEffect extends RestrictionEffect {