Author Topic: Question about Random Events  (Read 2924 times)

laserdolphin

  • Rebel Recruit

  • Offline
  • *

  • 10
  • Personal Text
    The Game
    • View Profile
Question about Random Events
« 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.

James

  • Developer
  • Rebel Captain

  • Offline
  • *
  • *
  • *
  • Sean is my son

  • 800
  • Personal Text
    The RR Grandpa
    • View Profile
Re: Question about Random Events
« Reply #1 on: June 28, 2013, 09:31:14 pm »
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.

I need to Java again, lol


laserdolphin

  • Rebel Recruit

  • Offline
  • *

  • 10
  • Personal Text
    The Game
    • View Profile
Re: Question about Random Events
« Reply #2 on: June 29, 2013, 12:29:55 am »
Thanks.
I guess I understand why you can't show it to me.
(It's because you're mean ol' James.)