mirror of
https://github.com/correl/mage.git
synced 2024-12-27 03:00:13 +00:00
* Dawn Charm - Fixed that the prevention effect did prevent all damage not only combat damage.
This commit is contained in:
parent
4298e66e02
commit
fe2d41944a
1 changed files with 4 additions and 4 deletions
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue