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