mirror of
https://github.com/correl/mage.git
synced 2024-11-24 19:19:56 +00:00
[LTR] Implement Bombadil's Song
This commit is contained in:
parent
c54a1b6932
commit
af50f0c604
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/b/BombadilsSong.java
Normal file
39
Mage.Sets/src/mage/cards/b/BombadilsSong.java
Normal file
|
@ -0,0 +1,39 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.effects.keyword.TheRingTemptsYouEffect;
|
||||
import mage.abilities.keyword.HexproofAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BombadilsSong extends CardImpl {
|
||||
|
||||
public BombadilsSong(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{G}");
|
||||
|
||||
// Target creature you control gets +1/+1 and gains hexproof until the end of turn. The Ring tempts you.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(1, 1)
|
||||
.setText("target creature you control gets +1/+1"));
|
||||
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(HexproofAbility.getInstance())
|
||||
.setText("and gains hexproof until the end of turn"));
|
||||
this.getSpellAbility().addEffect(new TheRingTemptsYouEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
}
|
||||
|
||||
private BombadilsSong(final BombadilsSong card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BombadilsSong copy() {
|
||||
return new BombadilsSong(this);
|
||||
}
|
||||
}
|
|
@ -22,6 +22,7 @@ public final class TheLordOfTheRingsTalesOfMiddleEarth extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Aragorn, the Uniter", 192, Rarity.MYTHIC, mage.cards.a.AragornTheUniter.class));
|
||||
cards.add(new SetCardInfo("Arwen's Gift", 39, Rarity.COMMON, mage.cards.a.ArwensGift.class));
|
||||
cards.add(new SetCardInfo("Bilbo, Retired Burglar", 196, Rarity.UNCOMMON, mage.cards.b.BilboRetiredBurglar.class));
|
||||
cards.add(new SetCardInfo("Bombadil's Song", 154, Rarity.COMMON, mage.cards.b.BombadilsSong.class));
|
||||
cards.add(new SetCardInfo("Call of the Ring", 79, Rarity.RARE, mage.cards.c.CallOfTheRing.class));
|
||||
cards.add(new SetCardInfo("Cast into the Fire", 118, Rarity.COMMON, mage.cards.c.CastIntoTheFire.class));
|
||||
cards.add(new SetCardInfo("Council's Deliberation", 48, Rarity.UNCOMMON, mage.cards.c.CouncilsDeliberation.class));
|
||||
|
|
Loading…
Reference in a new issue