From 22a2c67b836ec4cb70b14bbfb0a22fd275e1dbe9 Mon Sep 17 00:00:00 2001 From: Agetian Date: Tue, 27 Sep 2016 15:50:19 +0000 Subject: [PATCH] - Temporarily reverting 26979,28842 to reduce the horrendous flickering when cards such as Gods (e.g. Thassa, God of the Sea) or card type-changing enchantments (e.g. Wind Zendikon) are present on the battlefield. - Note that this returns the previous bug with some static abilities (e.g. continuous ones) not being cleared off visually from the card (e.g. when Humility is present on the battlefield, certain static effects will still "visually linger" on the card, ditto stuff such as "may play" and so on). - I couldn't get the best of two worlds, please fix the second issue without reintroducing the first one if possible. --- forge-game/src/main/java/forge/game/StaticEffect.java | 2 +- .../java/forge/game/staticability/StaticAbilityContinuous.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/forge-game/src/main/java/forge/game/StaticEffect.java b/forge-game/src/main/java/forge/game/StaticEffect.java index cd7c7c153a7..161b30c2084 100644 --- a/forge-game/src/main/java/forge/game/StaticEffect.java +++ b/forge-game/src/main/java/forge/game/StaticEffect.java @@ -1055,7 +1055,7 @@ public class StaticEffect { if (removeMayPlay) { affectedCard.removeMayPlay(ability); } - affectedCard.updateStateForView(); + //affectedCard.updateStateForView(); } return affectedCards; } diff --git a/forge-game/src/main/java/forge/game/staticability/StaticAbilityContinuous.java b/forge-game/src/main/java/forge/game/staticability/StaticAbilityContinuous.java index 9be5cfedff8..7328410706a 100644 --- a/forge-game/src/main/java/forge/game/staticability/StaticAbilityContinuous.java +++ b/forge-game/src/main/java/forge/game/staticability/StaticAbilityContinuous.java @@ -629,7 +629,7 @@ public final class StaticAbilityContinuous { affectedCard.setMayPlay(mayPlayController, mayPlayWithoutManaCost, mayPlayIgnoreColor, mayPlayWithFlash, stAb); } - affectedCard.updateStateForView(); + //affectedCard.updateStateForView(); } return affectedCards;