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

Can't find best loot with metal detector without lucky trait. #99

Open
ArahnaBytes opened this issue Jan 12, 2023 · 0 comments
Open

Can't find best loot with metal detector without lucky trait. #99

ArahnaBytes opened this issue Jan 12, 2023 · 0 comments

Comments

@ArahnaBytes
Copy link

Describe the bug
If you don't have trait "Lucky", you can't find best tier loot with metal detector (steel spear, spiked mace and conan sword) even with 10 level in scavenging.

In function hcmetalsearch there are two errors.
if luck >= 30 then fails because luck = ZombRand(20) + skill is 29 at max without lucky trait. And if luck >= 5 then fails because luck = ZombRand(5) is from 0 to 4.

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

1 participant