Hey ! It's me from discord. Again, this code is VERY messy and the log scaling is IMO just plain bad. However, the fundamentals are there, it's just adding more configs being read.
This fork pretty much just features the ability to adjust not just the speed cap, but the actual scaling of the mount speed based on the cobblemon's speed stat. The old formula was completely changed, and a new option to use a logarithmic scaling instead is available. These options are all available independently per transport medium (air, water, ground). Also, the legendary bonus has been reworked to be a flat bonus, and there's an option for the legendary speed bonus to break the cap.
Linear scaling formula : (speed / 256) (scalar / 2) + (legendarybonus scalar) / 2
Hey ! It's me from discord. Again, this code is VERY messy and the log scaling is IMO just plain bad. However, the fundamentals are there, it's just adding more configs being read.
This fork pretty much just features the ability to adjust not just the speed cap, but the actual scaling of the mount speed based on the cobblemon's speed stat. The old formula was completely changed, and a new option to use a logarithmic scaling instead is available. These options are all available independently per transport medium (air, water, ground). Also, the legendary bonus has been reworked to be a flat bonus, and there's an option for the legendary speed bonus to break the cap.
Linear scaling formula : (speed / 256) (scalar / 2) + (legendarybonus scalar) / 2
Logarithmic scaling formula : (log((speed + scalar) / scalar) + legendarybonus
Desmos link for these formulae : https://www.desmos.com/calculator/ccxdf7ll24