Make the AI account for static abilities granted from the evaluated card in ApplyStaticContPT

This commit is contained in:
Michael Kamensky
2018-11-04 09:12:59 +00:00
parent 36fd068f93
commit d870a1b0f1
2 changed files with 3 additions and 1 deletions

View File

@@ -1616,6 +1616,7 @@ public class ComputerUtilCard {
if (exclude != null) {
list.removeAll(exclude);
}
list.add(vCard); // account for the static abilities that may be present on the card itself
for (final Card c : list) {
for (final StaticAbility stAb : c.getStaticAbilities()) {
final Map<String, String> params = stAb.getMapParams();