- Converted Deep Analysis to script.

This commit is contained in:
jendave
2011-08-06 18:25:10 +00:00
parent fe1e99099c
commit 0cb167342a
2 changed files with 2 additions and 28 deletions

View File

@@ -2,6 +2,8 @@ Name:Deep Analysis
ManaCost:3 U ManaCost:3 U
Types:Sorcery Types:Sorcery
Text:no text Text:no text
K:Flashback:1 U PayLife<3>
A:SP$ Draw | Cost$ 3 U | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ 2 | SpellDescription$ Target player draws two cards.
SVar:Rarity:Common SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/deep_analysis.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/deep_analysis.jpg
SetInfo:TOR|Common|http://magiccards.info/scans/en/tr/36.jpg SetInfo:TOR|Common|http://magiccards.info/scans/en/tr/36.jpg

View File

@@ -1473,34 +1473,6 @@ public class CardFactory_Sorceries {
}//*************** END ************ END ************************** }//*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Deep Analysis")) {
SpellAbility spell = new Spell(card) {
private static final long serialVersionUID = 6317660847906461825L;
@Override
public void resolve() {
card.getController().drawCards(2);
}
@Override
public boolean canPlayAI() {
return AllZone.Computer_Hand.getCards().length <= 6;
}
};
spell.setDescription("Target player draws two cards.");
StringBuilder sb = new StringBuilder();
sb.append(card.getName()).append(" - ").append(card.getController()).append(" draws two cards.");
spell.setStackDescription(sb.toString());
card.clearSpellAbility();
card.addSpellAbility(spell);
card.addSpellAbility(CardFactoryUtil.ability_Flashback(card, "1 U PayLife<3>"));
card.setFlashback(true);
}//*************** END ************ END **************************
//*************** START *********** START ************************** //*************** START *********** START **************************
else if(cardName.equals("Pulse of the Tangle")) { else if(cardName.equals("Pulse of the Tangle")) {