- Added Stream of Life and Vitalizing Cascade.

- Added their LQ pic urls.
This commit is contained in:
jendave
2011-08-06 03:37:39 +00:00
parent da2bc0daa3
commit 291a915f25
3 changed files with 74 additions and 0 deletions

View File

@@ -38,6 +38,8 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
stream_of_life.jpg http://www.wizards.com/global/images/magic/general/stream_of_life.jpg
vitalizing_cascade.jpg http://www.wizards.com/global/images/magic/general/vitalizing_cascade.jpg
savage_twister.jpg http://www.wizards.com/global/images/magic/general/savage_twister.jpg savage_twister.jpg http://www.wizards.com/global/images/magic/general/savage_twister.jpg
starstorm.jpg http://www.wizards.com/global/images/magic/general/starstorm.jpg starstorm.jpg http://www.wizards.com/global/images/magic/general/starstorm.jpg
squall_line.jpg http://www.wizards.com/global/images/magic/general/squall_line.jpg squall_line.jpg http://www.wizards.com/global/images/magic/general/squall_line.jpg

View File

@@ -1,3 +1,12 @@
Stream of Life
X G
Sorcery
no text
Vitalizing Cascade
X G W
Instant
Savage Twister Savage Twister
X R G X R G
Sorcery Sorcery

View File

@@ -17406,6 +17406,69 @@ public class CardFactory implements NewConstants {
} }
//*************** END ************ END ************************** //*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Stream of Life"))
{
final SpellAbility spell = new Spell(card){
private static final long serialVersionUID = 851280814064291421L;
public void resolve()
{
String player = getTargetPlayer();
AllZone.GameAction.getPlayerLife(player).addLife(card.getXManaCostPaid());
card.setXManaCostPaid(0);
}
public boolean canPlayAI()
{
int humanLife = AllZone.Human_Life.getLife();
int computerLife = AllZone.Computer_Life.getLife();
final int maxX = ComputerUtil.getAvailableMana().size() - 1;
return maxX > 3 && (humanLife >= computerLife);
}
};
spell.setDescription("Target player gains X life.");
spell.setBeforePayMana(CardFactoryUtil.input_targetPlayer(spell));
spell.setChooseTargetAI(CardFactoryUtil.AI_targetComputer());
card.clearSpellAbility();
card.addSpellAbility(spell);
}
//*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Vitalizing Cascade"))
{
final SpellAbility spell = new Spell(card){
private static final long serialVersionUID = -5930794708688097023L;
public void resolve()
{
AllZone.GameAction.getPlayerLife(card.getController()).addLife(card.getXManaCostPaid() + 3);
card.setXManaCostPaid(0);
}
public boolean canPlayAI()
{
int humanLife = AllZone.Human_Life.getLife();
int computerLife = AllZone.Computer_Life.getLife();
final int maxX = ComputerUtil.getAvailableMana().size() - 1;
return maxX > 3 && (humanLife >= computerLife);
}
};
spell.setDescription("You gain X plus 3 life.");
spell.setStackDescription("Vitalizing Cascade - You gain X plus 3 life.");
card.clearSpellAbility();
card.addSpellAbility(spell);
}
//*************** END ************ END **************************
// Cards with Cycling abilities // Cards with Cycling abilities
// -1 means keyword "Cycling" not found // -1 means keyword "Cycling" not found
if(hasKeyword(card, "Cycling") != -1) { if(hasKeyword(card, "Cycling") != -1) {