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
This commit is contained in:
parent
7a62ab49dc
commit
719c43fb07
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user