mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
[SNC] fixed Bouncer's Betrayal getting sum of power rather than maximum (fixes #8965)
This commit is contained in:
parent
c74483488b
commit
0332673883
1 changed files with 2 additions and 1 deletions
|
|
@ -28,7 +28,8 @@ public enum GreatestPowerAmongControlledCreaturesValue implements DynamicValue {
|
|||
).stream()
|
||||
.map(MageObject::getPower)
|
||||
.mapToInt(MageInt::getValue)
|
||||
.sum();
|
||||
.max()
|
||||
.orElse(0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue