');
echo('
Calc');
echo('');
echo('');
$hr = $_POST[hr];
$lvl = 1;
$hrused = 0;
$exptotal = 0;
$this->XP_table_gain[0] = array(1 => 100, 200, 300, 400, 600, 800, 1000, 1200, 1420, 1670);
$this->XP_table_gain[1] = array(1950, 2250, 2600, 3000, 3420, 3900, 4450, 5000, 5700, 6400);
$this->XP_table_gain[2] = array(7200, 8100, 9100, 10200, 11400, 12700, 14200, 15800, 17600, 19500);
$this->XP_table_gain[3] = array(21600, 24000, 26600, 29400, 32700, 36000, 39700, 43900, 48400, 53300);
$this->XP_table_gain[4] = array(58700, 64600, 71000, 78100, 85800, 94200, 103000, 113000, 124000, 136000);
$this->XP_table_gain[5] = array(149000, 163000, 179000, 196000, 214000, 234000, 256000, 279000, 305000, 333000);
$this->XP_table_gain[6] = array(363000, 396000, 432000, 471000, 513000, 559000, 609000, 663000, 722000, 785000);
$this->XP_table_gain[7] = array(854000, 929000, 1010000, 1100000, 1190000, 1300000, 1410000, 1530000, 1660000, 1800000);
$this->XP_table_gain[8] = array(1960000, 2120000, 2300000, 2500000, 2710000, 2940000, 3180000, 3450000, 3740000, 4050000);
$this->XP_table_gain[9] = array(4380000, 4750000, 5140000, 5560000, 6020000, 6510000, 7050000, 7620000, 8240000, 8910000);
$this->XP_table_needed[0] = array(1 => 500, 1660, 3620, 6520, 11300, 18100, 27400, 39200, 54100, 72600);
$this->XP_table_needed[1] = array(95300, 123000, 156300, 196600, 244500, 301200, 368500, 446800, 539300, 646500);
$this->XP_table_needed[2] = array(771100, 915600, 1082800, 1275500, 1497000, 1750000, 2041000, 2373000, 2751000, 3180000);
$this->XP_table_needed[3] = array(3667000, 4219000, 4845000, 5552000, 6354000, 7255000, 8269000, 9411000, 10694000, 12133000);
$this->XP_table_needed[4] = array(13747000, 15554000, 17575000, 19835000, 22360000, 25180000, 28310000, 31790000, 35680000, 40000000);
$this->XP_table_needed[5] = array(44810000, 50150000, 56100000, 62700000, 70000000, 78100000, 87100000, 97000000, 108000000, 120100000);
$this->XP_table_needed[6] = array(133500000, 148000000, 164500000, 182700000, 202600000, 224500000, 248700000, 275200000, 304500000, 336700000);
$this->XP_table_needed[7] = array(372000000, 411000000, 454000000, 501000000, 552000000, 609000000, 671400000, 740000000, 814000000, 896000000);
$this->XP_table_needed[8] = array(986000000, 1084000000, 1190000000, 1310000000, 1420000000, 1540000000, 1670000000, 1820000000, 1980000000, 2150000000);
$this->XP_table_needed[9] = array(2320000000, 2500000000, 2690000000, 2890000000, 3170000000, 3450000000, 3750000000, 4100000000, 4500000000, 'max');
while($hr >= $hrused) {
while($exptotal <= $this->XP_table_needed[0][1]) {
$exptotal = $this->XP_table_gain[0][1] + ($this->XP_table_gain[0][1] * 0.33) + ($this->XP_table_gain[0][1] * 0.3);
$hrused ++;
}
}
echo($exptotal);
echo($hrused);
echo('');
echo('