mirror of
https://github.com/correl/mage.git
synced 2024-11-28 11:09:54 +00:00
[LTR] Implement Second Breakfast
This commit is contained in:
parent
7d015c9ec5
commit
63ab4a16c2
2 changed files with 36 additions and 0 deletions
35
Mage.Sets/src/mage/cards/s/SecondBreakfast.java
Normal file
35
Mage.Sets/src/mage/cards/s/SecondBreakfast.java
Normal file
|
@ -0,0 +1,35 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.FoodToken;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SecondBreakfast extends CardImpl {
|
||||
|
||||
public SecondBreakfast(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{W}");
|
||||
|
||||
// Up to two target creatures each get +2/+1 until end of turn. Create a Food token.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(2, 1));
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new FoodToken()));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 2));
|
||||
}
|
||||
|
||||
private SecondBreakfast(final SecondBreakfast card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SecondBreakfast copy() {
|
||||
return new SecondBreakfast(this);
|
||||
}
|
||||
}
|
|
@ -69,6 +69,7 @@ public final class TheLordOfTheRingsTalesOfMiddleEarth extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Saruman's Trickery", 68, Rarity.UNCOMMON, mage.cards.s.SarumansTrickery.class));
|
||||
cards.add(new SetCardInfo("Sauron, the Lidless Eye", 288, Rarity.MYTHIC, mage.cards.s.SauronTheLidlessEye.class));
|
||||
cards.add(new SetCardInfo("Sauron, the Necromancer", 106, Rarity.RARE, mage.cards.s.SauronTheNecromancer.class));
|
||||
cards.add(new SetCardInfo("Second Breakfast", 29, Rarity.COMMON, mage.cards.s.SecondBreakfast.class));
|
||||
cards.add(new SetCardInfo("Shelob's Ambush", 108, Rarity.COMMON, mage.cards.s.ShelobsAmbush.class));
|
||||
cards.add(new SetCardInfo("Shire Terrace", 261, Rarity.COMMON, mage.cards.s.ShireTerrace.class));
|
||||
cards.add(new SetCardInfo("Snarling Warg", 109, Rarity.COMMON, mage.cards.s.SnarlingWarg.class));
|
||||
|
|
Loading…
Reference in a new issue