mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
* Fixed that Morph put face up ability was shown twice in the tooltip rule text (fixes #6663).
This commit is contained in:
parent
50c46e39a3
commit
99a651876a
1 changed files with 2 additions and 3 deletions
|
@ -95,10 +95,9 @@ public class PermanentView extends CardView {
|
||||||
if (controlled) {
|
if (controlled) {
|
||||||
// must be a morphed or manifested card
|
// must be a morphed or manifested card
|
||||||
for (Ability permanentAbility : permanent.getAbilities()) {
|
for (Ability permanentAbility : permanent.getAbilities()) {
|
||||||
if (permanentAbility instanceof TurnFaceUpAbility && !permanentAbility.getRuleVisible()) {
|
|
||||||
this.rules.add(permanentAbility.getRule(true));
|
|
||||||
}
|
|
||||||
if (permanentAbility.getWorksFaceDown()) {
|
if (permanentAbility.getWorksFaceDown()) {
|
||||||
|
this.rules.add(permanentAbility.getRule(true));
|
||||||
|
} else if (permanentAbility instanceof TurnFaceUpAbility && !permanentAbility.getRuleVisible()) {
|
||||||
this.rules.add(permanentAbility.getRule());
|
this.rules.add(permanentAbility.getRule());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue