From e134818e33b34c84eba8770087a330f99607c4b6 Mon Sep 17 00:00:00 2001 From: reddozen Date: Tue, 8 Jan 2008 00:29:33 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12031 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 2 ++ src/map/skill.c | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 651c64484..9505635ba 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -7,6 +7,8 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. * Added missing code to log main chat messages sent by whispering to main_chat_nick (bugreport:424) [ultramage] 2008/01/07 + * Small change to potion pitcher to allow potion healing rate item effects + to be included in potion pitcher's heal rate. [Reddozen] * Changed the code in status_change_timer so that a null pointer no longer causes a crash but prints an error instead. * Corrected clones not copying over a player's skills properly. [Skotlex] 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; -- cgit v1.2.3-70-g09d2