In zone/attack.cpp
This:
Code:
if(GetLevel() < 10 && max_hit > 20)
max_hit = (RuleI(Combat, HitCapPre10));
else if(GetLevel() < 20 && max_hit > 40)
max_hit = (RuleI(Combat, HitCapPre20));
Should probably be this:
Code:
if(GetLevel() < 10 && max_hit > RuleI(Combat, HitCapPre10))
{
max_hit = (RuleI(Combat, HitCapPre10));
}
else if(GetLevel() < 20 && max_hit > RuleI(Combat, HitCapPre20))
{
max_hit = (RuleI(Combat, HitCapPre20));
}
It's not going to be an issue for most people, but it could cause some problems on custom servers.