GUI: fixed that some split cards show a fuse rule (#10217)

This commit is contained in:
Oleg Agafonov 2023-04-15 14:32:36 +04:00
parent d6506657d6
commit 29afbe042c

View file

@ -196,7 +196,9 @@ public abstract class SplitCard extends CardImpl implements CardWithHalves {
sourceAbilities,
sourceAbilities
);
res.add("--------------------------------------------------------------------------\n" + FUSE_RULE);
if (getSpellAbility().getSpellAbilityType() == SpellAbilityType.SPLIT_FUSED) {
res.add("--------------------------------------------------------------------------\n" + FUSE_RULE);
}
return res;
}
@ -210,7 +212,9 @@ public abstract class SplitCard extends CardImpl implements CardWithHalves {
sourceAbilities,
sourceAbilities
);
res.add("--------------------------------------------------------------------------\n" + FUSE_RULE);
if (getSpellAbility().getSpellAbilityType() == SpellAbilityType.SPLIT_FUSED) {
res.add("--------------------------------------------------------------------------\n" + FUSE_RULE);
}
return res;
}