Hercules is a collaborative software development project revolving around the creation of a robust massively multiplayer online role playing game (MMORPG) server package. Written in C, the program is very versatile and provides NPCs, warps and modifications. The project is jointly managed by a group of volunteers located around the world as well as a tremendous community providing QA and support. Hercules is a continuation of the original Athena project.
[x] I am aware that this PR may be closed if the above-mentioned criteria are not fulfilled.
Changes Proposed
Added configuration option keep_dir_free_cell. Although it is set to false, I would like it to be enabled by default in Hercules.
This option allows discovery of free cells based on the unit's current facing direction instead of always using EAST, which have the following advantages:
Improves distribution of mobs when dispersing after being grouped. This setting allows monsters to spread in a circular fashion instead of forming a long horizontal line.
Allows characters to move more naturally if they came from the east, instead of walking back.
In some instances, fixes issue #1241 allowing the user to obtain the item.
This commit also fixes #1241 in all scenarios not allowing the character to enter a walk loop. Fix based on rAthena's.
Pull Request Prelude
Changes Proposed
Added configuration option
keep_dir_free_cell
. Although it is set to false, I would like it to be enabled by default in Hercules. This option allows discovery of free cells based on the unit's current facing direction instead of always using EAST, which have the following advantages:This commit also fixes #1241 in all scenarios not allowing the character to enter a walk loop. Fix based on rAthena's.
Issues addressed:
1241