FEMultiPlayer-V2
FEMultiPlayer-V2 copied to clipboard
Guy and Matthew can break the speed cap of 35
Issue type: problem
Description:
Guy and Matthew can break the seemingly intended speed cap of 35. They are the only characters to have this issue. No other characters can reach 35 of any other stat, so this bug doesn't affect them. The problem is in the Statistic class, which contains a method that ignore it's parameter https://github.com/eliatlarge/FEMultiPlayer-V2/blob/f66572a18cd5bfab2fc01ee94ecf112de64bba15/src/net/fe/unit/Statistics.java#L100-L114 And it is used here https://github.com/eliatlarge/FEMultiPlayer-V2/blob/f66572a18cd5bfab2fc01ee94ecf112de64bba15/src/net/fe/unit/Unit.java#L747-L748 Hence the cap of 35 for every stats.
I'm hesitant on fixing the issue myself because I actually have no idea how that would change how the game plays right now.
SPECS:
Irrelevant.
Expected Behavior:
Stats were intended to be capped at 35
Actual Behavior:
Guy and Matthew can break the speed cap at higher levels.
Steps to Reproduce:
Level Guy to 20 or Matthew to 17+.