mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
Guardian Angel and added Dynamic Value constructor to PreventDamageToTargetEffect
This commit is contained in:
parent
87ff07678d
commit
26c176abaa
6 changed files with 86 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue