- Combined text on split cards is no longer force-created based on Oracle texts (avoids duplication of text in the card detail panel).

This commit is contained in:
Agetian
2013-03-03 19:26:11 +00:00
parent 49de0c5039
commit 29ba518dcb

View File

@@ -288,7 +288,7 @@ public class CardFactory {
// this is the "default" spell for permanents like creatures and artifacts // this is the "default" spell for permanents like creatures and artifacts
if (card.isPermanent() && !card.isAura() && !card.isLand()) { if (card.isPermanent() && !card.isAura() && !card.isLand()) {
card.addSpellAbility(new SpellPermanent(card)); // ignore the default spell for combined split cards card.addSpellAbility(new SpellPermanent(card));
} }
CardFactoryUtil.parseKeywords(card, cardName); CardFactoryUtil.parseKeywords(card, cardName);
@@ -385,9 +385,9 @@ public class CardFactory {
coreTypes.addAll(rules.getType().getSubTypes()); coreTypes.addAll(rules.getType().getSubTypes());
card.setType(coreTypes); card.setType(coreTypes);
// Combined text -- CURRENTLY TAKES ORACLE TEXT BECAUSE THE ABILITY TEXT DOESN'T WORK (?) // Combined text based on Oracle text - might not be necessary, temporarily disabled.
String combinedText = String.format("%s: %s\n%s: %s", rules.getMainPart().getName(), rules.getMainPart().getOracleText(), rules.getOtherPart().getName(), rules.getOtherPart().getOracleText()); //String combinedText = String.format("%s: %s\n%s: %s", rules.getMainPart().getName(), rules.getMainPart().getOracleText(), rules.getOtherPart().getName(), rules.getOtherPart().getOracleText());
card.setText(combinedText); //card.setText(combinedText);
} }
return card; return card;