mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Volrath's Shapeshifter: run a limited update for ability and keyword text such that the changed text is always visualized (e.g. things like Rally triggers).
This commit is contained in:
@@ -456,6 +456,11 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
view.updateState(this);
|
||||
}
|
||||
|
||||
public void updateAbilityTextForView() {
|
||||
view.getCurrentState().updateKeywords(this, getCurrentState());
|
||||
view.getCurrentState().updateAbilityText(this, getCurrentState());
|
||||
}
|
||||
|
||||
public void setPreFaceDownState(CardStateName preCharacteristic) {
|
||||
preFaceDownState = preCharacteristic;
|
||||
}
|
||||
|
||||
@@ -516,6 +516,7 @@ public final class StaticAbilityContinuous {
|
||||
affectedCard.getCurrentState().addStaticAbility(stAb);
|
||||
}
|
||||
}
|
||||
affectedCard.updateAbilityTextForView();
|
||||
}
|
||||
|
||||
// Change color words
|
||||
|
||||
Reference in New Issue
Block a user