Skip to content

Commit

Permalink
Player info - max item lvl calculations #423
Browse files Browse the repository at this point in the history
  • Loading branch information
FrutyX authored Oct 1, 2022
1 parent bbb18a8 commit f3cde80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/core/source/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ var gca_player = {
var level = parseInt(document.getElementById('char_level').textContent, 10);

// Generate info
info.push(gca_locale.get('overview', 'can_use_max_item_level', {max : (level + 16)}));
info.push(gca_locale.get('overview', 'can_use_max_item_level', {max : ( ( level+16<Math.floor(1.25*level+7.75) )? level+16 : Math.floor(1.25*level+7.75) ) }));
info.push(gca_locale.get('overview', 'can_see_market_max_item_level', {max : ( ( level+9<Math.floor(1.25*level) )? level+9 : Math.floor(1.25*level) ) }));
info.push(gca_locale.get('overview', 'can_see_auction_item_levels', {
min : ( Math.floor(level* 0.75) ),
Expand Down

0 comments on commit f3cde80

Please sign in to comment.