From b441616a48b6dd6b26cad844f9c458b70de80e0f Mon Sep 17 00:00:00 2001 From: ingmargoudt Date: Fri, 16 Sep 2016 21:24:36 +0200 Subject: [PATCH] implemented Rush of Vitality - KLD --- .../mage/sets/kaladesh/RushOfVitality.java | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/kaladesh/RushOfVitality.java diff --git a/Mage.Sets/src/mage/sets/kaladesh/RushOfVitality.java b/Mage.Sets/src/mage/sets/kaladesh/RushOfVitality.java new file mode 100644 index 0000000000..659a06f296 --- /dev/null +++ b/Mage.Sets/src/mage/sets/kaladesh/RushOfVitality.java @@ -0,0 +1,39 @@ +package mage.sets.kaladesh; + +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.abilities.effects.common.continuous.GainAbilityTargetEffect; +import mage.abilities.keyword.DeathtouchAbility; +import mage.abilities.keyword.IndestructibleAbility; +import mage.abilities.keyword.LifelinkAbility; +import mage.cards.Card; +import mage.cards.CardImpl; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.Rarity; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * Created by IGOUDT on 16-9-2016. + */ +public class RushOfVitality extends CardImpl { + + public RushOfVitality(final UUID ownerId){ + super(ownerId,99,"Rush of Vitality", Rarity.COMMON, new CardType[]{CardType.INSTANT},"{1B}"); + this.getSpellAbility().addTarget(new TargetCreaturePermanent()); + this.getSpellAbility().addEffect(new BoostTargetEffect(1, 0, Duration.EndOfTurn)); + this.getSpellAbility().addEffect(new GainAbilityTargetEffect(IndestructibleAbility.getInstance(), Duration.EndOfTurn)); + this.getSpellAbility().addEffect(new GainAbilityTargetEffect(LifelinkAbility.getInstance(), Duration.EndOfTurn)); + + } + + public RushOfVitality(final RushOfVitality rushOfVitality){ + super(rushOfVitality); + } + + @Override + public RushOfVitality copy() { + return new RushOfVitality(this); + } +}