mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed KW "CARDNAME's power and toughness are switched" not visually changing back power and toughness upon end of turn.
This commit is contained in:
@@ -67,9 +67,15 @@ public class PumpEffect extends SpellAbilityEffect {
|
||||
applyTo.addTempToughnessBoost(-1 * d);
|
||||
|
||||
if (keywords.size() > 0) {
|
||||
boolean redrawPT = false;
|
||||
|
||||
for (String kw : keywords) {
|
||||
redrawPT |= kw.contains("CARDNAME's power and toughness are switched");
|
||||
if (kw.startsWith("HIDDEN")) {
|
||||
applyTo.removeHiddenExtrinsicKeyword(kw);
|
||||
if (redrawPT) {
|
||||
applyTo.updatePowerToughnessView();
|
||||
}
|
||||
}
|
||||
}
|
||||
applyTo.removeChangedCardKeywords(timestamp);
|
||||
|
||||
Reference in New Issue
Block a user