mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
convert Flame Rift to SP$DamageAll
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
Name:Flame Rift
|
||||
ManaCost:1 R
|
||||
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:Picture:http://www.wizards.com/global/images/magic/general/flame_rift.jpg
|
||||
SetInfo:NMS|Common|http://magiccards.info/scans/en/ne/80.jpg
|
||||
|
||||
@@ -4085,27 +4085,6 @@ public class CardFactory_Sorceries {
|
||||
}//*************** 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 **************************
|
||||
else if(cardName.equals("Donate")) {
|
||||
final SpellAbility spell = new Spell(card) {
|
||||
|
||||
Reference in New Issue
Block a user