diff --git a/res/card-pictures.txt b/res/card-pictures.txt index 59424581003..0af8b334944 100644 --- a/res/card-pictures.txt +++ b/res/card-pictures.txt @@ -18,6 +18,7 @@ forest.jpg http://resources.wizards.com/magic/cards/unh/en-us/card73946.jpg forest1.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=2748 forest2.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=587 forest3.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=586 +rathi_trapper.jpg http://www.wizards.com/global/images/magic/general/rathi_trapper.jpg hollow_dogs.jpg http://www.wizards.com/global/images/magic/general/hollow_dogs.jpg lurking_nightstalker.jpg http://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=6557 vicious_kavu.jpg http://www.wizards.com/global/images/magic/general/vicious_kavu.jpg diff --git a/res/cards.txt b/res/cards.txt index 9b293b111a3..ac0dbd8c217 100644 --- a/res/cards.txt +++ b/res/cards.txt @@ -1,3 +1,9 @@ +Rathi Trapper +1 B +Creature Human Rebel Rogue +no text +1/2 + Charging Bandits 4 B Creature Human Rogue diff --git a/src/forge/CardFactory_Creatures.java b/src/forge/CardFactory_Creatures.java index 7938b1088bb..dd78fb23b41 100644 --- a/src/forge/CardFactory_Creatures.java +++ b/src/forge/CardFactory_Creatures.java @@ -163,6 +163,32 @@ public class CardFactory_Creatures { a1.setBeforePayMana(CardFactoryUtil.input_targetPlayer(a1)); }//*************** END ************ END ************************** + //*************** START *********** START ************************** + else if(cardName.equals("Street Wraith")) + { + final SpellAbility a1 = new Ability_Hand(card, "0") + { + + private static final long serialVersionUID = -4960704261761785512L; + + public boolean canPlayAI() {return false;} + + public void resolve() + { + AllZone.GameAction.getPlayerLife(card.getController()).subtractLife(2); + AllZone.GameAction.discard(card); + AllZone.GameAction.drawCard(card.getController()); + card.cycle(); + }; + + + };//SpellAbility + card.addSpellAbility(a1); + a1.setDescription("Cycling - (Pay 2 life, Discard this card: Draw a card.)"); + a1.setStackDescription(card +" Cycling: Draw a card"); + + }//*************** END ************ END ************************** + //*************** START *********** START ************************** else if(cardName.equals("Shinka Gatekeeper")) { @@ -9975,7 +10001,27 @@ public class CardFactory_Creatures { public boolean canPlayAI() {return false;} };//SpellAbility card.addSpellAbility(ability); - ability.setDescription("tap: Tap target creature."); + ability.setDescription("W, tap: Tap target creature."); + ability.setBeforePayMana(CardFactoryUtil.input_targetCreature(ability)); + + }//*************** END ************ END ************************** + + //*************** START *********** START ************************** + if (cardName.equals("Rathi Trapper")) + { + final SpellAbility ability = new Ability_Tap(card, "B") + { + + private static final long serialVersionUID = 4424848120984319655L; + public void resolve() + { + Card c = getTargetCard(); + c.tap(); + } + public boolean canPlayAI() {return false;} + };//SpellAbility + card.addSpellAbility(ability); + ability.setDescription("W, tap: Tap target creature."); ability.setBeforePayMana(CardFactoryUtil.input_targetCreature(ability)); }//*************** END ************ END ************************** @@ -9995,7 +10041,7 @@ public class CardFactory_Creatures { public boolean canPlayAI() {return false;} };//SpellAbility card.addSpellAbility(ability); - ability.setDescription("W, tap: Tap target creature."); + ability.setDescription("tap: Tap target creature."); ability.setBeforePayMana(CardFactoryUtil.input_targetCreature(ability)); }//*************** END ************ END **************************