Dylanb-dev / splatoon-calculator

Simple splatoon ability and gear calculator based on angularJS
MIT License
12 stars 5 forks source link

Swim speed and Run speed aren't calculating correctly. #15

Closed Dylanb-dev closed 8 years ago

Dylanb-dev commented 8 years ago

Is it just me or should these be relative to 100%

jfgoncalves commented 8 years ago

They are not calculating correctly simply because they are u/s. Since 192 u/s is the base, it's equal to 100%. Therefore, we need to calculate the percent. Example: 200 u/s is 104,17% of 192 u/s. Formula: (current value/base)*100.

This should allow accurate results in %.