syntax cleanup

This commit is contained in:
2017-10-22 20:39:20 -07:00
parent bb1051e490
commit 3729258931
109 changed files with 847 additions and 1641 deletions
+12 -17
View File
@@ -6,28 +6,23 @@ Finds experience from level, and vice-versa
function level($mode,$input) {
if($mode==1) {
$a=pow($input, 2) * 14;
return $a;
}
if($mode==1) {
$a=pow($input, 2) * 14;
return $a;
}
if($mode==2) {
if($mode==2) {
$val=$input/14;
$val=sqrt($val);
$val=$input/14;
$val=round($val-.499);
$val=sqrt($val);
$val=round($val-.499);
//$val=$val-.499;
return(abs($val));
//$val=$val-.499;
return(abs($val));
}
}
}
?>
?>