1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-02 16:57:47 +00:00

Merge pull request #197 from GokuWeedLord/fix/itemlevelcalc

fix itemlevel calculation being incorrect
This commit is contained in:
Mordred 2017-12-11 00:05:14 +01:00 committed by GitHub
commit 8728a4aae8

View file

@ -884,7 +884,7 @@ uint16_t Core::Inventory::calculateEquippedGearItemLevel()
it++; it++;
} }
return boost::algorithm::clamp( iLvlResult / 12, 0, 9999 ); return boost::algorithm::clamp( iLvlResult / 13, 0, 9999 );
} }