server
server copied to clipboard
[core] Fix player H2H weapon rank formula
I affirm:
- [x] I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
- [x] I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
- [x] I have read and understood the Contributing Guide and the Code of Conduct.
- [x] I have tested my code and the things my code has changed since the last commit in the PR and will test after any later commits.
What does this pull request do?
This PR fixes the weapon rank formula for players H2H weapons as the formula is slightly different for H2H (see here). This is currently limited just for players are mobs potentially use H2H for dual wield and thus might need further research into the implications for them.
This is an ASB fix coming upstreaming.
Steps to test these changes
Check weapon rank with and without this change for players H2H and non-H2H weapons.