1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +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 867227a624
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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