mofo 2 Posted June 4, 2013 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 Quote Share this post Link to post Share on other sites
0 malufett 247 Posted June 4, 2013 @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 2 Virtue and mofo reacted to this Quote Share this post Link to post Share on other sites
0 cJei 4 Posted June 5, 2013 This should marked as answered. Well done malufett Quote Share this post Link to post Share on other sites
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