mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed bug with AI responding wrongly with pumps against exile effects
This commit is contained in:
@@ -1454,7 +1454,7 @@ public class ComputerUtil {
|
|||||||
if (o instanceof Card) {
|
if (o instanceof Card) {
|
||||||
final Card c = (Card) o;
|
final Card c = (Card) o;
|
||||||
// give Shroud to targeted creatures
|
// 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;
|
continue;
|
||||||
}
|
}
|
||||||
if (saviourApi == ApiType.Protection) {
|
if (saviourApi == ApiType.Protection) {
|
||||||
|
|||||||
Reference in New Issue
Block a user