mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
game: improved visible rules of face down cards, removed visible face up cost (part of #10653, #11884)
This commit is contained in:
parent
9ea3356b77
commit
55f1d36695
10 changed files with 128 additions and 58 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue