Change formula SPD

cumbe11

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

Code:
// ----- 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;
 
Back
Top