summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorTaylor Locke <kisuka@kisuka.com>2014-10-29 23:30:57 -0700
committerTaylor Locke <kisuka@kisuka.com>2014-10-29 23:31:14 -0700
commit228a826dfdde3581f8e5d757ec458119d6079524 (patch)
tree52a052f2b26a5d03e33b85f7e73d025c91d5d111 /src/map/pc.c
parent04c7b7326365c4f68e64875ca3519a20c1f81b79 (diff)
downloadhercules-228a826dfdde3581f8e5d757ec458119d6079524.tar.gz
hercules-228a826dfdde3581f8e5d757ec458119d6079524.tar.bz2
hercules-228a826dfdde3581f8e5d757ec458119d6079524.tar.xz
hercules-228a826dfdde3581f8e5d757ec458119d6079524.zip
Added 2014 Halloween Event and made status change parameter optional on montransform.
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 85dab4559..840891054 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7633,6 +7633,10 @@ int pc_itemheal(struct map_session_data *sd,int itemid, int hp,int sp)
// Recovery Potion
if( sd->sc.data[SC_HEALPLUS] )
hp += (int)(hp * sd->sc.data[SC_HEALPLUS]->val1/100.);
+
+ // 2014 Halloween Event : Pumpkin Bonus
+ if ( sd->sc.data[SC_MTF_PUMPKIN] && itemid == ITEMID_PUMPKIN )
+ hp += (int)(hp * sd->sc.data[SC_MTF_PUMPKIN]->val1/100);
}
if(sp) {
bonus = 100 + (sd->battle_status.int_<<1)