mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
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:
@@ -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 **************************
|
||||
|
||||
Reference in New Issue
Block a user