Jump to content
  • 0

Aspd Calculations


Radian

Question


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

While I was searching the answer for my problem. I cannot find any exact answers.

My issue is I want to remove dex on adding aspd and make 10 AGI = 1 aspd.

Thanks in advance /gawi/gawi

Edited by Radian
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   14
  • Joined:  09/01/18
  • Last Seen:  

Ok, in the 'status_base_amotion_pc' function on status.cpp file, search for:

amotion -= amotion * (4 * status->agi + status->dex) / 1000;

Change to:

amotion -= amotion * 2 * status->agi / 1000;

 

  • Upvote 1
  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   14
  • Joined:  09/01/18
  • Last Seen:  

If you are on RENEWAL go to file status.cpp and search for the function 'status_base_amotion_pc' (line 2366 actual git commit) and find the two lines:

temp_aspd = status->dex * status->dex / 7.0f + status->agi * status->agi * 0.5f;

and

temp_aspd = status->dex * status->dex / 5.0f + status->agi * status->agi * 0.5f;

change to:

temp_aspd = status->agi * 0.1f;

Now search for:

temp_aspd = (float)(sqrt(temp_aspd) * 0.25f) + 0xc4;

change to:

temp_aspd += 0xc4;

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

28 minutes ago, MathReaper said:

If you are on RENEWAL go to file status.cpp and search for the function 'status_base_amotion_pc' (line 2366 actual git commit) and find the two lines:


temp_aspd = status->dex * status->dex / 7.0f + status->agi * status->agi * 0.5f;

and


temp_aspd = status->dex * status->dex / 5.0f + status->agi * status->agi * 0.5f;

change to:


temp_aspd = status->agi * 0.1f;

Now search for:


temp_aspd = (float)(sqrt(temp_aspd) * 0.25f) + 0xc4;

change to:


temp_aspd += 0xc4;

 

I'm running my server on pre renewal... 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   14
  • Joined:  09/01/18
  • Last Seen:  

41 minutes ago, Radian said:

I'm running my server on pre renewal... 

And you say just now? it's not a really important info, isn't it? Whatever.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

23 minutes ago, MathReaper said:

And you say just now? it's not a really important info, isn't it? Whatever.

I'm sorry my bad... 

 

9 minutes ago, MathReaper said:

Ok, in the 'status_base_amotion_pc' function on status.cpp file, search for:


amotion -= amotion * (4 * status->agi + status->dex) / 1000;

Change to:


amotion -= amotion * 2 * status->agi / 1000;

 

Yeah... im testing this atm. thanks for helping me

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