Bladeren bron

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!
Aleos 7 jaren geleden
bovenliggende
commit
31e2871d7e
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/map/status.cpp

+ 1 - 1
src/map/status.cpp

@@ -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
 	if (sd->status.shield)
 		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
 
 	switch(sd->status.weapon) {