mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Recuperate fixed; use to gain life for target player, now gains life for
self as it should
This commit is contained in:
parent
d0249716c2
commit
2f38e35344
1 changed files with 3 additions and 4 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue