mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Fix so both sides of split card have text displayed when card not on stack
Fix so only the cast half of a split card has its mana cost displayed when it's on the stack
This commit is contained in:
@@ -520,6 +520,11 @@ public class CardView extends GameEntityView {
|
||||
}
|
||||
sb.append(state.getAbilityText());
|
||||
|
||||
if (state.getState() == CardStateName.LeftSplit && getZone() != ZoneType.Stack) {
|
||||
//ensure ability text for right half of split card is included unless spell is on stack
|
||||
sb.append("\r\n\r\n").append(getAlternateState().getAbilityText());
|
||||
}
|
||||
|
||||
String nonAbilityText = get(TrackableProperty.NonAbilityText);
|
||||
int blockAdditional = state.getBlockAdditional();
|
||||
if (blockAdditional > 1) {
|
||||
|
||||
Reference in New Issue
Block a user