Originally Posted by
Paradox68
Is your chance being called every 0.5 seconds though? (If not, how often?) As I said 1/20,000 per 0.5 seconds is pretty decent, 1/10,000 at the same rate would probably occur every hour or so which would be kind of pointless, so if you're going for a really rare thing, might wanna make it even higher at the rate, like 1/35,000 per 0.5 seconds. So if your chance is being called every 1 second, 1/17,500, and so on.
yea might out it up alot then and my usage is like this. its for skilling so i place this code in
Code:
if(Misc.random(1) == 1 && !c.playerHasRandomEvent) {
GenieLamp.spawnGenieNpc(c);
GenieLamp.startTimer(c);
}
that goes in where the anims + add item etc
its set to 1 there so genie will come pretty much every time.