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

Garrison loot check #11

Closed
pmotschmann opened this issue Jan 29, 2019 · 0 comments
Closed

Garrison loot check #11

pmotschmann opened this issue Jan 29, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@pmotschmann
Copy link
Owner

On a successful attack the loot chances are calculated using a function like this:
if (Math.floor(Math.seededRandom(0,10) <= 5))
The comparison is not meant to be made inside the floor function, while this doesn't have any drastic effect on most loot rolls it does make getting steel from an ambush virtually impossible.

@pmotschmann pmotschmann added the bug Something isn't working label Mar 20, 2019
pmotschmann pushed a commit that referenced this issue Sep 16, 2023
* angelics
* derrick
* stargate/permafrost
* hell & doomed
* wiki
* feat
* fix runtime warning
* pit
* cheese
* review
* wormhole
* sappy
* sludge
* bolognium
* anti-plasmid
* wiki achievements list
* fix doomed
* correcting typos / 오타 수정
오타를 발견하여 수정합니다. (튼탄 -> 튼튼)
* graveyard (#9)
* reclaimer (#8)
* banana (#10)
* messages (#11)
* messages
* soulgem
* dreadnought
* galactic exchange
* plant (#12)
* infernite (#14)
* graveyard (#15)
* messages (#16)
* messages
* played
* ascend (#13)

---------

Co-authored-by: garygruener <101116074+garygruener@users.noreply.github.com>
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

1 participant