From f4444897e96b9278ca952686e7dc0561a8b30efc Mon Sep 17 00:00:00 2001 From: zephyrus Date: Tue, 2 Sep 2008 16:29:29 +0000 Subject: - Implementing a correct update of mercenary status window on status change updates. - Fixed Mercenary Heal is reduced 50%. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13185 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 03f9725d5..b75245a98 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -275,8 +275,8 @@ int skill_calc_heal (struct block_list *src, struct block_list *target, int skil if(src->type == BL_HOM && (skill = merc_hom_checkskill(((TBL_HOM*)src), HLIF_BRAIN)) > 0) heal += heal * skill * 2 / 100; - if(src->type == BL_MER) - heal /= 2; + if(target && target->type == BL_MER) + heal >>= 1; sc = status_get_sc(target); if( sc && sc->count ) -- cgit v1.2.3-70-g09d2