Przeglądaj źródła

Fixed Weaponry Research's hidden hit bonus not working in pre-renewal
* The hidden hit bonus exists in both pre-renewal and renewal
* This is a partial revert of b0bc485

Playtester 9 lat temu
rodzic
commit
719c43fb07
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      src/map/battle.c

+ 0 - 2
src/map/battle.c

@@ -2552,11 +2552,9 @@ static bool is_attack_hitting(struct Damage wd, struct block_list *src, struct b
 	if (sd) {
 		int skill = 0;
 
-#ifdef RENEWAL
 		// Weaponry Research hidden bonus
 		if ((skill = pc_checkskill(sd,BS_WEAPONRESEARCH)) > 0)
 			hitrate += hitrate * ( 2 * skill ) / 100;
-#endif
 
 		if( (sd->status.weapon == W_1HSWORD || sd->status.weapon == W_DAGGER) &&
 			(skill = pc_checkskill(sd, GN_TRAINING_SWORD))>0 )