Minor corrections to Break Through (#5917)

* Fixes the attack bonus not properly applying to masteries.
* Fixes the healing bonus not increasing per skill level learned.
This commit is contained in:
Aleos
2022-04-02 08:19:28 -04:00
committed by GitHub
parent 3206054205
commit 47cb6dc637
2 changed files with 8 additions and 12 deletions

View File

@@ -621,23 +621,23 @@ int skill_calc_heal(struct block_list *src, struct block_list *target, uint16 sk
if ((skill = pc_checkskill(sd, NV_BREAKTHROUGH)) > 0)
#ifdef RENEWAL
hp_bonus += 2;
hp_bonus += 2 * skill;
#else
hp += hp * skill * 2 / 100;
#endif
if ((skill = pc_checkskill(sd, NV_TRANSCENDENCE)) > 0)
#ifdef RENEWAL
hp_bonus += 3;
hp_bonus += 3 * skill;
#else
hp += hp * skill * 3 / 100;
#endif
if (skill = pc_skillheal_bonus(sd, skill_id))
if (skill = pc_skillheal_bonus(sd, skill_id))
#ifdef RENEWAL
hp_bonus += skill;
hp_bonus += skill;
#else
hp += hp * skill / 100;
hp += hp * skill / 100;
#endif
}