Jump to content

Need help


Recommended Posts

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

Link to comment
Share on other sites

$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 by wrux
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...