Fixing adding threat text.

This commit is contained in:
marcins78@gmail.com
2011-11-19 18:52:44 +00:00
parent 0deea16af0
commit 9b08203aca

View File

@@ -40,7 +40,8 @@ public class AddThreatsEffect extends AbstractEffect {
@Override
public String getText(LotroGame game) {
return "Add " + _count + " threat" + ((evaluateCount(game) > 1) ? "s" : "");
int number = evaluateCount(game);
return "Add " + number + " threat" + ((number > 1) ? "s" : "");
}
@Override