mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Implemented Forbidden Friendship
This commit is contained in:
parent
9f50fade9f
commit
d8d8e7c174
3 changed files with 65 additions and 0 deletions
34
Mage.Sets/src/mage/cards/f/ForbiddenFriendship.java
Normal file
34
Mage.Sets/src/mage/cards/f/ForbiddenFriendship.java
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
package mage.cards.f;
|
||||||
|
|
||||||
|
import mage.abilities.effects.common.CreateTokenEffect;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.game.permanent.token.DinosaurHasteToken;
|
||||||
|
import mage.game.permanent.token.HumanSoldierToken;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class ForbiddenFriendship extends CardImpl {
|
||||||
|
|
||||||
|
public ForbiddenFriendship(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}");
|
||||||
|
|
||||||
|
// Create a 1/1 red Dinosaur creature token with haste and a 1/1 white Human Soldier creature token.
|
||||||
|
this.getSpellAbility().addEffect(new CreateTokenEffect(new DinosaurHasteToken()));
|
||||||
|
this.getSpellAbility().addEffect(new CreateTokenEffect(new HumanSoldierToken())
|
||||||
|
.setText("and a 1/1 white Human Soldier creature token"));
|
||||||
|
}
|
||||||
|
|
||||||
|
private ForbiddenFriendship(final ForbiddenFriendship card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ForbiddenFriendship copy() {
|
||||||
|
return new ForbiddenFriendship(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -83,6 +83,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Fertilid", 152, Rarity.COMMON, mage.cards.f.Fertilid.class));
|
cards.add(new SetCardInfo("Fertilid", 152, Rarity.COMMON, mage.cards.f.Fertilid.class));
|
||||||
cards.add(new SetCardInfo("Flourishing Fox", 13, Rarity.UNCOMMON, mage.cards.f.FlourishingFox.class));
|
cards.add(new SetCardInfo("Flourishing Fox", 13, Rarity.UNCOMMON, mage.cards.f.FlourishingFox.class));
|
||||||
cards.add(new SetCardInfo("Footfall Crater", 118, Rarity.UNCOMMON, mage.cards.f.FootfallCrater.class));
|
cards.add(new SetCardInfo("Footfall Crater", 118, Rarity.UNCOMMON, mage.cards.f.FootfallCrater.class));
|
||||||
|
cards.add(new SetCardInfo("Forbidden Friendship", 119, Rarity.COMMON, mage.cards.f.ForbiddenFriendship.class));
|
||||||
cards.add(new SetCardInfo("Fully Grown", 154, Rarity.COMMON, mage.cards.f.FullyGrown.class));
|
cards.add(new SetCardInfo("Fully Grown", 154, Rarity.COMMON, mage.cards.f.FullyGrown.class));
|
||||||
cards.add(new SetCardInfo("Gemrazer", 155, Rarity.RARE, mage.cards.g.Gemrazer.class));
|
cards.add(new SetCardInfo("Gemrazer", 155, Rarity.RARE, mage.cards.g.Gemrazer.class));
|
||||||
cards.add(new SetCardInfo("General Kudro of Drannith", 187, Rarity.MYTHIC, mage.cards.g.GeneralKudroOfDrannith.class));
|
cards.add(new SetCardInfo("General Kudro of Drannith", 187, Rarity.MYTHIC, mage.cards.g.GeneralKudroOfDrannith.class));
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
package mage.game.permanent.token;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.keyword.HasteAbility;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class DinosaurHasteToken extends TokenImpl {
|
||||||
|
|
||||||
|
public DinosaurHasteToken() {
|
||||||
|
super("Dinosaur", "1/1 red Dinosaur creature token with haste");
|
||||||
|
cardType.add(CardType.CREATURE);
|
||||||
|
color.setRed(true);
|
||||||
|
subtype.add(SubType.DINOSAUR);
|
||||||
|
power = new MageInt(1);
|
||||||
|
toughness = new MageInt(1);
|
||||||
|
addAbility(HasteAbility.getInstance());
|
||||||
|
}
|
||||||
|
|
||||||
|
private DinosaurHasteToken(final DinosaurHasteToken token) {
|
||||||
|
super(token);
|
||||||
|
}
|
||||||
|
|
||||||
|
public DinosaurHasteToken copy() {
|
||||||
|
return new DinosaurHasteToken(this);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue