- Converted Sword of the Meek to script.

This commit is contained in:
Sloth
2012-01-22 14:57:53 +00:00
parent 7f7fa1a4f0
commit 48bc7cb7c7
2 changed files with 6 additions and 3 deletions

View File

@@ -1,8 +1,11 @@
Name:Sword of the Meek Name:Sword of the Meek
ManaCost:2 ManaCost:2
Types:Artifact Equipment Types:Artifact Equipment
Text:Equipped creature gets +1/+2.\r\nWhenever a 1/1 creature enters the battlefield under your control, you may return CARDNAME from your graveyard to the battlefield, then attach it to that creature. Text:Equipped creature gets +1/+2.
K:eqPump 2:+1/+2 K:eqPump 2:+1/+2
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.powerEQ1+toughnessEQ1 | Execute$ TrigReturn | TriggerZones$ Graveyard | OptionalDecider$ You | TriggerDescription$ Whenever a 1/1 creature enters the battlefield under your control, you may return CARDNAME from your graveyard to the battlefield, then attach it to that creature.
SVar:TrigReturn:AB$ChangeZone | Cost$ 0 | Defined$ Self | Origin$ Graveyard | Destination$ Battlefield | SubAbility$ DBAttach
SVar:DBAttach:DB$ Attach | Cost$ 0 | Defined$ TriggeredCard
SVar:Rarity:Uncommon SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/sword_of_the_meek.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/sword_of_the_meek.jpg
SetInfo:FUT|Uncommon|http://magiccards.info/scans/en/fut/165.jpg SetInfo:FUT|Uncommon|http://magiccards.info/scans/en/fut/165.jpg

View File

@@ -199,7 +199,7 @@ public class PlayerZoneComesIntoPlay extends DefaultPlayerZone {
} }
} }
final CardList meek = player.getCardsIn(Zone.Graveyard, "Sword of the Meek"); /*final CardList meek = player.getCardsIn(Zone.Graveyard, "Sword of the Meek");
if ((meek.size() > 0) && c.isCreature() && (c.getNetAttack() == 1) && (c.getNetDefense() == 1)) { if ((meek.size() > 0) && c.isCreature() && (c.getNetAttack() == 1) && (c.getNetDefense() == 1)) {
for (int i = 0; i < meek.size(); i++) { for (int i = 0; i < meek.size(); i++) {
@@ -239,7 +239,7 @@ public class PlayerZoneComesIntoPlay extends DefaultPlayerZone {
AllZone.getStack().addSimultaneousStackEntry(ability); AllZone.getStack().addSimultaneousStackEntry(ability);
} }
} }*/
} // end add() } // end add()