[SNC] fixed Bouncer's Betrayal getting sum of power rather than maximum (fixes #8965)

This commit is contained in:
Evan Kranzler 2022-05-18 09:35:40 -04:00
parent c74483488b
commit 0332673883

View file

@ -28,7 +28,8 @@ public enum GreatestPowerAmongControlledCreaturesValue implements DynamicValue {
).stream() ).stream()
.map(MageObject::getPower) .map(MageObject::getPower)
.mapToInt(MageInt::getValue) .mapToInt(MageInt::getValue)
.sum(); .max()
.orElse(0);
} }
@Override @Override