* Nissa's Judgment - Fixed that the supply counters power raise was not calculated for the damge dealt to target creature.

This commit is contained in:
LevelX2 2016-01-21 20:30:18 +01:00
parent 9ebc2d5991
commit 13453ba9d4

View file

@ -64,10 +64,12 @@ public class NissasJudgment extends CardImpl {
this.expansionSetCode = "OGW"; this.expansionSetCode = "OGW";
// Support 2. // Support 2.
getSpellAbility().addEffect(new SupportEffect(this, 2, false)); Effect effect = new SupportEffect(this, 2, false);
effect.setApplyEffectsAfter();
getSpellAbility().addEffect(effect);
// Choose up to one target creature an opponent controls. Each creature you control with a +1/+1 counter on it deals damage equal to its power to that creature. // Choose up to one target creature an opponent controls. Each creature you control with a +1/+1 counter on it deals damage equal to its power to that creature.
Effect effect = new NissasJudgmentEffect(); effect = new NissasJudgmentEffect();
effect.setTargetPointer(new SecondTargetPointer()); // First target is used by Support effect.setTargetPointer(new SecondTargetPointer()); // First target is used by Support
getSpellAbility().addTarget(new TargetCreaturePermanent(0, 1, filter, true)); getSpellAbility().addTarget(new TargetCreaturePermanent(0, 1, filter, true));
getSpellAbility().addEffect(effect); getSpellAbility().addEffect(effect);