News:

Welcome to RuneRebels. Enjoy.

Main Menu

Question about Random Events

Started by laserdolphin, June 28, 2013, 04:51:37 PM

Previous topic - Next topic

laserdolphin

Specifically to James, or anyone who access to the code:
How are Random Events decided?
I understand that more XP gain increases the chance, but what formula actually decides whether or not the event is called?
I do have a full understanding of Java, so if you would be so kind, copying and pasting the code would be lovely.

James

As for copying and pasting the code, I couldn't do that for certain reasons ;)

But, when it boils down to it, it's 100% completely RANDOM!

It takes in account your total xp gained, as well as how many hours you've played in a row, as well as what type of skill you are doing (I.E, you are more likely to get a random while woodcutting than while training combat.)
Hi, I'm James. I'm old as hell.

Quote from: Spiderjunkie on September 28, 2014, 04:55:12 AM
I need to Java again, lol


laserdolphin

Thanks.
I guess I understand why you can't show it to me.
(It's because you're mean ol' James.)