Jump to content
  • 0
Sign in to follow this  
cumbe11

Change formula SPD

Question

I would change the formula of the SPD,

Example: A character with 186 SPD has the movement of attack as if it had 191


Achei esso no status.c onde eu edito para obter resultado desejado?

 

 

// ----- ASPD CALCULATION -----// Unlike other stats, ASPD rate modifiers from skills/SCs/items/etc are first all added together, then the final modifier is applied    // Basic ASPD value    i = status_base_amotion_pc(sd,status);    status->amotion = cap_value(i,battle_config.max_aspd,2000);    // Relative modifiers from passive skills    if((skill=pc_checkskill(sd,SA_ADVANCEDBOOK))>0 && sd->status.weapon == W_BOOK)        status->aspd_rate -= 5*skill;    if((skill = pc_checkskill(sd,SG_DEVIL)) > 0 && !pc_nextjobexp(sd))        status->aspd_rate -= 30*skill;    if((skill=pc_checkskill(sd,GS_SINGLEACTION))>0 &&        (sd->status.weapon >= W_REVOLVER && sd->status.weapon <= W_GRENADE))        status->aspd_rate -= ((skill+1)/2) * 10;    if(pc_isriding(sd))        status->aspd_rate += 500-100*pc_checkskill(sd,KN_CAVALIERMASTERY);    status->adelay = 2*status->amotion;

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...
Sign in to follow this  

×
×
  • Create New...

Important Information

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