Vodoo Posted June 16, 2014 Share Posted June 16, 2014 I'm trying to add in my game like every 10k Experience you gain 1% Extra Protection but I don't know how to do it please could some one help me add my skype: Andypage125 I will pay them $5 through paypal if they do it Quote Link to comment Share on other sites More sharing options...
wrux Posted June 16, 2014 Share Posted June 16, 2014 (edited) $protection_level = max(floor($ir['exp'] / 10000), 1); $protection = $protection_level * 0.01; Not put much thought into it but that would give 1% per protection level (every 10k exp) right? Edited June 16, 2014 by wrux Quote Link to comment Share on other sites More sharing options...
Vodoo Posted June 16, 2014 Author Share Posted June 16, 2014 Mind if you add me on skype please? 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.