Slight Modification to Sharpness and Hardness Stones
Posted: Sat Oct 10, 2020 10:29 pm
Okay, so I'm gonna suggest something relatively minor. Why not, for more accurate results, have the sharpness stone upgrades round to the nearest integer instead of math-flooring? It kinda looks like this in C++.: https://www.programiz.com/cpp-programmi ... math/round
If it works correctly, hmm, let's say we were to upgrade the Red Bow. It has a base power of 14. Ideally you'd want something like this.:
Power=round(Base Power*(1+(0.1*Stage Number)))
In that eddect, we'd get something like this.:
Red Bow: 14*1=14
Stage 1 Sharpened Red Bow: 14*1.1=15.4 (Rounds down to 15)
Stage 2 Sharpened Red Bow: 14*1.2=16.8 (Rounds up to 17)
Stage 3 Sharpened Red Bow: 14*1.3=15.4 (Rounds down to 18)
Now, let's try something more powerful, like a Crazy Hammer. It has a base power of 52. In that respect, let's plug the numbers in.:
Crazy Hammer: 52*1=52
Stage 1 Sharpened Crazy Hammer: 52*1.1=57.2 (Rounds down to 57)
Stage 2 Sharpened Crazy Hammer: 52*1.2=62.4 (Rounds down to 62)
Stage 3 Sharpened Crazy Hammer: 52*1.3=67.6 (Rounds up to 68)
Seems accurate.
Lastly, how about something that would really benefit from the increased accuracy: a Woodcutting Axe. Here's how it would look.:
Woodcutting Axe: 17*1=17
Stage 1 Sharpened Woodcutting Axe: 17*1.1=18.7 (Rounds up to 19)
Stage 2 Sharpened Woodcutting Axe: 17*1.2=20.4 (Rounds down to 20)
Stage 3 Sharpened Woodcutting Axe: 17*1.3=22.1 (Rounds up to 22)
22 is significantly better than what we would've gotten from a Stage 3 Sharpened Woodcutting Axe with the current math-flooring thing, which would add up to 20. But yeah, there's that.
If it works correctly, hmm, let's say we were to upgrade the Red Bow. It has a base power of 14. Ideally you'd want something like this.:
Power=round(Base Power*(1+(0.1*Stage Number)))
In that eddect, we'd get something like this.:
Red Bow: 14*1=14
Stage 1 Sharpened Red Bow: 14*1.1=15.4 (Rounds down to 15)
Stage 2 Sharpened Red Bow: 14*1.2=16.8 (Rounds up to 17)
Stage 3 Sharpened Red Bow: 14*1.3=15.4 (Rounds down to 18)
Now, let's try something more powerful, like a Crazy Hammer. It has a base power of 52. In that respect, let's plug the numbers in.:
Crazy Hammer: 52*1=52
Stage 1 Sharpened Crazy Hammer: 52*1.1=57.2 (Rounds down to 57)
Stage 2 Sharpened Crazy Hammer: 52*1.2=62.4 (Rounds down to 62)
Stage 3 Sharpened Crazy Hammer: 52*1.3=67.6 (Rounds up to 68)
Seems accurate.
Lastly, how about something that would really benefit from the increased accuracy: a Woodcutting Axe. Here's how it would look.:
Woodcutting Axe: 17*1=17
Stage 1 Sharpened Woodcutting Axe: 17*1.1=18.7 (Rounds up to 19)
Stage 2 Sharpened Woodcutting Axe: 17*1.2=20.4 (Rounds down to 20)
Stage 3 Sharpened Woodcutting Axe: 17*1.3=22.1 (Rounds up to 22)
22 is significantly better than what we would've gotten from a Stage 3 Sharpened Woodcutting Axe with the current math-flooring thing, which would add up to 20. But yeah, there's that.