From 719c43fb07fe8f2007a11d8fc560cb8a9ec9cdac Mon Sep 17 00:00:00 2001 From: Playtester Date: Sat, 13 Feb 2016 13:30:07 +0100 Subject: [PATCH] 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 --- src/map/battle.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/map/battle.c b/src/map/battle.c index 684370b461..5d4e40e8a0 100644 --- a/src/map/battle.c +++ b/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 )