Follow up to 38cf16edbaa36836072780b4481023e57e014892

*Thanks to @aleos89 and @LordWhiplash
This commit is contained in:
Daegaladh 2020-04-30 16:49:40 +02:00 committed by GitHub
parent 2ca94ad411
commit be0c0efe40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3768,7 +3768,7 @@ static int battle_calc_attack_skill_ratio(struct Damage* wd, struct block_list *
break;
case MO_FINGEROFFENSIVE:
#ifdef RENEWAL
skillratio += 500 + skill_lv * 2;
skillratio += 500 + skill_lv * 200;
if (tsc && tsc->data[SC_BLADESTOP])
skillratio += skillratio / 2;
#else
@ -5481,8 +5481,12 @@ static struct Damage initialize_weapon_data(struct block_list *src, struct block
}
break;
case MO_FINGEROFFENSIVE:
if (sd)
wd.div_ = (battle_config.finger_offensive_type)?1:sd->spiritball_old;
if (sd) {
if (battle_config.finger_offensive_type)
wd.div_ = 1;
else if ((sd->spiritball + sd->spiritball_old) < wd.div_)
wd.div_ = sd->spiritball + sd->spiritball_old;
}
break;
case KN_PIERCE: