1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-03-31 17:00:10 -09:00

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

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;
}