Fixed issue where AP reset to reduce MP is allowed on the client, but disallowed on the server.
All minimum HP and MP checks on the server are now synced up with the same checks on the client-side (thanks teto on Discord for helping me find the relevant client code).
Checklist before requesting a review
[x] I have performed a self-review of my code
[x] I have tested my changes
[x] I have added unit tests that prove my changes work
Description
Fixed issue where AP reset to reduce MP is allowed on the client, but disallowed on the server.
All minimum HP and MP checks on the server are now synced up with the same checks on the client-side (thanks teto on Discord for helping me find the relevant client code).
Checklist before requesting a review
Screenshots
N/A