forked from External/mage
[TLA] Implement Compassionate Healer
This commit is contained in:
parent
4e46920b50
commit
3ebe6ec782
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/c/CompassionateHealer.java
Normal file
43
Mage.Sets/src/mage/cards/c/CompassionateHealer.java
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.BecomesTappedSourceTriggeredAbility;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class CompassionateHealer extends CardImpl {
|
||||
|
||||
public CompassionateHealer(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.CLERIC);
|
||||
this.subtype.add(SubType.ALLY);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Whenever this creature becomes tapped, you gain 1 life and scry 1.
|
||||
Ability ability = new BecomesTappedSourceTriggeredAbility(new GainLifeEffect(1));
|
||||
ability.addEffect(new ScryEffect(1).concatBy("and"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private CompassionateHealer(final CompassionateHealer card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CompassionateHealer copy() {
|
||||
return new CompassionateHealer(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue