Krenjeroth Posted November 4, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 57 Reputation: 2 Joined: 08/18/13 Last Seen: November 7, 2024 Share Posted November 4, 2014 Hey Guys. I was Wondering how to change or edit the ASPD formula. as for every 10 AGI will give 1 ASPD. Quote Link to comment Share on other sites More sharing options...
Microsoft Posted November 5, 2014 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 244 Reputation: 17 Joined: 11/19/11 Last Seen: March 31, 2015 Share Posted November 5, 2014 If found this: // Basic ASPD value int status_base_amotion_pc(struct map_session_data* sd, struct status_data* status) { int amotion; int classidx = pc_class2idx(sd->status.class_); #ifdef RENEWAL_ASPD short mod = -1; switch( sd->weapontype2 ){ // adjustment for dual weilding case W_DAGGER: mod = 0; break; // 0, 1, 1 case W_1HSWORD: case W_1HAXE: mod = 1; if( (sd->class_&MAPID_THIRDMASK) == MAPID_GUILLOTINE_CROSS ) // 0, 2, 3 mod = sd->weapontype2 / W_1HSWORD + W_1HSWORD / sd->weapontype2 ; } amotion = ( sd->status.weapon < MAX_WEAPON_TYPE && mod < 0 ) ? (job_info[classidx].aspd_base[sd->status.weapon]) // single weapon : ((job_info[classidx].aspd_base[sd->weapontype2] // dual-wield + job_info[classidx].aspd_base[sd->weapontype2]) * 6 / 10 + 10 * mod - job_info[classidx].aspd_base[sd->weapontype2] + job_info[classidx].aspd_base[sd->weapontype1]); if ( sd->status.shield ) amotion += ( 2000 - job_info[classidx].aspd_base[W_FIST] ) + ( job_info[classidx].aspd_base[MAX_WEAPON_TYPE] - 2000 ); #else // base weapon delay amotion = (sd->status.weapon < MAX_WEAPON_TYPE) ? (job_info[classidx].aspd_base[sd->status.weapon]) // single weapon : (job_info[classidx].aspd_base[sd->weapontype1] + job_info[classidx].aspd_base[sd->weapontype2])*7/10; // dual-wield // percentual delay reduction from stats amotion -= amotion * (4*status->agi + status->dex)/1000; #endif at this post: http://rathena.org/board/topic/85734-changing-aspd-formula-not-define-renewalaspd-or-implementing-my-own-possible/?p=222518 Quote Link to comment Share on other sites More sharing options...
Question
Krenjeroth
Hey Guys. I was Wondering how to change or edit the ASPD formula.
as for every 10 AGI will give 1 ASPD.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.