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

WorldIMPLItemMoves.cpp: Maximum throwing range does not apply to containers #83

Open
estralis opened this issue Feb 6, 2022 · 0 comments
Labels

Comments

@estralis
Copy link
Member

estralis commented Feb 6, 2022

Items beyond weight 99 cannot be thrown over more than two tiles from a showcase to the map or from map to map.

https://github.com/Illarion-eV/Illarion-Server/blob/master/src/WorldIMPLItemMoves.cpp#L487

However, containers (e.g. bags, item 97, weight 100) can be thrown from map to map over ten tiles. This is not intended. Potentially, containers are treated incorrectly, example of a line with an exception for containers:

https://github.com/Illarion-eV/Illarion-Server/blob/master/src/WorldIMPLItemMoves.cpp#L1240

Note that the maximum throwing range of two tiles works for showcase to map for containers.

@estralis estralis added the bug label Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant