mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Update the visual state of a card when adding KW Haste to ensure that the summoning sickness icon is removed from it.
This commit is contained in:
@@ -128,6 +128,9 @@ public class ControlGainEffect extends SpellAbilityEffect {
|
||||
if (null != kws) {
|
||||
for (final String kw : kws) {
|
||||
tgtC.addExtrinsicKeyword(kw);
|
||||
if (kw.equals("Haste")) {
|
||||
tgtC.updateStateForView(); // ensure that summoning sickness icon is removed
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user