MightyScript Randomize Action

Avatar
  • Views 6 277
  • oppdatert
  • Completed - Resolved

I am wondering if this is working as intended.  Currently this action allows 2 numbers (ie. "low" and "high") and when it activates, it chooses one or the other randomly.  This is not what I expected the function to do.


I expected the function to work like a typical rand function in other languages where low and high define the limits of the function, and a random number is generated between the limits.


ie. low = 1, high = 10

Your version: either 1 or 10 is returned

Expected version: a number between 1 and 10 is returned


Thoughts?

Game Version:
Steam Public
Platform:
Windows
Avatar
anonymous
  • Under Review
Avatar
[Dev] Nanorock
  • Started
Avatar
anonymous
  • Completed - Next Patch
Avatar
Lee "Noontide" Moon Designer & Community Manager
  • Completed - Resolved