Remove hardcoded limit for parent skill levels when calculating child skill level

This commit is contained in:
Byteflux 2015-08-16 00:35:22 -07:00
parent 5b19e2e9d2
commit 5f21efb1cd

View File

@ -355,7 +355,7 @@ public class PlayerProfile {
int sum = 0;
for (SkillType parent : parents) {
sum += Math.min(getSkillLevel(parent), 1000);
sum += Math.min(getSkillLevel(parent), parent.getMaxLevel());
}
return sum / parents.size();