What line where can i find the if u put int go u mp same thing with the if put sta u get hp and fp. Thanks!
int CMover::GetMaxOriginManaPoint(BOOL bOriginal)
{
int nInt = 0;
if (bOriginal)
{
nInt = m_nInt;
}
else
{
nInt = GetInt();
}
if (IsPlayer())
{
JobProp* pProperty = prj.GetJobProp(GetJob());
float factor = pProperty->fFactorMaxMP;
int nMaxMP = (int)(((((m_nLevel * 2.0F) + (nInt * 8.0F)) * factor) + 22.0F) + (nInt * factor));
return nMaxMP;
}
return ((m_nLevel * 2) + (nInt * 8) + 22);
}
int CMover::GetMaxOriginManaPoint(BOOL bOriginal)
{
int nInt, nStr, nDex;
if (bOriginal)
{
nInt = m_nInt;
nStr = m_nStr;
nDex = m_nDex;
}
else
{
nInt = GetInt();
nStr = GetStr();
nDex = GetDex();
}
if (IsPlayer())
{
JobProp* pProperty = prj.GetJobProp(GetJob());
float factor = pProperty->fFactorMaxMP;
int nMaxMP = (int)(((((m_nLevel * 2.0f) + (nInt * 8.0f)) * factor) + 22.0f) + (nInt * factor) + (nStr * factor) + (nDex * factor));
return nMaxMP;
}
return ((m_nLevel * 2) + (nInt * 8) + 22) + (nStr * 5) + (nDex * 5);
}