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