[NEO] fix Boon of Boseiju using sum of mana values rather than max (fixes #9313)

This commit is contained in:
Evan Kranzler 2022-07-24 11:12:45 -04:00
parent 8c9c1d1d33
commit 2fff240353

View file

@ -54,7 +54,7 @@ enum BoonOfBoseijuValue implements DynamicValue {
return game.getBattlefield().getActivePermanents(
StaticFilters.FILTER_CONTROLLED_PERMANENT,
sourceAbility.getControllerId(), sourceAbility, game
).stream().mapToInt(MageObject::getManaValue).sum();
).stream().mapToInt(MageObject::getManaValue).max().orElse(0);
}
@Override