* Dawn Charm - Fixed that the prevention effect did prevent all damage not only combat damage.

This commit is contained in:
LevelX2 2015-05-25 16:57:11 +02:00
parent 4298e66e02
commit fe2d41944a

View file

@ -62,14 +62,14 @@ public class DawnCharm extends CardImpl {
this.expansionSetCode = "PLC"; this.expansionSetCode = "PLC";
// Choose one - Prevent all combat damage that would be dealt this turn; or regenerate target creature; or counter target spell that targets you. // Choose one - Prevent all combat damage that would be dealt this turn
this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn)); this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn), true);
// or regenerate target creature;
Mode mode = new Mode(); Mode mode = new Mode();
mode.getEffects().add(new RegenerateTargetEffect()); mode.getEffects().add(new RegenerateTargetEffect());
mode.getTargets().add(new TargetCreaturePermanent()); mode.getTargets().add(new TargetCreaturePermanent());
this.getSpellAbility().addMode(mode); this.getSpellAbility().addMode(mode);
// or counter target spell that targets you.
mode = new Mode(); mode = new Mode();
mode.getEffects().add(new CounterTargetEffect()); mode.getEffects().add(new CounterTargetEffect());
mode.getTargets().add(new TargetSpell(filter)); mode.getTargets().add(new TargetSpell(filter));