mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
implemented Rush of Vitality - KLD
This commit is contained in:
parent
f1cf9e7adb
commit
b441616a48
1 changed files with 39 additions and 0 deletions
39
Mage.Sets/src/mage/sets/kaladesh/RushOfVitality.java
Normal file
39
Mage.Sets/src/mage/sets/kaladesh/RushOfVitality.java
Normal file
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue