- Converted Lodestone Bauble to script.

This commit is contained in:
Sloth
2012-10-07 22:03:00 +00:00
parent 3f847286c3
commit 06d5e14ccd
3 changed files with 7 additions and 5 deletions

View File

@@ -2,6 +2,8 @@ Name:Lodestone Bauble
ManaCost:0 ManaCost:0
Types:Artifact Types:Artifact
Text:no text Text:no text
A:AB$ ChangeZone | Cost$ 1 T Sac<1/CARDNAME> | TargetMin$ 0 | TargetMax$ 4 | TargetsFromSingleZone$ True | Origin$ Graveyard | Destination$ Library | LibraryPosition$ 0 | TgtPrompt$ Choose target basic land card in a graveyard | ValidTgts$ Land.Basic | SubAbility$ DBDraw | SpellDescription$ Put up to four target basic land cards from a player's graveyard on top of his or her library in any order. That player draws a card at the beginning of the next turn's upkeep.
SVar:DBDraw:DB$ Draw | NumCards$ 1 | NextUpkeep$ True | Defined$ TargetedController
SVar:RemRandomDeck:True SVar:RemRandomDeck:True
SVar:Rarity:Rare SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/lodestone_bauble.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/lodestone_bauble.jpg

View File

@@ -232,7 +232,7 @@ class CardFactoryArtifacts {
} // *************** END ************ END ************************** } // *************** END ************ END **************************
// *************** START *********** START ************************** // *************** START *********** START **************************
else if (cardName.equals("Lodestone Bauble")) { /*else if (cardName.equals("Lodestone Bauble")) {
/* /*
* 1, Tap, Sacrifice Lodestone Bauble: Put up to four target basic * 1, Tap, Sacrifice Lodestone Bauble: Put up to four target basic
* land cards from a player's graveyard on top of his or her library * land cards from a player's graveyard on top of his or her library
@@ -240,7 +240,7 @@ class CardFactoryArtifacts {
* next turn's upkeep. * next turn's upkeep.
*/ */
class AbilityLodestoneBauble extends AbilityActivated { /*class AbilityLodestoneBauble extends AbilityActivated {
public AbilityLodestoneBauble(final Card ca, final Cost co, final Target t) { public AbilityLodestoneBauble(final Card ca, final Cost co, final Target t) {
super(ca, co, t); super(ca, co, t);
} }
@@ -330,7 +330,7 @@ class CardFactoryArtifacts {
sb.append("beginning of the next turn's upkeep."); sb.append("beginning of the next turn's upkeep.");
ability.setDescription(sb.toString()); ability.setDescription(sb.toString());
card.addSpellAbility(ability); card.addSpellAbility(ability);
} // *************** END ************ END ************************** }*/ // *************** END ************ END **************************
// *************** START *********** START ************************** // *************** START *********** START **************************
else if (cardName.equals("Grindstone")) { else if (cardName.equals("Grindstone")) {