awesome work
|
Old School RuneScape Barrows Chest Simulator is a web app that simulates the rewards that players get when they complete the Barrows minigame. This can help you get an idea on the barrows reward drop rates.
Link to website app: Web App - OSRS-BCS
- Keeps track of rewarded items in a collection log
- Allows users to customize the settings that affect reward potential (RP). RP affects what is rewarded to the player. See Formula for Drop Rates for more details
Formula for Drop Rates
https://twitter.com/JagexKieren/stat...28283509366785
Please see Reward Mechanics - OSRS Wiki for more details on the implementation.
- A reward potential of 1012 is the maximum
Random Quantity
Code taken from https://oldschool.runescape.wiki/w/M...ows_calculator to show how many of an item you get is calculated (approximate)
Code:local ammoBounds = { {item = "Coins", low = 1, high = 380, divisor = 0.5}, {item = "Mind rune", low = 381, high = 505, divisor = 1.5, rune = true}, {item = "Chaos rune", low = 506, high = 630, divisor = 4.5, rune = true}, {item = "Death rune", low = 631, high = 755, divisor = 9, rune = true}, {item = "Blood rune", low = 756, high = 880, divisor = 20, rune = true}, {item = "Bolt rack", low = 881, high = 1005, divisor = 25}, {item = "Loop half of key", low = 1006, high = 1008, divisor = 1000}, {item = "Tooth half of key", low = 1009, high = 1011, divisor = 1000}, {item = "Dragon med helm", low = 1012, high = 1012, divisor = 1000} }
- Each item has a low, high and a divisor to determine the number of an item a player receives after opening a chest
Code:high = math.min(ammo['high'], rp) local lowQty = math.floor(ammo['low'] / ammo['divisor']) local highQty = math.floor(high / ammo['divisor'])
- Calculate the minimum and maximum amount of an item that we can receive
For example, Coins would have a minimum amount of 2 and a maximum amount of 760 if we assume the maximum reward potential of 1012.
This means that it is possible to get anywhere between 2 and 760 coins each roll if we assume the maximum reward potential
We then roll a random amount of an item to reward the player
Code:random.Roll(lowQty, highQty) // inclusive!
Links
Link to website app: Web App - OSRS-BCS
GitHub (MIT licensed): GitHub for OSRS-BCS
Closing comments
Made this to learn C#, Blazor, HTML and CSS so the code definitely needs improvement. It was a fun experience nonetheless!
Please report issues on the GitHub or here if you would like.
note: I'm not sure if this is the correct section.
cool little project even if its missing a little bit of extra accuracy
killing mobs inside barrows affects rp
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |