- Joined
- Apr 16, 2023
- Messages
- 435
- Reaction score
- 75
- First Language
- English
- Primarily Uses
- RMVXA
I want to create an item that recovers a random amount of MP ranging from 100 to 1000. However, I only want the numbers 100, 500, 750, and 1000 to be generated and nothing in between.
I know how to use rand. However, if I set up my formula like this: "(rand(1000) + 100)", I could get numbers like 350, 800, 643, 146, 250, 887, the list goes on. I just want 100, 500, 750, and 1000.
100-1000 is the betting amount at The 2020 is Vegas Stakes for SNES and NPCs at the Poker table there use 100, 500, 750, and 1000 and I want this item to be a homage to that.
Also, the world in my game where this item is obtained from, is very RNG based as other items from this world rely on RNG.
Is there a way to set up a formula using rand to make sure only 100, 500, 750, and 1000 are generated?
I am already aware that I would need variance 0.
I know how to use rand. However, if I set up my formula like this: "(rand(1000) + 100)", I could get numbers like 350, 800, 643, 146, 250, 887, the list goes on. I just want 100, 500, 750, and 1000.
100-1000 is the betting amount at The 2020 is Vegas Stakes for SNES and NPCs at the Poker table there use 100, 500, 750, and 1000 and I want this item to be a homage to that.
Also, the world in my game where this item is obtained from, is very RNG based as other items from this world rely on RNG.
Is there a way to set up a formula using rand to make sure only 100, 500, 750, and 1000 are generated?
I am already aware that I would need variance 0.