Weird... I've never noticed this.
I'm sure it's not mistress Kym!
It must be the way value 'p' is calculated.
Just to be sure about your last round, was it for a repeat offense, which?, or first time offense?
Either way, I don't know at the moment how to solve what you got. Do others have the same problem?
When checking the script I sometimes get this message:
Error in simulation (maybe not a real error) java.lang.IllegalArgumentException: n must be positive(@ line 3484)
Code:
line3484: p = (getRandom(playerLevel) + playerLevel) //player level
But this message I have from the beginning so has nothing to do with the last update and should be noticed earlier in case it gives a problem.
It never did with me and this isn't in the last round.
In your case I suspect something is wrong with:
Code:
p = (getRandom(playerLevel) + playerLevel + countOffense)
Although I'm pretty sure countOffense does always have a value.
Maybe I should check if you use a correct value for your player level?
Should be between 1 (easy) and 10 (very severe).
I hope someone sees what's wrong and can give a tip to solve it.
By the way, working on your other request.