- Fixed bug with AI responding wrongly with pumps against exile effects

This commit is contained in:
excessum
2016-08-04 12:43:07 +00:00
parent 987af3d0fd
commit c802512ffd

View File

@@ -1454,7 +1454,7 @@ public class ComputerUtil {
if (o instanceof Card) {
final Card c = (Card) o;
// give Shroud to targeted creatures
if ((saviourApi == ApiType.Pump || saviourApi == ApiType.PumpAll && tgt == null) && !grantShroud) {
if ((saviourApi == ApiType.Pump || saviourApi == ApiType.PumpAll) && (tgt == null || !grantShroud)) {
continue;
}
if (saviourApi == ApiType.Protection) {