Skip to content

What's the drop rate of Decapitation? #59

Answered by Geolykt
Uboaaaaa asked this question in Q&A
Discussion options

You must be logged in to vote

For decapitation the drop formula is
ThreadLocalRandom.current().nextInt(Math.max((int) Math.round(BASE_MOB_DROP_CHANCE / (level * power)), 1)) == 0
Since BASE_MOB_DROP_CHANCE is an unconfigurable constant defined to 150 if you were to lower the power of the enchantment by half, the drop chance would be cut in half.
For the power of 1.0 (default) the random function has to choose in between 150 values for level 1, 75 for level 2, 32 for level 3 and so on.
For level two it is 300 values for level 1 and so on.

For siphon the healing rate is 0.17 * level * power of the damage that was performed, depending on the configuration that can be the final damage but also the original damage.

The mul…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Uboaaaaa
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants