Quantcast
Channel: Questions in topic: "item"
Viewing all articles
Browse latest Browse all 274

Random.range, winning Items, and "Scaling system"

$
0
0
Hey gang I know how to use Random.range to get a Item drop rate act, I was wondering hot to make it Scale with your Level So as you Level up Items become easier to get? RandomRR = Random.Range (0, MaximumRange); if (RandomRR > 0 && RandomRR < 5) { } if (RandomRR > 0 && RandomRR < 15) { } if (RandomRR > 0 && RandomRR < 30) { } if (RandomRR > 0 && RandomRR < 40) { } if (RandomRR > 0 && RandomRR < MaximumRange) { // LOL TRASH } }

Viewing all articles
Browse latest Browse all 274

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>