- Added Forbidden Orchard (unusable by AI).

This commit is contained in:
jendave
2011-08-06 04:36:00 +00:00
parent f84e677083
commit 64ccb54c80
5 changed files with 53 additions and 0 deletions

View File

@@ -1,3 +1,13 @@
Forbidden Orchard
no cost
Land
Whenever you tap Forbidden Orchard for mana, put a 1/1 colorless Spirit creature token onto the battlefield under target opponent's control.
tap: add W
tap: add B
tap: add U
tap: add R
tap: add G
Angelsong Angelsong
1 W 1 W
Instant Instant

View File

@@ -94,6 +94,20 @@ abstract public class Ability_Mana extends SpellAbility implements java.io.Seria
setDescription(sb.toString()); setDescription(sb.toString());
*/ */
if (sourceCard.getName().equals("Forbidden Orchard"))
{
final Card crd = sourceCard;
runcommands.add(new Command() {
private static final long serialVersionUID = 1365329719980281985L;
public void execute()
{
//currently only human can use this card:
AllZone.Stack.add(CardFactoryUtil.getForbiddenOrchardAbility(crd, Constant.Player.Computer));
}
});
}
if(isBasic())//lowers memory usage drastically if(isBasic())//lowers memory usage drastically
{ {
Mana = "" + orig.charAt(9); Mana = "" + orig.charAt(9);

View File

@@ -1397,6 +1397,7 @@ public class CardFactoryUtil {
return cycle; return cycle;
}//ability_typecycle() }//ability_typecycle()
public static SpellAbility ability_transmute(final Card sourceCard, final String transmuteCost) { public static SpellAbility ability_transmute(final Card sourceCard, final String transmuteCost) {
final SpellAbility transmute = new Ability_Hand(sourceCard, transmuteCost) { final SpellAbility transmute = new Ability_Hand(sourceCard, transmuteCost) {
private static final long serialVersionUID = -4960704261761785512L; private static final long serialVersionUID = -4960704261761785512L;
@@ -1785,6 +1786,22 @@ public class CardFactoryUtil {
//((ReflectedManaInfo)theAbility.choices_made[0]).who = new String(who); //((ReflectedManaInfo)theAbility.choices_made[0]).who = new String(who);
} // End getReflectedManaAbility } // End getReflectedManaAbility
public static Ability getForbiddenOrchardAbility(final Card card, String player)
{
final String opp = player;
final Ability ability = new Ability(card,"0")
{
public void resolve()
{
makeToken("Spirit", "C 1 1 Spirit", opp, "C", new String[] {
"Creature", "Spirit"}, 1, 1, new String[] {""});
}
};
ability.setStackDescription(card + " - put a 1/1 colorless Spirit creature token onto the battlefield under target opponent's control.");
return ability;
}
public static SpellAbility enPumpCurse_Enchant(final Card sourceCard, final int Power, final int Tough, final String[] extrinsicKeywords, public static SpellAbility enPumpCurse_Enchant(final Card sourceCard, final int Power, final int Tough, final String[] extrinsicKeywords,
final String[] spellDescription, final String[] stackDescription) { final String[] spellDescription, final String[] stackDescription) {

View File

@@ -277,6 +277,12 @@ public class GenerateConstructedDeck
remove.add("Viridian Acolyte"); remove.add("Viridian Acolyte");
remove.add("Worn Powerstone"); remove.add("Worn Powerstone");
remove.add("Mana Vault"); remove.add("Mana Vault");
remove.add("Tooth of Ramos");
remove.add("Skull of Ramos");
remove.add("Horn of Ramos");
remove.add("Heart of Ramos");
remove.add("Eye of Ramos");
remove.add("Forbidden Orchard");
final ArrayList<Card> goodLand = new ArrayList<Card>(); final ArrayList<Card> goodLand = new ArrayList<Card>();

View File

@@ -491,6 +491,12 @@ public class GenerateConstructedMultiColorDeck
remove.add("Viridian Acolyte"); remove.add("Viridian Acolyte");
remove.add("Worn Powerstone"); remove.add("Worn Powerstone");
remove.add("Mana Vault"); remove.add("Mana Vault");
remove.add("Tooth of Ramos");
remove.add("Skull of Ramos");
remove.add("Horn of Ramos");
remove.add("Heart of Ramos");
remove.add("Eye of Ramos");
remove.add("Forbidden Orchard");
final ArrayList<Card> goodLand = new ArrayList<Card>(); final ArrayList<Card> goodLand = new ArrayList<Card>();