mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Make the AI account for static abilities granted from the evaluated card in ApplyStaticContPT
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user