spellbyte ® Posted January 8, 2007 Share Posted January 8, 2007 I have recently had a major revamp on alphacrime and since then it seems that the exp isn't displaying correctly, i cant see why though, my exp is raising because i can see it gaining in the db, if anyone has any thoughts as to what can be causing this then please let me know i spose i better pastes what code i have at the moment $enperc=(int) ($ir['energy']/$ir['maxenergy']*100); $wiperc=(int) ($ir['will']/$ir['maxwill']*100); $experc=(int) ( $ir['exp']/$ir['exp_needed']*100); $brperc=(int) ($ir['brave']/$ir['maxbrave']*100); $hpperc=(int) ($ir['hp']/$ir['maxhp']*100); $enopp=100-$enperc; $wiopp=100-$wiperc; $exopp=100-$experc; $bropp=100-$brperc; $hpopp=100-$hpperc; [size="1"][b]Life Force:[/b] {$enperc}% [url='crystaltemple.php?spend=refill'][Refill][/url][/size] [size="1"][b]Discipline:[/b] {$wiperc}%[/size] [size="1"][b]Focus:[/b] {$ir['brave']}/{$ir['maxbrave']}[/size] [size="1"][b]EXP:[/b] {$experc}%[/size] [size="1"][b]Health:[/b] {$hpperc}%[/size] i have removed some of the code inbetween just incase it looks incomplete but thats the code for exp as far as i can see Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.