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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user