i need help getting this formula to work right for the game ...ok so i dont wnt peoepl to lvl to fast for the game..they are hitting each other and gaining ground to fast,,,i can tkeep up with the cities or the stuff for them..lvl 15 poeple are hitting poeple lvl 90 or higher with much higher stats to catch up to them when they are not equipped. this is the formula i am using ...can someone help me please
$expgain=rand($qe/50,$ge/50 ) is the original
//this is tfor a max of 75
$expgain=rand*$qe/2,$qe);
im using the second formula the first one is the original.
rand is set at a value for example if i were to say rand(1,100) one would be the lowest you can have and 100 the max), so if you take that apply it to the variables you can see how this code works. the $qe varlaible is the quantiny of experience inolved in the comparison later coded as the diference between the two players in the attack