1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-13 09:11:06 -09:00

Fix Surge Engine ()

This commit is contained in:
Artemis Kearney 2022-12-28 15:27:57 -06:00 committed by GitHub
parent 2f0a0c0f03
commit e2b79ea920
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ enum SurgeEngineCondition implements Condition {
return Optional
.ofNullable(source.getSourcePermanentIfItStillExists(game))
.filter(Objects::nonNull)
.map(permanent -> permanent.hasAbility(DefenderAbility.getInstance(), game))
.map(permanent -> !permanent.hasAbility(DefenderAbility.getInstance(), game))
.orElse(false);
}