From a38b65da49a897b9c4c7f96312c001a4e9fdf2c0 Mon Sep 17 00:00:00 2001 From: Aleos Date: Fri, 9 Sep 2022 12:11:19 -0400 Subject: [PATCH] Fixes Lif - Brain Surgery SP bonus (#7257) * Fixes #7221. * Corrects the SP bonus of Lif's Brain Surgery to be skill_lv%. Thanks to @Daraen1! --- src/map/status.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/status.cpp b/src/map/status.cpp index 6cd7288124..fc86ad5a2e 100644 --- a/src/map/status.cpp +++ b/src/map/status.cpp @@ -4798,7 +4798,7 @@ int status_calc_homunculus_(struct homun_data *hd, uint8 opt) status->max_hp += skill_lv * 2 * status->max_hp / 100; if((skill_lv = hom_checkskill(hd, HLIF_BRAIN)) > 0) - status->max_sp += (1 + skill_lv / 2 - skill_lv / 4 + skill_lv / 5) * status->max_sp / 100; + status->max_sp += skill_lv * status->max_sp / 100; if (opt&SCO_FIRST) { hd->battle_status.hp = hom->hp;