- Converted Wydwen, the Biting Gale to keyword.

This commit is contained in:
jendave
2011-08-06 10:31:27 +00:00
parent 5096d92e9c
commit 9d22d51ac1
3 changed files with 20 additions and 11 deletions

View File

@@ -5,6 +5,7 @@ Text:no text
PT:3/3
K:Flying
K:Flash
A:AB$Bounce|Cost$U B PayLife<1>|Destination$Hand|SpellDescription$Return Wydwen, the Biting Gale to its owner's hand.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/wydwen_the_biting_gale.jpg
End

View File

@@ -23,21 +23,29 @@ public class AbilityFactory_Bounce {
StringBuilder sb = new StringBuilder();
String name = af.getHostCard().getName();
String targetname = "";
Card tgt = getTargetCard();
if (tgt != null)
targetname = tgt.getName();
else
targetname = name;
if(destination.equals("Hand"))
sb.append(name).append(" - Return ").append(getTargetCard().getName()).append(" to its owners hand.");
sb.append(name).append(" - Return ").append(targetname).append(" to its owners hand.");
if(destination.equals("TopofLibrary"))
sb.append(name).append(" - Put ").append(getTargetCard().getName()).append(" on top of its owner's library.");
sb.append(name).append(" - Put ").append(targetname).append(" on top of its owner's library.");
if(destination.equals("BottomofLibrary"))
sb.append(name).append(" - Put ").append(getTargetCard().getName()).append(" on the bottom of its owner's library.");
sb.append(name).append(" - Put ").append(targetname).append(" on the bottom of its owner's library.");
if(destination.equals("ShuffleIntoLibrary"))
sb.append(name).append(" - Shuffle ").append(getTargetCard().getName()).append(" into its owner's library.");
sb.append(name).append(" - Shuffle ").append(targetname).append(" into its owner's library.");
if(destination.equals("Exile"))
sb.append(name).append(" - Exile ").append(getTargetCard().getName());
sb.append(name).append(" - Exile ").append(targetname);
return sb.toString();
}
@@ -202,7 +210,7 @@ public class AbilityFactory_Bounce {
public static void bounceResolve(final AbilityFactory af, final SpellAbility sa, final String Destination){
HashMap<String,String> params = af.getMapParams();
String DrawBack = params.get("SubAbility");
Card card = af.getHostCard();
Card card = sa.getSourceCard();
ArrayList<Card> tgtCards;

View File

@@ -13845,7 +13845,7 @@ public class CardFactory_Creatures {
card.addComesIntoPlayCommand(gain2Life);
}//*************** END ************ END **************************
/*
//*************** START *********** START **************************
else if(cardName.equals("Wydwen, the Biting Gale")) {
final SpellAbility a1 = new Ability(card, "U B PayLife<1>") {
@@ -13858,10 +13858,10 @@ public class CardFactory_Creatures {
@Override
public void resolve() {
PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, card.getOwner());
/*
AllZone.getZone(card).remove(card);
hand.add(card);
*/
if(card.isToken()) AllZone.getZone(card).remove(card);
else AllZone.GameAction.moveTo(hand, card);
}
@@ -13875,7 +13875,7 @@ public class CardFactory_Creatures {
a1.setDescription("U B, Pay 1 life: Return Wydwen, the Biting Gale to its owner's hand.");
}//*************** END ************ END **************************
*/
//*************** START *********** START **************************
else if(cardName.equals("Tradewind Rider")) {