I discovered a bug in the マリモ calculation for weapons.
Current weapons will be unaffected, but new weapons will use the new calculation.

If you upgrade your weapon, then your weapon will be re-calculated after it is upgraded.