summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarkzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-26 23:10:06 +0000
committermarkzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-26 23:10:06 +0000
commit67d1511648424dd77cbf0b7afa1849ccb537f777 (patch)
treef763bbfde5aa6dc83813e21d4c9e56d48cf9dda9 /src
parent80ec4aa63979e6e97acff4386552060a79789dff (diff)
downloadhercules-67d1511648424dd77cbf0b7afa1849ccb537f777.tar.gz
hercules-67d1511648424dd77cbf0b7afa1849ccb537f777.tar.bz2
hercules-67d1511648424dd77cbf0b7afa1849ccb537f777.tar.xz
hercules-67d1511648424dd77cbf0b7afa1849ccb537f777.zip
Fixed bugreport:7049, where cast time bonus would not work if Renewal is used with RENEWAL_CAST off.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17046 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index cf62c7dc8..edc0a63f1 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -2175,6 +2175,9 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
val += (int)status->max_sp;
status->max_sp = (unsigned int)val;
break;
+#ifndef RENEWAL_CAST
+ case SP_VARCASTRATE:
+#endif
case SP_CASTRATE:
if(sd->state.lr_flag != 2)
sd->castrate+=val;
@@ -2948,7 +2951,9 @@ int pc_bonus2(struct map_session_data *sd,int type,int type2,int val)
sd->skillblown[i].val = val;
}
break;
-
+#ifndef RENEWAL_CAST
+ case SP_VARCASTRATE:
+#endif
case SP_CASTRATE:
if(sd->state.lr_flag == 2)
break;