From ca6e392f184c64701f6b1d99f5a47cf6c3d81a22 Mon Sep 17 00:00:00 2001 From: xantara Date: Sat, 4 Feb 2012 05:46:00 +0000 Subject: ` Fixed Guillotine Cross Poisons (bugreport:5275) -- Paralyze decreases attack speed, flee, and movement speed -- Death Hurt decreases the effectiveness of recovery -- Venom Bleed reduces max HP -- Oblivion Curse blocks natural SP recovery and skill use is denied ` Updated const.txt with the latest (renewal) statuses (SC_) values git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15539 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index abdaf6671..bbd6c3da9 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -6570,6 +6570,12 @@ int pc_itemheal(struct map_session_data *sd,int itemid, int hp,int sp) hp -= hp * sd->sc.data[SC_CRITICALWOUND]->val2 / 100; sp -= sp * sd->sc.data[SC_CRITICALWOUND]->val2 / 100; } + + if (sd->sc.data[SC_DEATHHURT]) + { + hp -= hp * 20 / 100; + sp -= sp * 20 / 100; + } return status_heal(&sd->bl, hp, sp, 1); } -- cgit v1.2.3-60-g2f50