mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +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) {
|
if (null != kws) {
|
||||||
for (final String kw : kws) {
|
for (final String kw : kws) {
|
||||||
tgtC.addExtrinsicKeyword(kw);
|
tgtC.addExtrinsicKeyword(kw);
|
||||||
|
if (kw.equals("Haste")) {
|
||||||
|
tgtC.updateStateForView(); // ensure that summoning sickness icon is removed
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user