mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 14:07:46 +00:00
Style;
This commit is contained in:
parent
5a0d95f4ca
commit
b9b8e3a0e4
1 changed files with 4 additions and 4 deletions
|
@ -53,8 +53,8 @@ uint32_t CalcBattle::calculateMaxHp( PlayerPtr pPlayer )
|
|||
auto classInfoIt = g_exdData.m_classJobInfoMap.find( pPlayer->getClass() );
|
||||
auto paramGrowthInfoIt = g_exdData.m_paramGrowthInfoMap.find( pPlayer->getLevel() );
|
||||
|
||||
if (classInfoIt == g_exdData.m_classJobInfoMap.end() ||
|
||||
paramGrowthInfoIt == g_exdData.m_paramGrowthInfoMap.end())
|
||||
if ( classInfoIt == g_exdData.m_classJobInfoMap.end() ||
|
||||
paramGrowthInfoIt == g_exdData.m_paramGrowthInfoMap.end() )
|
||||
return 0;
|
||||
|
||||
uint8_t level = pPlayer->getLevel();
|
||||
|
@ -87,8 +87,8 @@ uint32_t CalcBattle::calculateMaxMp( PlayerPtr pPlayer )
|
|||
auto classInfoIt = g_exdData.m_classJobInfoMap.find( pPlayer->getClass() );
|
||||
auto paramGrowthInfoIt = g_exdData.m_paramGrowthInfoMap.find( pPlayer->getLevel() );
|
||||
|
||||
if (classInfoIt == g_exdData.m_classJobInfoMap.end() ||
|
||||
paramGrowthInfoIt == g_exdData.m_paramGrowthInfoMap.end())
|
||||
if ( classInfoIt == g_exdData.m_classJobInfoMap.end() ||
|
||||
paramGrowthInfoIt == g_exdData.m_paramGrowthInfoMap.end() )
|
||||
return 0;
|
||||
|
||||
float baseStat = calculateBaseStat( pPlayer );
|
||||
|
|
Loading…
Add table
Reference in a new issue