convert Flame Rift to SP$DamageAll

This commit is contained in:
jendave
2011-08-06 14:14:52 +00:00
parent 77d202b325
commit 3f8d24870c
2 changed files with 2 additions and 22 deletions

View File

@@ -1,7 +1,8 @@
Name:Flame Rift Name:Flame Rift
ManaCost:1 R ManaCost:1 R
Types:Sorcery Types:Sorcery
Text:Flame Rift deals 4 damage to each player. Text:no text
A:SP$DamageAll|Cost$1 R|NumDmg$4|ValidPlayers$Each|ValidDescription$each player.|SpellDescription$CARDNAME deals 4 damage to each player.
SVar:Rarity:Common SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/flame_rift.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/flame_rift.jpg
SetInfo:NMS|Common|http://magiccards.info/scans/en/ne/80.jpg SetInfo:NMS|Common|http://magiccards.info/scans/en/ne/80.jpg

View File

@@ -4084,27 +4084,6 @@ public class CardFactory_Sorceries {
card.addSpellAbility(spell); card.addSpellAbility(spell);
}//*************** END ************ END ************************** }//*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Flame Rift")) {
final SpellAbility spell = new Spell(card) {
private static final long serialVersionUID = -6008296722680155321L;
@Override
public void resolve() {
AllZone.HumanPlayer.addDamage(4, card);
AllZone.ComputerPlayer.addDamage(4, card);
}
@Override
public boolean canPlayAI() {
return AllZone.ComputerPlayer.getLife() > 7 && AllZone.HumanPlayer.getLife() < 7;
}
};
card.clearSpellAbility();
card.addSpellAbility(spell);
}//*************** END ************ END **************************
//*************** START *********** START ************************** //*************** START *********** START **************************
else if(cardName.equals("Donate")) { else if(cardName.equals("Donate")) {