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