Jump to content
  • 0

Aspd Calculations


Question

Posted (edited)

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

5 answers to this question

Recommended Posts

  • 0
Posted

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
  • 0
Posted

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;

 

  • 0
Posted
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... 

  • 0
Posted
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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...