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

[Feature/Improvement]: More of a question #119

Open
2 tasks done
Kaiji-Key opened this issue Oct 13, 2024 · 3 comments
Open
2 tasks done

[Feature/Improvement]: More of a question #119

Kaiji-Key opened this issue Oct 13, 2024 · 3 comments

Comments

@Kaiji-Key
Copy link

Checklist

  • Are you using the latest version/snapshot of HeadsPlus?
  • Have you checked to see if others have submitted the same feature request?

Description of the request

I have HeadsPlus set up on my Paper server, mainly for the head drop mechanic. I've looked at the config.yml file and I know that the default drop chance is 5, I assume 5/100, but heads seem to be dropping much more often than that, at more of a 15% rate. I wanted to see if this 5 does stand for 5/100 or not.

Additional Information

No response

@Thatsmusic99
Copy link
Collaborator

Yep, it stands for 5%. There's a /hp tests subcommand that you can run for each mob type that runs a specified number of tests against the configured drop chance to see how often it passes.

5% is still 1 head for every 20 drops, so it's still semi-regular.

@Kaiji-Key
Copy link
Author

Ah, I see. Thank you.

I do have another issue now though. In mobs.yml, I have tried a few times to change the drop odds for most of the mobs individually, but it keeps resulting in a mobs-errored-{mass of numbers).yml file appearing, and none of the odds being changed. I know I am doing something wrong, but I've tried everything I can think of. I've removed the {} in front of the HP#mob: and then adding the chance: 1, I've tried replacing the HP#mob: with '{mob-default}': as some of the mobs have, and I've tried having the HP#mob: followed by the '{mob-default}': and then the chance: 1. It's probably something really dumb that I'm missing and I'm sure my explanation doesn't make much sense either so please let me know if you want screenshots or something. Thanks!

@Thatsmusic99
Copy link
Collaborator

It's a syntax error in the YAML files, the console will often point out where the issue is. You can also use https://yamlchecker.com/ to verify the syntax of the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants