Skip to content
Snippets Groups Projects

reAddMarketBreakdownTooltip

Per discussion within !10809 (merged).

This probably less than ideal however the multiplier must be clamped somewhere as the large values created by updateMultiplier(Market reach exceeded, (cost * (V.slavesSeen - V.slaveMarketLimit))) do not impact the price anywhere near to the same degree.
Also modifiers are only reported if a value is present which makes sense.

For the sake of discussion if a slave is from the market;

cost = 150000;
V.slavesSeen = 25;
V.slaveMarketLimit = 24.719;


Implemented as previously, produces 154,000
Implementing the commented out line produces: 150,000 despite the massive value assigned to it.
image

Edited by Blank_Alt

Merge request reports

Merged by PregmodderPregmodder 2 years ago (Apr 17, 2022 3:41pm UTC)

Loading

Pipeline #48683 passed

Pipeline passed for b6b4429a on pregmod-master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading