Thread: Dragon fear
View Single Post
  #35  
Old 07-24-2014, 10:26 AM
Zaela Zaela is offline
Sarnak


Join Date: Jul 2014
Posts: 319
Default

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.
Last edited by Zaela; 07-24-2014 at 10:38 AM..