Guardian Angel and added Dynamic Value constructor to PreventDamageToTargetEffect

This commit is contained in:
MTGfan 2016-12-14 17:20:00 -05:00
parent 87ff07678d
commit 26c176abaa
6 changed files with 86 additions and 0 deletions

View file

@ -31,6 +31,7 @@ package mage.abilities.effects.common;
import mage.constants.Duration;
import mage.abilities.Ability;
import mage.abilities.Mode;
import mage.abilities.dynamicvalue.DynamicValue;
import mage.abilities.effects.PreventionEffectImpl;
import mage.game.Game;
import mage.game.events.GameEvent;
@ -57,6 +58,10 @@ public class PreventDamageToTargetEffect extends PreventionEffectImpl {
super(duration, amount, onlyCombat);
}
public PreventDamageToTargetEffect(Duration duration, boolean onlyCombat, boolean consumable, DynamicValue amountToPreventDynamic) {
super(duration, 0, onlyCombat, consumable, amountToPreventDynamic);
}
public PreventDamageToTargetEffect(final PreventDamageToTargetEffect effect) {
super(effect);
}