jhildy
2007-08-04 21:18:53
i made this for my calculator and i thought id post it here incase anyone wants it
you put in the level and it returns xp
you put in the level and it returns xp
function runescapexp(level: integer): integer;
var x,a: integer;
begin
for x:= 1 to level-1 do
a:=a+floor(x+300*pow(2,(x/7)));
result:=a/4;
end;