1) Converted these cards from code to keyword:

Dosan's Oldest Chant; 
   Rejuvenate; 
   Nourish; 
   Renewed Faith
2) Cleaned up the card object for the remaining spell Renewed Faith. It now only contains the addCycle command.
This commit is contained in:
jendave
2011-08-06 03:44:43 +00:00
parent 9e3cc9c5cf
commit 3415d10306
2 changed files with 22 additions and 3 deletions

View File

@@ -4577,6 +4577,7 @@ Rejuvenate
3 G
Sorcery
no text
spGainLife:6
Cycling:2
Absolute Grace
@@ -5930,6 +5931,7 @@ Nourish
G G
Instant
no text
spGainLife:6
Arcbound Bruiser
5
@@ -6183,6 +6185,7 @@ Dosan's Oldest Chant
4 G
Sorcery
no text
spGainLife:6
Draw a card.
Sluggishness
@@ -17147,7 +17150,8 @@ Nevinyrral's Disk comes into play tapped.
Renewed Faith
2 W
Instant
no text
When you cycle Renewed Faith, you may gain 2 life.
spGainLife:6
Cycling:1 W
Hymn to Tourach

View File

@@ -6778,7 +6778,7 @@ public class CardFactory implements NewConstants {
card.addSpellAbility(spell);
}//*************** END ************ END **************************
/*
//*************** START *********** START **************************
else if(cardName.equals("Renewed Faith") || cardName.equals("Rejuvenate")
|| cardName.equals("Dosan's Oldest Chant") || cardName.equals("Nourish") ){
@@ -6818,6 +6818,21 @@ public class CardFactory implements NewConstants {
});
}
}//*************** END ************ END **************************
*/
//*************** START *********** START **************************
else if (cardName.equals("Renewed Faith")) {
card.addCycleCommand(new Command() {
private static final long serialVersionUID = 7699412574052780825L;
public void execute() {
PlayerLife life = AllZone.GameAction.getPlayerLife(card.getController());
life.addLife(2);
}
});
}//*************** END ************ END **************************
//*************** START *********** START **************************