diff options
-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 edc0a63f1..017944942 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -2600,10 +2600,12 @@ int pc_bonus(struct map_session_data *sd,int type,int val) if(sd->state.lr_flag != 2) sd->bonus.fixcastrate -= val; break; +#ifdef RENEWAL_CAST case SP_VARCASTRATE: if(sd->state.lr_flag != 2) sd->bonus.varcastrate -= val; break; +#endif default: ShowWarning("pc_bonus: unknown type %d %d !\n",type,val); break; @@ -3140,6 +3142,7 @@ int pc_bonus2(struct map_session_data *sd,int type,int type2,int val) sd->skillvarcast[i].val = val; } break; +#ifdef RENEWAL_CAST case SP_VARCASTRATE: if(sd->state.lr_flag == 2) break; @@ -3156,6 +3159,7 @@ int pc_bonus2(struct map_session_data *sd,int type,int type2,int val) sd->skillcast[i].val -= val; } break; +#endif case SP_SKILL_USE_SP: //bonus2 bSkillUseSP,n,x; if(sd->state.lr_flag == 2) break; |