mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Added Stream of Life and Vitalizing Cascade.
- Added their LQ pic urls.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user