summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirp@gmail.com>2016-10-03 19:17:38 +0530
committerhemagx <ibrahem.h.basyone@gmail.com>2016-10-22 02:22:13 +0200
commit52bd4a502c919e789e8900820423a49a4343b3d7 (patch)
tree02118d843fa381009928714aefffd71eadfb894d /src/map/pc.c
parentf4e8189545642ee0bf87f3da546bddc918682935 (diff)
downloadhercules-52bd4a502c919e789e8900820423a49a4343b3d7.tar.gz
hercules-52bd4a502c919e789e8900820423a49a4343b3d7.tar.bz2
hercules-52bd4a502c919e789e8900820423a49a4343b3d7.tar.xz
hercules-52bd4a502c919e789e8900820423a49a4343b3d7.zip
Implemented SC_BITESCAR:
Cannot be reset by dispell. Cannot be healed by item/NPC once in BITESCAR. Heal Skill would end the BiteScar Effect.
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 8f6d3bcb0..bfd6c0ea5 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -8408,6 +8408,9 @@ int pc_itemheal(struct map_session_data *sd,int itemid, int hp,int sp)
if( sd->sc.data[SC_EXTREMITYFIST2] )
sp = 0;
#endif
+ if (sd->sc.data[SC_BITESCAR]) {
+ hp = 0;
+ }
}
return status->heal(&sd->bl, hp, sp, 1);