Renewed Faith: removed spell description from cards.txt and modified the CardFactory file to provide the additional data needed for this spell. Looks good for all 3 spells covered by this code block: Renewed Faith; Dosan's Oldest Chant; Nourish.

This commit is contained in:
jendave
2011-08-06 02:53:05 +00:00
parent cf5e5f3499
commit 717bba9811
2 changed files with 7 additions and 2 deletions

View File

@@ -6783,7 +6783,12 @@ public class CardFactory implements NewConstants {
life.addLife(6);
}
};
spell.setDescription("You gain 6 life.");
String desc = "You gain 6 life.";
if (cardName.equals("Renewed Faith"))
desc = desc + "\r\n\r\nWhen you cycle Renewed Faith, you may gain 2 life.\r\n";
spell.setDescription(desc);
card.clearSpellAbility();
card.addSpellAbility(spell);