luna-rs / luna

A scalable and efficient Runescape server targeting revision #377

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modify the computeBuyValue formula in the shop class

DukeCharles opened this issue · comments

The current method used isnt reflective of the runescape 2006 version used.

  • Must support special shop prices
  • Prices must change according to item stock
commented

How does the buy formula differ from your sell PR?

It differ a bit in the sense that the price is the full value of the item and also I dont know if the stockdifferencial cap at 10 items