Resolved renewal ASPD and two-handed weapons (#2933)
* Fixes #2930. * Follow up to 267fd3e. * Fixes ASPD dropping drastically for two-handed weapons. Thanks to @luan122 and @Tokeiburu!
This commit is contained in:
parent
a0a55dada1
commit
31e2871d7e
@ -2354,7 +2354,7 @@ int status_base_amotion_pc(struct map_session_data* sd, struct status_data* stat
|
|||||||
amotion = job_info[classidx].aspd_base[sd->weapontype1]; // Single weapon
|
amotion = job_info[classidx].aspd_base[sd->weapontype1]; // Single weapon
|
||||||
if (sd->status.shield)
|
if (sd->status.shield)
|
||||||
amotion += job_info[classidx].aspd_base[MAX_WEAPON_TYPE];
|
amotion += job_info[classidx].aspd_base[MAX_WEAPON_TYPE];
|
||||||
else if (sd->weapontype2)
|
else if (sd->weapontype2 && sd->equip_index[EQI_HAND_R] != sd->equip_index[EQI_HAND_L])
|
||||||
amotion += job_info[classidx].aspd_base[sd->weapontype2] / 4; // Dual-wield
|
amotion += job_info[classidx].aspd_base[sd->weapontype2] / 4; // Dual-wield
|
||||||
|
|
||||||
switch(sd->status.weapon) {
|
switch(sd->status.weapon) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user