charliemanson Posted January 22, 2009 Share Posted January 22, 2009 print "You beat {$r['username']} "; $qe=$r['level']*$r['level']*$r['level']; $expgain=rand($qe/2,$qe); $expperc=(int) ($expgain/$ir['exp_needed']*100); print "and gained $expperc% EXP! How do i get % of exp lowered......? Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted January 22, 2009 Share Posted January 22, 2009 Re: help...need to lower EXP $expgain = rand($qe/2.5, $qe/0.5); Try that Quote Link to comment Share on other sites More sharing options...
REGGIE KRAY Posted January 22, 2009 Share Posted January 22, 2009 Re: help...need to lower EXP I use this. $expwon = (25 * ($user_class['level'] - $attack_person['level'])); So if the attacking person is lvl 1 and defending is lvl 400 and a miracle happens and the lvl 1 wins they get 9975 Exp. Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted January 22, 2009 Share Posted January 22, 2009 Re: help...need to lower EXP And that is not for this engine. Quote Link to comment Share on other sites More sharing options...
REGGIE KRAY Posted January 22, 2009 Share Posted January 22, 2009 Re: help...need to lower EXP Is it not mate?, well at least im trying, hence me still being a noob on here. Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted January 22, 2009 Share Posted January 22, 2009 Re: help...need to lower EXP He is using mccode's. I believe you are using the gRPG Engine or some sort else. Quote Link to comment Share on other sites More sharing options...
REGGIE KRAY Posted January 22, 2009 Share Posted January 22, 2009 Re: help...need to lower EXP I have mccode's V2 Quote Link to comment Share on other sites More sharing options...
Djkanna Posted January 22, 2009 Share Posted January 22, 2009 Re: help...need to lower EXP He is using mccode's. I believe you are using the gRPG Engine or some sort else. I thought that ...... but if it works who can complain :? Quote Link to comment Share on other sites More sharing options...
charliemanson Posted January 22, 2009 Author Share Posted January 22, 2009 Re: help...need to lower EXP $expgain = rand($qe/2.5, $qe/0.5); gave them even more exp Quote Link to comment Share on other sites More sharing options...
REGGIE KRAY Posted January 23, 2009 Share Posted January 23, 2009 Re: help...need to lower EXP Give my way a go mate its very basic but works fine for me $expwon = (25 * ($user_class['level'] - $attack_person['level'])); (25*(400-1) = 9975 just change the 25 to lower for lower Exp given (10*(400-1) = 3990 Exp Quote Link to comment Share on other sites More sharing options...
charliemanson Posted January 24, 2009 Author Share Posted January 24, 2009 Re: help...need to lower EXP fixed 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.