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

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:
 
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.