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

@@ -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") ){
@@ -6807,7 +6807,7 @@ public class CardFactory implements NewConstants {
card.clearSpellAbility();
card.addSpellAbility(spell);
if(cardName.equals("Renewed Faith")) {
// card.addSpellAbility(CardFactoryUtil.ability_cycle(card, "1 W"));
// card.addSpellAbility(CardFactoryUtil.ability_cycle(card, "1 W"));
card.addCycleCommand(new Command() {
private static final long serialVersionUID = 7699412574052780825L;
@@ -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 **************************