From c56cb50770ced6f99cef48ef6e8e355fac3364d0 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 2 Aug 2006 17:49:01 +0000 Subject: - Fixed Martyr's Reckoning having a cap damage of 32k. - Changed Scream and Hammerfall's stun duration to 5 seconds. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8064 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/map/battle.c b/src/map/battle.c index 6c0f57651..4e4126831 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1130,11 +1130,9 @@ static struct Damage battle_calc_weapon_attack( status_set_hp(src, 1, 0); break; case PA_SACRIFICE: - skill = sstatus->max_hp* 9/100; - status_zap(src, skill, 0);//Damage to self is always 9% - clif_damage(src,src, gettick(), 0, 0, skill, 0 , 0, 0); - - wd.damage = skill; + wd.damage = sstatus->max_hp* 9/100; + status_zap(src, wd.damage, 0);//Damage to self is always 9% + clif_damage(src,src, gettick(), 0, 0, wd.damage, 0 , 0, 0); wd.damage2 = 0; if (sc && sc->data[SC_SACRIFICE].timer != -1) -- cgit v1.2.3-70-g09d2