summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-06 17:38:17 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-06 17:38:17 +0000
commitf7fa771dc5a9a69f536860154b2a797b1ccdfed3 (patch)
tree6ef41e808c294c6cefe7daf955883d108c044e4c /src/map
parenta30c12c561271694a86400ca124c7d891b474430 (diff)
downloadhercules-f7fa771dc5a9a69f536860154b2a797b1ccdfed3.tar.gz
hercules-f7fa771dc5a9a69f536860154b2a797b1ccdfed3.tar.bz2
hercules-f7fa771dc5a9a69f536860154b2a797b1ccdfed3.tar.xz
hercules-f7fa771dc5a9a69f536860154b2a797b1ccdfed3.zip
- Corrected the Soul Drain formula, thanks to Haplo for pointing it out.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5932 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 4bf65cb32..52765b47b 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1867,7 +1867,7 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type)
{ //Soul Drain should only work on targetted spells [Skotlex]
if (pc_issit(sd)) pc_setstand(sd); //Character stuck in attacking animation while 'sitting' fix. [Skotlex]
clif_skill_nodamage(src,&md->bl,HW_SOULDRAIN,i,1);
- sp += (status_get_lv(&md->bl))*(65+15*i)/100;
+ sp += (status_get_lv(&md->bl))*(95+15*i)/100;
}
sp += sd->sp_gain_value;
sp += sd->sp_gain_race[race];