summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorreddozen <reddozen@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-08 00:29:33 +0000
committerreddozen <reddozen@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-08 00:29:33 +0000
commite134818e33b34c84eba8770087a330f99607c4b6 (patch)
treef9bba5db36ee0e47bd3faee885a7224dcc306564 /src/map/skill.c
parentb0a605c97340b7248ab7902e5e17a2794449bc2d (diff)
downloadhercules-e134818e33b34c84eba8770087a330f99607c4b6.tar.gz
hercules-e134818e33b34c84eba8770087a330f99607c4b6.tar.bz2
hercules-e134818e33b34c84eba8770087a330f99607c4b6.tar.xz
hercules-e134818e33b34c84eba8770087a330f99607c4b6.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12031 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 08b1d282b..2360067be 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4082,6 +4082,12 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
sp = sp * (100 + pc_checkskill(dstsd,MG_SRECOVERY)*10) / 100;
}
}
+ if (sd->itemgrouphealrate[37]>0)
+ {
+ hp += hp * sd->itemgrouphealrate[37] / 100;
+ sp += sp * sd->itemgrouphealrate[37] / 100;
+ }
+
if ((i = pc_skillheal_bonus(sd, skillid)))
{
hp += hp * i / 100;