summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index fb3bb0e25..205d6c4f6 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2279,14 +2279,12 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
{ //Calc base damage according to skill
case AL_HEAL:
case PR_BENEDICTIO:
- ad.damage = skill_calc_heal(src, target, skill_lv)/2;
+ case PR_SANCTUARY:
+ ad.damage = skill_calc_heal(src, target, skill_num, skill_lv)/2;
break;
case PR_ASPERSIO:
ad.damage = 40;
break;
- case PR_SANCTUARY:
- ad.damage = (skill_lv>6)?388:skill_lv*50;
- break;
case ALL_RESURRECTION:
case PR_TURNUNDEAD:
//Undead check is on skill_castend_damageid code.
@@ -2673,7 +2671,7 @@ struct Damage battle_calc_misc_attack(struct block_list *src,struct block_list *
md.dmotion = 0; //No flinch animation.
break;
case NPC_EVILLAND:
- md.damage = (skill_lv>6)?666:skill_lv*100;
+ md.damage = skill_calc_heal(src,target,skill_num,skill_lv);
break;
}