Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIRROR] You no longer goofily swap with others trying to move in the…
… same direction as you if you're not faster than them (#4834) * [MIRROR] You no longer goofily swap with others trying to move in the same direction as you if you're not faster than them [MDB IGNORE] (#4142) * You no longer goofily swap with others trying to move in the same direction as you if you're not faster than them (#85379) ## About The Pull Request Currently if you and someone else try to move in the same direction while standing next to each other, you'll end up swapping places endlessly which is, while extremely funny, quite frustrating at times to deal with. This PR prevents this from happening unless you're faster than the other person, in which case you still push through them. This way both of you will be able to move forward without goofy ass swapping. I also moved out the ugly logic tree into its own proc for readability's sake, I am not piling up more code on that. ## Why It's Good For The Game Its frustrating to deal with and doesn't make much sense logically. This just makes sure that if both of you want to move in a certain direction, you'll be able to do so. You can currently achieve the same effect by enabling combat mode, so it doesn't change anything balance-wise. ## Changelog :cl: qol: You no longer goofily swap with others trying to move in the same direction as you if you're not faster than them code: Moved mobswap check logic into a separate proc and made it more readable /:cl: * You no longer goofily swap with others trying to move in the same direction as you if you're not faster than them --------- Co-authored-by: SmArtKar <[email protected]> Co-authored-by: NovaBot13 <[email protected]> * [MIRROR] You no longer goofily swap with others trying to move in the same direction as you if you're not faster than them --------- Co-authored-by: NovaBot <[email protected]> Co-authored-by: SmArtKar <[email protected]> Co-authored-by: NovaBot13 <[email protected]> Co-authored-by: StealsThePRs <[email protected]>
- Loading branch information