int16 Client::GetMaxResist() const
{
int level = GetLevel();
int16 base = 500; <--- change this number
if(level > 60)
base += ((level - 60) * 5);
return base;
}
No particular reason the server would need to care what your client says your resists are. (It technically doesn't, they both calculate the numbers independently.) But it's nice to have things in sync, obviously.
|