Jump to content
MakeWebGames

Attack exp


Saint

Recommended Posts

Hi i really nered help with this matter.... when people attack they are able to disarm to let theother person win. this is a big problem for me becasue people advance to fast in my game.level 50s can disarm and let level 5s atack them and gain like 1234% exp a time. i would like some thing to stop this please.

I would reli appritiate it.

Thanks

Saint

Link to comment
Share on other sites

  • 1 month later...

Re: Attack exp

yea im trying to find a new way to make Attack work because right now someone get to level 50 in no time which i don't want. Want i want is a way to make the game get harder as u level gets higher so once u get to like 50 it will take more time to get to 51 then it did to get to 50 not like now where it all takes almost the same amount of time.

lower user should still get a bit more Exp from attacking a higher level but not so much just a little more then attacking same level the risk is higher that you will lose but you have a chance to gain just a little more exp.

Anyone have any ideas how to do something like this?

Link to comment
Share on other sites

Re: Attack exp

 

Maybe a max exp gain, try adding this to attackleave.php Just before the $expgain variable..

 

 if ($expgain > 100) { $expgain=100; }

 

If you put it before it doesn't know what your exp gain is going to be...b/c the line after it is going to dictate the random variable. If you put it after it gives you 0% exp... Any ideas?

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