summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshadowlady <shadowlady@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-11 18:53:41 +0000
committershadowlady <shadowlady@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-11 18:53:41 +0000
commit3335a97ebb7aa27576175be6a7492416f4361179 (patch)
tree37edd92ef02cb29f3679dca1d6225e9eb109e783 /src
parente82efd3e5d1defe88fa478ebd20644788e541f6b (diff)
downloadhercules-3335a97ebb7aa27576175be6a7492416f4361179.tar.gz
hercules-3335a97ebb7aa27576175be6a7492416f4361179.tar.bz2
hercules-3335a97ebb7aa27576175be6a7492416f4361179.tar.xz
hercules-3335a97ebb7aa27576175be6a7492416f4361179.zip
Fixed sacrifice wrong damage formula.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@132 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/battle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 32ba10fab..2751e931b 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3374,8 +3374,8 @@ static struct Damage battle_calc_pc_weapon_attack(
hp = battle_get_hp(src);
mhp = battle_get_max_hp(src);
damage3 = mhp*9/100;
- damage = damage*damage3*(90+10*skill_lv)/100;
- damage2 = damage2*damage3*(90+10*skill_lv)/100;
+ damage = damage*damage3*(90+10*skill_lv)/10000;
+ damage2 = damage2*damage3*(90+10*skill_lv)/10000;
}
break;
case ASC_BREAKER: // -- moonsoul (special damage for ASC_BREAKER skill)