diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-15 04:29:05 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-15 04:29:05 +0000 |
commit | b5f526d1ff2351011974c0e4f90e4996fb87c699 (patch) | |
tree | deb3bd1017106c609d00428871df0ce71753469c /src/map/pc.c | |
parent | 6f22f0352964d6d00deafbb8ccaf7145d6321865 (diff) | |
download | hercules-b5f526d1ff2351011974c0e4f90e4996fb87c699.tar.gz hercules-b5f526d1ff2351011974c0e4f90e4996fb87c699.tar.bz2 hercules-b5f526d1ff2351011974c0e4f90e4996fb87c699.tar.xz hercules-b5f526d1ff2351011974c0e4f90e4996fb87c699.zip |
- Added 2 new status changes for Life and Regeneration Potions [Zephyrus]
- Fixed some items boxes giving wrong tamings.
- Fixed another item giving 48 gladius[3]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11738 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 5c46708b1..9bf6c5d22 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5502,6 +5502,10 @@ int pc_itemheal(struct map_session_data *sd,int itemid, int hp,int sp) } if(bonus!=100) hp = hp * bonus / 100; + + // Recovery Potion + if( sd->sc.count && sd->sc.data[SC_INCHEALRATE].timer!=-1 ) + hp += (int)(hp * sd->sc.data[SC_INCHEALRATE].val1/100.); } if(sp) { bonus = 100 + (sd->battle_status.int_<<1) |