summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
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 )