Im trying to make something similar to BOTS 4 but definitely not as good. Im trying to get a random from a range of two values, the thing is these values are variables not numbers.
var userbattledamage = Math.floor(Math.random() * usermaximumdamage) + userminimumdamage
when i try it out though, userbattledamage = NaN
any ideas?