Another ASPD inquiry

mofo

New member
Messages
97
Points
0
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

 
@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

default_ani_meow.gif


 
Back
Top