Jump to content
  • 0

About Aspd.


Krenjeroth

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   2
  • Joined:  08/18/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

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
Link to comment
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.   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.

×
×
  • Create New...