Jump to content
  • 0
mofo

Another ASPD inquiry

Question

Where in the source can I find the lines to change the weapon aspd penalty? I want to keep renewal aspd but it's a little slow for my taste. I'd like to atleast implement half the penalty instead of getting the full deductions. Thanks in advance

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

@status.c

if( bl->type&BL_PC )  {   amotion = status_base_amotion_pc(sd,status);#ifndef RENEWAL_ASPD   status->aspd_rate = status_calc_aspd_rate(bl, sc, b_status->aspd_rate);   if(status->aspd_rate != 1000)    amotion = amotion*status->aspd_rate/1000;#else   // aspd = baseaspd + floor(sqrt((agi^2/2) + (dex^2/5))/4 + (potskillbonus*agi/200))   amotion -= (int)(sqrt( (pow(status->agi, 2) / 2) + (pow(status->dex, 2) / 5) ) / 4 + ((float)status_calc_aspd(bl, sc, 1) * status->agi / 200)) * 10;   if( (status_calc_aspd(bl, sc, 2) + status->aspd_rate2) != 0 ) // RE ASPD percertage modifier    amotion -= (( amotion - ((sd->class_&JOBL_THIRD) ? battle_config.max_third_aspd : battle_config.max_aspd) )	   * (status_calc_aspd(bl, sc, 2) + status->aspd_rate2) / 10 + 5) / 10;   if(status->aspd_rate != 1000) // absolute percentage modifier    amotion = ( 200 - (200-amotion/10) * status->aspd_rate / 1000 ) * 10;#endif   amotion = status_calc_fix_aspd(bl, sc, amotion);   status->amotion = cap_value(amotion,((sd->class_&JOBL_THIRD) ? battle_config.max_third_aspd : battle_config.max_aspd),2000);   status->adelay = 2*status->amotion;  }  else

for weapon penalty reduction modify your job_db1.txt

 

:meow:

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.