RuneRebels
General => Suggestions, Compliments, And Questions => Started by: laserdolphin on June 28, 2013, 04:51:37 pm
-
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.
-
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.)
-
Thanks.
I guess I understand why you can't show it to me.
(It's because you're mean ol' James.)