Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculating skilling probabilities #13

Open
data-dependent opened this issue Jul 23, 2020 · 0 comments
Open

Calculating skilling probabilities #13

data-dependent opened this issue Jul 23, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@data-dependent
Copy link

data-dependent commented Jul 23, 2020

When skilling outside of a guild, the probability of success is determined by two variables: low and high. The probability then is (N+1)/(255+1), where N=low*(99-lvl)/98+high*(lvl-1)/98 and each division is integer division and so rounds down. This has been shown experimentally by the wiki team and confirmed by jmods. Note, the term for inside of guilds is N=(low*(99-lvl)+high*(lvl-1))/98. The effect of probability-altering equipment is to change the N value. For instance, if N is the term for the success probability of harpoon fishing with a normal harpoon, then floor(1.35*N) is the corresponding value for a crystal harpoon, which has a 35% boost.

This is different from what is currently in the code and disagrees with assumption 4. (Love the project, by the way!)

@Palfore Palfore added the bug Something isn't working label Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants