Recuperate fixed; use to gain life for target player, now gains life for

self as it should
This commit is contained in:
DimitarK 2016-12-23 23:10:10 -08:00
parent d0249716c2
commit 2f38e35344

View file

@ -29,18 +29,18 @@ package mage.cards.r;
import java.util.UUID;
import mage.abilities.Mode;
import mage.abilities.effects.common.GainLifeTargetEffect;
import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.common.PreventDamageToTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.target.TargetPlayer;
import mage.target.common.TargetCreaturePermanent;
/**
*
* @author LoneFox
* @author DimitarK
*/
public class Recuperate extends CardImpl {
@ -48,8 +48,7 @@ public class Recuperate extends CardImpl {
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{3}{W}");
// Choose one - You gain 6 life;
this.getSpellAbility().addEffect(new GainLifeTargetEffect(6));
this.getSpellAbility().addTarget(new TargetPlayer());
this.getSpellAbility().addEffect(new GainLifeEffect(6));
// or prevent the next 6 damage that would be dealt to target creature this turn.
Mode mode = new Mode();
mode.getEffects().add(new PreventDamageToTargetEffect(Duration.EndOfTurn, 6));