mirror of
https://github.com/correl/mage.git
synced 2025-01-01 03:00:12 +00:00
Added card "Festival of the Ancestors" and its abilities and effects
This commit is contained in:
parent
074a4e6411
commit
420de9ec21
1 changed files with 25 additions and 1 deletions
|
@ -1,4 +1,28 @@
|
||||||
package mage.cards.f;
|
package mage.cards.f;
|
||||||
|
|
||||||
public class FestivalOfTheAncestors {
|
import mage.abilities.effects.common.GainLifeTargetEffect;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.target.TargetPlayer;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
public class FestivalOfTheAncestors extends CardImpl {
|
||||||
|
public FestivalOfTheAncestors(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}");
|
||||||
|
|
||||||
|
//Target player gains 5 life.
|
||||||
|
this.getSpellAbility().addEffect(new GainLifeTargetEffect(5));
|
||||||
|
this.getSpellAbility().addTarget(new TargetPlayer());
|
||||||
|
}
|
||||||
|
|
||||||
|
public FestivalOfTheAncestors(FestivalOfTheAncestors card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public FestivalOfTheAncestors copy() {
|
||||||
|
return new FestivalOfTheAncestors(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue