Fix: highestStrength always being 2147483647
This commit is contained in:
@@ -374,7 +374,7 @@ public class FilterFactory {
|
||||
new Evaluator() {
|
||||
@Override
|
||||
public int evaluateExpression(LotroGame game, PhysicalCard cardAffected) {
|
||||
int maxStrength = Integer.MAX_VALUE;
|
||||
int maxStrength = Integer.MIN_VALUE;
|
||||
for (PhysicalCard card : Filters.filterActive(game, sourceFilterable))
|
||||
maxStrength = Math.max(maxStrength, game.getModifiersQuerying().getStrength(game, card));
|
||||
return maxStrength;
|
||||
|
||||
Reference in New Issue
Block a user