Initial 2005 state

This commit is contained in:
2017-10-22 18:15:11 -07:00
commit bb1051e490
189 changed files with 3432 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
<?php
/* * * * * * * * * * * * * * * * * * * * * \
Finds experience from level, and vice-versa
\ * * * * * * * * * * * * * * * * * * * * */
function level($mode,$input) {
if($mode==1) {
$a=pow($input, 2) * 31;
return $a;
}
if($mode==2) {
$val=$input/31;
$val=sqrt($val);
$val=round($val-.499);
//$val=$val-.499;
return(abs($val));
}
}
?>