1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-07 03:07:45 +00:00

ignore soulstones in ilvl calculation

This commit is contained in:
NotAdam 2019-04-25 18:26:35 +10:00
parent fc9f1e6673
commit 9a26a24d31

View file

@ -843,7 +843,7 @@ uint16_t Sapphire::Entity::Player::calculateEquippedGearItemLevel()
{
auto currItem = it->second;
if( currItem )
if( currItem && currItem->getCategory() != Common::ItemUICategory::SoulCrystal )
{
iLvlResult += currItem->getItemLevel();