Remove explicit set of required property in constructor

This commit is contained in:
Quercitron 2014-06-13 15:15:16 +04:00
parent 250909a464
commit 0a0983d7e9
2272 changed files with 2454 additions and 2538 deletions

View file

@ -61,7 +61,7 @@ public class IncendiaryCommand extends CardImpl {
this.getSpellAbility().getModes().setMaxModes(2);
// Incendiary Command deals 4 damage to target player;
this.getSpellAbility().addEffect(new DamageTargetEffect(4));
this.getSpellAbility().addTarget(new TargetPlayer(true));
this.getSpellAbility().addTarget(new TargetPlayer());
// or Incendiary Command deals 2 damage to each creature;
Mode mode = new Mode();
mode.getEffects().add(new DamageAllEffect(2, new FilterCreaturePermanent()));