Next 5 people to post in this thread get 1000 marklar v.Marklard

Coqui

Piccolo Pete
Oct 14, 2004
35,593
4,667
673
43
Columbus, OH
fly said:
You may be right.

Code:
// Process their chance of failure.
	$failure = 50;
	if ($action['maxrep'] >= $thefted['reputation']) {
		$addfailure = (($thefted['reputation'] / $action['maxrep']) * 50);
		$failure = ($failure + $addfailure);
	} else {
		$fail = 1;
	}
	$random = rand(0, 100);
	if ($random <= $failure) {
		$fail = 1;
	}
	if ($fail == 1) {
		$failtext = "Failed";
	} else {
		$failtext = "Success!";
	}
	if ($fail == 1)

Looks like its partially based on your rep and partially random.

Edit: No, I'm wrong. It checks something with your rep, I dunno what, then does the random thing.



Yep....uh-huh......sure.... :sucky:
 

wr3kt

Flaccid Member
Oct 15, 2004
4,099
0
0
fly said:
You may be right.

Code:
// Process their chance of failure.
	$failure = 50;
	if ($action['maxrep'] >= $thefted['reputation']) {
		$addfailure = (($thefted['reputation'] / $action['maxrep']) * 50);
		$failure = ($failure + $addfailure);
	} else {
		$fail = 1;
	}
	$random = rand(0, 100);
	if ($random <= $failure) {
		$fail = 1;
	}
	if ($fail == 1) {
		$failtext = "Failed";
	} else {
		$failtext = "Success!";
	}
	if ($fail == 1)

Looks like its partially based on your rep and partially random.

Edit: No, I'm wrong. It checks something with your rep, I dunno what, then does the random thing.


No no...that's the reputation of the person you're stealing from. The more you have, the harder it is to steal from you.