game: improved visible rules of face down cards, removed visible face up cost (part of #10653, #11884)

This commit is contained in:
Oleg Agafonov 2024-03-01 16:47:42 +04:00
parent 9ea3356b77
commit 55f1d36695
10 changed files with 128 additions and 58 deletions

View file

@ -373,14 +373,6 @@ public class CardView extends SimpleCardView {
this.superTypes = new ArrayList<>(card.getSuperType());
this.subTypes = card.getSubtype().copy();
this.rules = new ArrayList<>(card.getRules());
// additional rules for stack (example: morph ability text)
if (sourceCard instanceof Spell) {
List<String> extraRules = sourceCard.getSpellAbility().getSpellAbilityCastMode().getAdditionalRulesOnStack();
if (extraRules != null) {
this.rules.addAll(extraRules);
}
}
}
// GUI: enable day/night button to view original face up card