From 420de9ec213785088ac8ff91ec45d0b027e34749 Mon Sep 17 00:00:00 2001 From: Daniel Eberhard Date: Wed, 14 Dec 2022 14:16:41 +0100 Subject: [PATCH] Added card "Festival of the Ancestors" and its abilities and effects --- .../mage/cards/f/FestivalOfTheAncestors.java | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/f/FestivalOfTheAncestors.java b/Mage.Sets/src/mage/cards/f/FestivalOfTheAncestors.java index 42411fbb49..6b4d96fd65 100644 --- a/Mage.Sets/src/mage/cards/f/FestivalOfTheAncestors.java +++ b/Mage.Sets/src/mage/cards/f/FestivalOfTheAncestors.java @@ -1,4 +1,28 @@ 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); + } }