i was going though the code working on a magelo clone and i noticed my hp on the clone where not showing up right in game then i did a show stats and boom there where the stats so i started looking though them in the code and what do you know..
Chaotic Potential as not being calculated into the getmaxstat() setting..
i set this but have not tested
works in the clone though.'
client_mods.cpp
Code:
sint16 Client::GetMaxStat() const {
int level = GetLevel();
sint16 base = 0;
if (level < 61) {
base = 255;
}
else if (level < 71) {
base = 255 + 5 * (level - 60);
}
else {
base = 280;
}
base += GetAA(aaPlanarPower) * 5;
//////////ADDED/////////////////////////////////////
base += GetAA(aaChaoticPotential) * 5;
////////END ADDED///////////////////////////////////
return(base);
}
like i said have not tested it not sure if aaChaoticPotential is defined anywhere but it at lests show what im talking about.