- 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

@@ -3,8 +3,8 @@ ManaCost:4
Types:Artifact Types:Artifact
Text:no text Text:no text
A:AB$ DealDamage | Cost$ 1 T | NumDmg$ 1 | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | SubAbility$ SquirrelTokenCtrl | SpellDescription$ CARDNAME deals 1 damage to target creature or player. That creature's controller or that player puts a 1/1 green Squirrel creature token onto the battlefield. A:AB$ DealDamage | Cost$ 1 T | NumDmg$ 1 | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | SubAbility$ SquirrelTokenCtrl | SpellDescription$ CARDNAME deals 1 damage to target creature or player. That creature's controller or that player puts a 1/1 green Squirrel creature token onto the battlefield.
SVar:SquirrelTokenCtrl:DB$Token | TokenAmount$ 1 | TokenName$ Squirrel | TokenTypes$ Creature,Squirrel | TokenOwner$ Targeted | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 1 | SubAbility$ SquirrelTokenPlayer | ConditionDefined$ Targeted | ConditionPresent$ Card.Creature | ConditionCompare$ EQ0 SVar:SquirrelTokenCtrl:DB$ Token | TokenAmount$ 1 | TokenName$ Squirrel | TokenTypes$ Creature,Squirrel | TokenOwner$ Targeted | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 1 | SubAbility$ SquirrelTokenPlayer | ConditionDefined$ Targeted | ConditionPresent$ Card.Creature | ConditionCompare$ EQ0
SVar:SquirrelTokenPlayer:DB$Token | TokenAmount$ 1 | TokenName$ Squirrel | TokenTypes$ Creature,Squirrel | TokenOwner$ TargetedController | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 1 | ConditionDefined$ Targeted | ConditionPresent$ Card.Creature | ConditionCompare$ GE1 SVar:SquirrelTokenPlayer:DB$ Token | TokenAmount$ 1 | TokenName$ Squirrel | TokenTypes$ Creature,Squirrel | TokenOwner$ TargetedController | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 1 | ConditionDefined$ Targeted | ConditionPresent$ Card.Creature | ConditionCompare$ GE1
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:Rarity:Rare SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/acorn_catapult.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/acorn_catapult.jpg

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")) {