Jump to content
  • 0

Attack/hit formulas


synyster

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   4
  • Joined:  09/13/12
  • Last Seen:  

Hello guys, I'm with a problem in the attack/hit formulas. On brAthena, when I attack another player(base attack), both on level 150, the hit is about 2k, 1k, but on rathena, the hit is about 300, 280, the same value as atq, another annoying problem is when I attack some monster without a weapon, all my hits are missed or 1. I tried to change the formulas but its not worked.

I'm almost sure that this is the line that I have to do the modifications:

str = (rstr*10 + dex*10/5 + status->luk*10/3 + ((TBL_PC*)bl)->status.base_level*10/4)/10;

But changing this, or my atq will be very high or it will be very low, really tried every possibles things that I could, please help me!!

@edit

Problem solved! I just thought a little more and tried this:

str = (rstr + dex*10/5 + status->luk*10/3 + ((TBL_PC*)bl)->status.base_level*10/4);

It was perfectly the same as brAthena.

Edited by synyster
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

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

Guest
Answer this question...

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