Jump to content
MakeWebGames

how to make it so users lose exp and health from backing out of a fight


webmaster

Recommended Posts

Re: how to make it so users lose exp and health from backing out of a fight

Find in attack.php the part where it says "You ran from the fight" and the query makes the user lose all his/hers exp. Replace that with whatever you want, you could make -XX amount of life and -XX amount of exp, or an EXP percent. Make sure to post your query before you use it, make sure you didn't mess up.

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.

Guest
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...