Take a random position from the List that you iterate?
|
Figured it out
Take a random position from the List that you iterate?
player.slayerTask = slayerData.getTasks()[Misc.random(slayerData.getTasks().length - 1)];
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |