- Joined
- Feb 8, 2018
- Messages
- 20
- Reaction score
- 0
- First Language
- English
- Primarily Uses
- RMXP
When I first started making my game, one of the first things I did was nerf critical hits -- they're far too powerful in the base program -- and I did that by changing this value from 2.0 to 1.5.
This caused a horrifying problem - decimal health; sometimes my characters would have up to 3 digits after the decimal on their health (a playtester said they got around 7 or 8 digits but I don't have evidence of this).

At this point I tried removing critical hits altogether by changing those values further:

I assumed this would prevent critical hits from happening, but now regular attacks still seem to show up as criticals, just without the word "critical" under the damage. And they still do decimal point damage.
At this point it should be clear I have no idea how the script here works. I'm perfectly fine either with a way to round the number to avoid decimals or a way to remove critical hits entirely. Can anyone help me do either of these?

This caused a horrifying problem - decimal health; sometimes my characters would have up to 3 digits after the decimal on their health (a playtester said they got around 7 or 8 digits but I don't have evidence of this).

At this point I tried removing critical hits altogether by changing those values further:

I assumed this would prevent critical hits from happening, but now regular attacks still seem to show up as criticals, just without the word "critical" under the damage. And they still do decimal point damage.
At this point it should be clear I have no idea how the script here works. I'm perfectly fine either with a way to round the number to avoid decimals or a way to remove critical hits entirely. Can anyone help me do either of these?
Attachments
-
2.4 KB Views: 0




