diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-01-31 14:44:39 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-01-31 14:44:39 +0000 |
commit | 78dc57282718e52985aac7b569e705200b64bd80 (patch) | |
tree | 306247eac9ce53bf92ed82827bc44415abacab5b /src/map/pc.c | |
parent | f4d04712b8383d5540f3178320af47de5486786b (diff) | |
download | hercules-78dc57282718e52985aac7b569e705200b64bd80.tar.gz hercules-78dc57282718e52985aac7b569e705200b64bd80.tar.bz2 hercules-78dc57282718e52985aac7b569e705200b64bd80.tar.xz hercules-78dc57282718e52985aac7b569e705200b64bd80.zip |
- Fixed being able to Encore skills you no longer have in your tree.
- Added no HP regen while Bleeding, -25% ATK and ASPD penalties as well.
- Added VIT reduces duration of confusion.
- Added MSC_SPAWN "onspawn" mob skill condition.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5136 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 3f0181118..107aaf276 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -7779,7 +7779,8 @@ static int pc_natural_heal_sub(struct map_session_data *sd,va_list ap) { (sd->sc_data[SC_POISON].timer != -1 && sd->sc_data[SC_SLOWPOISON].timer == -1) ||
(sd->sc_data[SC_DPOISON].timer != -1 && sd->sc_data[SC_SLOWPOISON].timer == -1) ||
sd->sc_data[SC_BERSERK].timer != -1 ||
- sd->sc_data[SC_TRICKDEAD].timer != -1
+ sd->sc_data[SC_TRICKDEAD].timer != -1 ||
+ sd->sc_data[SC_BLEEDING].timer != -1
))
) { //Cannot heal neither natural or special.
sd->hp_sub = sd->inchealhptick = sd->inchealspirithptick = 0;
@@ -7793,8 +7794,7 @@ static int pc_natural_heal_sub(struct map_session_data *sd,va_list ap) { pc_natural_heal_hp(sd);
if(sd->sc_count && (
sd->sc_data[SC_EXTREMITYFIST].timer != -1 ||
- sd->sc_data[SC_DANCING].timer != -1 ||
- sd->sc_data[SC_BLEEDING].timer != -1
+ sd->sc_data[SC_DANCING].timer != -1
)) //No SP natural heal.
sd->sp_sub = sd->inchealsptick = 0;
else
|