public static final boolean POJAM_ENABLED = false;
+ public static final int EXPERIENCE_POINTS = 2;
+
/**
* Time in months a verification is considered "recent".
*/
int points = 0;
if (rs.next()) {
- points = rs.getInt(1) * 2;
+ points = rs.getInt(1) * EXPERIENCE_POINTS;
}
return points;
int exp = getExperiencePoints();
int points = 10;
- if (exp >= 10) {
+ if (exp >= 5 * EXPERIENCE_POINTS) {
points += 5;
}
- if (exp >= 20) {
+ if (exp >= 10 * EXPERIENCE_POINTS) {
points += 5;
}
- if (exp >= 30) {
+ if (exp >= 15 * EXPERIENCE_POINTS) {
points += 5;
}
- if (exp >= 40) {
+ if (exp >= 20 * EXPERIENCE_POINTS) {
points += 5;
}
- if (exp >= 50) {
+ if (exp >= 25 * EXPERIENCE_POINTS) {
points += 5;
}